Install neo4j under 04 Linux

Neo4j is divided into Community Edition and Enterprise Edition. The Community Edition is free. Download: https://neo4j.com/download/other-releases/#releases System requirements The installation of Neo4j requires some hardware and system, such as CPU, Memory, Disk, Filesystem, Software, etc CPU As for CPU, the minimum re ...

Posted on Tue, 31 Mar 2020 08:39:59 -0400 by dwnz

Iron music Python · day08 assignment

1. Contents of file a.txt: the contents of each line are commodity name, price and quantity. apple 10 3 tesla 100000 1 mac 3000 2 lenovo 30000 3 chicken 10 3 Through code, it is constructed into this data type: [{'name':'apple','price':10,'amount':3}, {'name':'tesla','price':1000000,'amount':1}...] and calculate the total price. Answer: li = [] ...

Posted on Tue, 31 Mar 2020 08:12:58 -0400 by mattnoble

Mac virtualbox virtual machine expanding disk through LVM

1. First shut down the virtual machine and view the properties of hard disk allocation: allocate storage for dynamic allocation 2. Enter the virtual box installation directory #cd /Users/gds/VirtualBox VMs/gds #VBoxManage list hdds UUID: 2fb7b86c-64f7-467b-9d45-de6df399e325 Parent UUID: base State: ...

Posted on Tue, 31 Mar 2020 05:13:51 -0400 by Jagarm

Using GPU in Docker

GPU driver installation Before using GPU, make sure that CUDA has been installed and configured. Check whether GPU is supported lspci | grep -i nvidia 01:00.0 VGA compatible controller: NVIDIA Corporation Device 1b06 (rev a1) 01:00.1 Audio device: NVIDIA Corporation Device 10ef (rev a1) There is a video card and a sound card in the display ...

Posted on Tue, 31 Mar 2020 01:42:54 -0400 by satyac46

Enterprise level automation deployment scheme -- ansible to realize tomcat automatic installation and configuration

More than 10 hours in total Train of thought overall design Ansible playbook directory structure [root@ansible ~]# tree /etc/ansible/roles/tomcat /etc/ansible/roles/tomcat ├── files │ ├── catalina.sh │ ├── context.xml │ └── setenv.sh ├── handlers │ └── main.yaml ├── tasks │ ├── install_jdk.yaml │ ├── install_tomcat.yaml │ └── mai ...

Posted on Mon, 30 Mar 2020 06:52:03 -0400 by daphreeek

17 cases take you 5 minutes to finish Linux regular expression

Yunqi information:[ Click to see more industry information]Here you can find the first-hand cloud information of different industries. What are you waiting for? Come on! A regular expression is a character pattern used to match specified characters during a lookup. Metacharacters are generally divided into two types in Linux: Shell metachara ...

Posted on Mon, 30 Mar 2020 01:39:12 -0400 by fanfavorite

Is Percona XtraDB Cluster 5.7 event executed repeatedly?

Recently, a business system is about to transfer from single point to PXC cluster. The problem is how to execute the event s running on a single instance of mysql after transferring to the cluster? With this problem, an experiment is done and the relevant conclusions are given. If you have similar doubts, read on. 1, Environ ...

Posted on Sun, 29 Mar 2020 14:54:32 -0400 by ricmch

Learn golang's conditional compilation

I learned go generate yesterday, but I learned another point today, which is also related to annotations.golang's conditional compilation, also known as build constraints. Application Scenarios Conditional compilation can be reflected in code that adapts to different platform operating systems.Different operating system platforms support some ...

Posted on Sun, 29 Mar 2020 14:16:18 -0400 by reethu

Local construction of docker private warehouse registry

Reprinted from: https://blog.csdn.net/bxzhu/article/details/73253032 1. Environmental preparation Linux version: Centos7 docker version: 17.05.0-ce 2. Deploy Registry Use the docker pull command to get the image of registry # sudo docker pull registry:2.1.1   Use docker run to start a container using the image of the downl ...

Posted on Sun, 29 Mar 2020 12:11:18 -0400 by beginneratphp

Linux common basic commands (tree, pwd, cd)

pwd and cd commands >pwd command is the acronym of each word in "print working directory". Its function is to display the absolute path of the current working directory. In practice, when we operate commands on the command line, we often switch between directory paths. At this time, we can use pwd command to quickly view the curre ...

Posted on Sun, 29 Mar 2020 10:56:58 -0400 by Avalanche