Process Control of Embedded Linux C Programming (2)

Following what was written in the previous section, we first create a child process through fork() and vfork() functions, which execute the same code as the parent process. Usually a process is created in order to perform different operations from the parent process and realize unused functions. Exc () function family is introduced incorrectly. ...

Posted by andylyon87 on Sun, 30 Jun 2019 21:14:07 +0200

Four Service Components and openstack Environment for openstack

Virtual Machine Creation Flowchart for opensatck Four services and component functions of openstack 1. Some concepts of keystone certification service 1)User: Users using openstack 2)Role: Add a user to a role and give the user permission to operate 3)Tenant: A collection of resources owned by a person, project, or organization, with multip ...

Posted by CyberShot on Fri, 28 Jun 2019 19:54:56 +0200

New Hard Disk Mounting Method under Linux

Linux Hard disk recognition: The "fdisk-l" command is generally used to list the currently connected hard disks in the system. Device and partition information. If the new hard disk has no partition information, only the size information of the hard disk is displayed.   1. Close the server and add a new hard disk   2. Start the ...

Posted by phpform08 on Mon, 24 Jun 2019 23:07:24 +0200

Concurrent Conflict Problem in crond Script Execution

In planning tasks, you will occasionally see repetitive execution: Examples of our company's planned tasks are as follows: */2 * * * * root cd /opt/xxxx/test_S1/html/xxxx/admin; php index.php task testOne >/dev/null 2>&1 */2 * * * * root cd /opt/xxxx/test_S1/html/xxxx/admin; php index.php task testTwo >/dev/null 2>&1 This ...

Posted by Hangston on Sat, 22 Jun 2019 02:41:51 +0200

zookeeper cluster configuration

Download and install from Official website Download the latest version of zookeeper Relevant address: http://mirror.bit.edu.cn/apache/zookeeper/current/ # wget --quiet http://mirror.bit.edu.cn/apache/zookeeper/current/zookeeper-3.4.10.tar.gz # tar -xf zookeeper-3.4.10.tar.gz # cd zookeeper-3.4.10 Enter the conf directory, change ...

Posted by Brad7928 on Thu, 20 Jun 2019 03:43:25 +0200

Vim Skills Training Course (2) - Fast Grammar Highlighting

Grammar Highlighting and Quick Achievement We continue to practice Vim skills on earth. Last time we learned how to install plug-ins through vundle, this time we moved quickly towards writing plug-ins. Let's first learn how to write a simple grammar highlighting plug-in. Grammar highlighting basically consists of three parts: Colour matching s ...

Posted by sup on Wed, 19 Jun 2019 01:21:41 +0200

Master-slave replication, master-master replication and semi-synchronous replication of MariaDB

This article mainly introduces the concepts and methods of master-slave replication, master-slave replication and semi-synchronous replication of mariadb. Reference resources http://www.jb51.net/article/97786.htm The time of master and slave servers should be synchronized, and the database version should be consistent in order to avoid a ...

Posted by chenggn on Sun, 09 Jun 2019 21:08:36 +0200

python project to solve sandbox dependence problem in production environment without external network

python project to solve sandbox dependence problem in production environment without external network In our actual production project deployment process, such as banking, government intranet, can not access certain dependency sources. Considering the actual situation, we will see how to solve this problem. development environment Establishin ...

Posted by JeBu on Fri, 07 Jun 2019 20:01:14 +0200

Linux System nfs Service

I. NFS NFS(Network File System (Network File System) is a file system supported by FreeBSD, which allows computers in the network to share resources through TCP/IP network. In NFS applications, local NFS client applications can transparently read and write files on remote NFS servers, just like accessing local files. Composition: The ...

Posted by XeNoMoRpH1030 on Sun, 02 Jun 2019 22:55:09 +0200

zsh Development Guide (Part 5 Array)

Guide reading After understanding the simpler structured strings, let's look at more complex arrays. In fact, strings can also be manipulated as character arrays in zsh, but there are few scenarios where strings need to be processed as arrays. In this article, we focus on string arrays, which are more complex than a single string. In actual scr ...

Posted by hexdsl on Wed, 29 May 2019 20:03:50 +0200