Setting up MYSQL 5.7.21 text notes in linux
Environmental Science:
Virtual machine: VMware 12 Pro
Linux: rhel-server-6.4-x86_64
MYSQL: 5.7.21
1. Download mysql
In official website: http://dev.mysql.com/downloads/mysql/ , select the following version of mysql to download:
2. Unzip the installation package in / usr/local and rename it mysql
[root@mys ...
Posted by zggtf211 on Fri, 03 Apr 2020 21:28:36 -0700
A complete solution to the installation and version switching of PHP on Ubuntu
The official sources on Ubuntu, such as PHP5.6.x in Ubuntu 14.04 and PHP7.0.x in Ubuntu 16.04, what should I do if I want to install PHP7.1 and PHP7.2 on Ubuntu 16.04?
The answer is to install from a third-party source, ppa:ondrej/php It is a well-known PHP source (currently maintaining php5.6,php7.0,php7.1,php7.2). Use this source to install t ...
Posted by RobNewYork on Fri, 03 Apr 2020 15:54:46 -0700
Zabbix monitoring platform installation and deployment
Zabbix monitoring platform installation and deployment
For the deployment of Zabbix monitoring platform, at least four components need to be installed, namely, Zabbix? Server, Zabbix? Web, Databases, and Zabbix? Agent. The detailed steps for the installation and configuration of Zabbix monitoring platform are as follows:
1, System environment ...
Posted by AsiaUnderworld on Fri, 03 Apr 2020 14:08:13 -0700
PostgreSQL uses repmgr to configure cascading replication
Recent projects require the configuration of a four-node cluster of shared storage to enable the cluster to form a load balancing.
However, you know that PostgreSQL does not support the generation of multiple instances using the same data directory. When executing pg_ctl start, if an instance of the specified data directory is running, the ...
Posted by kryles on Fri, 03 Apr 2020 13:26:34 -0700
Installation and use of ActiveMQ
ActiveMQ installation
Go to http://activemq.apache.org/ official website to download ActiveMQ Installation environment: 1. jdk required 2. Install the Linux system. The production environment is all Linux systems. Installation steps: Step 1: upload the ActiveMQ compressed package to the Linux system. Step 2: decompress. Step 3: start. Use the ...
Posted by TechXpert on Fri, 03 Apr 2020 11:28:46 -0700
helm deployment for kubernetes
Tags (space delimited): kubernetes series
One: What is Helm
2: Helm deployment
One: What is Helm
Before using helm, deploying applications to kubernetes requires a cumbersome process of deployment, svc, and so on.Moreover, as many projects are microserviced, deployment and management of complex applications in containers becomes mor ...
Posted by vanderlay on Thu, 02 Apr 2020 23:47:02 -0700
[CentOS] SSH keyless login
Environmental description:
Operating system: centos-7-x86_-minimal-1611
Virtual machine: VMware ® Workstation 12 Pro; 12.5.5 build-5234757
Server: node1 (User1), node2 (User2)
Implementation content:
The user User1 of node1 server can log into the User2 account of node2 through SSH without key;
Configuration process:
By default, us ...
Posted by ReignFire on Thu, 02 Apr 2020 10:39:07 -0700
php interprets command line parameters
In php cli mode, you can use $argc and $argv to read all parameters and numbers, such as:
ghostwu@ghostwu:~/php/php1/1$ cat go1
#!/usr/bin/php
<?php
echo 'Number of parameters:' . $argc . PHP_EOL;
echo 'Printing parameters:' . PHP_EOL;
print_r( $argv ) . PHP_EOL;
Add executable permissions to the file:
ghostwu@gho ...
Posted by nymall on Thu, 02 Apr 2020 08:06:20 -0700
The problem of disordered directory structure of DotNet unzip zip file under Mac
Extracting a file under Dot Net is very simple:
ZipFile.ExtractToDirectory("test.zip", "./test");
However, when a program runs the Dot Net program on Mac to extract a zip file, the directory structure is gone, as shown in the following figure:
image.png
After some research, it is found that the reason is that the zip is gen ...
Posted by geo3d on Thu, 02 Apr 2020 04:33:08 -0700
rhel6.5 online root partition volume group expansion
Experimental environment
Operating system type rhel6.5 Virtual machine of KVM type
It is important to note that the root partition must be mounted using an extensible LVM volume group
Use the command df -h to view
[root@server6 ~]# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/mapper ...
Posted by markmusicman on Thu, 02 Apr 2020 04:05:46 -0700