The use of VIM compiler and the basis of shell programming under Linux
Installation and use of VIM compiler
vim editor installation
In CentOS, execute: yum -y install vim
Common mode
h: Move one character left
j: Move down one line
k: Move up one line
l: One character to the right
PageDown (or Ctrl+F): next screen
PageUp (or Ctrl+B): flip up one screen
...
Posted by gravedig2 on Tue, 14 Jan 2020 22:50:03 -0800
150.OpenStack Train version - 2. Install keystone authentication service
1. Create keystone database and authorize
[root@controller ~]# mysql -uroot
CREATE DATABASE keystone;
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'localhost' IDENTIFIED BY 'KEYSTONE_DBPASS';
GRANT ALL PRIVILEGES ON keystone.* TO 'keystone'@'%' IDENTIFIED BY 'KEYSTONE_DBPASS';
2. Install ke ...
Posted by will_1990 on Sat, 11 Jan 2020 07:16:16 -0800
centos7 kubernetes cluster deployment
centos 7 kubernetes cluster deployment
Host (virtual machine) information:
[root@k8s-master ~]# cat /etc/redhat-release
CentOS Linux release 7.7.1908 (Core)
Node name
IP
k8s-master
192.168.1.86
k8s-node1
192.168.1.87
Note:
1. k8s version can be selected by yourself. Take 1.16.2 as an ex ...
Posted by bdurham on Sat, 11 Jan 2020 01:40:16 -0800
Docker installs the latest version of Mysql (Mysql8.0)
Docker installs the latest version of Mysql (Mysql8.0)
Docker environment configuration
Mysql8.0 configuration
Note:
Note 1
Note 2
Last
Congratulations, docker MySQL has been built successfully!
If you think the writing is good, please click below to give a reward, thank you!!
Original: product R ...
Posted by HiddenS3crets on Sat, 11 Jan 2020 00:27:57 -0800
Build Nginx Server and Deep Optimization
Blog Outline:
1. Introduction to Nginx2. Set up Nginx server3. Upgrade version of Nginx service to 1.24. Modify Nginx Service Header Information5. Detailed explanation of location Option in nginx main configuration file6. Configure https to access Nginx7. Open Nginx Access Certification
1. Introduction to Nginx
Nginx is developed for perform ...
Posted by katarra on Fri, 10 Jan 2020 09:35:14 -0800
K8s deploys services using Jenkins
1. Install Jenkins
#Preparing the Java environment
tar xvf jdk-8u231-linux-x64.tar.gz -C /usr/local/
cd /usr/local/
ln -s jdk1.8.0_231 java
cat /etc/profile.d/java
export JAVA_HOME=/usr/local/java
export PATH=$PATH:$JAVA_HOME/bin
source /etc/profile.d/java
java -version
yum -y install wget
wget -O /etc/yum.repos.d/jenkins.repo http:// ...
Posted by wiseoleweazel on Thu, 09 Jan 2020 11:03:58 -0800
pacemaker + corosync + haproxy configuration cluster
Configure corosync
Install corosync pacemaker in both server5 and server6
yum install corosync pacemaker -y
Edit the corosync configuration file in server5
mv /etc/corosync/corosync.conf.example /etc/corosync/corosync.conf
vim /etc/corosync/corosync.conf
# Please read the corosync.conf.5 manual page
compatibility: whitet ...
Posted by jollyjumper on Wed, 08 Jan 2020 09:02:10 -0800
nginx service I Introduction and installation
1, nginx introduction
1.nginx service function:
2. Advantages of nginx service:
2, nginx service web deployment
1. Installation Preparation
2. Compile and install nginx
3. Start nginx preparation
3.1 configure environment variables
3.2 check syntax
3.2 boot
4. Turn off firewall, SE
5. Web access
6. Deploy a site
6.1 ...
Posted by Edward on Wed, 08 Jan 2020 08:32:35 -0800
Making run Files from Local Sources
1. Use yum to download the necessary packages in a directory:
yum install --downloaddir ./ --downloadonly nvidia-detect
2. Making script files:
The script file needs unix format (only 0A line breaks, no 0D carriage return) and cannot be in window format.The last must be the end of 0A."Must be"######## End install.sh"before the ...
Posted by sangamon on Mon, 06 Jan 2020 18:09:06 -0800
linux File System Management Trilogy Two: Creating a File System
The meaning of creating a file system is to format a hard disk partition and create different file systems in different formats.
Format:
Low-level formatting: Performs before partitioning, mainly partitioning tracks of hard disks, etc.
Advanced formatting: partitioned and executed to create a file system
What you do when you create a file s ...
Posted by alcibar on Mon, 06 Jan 2020 09:26:44 -0800