Adjust parameters to hide the information number of Nginx software version
Reference material
[1] . learn Linux operation and maintenance from the old boy: Web Cluster practice, old boy
setup script
View native information
[root@www ~]# curl -I 127.0.0.1
server_tokens
In the http tag section of Nginx configuration file nginx.conf, add the parameter "server" tokens off
http ...
Added by bschultz on Sun, 05 Apr 2020 19:50:47 +0300
Add a swap partition to RedHat Linux
Environment Redhat 7.2, example:
Add a new swap partition
============Requirements:================================
swap partition capacity is 512 MiB
When your system starts, the swap partition should be able to mount automatically
Do not remove or modify other swap partitions that already exist in your system
= ...
Added by Wintergreen on Sat, 04 Apr 2020 09:18:08 +0300
[course notes] get started with Linux quickly and play with typical applications -- mooc.com (Linux basic configuration)
Today we're going to update the Linux introductory course at the same time. Before, I have been studying Linux for a while, but the research is not very thorough. Here is the Linux video of Mogao network, which is just in WeChat's official account. It just started learning.
The whole video is based on CentOS 7. In orde ...
Added by vsego on Thu, 02 Apr 2020 08:34:33 +0300
Deployment steps of FISCO-BCOS blockchain open source platform (2)
Chapter II deployment of Genesis node
2.1 initialize node environment
The path used in this article is / mydata/nodedata-1/
#Create directory
mkdir -p /mydata/nodedata-1/data/ #Store various files of the node
mkdir -p /mydata/nodedata-1/log/ #Storage log
mkdir -p /mydata/nodedata-1/keystore/ #Deposit account key
#Copy node configuration
cd / ...
Added by fris on Wed, 01 Apr 2020 23:35:32 +0300
Small c learning Linux(27)--mysql service installation
mysql general binary format installation
premise
mysql binary format compression package
install
1) decompression
tar -xf mysql-5.5.58-linux-glibc2.12-x86_64.tar.gz
copy the extracted installation package to the system installation location / usr / local / mysql-5.5.58-linux-glibc2.12-x86_
cp -r mysql-5.5.58-lin ...
Added by szym9341 on Tue, 31 Mar 2020 13:31:27 +0300
memcached cache building
memcached cache buildingSet up the server and client so that the server can link the clientweb client: 192.168.247.161Server: 192.168.247.160
[root@localhost ~]# hostnamectl set-hostname client
[root@localhost ~]# su
[root@client ~]#
[root@nginx ~]# hostnamectl set-hostname server
[root@nginx ~]# su
[root@server ~]#
Set up serverDeploy libev ...
Added by zuessh on Sun, 22 Mar 2020 07:19:16 +0200
CentOS7.X install php-7.x.x
My personal website
Install php
Installation preparation
yum install \
vim \
gcc \
gcc-c++ \
wget \
make \
re2c \
libtool \
automake \
autoconf \
curl-devel \
libpng-devel \
libxml2-devel \
libxslt-devel \
openssl-devel \
freetype-devel \
bzip2-devel \
libicu-devel \
libuuid-devel \
libmcrypt-devel \
postgresql-devel \
-y
Install php
cd /ro ...
Added by Nick Zaccardi on Tue, 17 Mar 2020 16:04:49 +0200
MySQL - group replication
MySQL - group replication
1. Group replication model
2. Group replication principle
3. Realize group replication
1. Group replication model
Group replication model
MySQL group replication is a new function introduced in MySQL 5.7.17, which realizes high availability mainly from replication. It ...
Added by woza_uk on Tue, 10 Mar 2020 10:28:52 +0200
FastDFS Single Machine Setup
brief introduction
FastDFS is an open source, high performance, distributed file system (DFS). The FastDFS system has three roles: Tracker Server, Storage Server, and Client.Tracker Server: Track the server, mainly for scheduling and balancing purposes; manages all storage server s and groups, and each store connects to Tracker after startup, ...
Added by jawaidpk on Fri, 28 Feb 2020 22:28:21 +0200
k8s data persistence statefulset data persistence and automatic creation of PV and PVC
One: Statefulset
StatefulSet is designed to solve the problem of stateless services. The corresponding Deployment and ReplicaSet are designed for stateless services, and their scenarios include:1. Stable persistent storage, i.e. access to the same persistent data after Pod rescheduling, based on PVC2. Stable network flags, i.e. PodName and Ho ...
Added by wshost on Tue, 25 Feb 2020 05:09:26 +0200