Detailed explanation of linux shell command line options and parameter usage

Detailed explanation of linux shell command line options and parameter usage In bash, there are three ways to handle command line arguments - direct processing: use $1, ,...,$n for parsing - getopts: the case of a single character option (for example: - n 10 -f file.txt Etc.) - getopt: can handle single character options or long opti ...

Posted by b-ware on Mon, 08 Jun 2020 21:20:15 -0700

Precautions for RHEL7 installation of 11204 RAC

Recently, many pits were encountered in the test of a customer's RHEL7 + 11204 RAC environment. Fortunately, they were found and handled in time before the official launch. Two of the problems are typical, so it is specially recorded that the problems are not caused by the self startup of O-related services after the host restarts. It seems tha ...

Posted by illusiveone on Mon, 08 Jun 2020 19:10:37 -0700

One way master-slave synchronous configuration of mysql under windows

View mysql profile address mysql --help|grep 'my.cnf' ps aux|grep mysql|grep 'my.cnf' The configuration is divided into two parts, the master server part and the slave server part In this test, the master and slave of the two machines are synchronized, and the environment is windows (the same as Linux) Main server ip:192.168.1.199 Slave serve ...

Posted by busnut on Sun, 07 Jun 2020 19:52:27 -0700

Simple command line implementation based on STM32

Simple command line implementation based on STM32 Hi,long time no see. I looked at the atomic usmart and lwip official shell, and found that they all had one thing in common. After identifying the first command, I began to find the callback, and did not count the argc and argv. There are also many peo ...

Posted by warrenk on Sun, 07 Jun 2020 19:42:38 -0700

cmake basic introduction (1)

cmake basic introduction (1) Official help documents CMake is a cross platform make. CMakeLists.txt The brief introduction is as follows: # Auto CMakeLists.txt: frame with cppunit use for lintcode/leetcode # minimum cmake version cmake_minimum_required(VERSION 3.7) # cmake minimum version ...

Posted by Cyberspace on Sun, 07 Jun 2020 00:39:06 -0700

High Availability Scheme Implementation of MySQL Master Replication+keepalived

1 Preface One MySQL host in the production environment has a single point of failure, so we want to make sure that MySQL is highly available, that is, two MySQLsServer If one of the MySQL servers hangs up, the other can take over immediately. MySQL's highly available solutions are generally as follows: keepalived+dual master MHA PXC MMM Hear ...

Posted by jwbworks on Fri, 05 Jun 2020 18:17:35 -0700

Deployment and application of puppet

brief introduction Puppet is a centralized configuration management system for Linux, Unix and windows platforms. It uses its own puppet description language to manage configuration files, users, cron tasks, software packages, system services, etc. These system entities are called resources by puppet. The design goal of puppet is to simplify t ...

Posted by nareshrevoori on Fri, 05 Jun 2020 03:36:06 -0700

Docker storage volume for kubernetes

docker storage volume Data Volume Why data volumes (storage volumes) are needed The docker image is made up of multiple read-only layers. When the container is started, the docker loads the read-only layer and adds a read-write layer to the mirror layer. If the running container modifies an existing file, the file will be copied from the ...

Posted by eternalprophet on Thu, 04 Jun 2020 10:35:35 -0700

Install Dokcer and set NTP based on alicloud agent

Recently, you need to install the dokcer environment on CentOS 7, recording how to implement it based on Alibaba cloud agent. 1. Replace CentOS image (1) Back up the original image mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup (2) Download new CentOS-Base.repo #CentOS7 only wget -O /etc/yum.repos.d/CentOS-Base.r ...

Posted by xiao on Thu, 04 Jun 2020 10:16:51 -0700

int3 and SingleStep jointly implement keyboard monitoring in Linux system (kprobe principle)

On the topic of Linux system keyboard monitoring, write something more. I've written three articles before. I can summarize them together. It's a simple problem and solve it more often Methods of standard inline hook:https://blog.csdn.net/dog250/article/details/106425811 Manual push/ret jmp inline hook method:https://blog.csdn.net/dog25 ...

Posted by Tyen on Thu, 04 Jun 2020 09:08:22 -0700