CentOS7 -- Kickstart + PXE for unattended batch installation configuration
What is Kickstart Installations?
Kickstart Installations for unattended automatic installation
Kickstart files, which are ready before installation, can be used to automatically perform the installation. It can be saved on a single server system and supports one to many: that is, a single file installs CentOS on multiple computers
All Kickst ...
Posted by w.geoghegan on Wed, 13 May 2020 03:41:01 -0700
Deploy ntp services
In the privatization platform, ntp server needs to be deployed. Because it is two physical servers, in order to avoid single point problem, two ntp servers need to be deployed here. Other clients in the same network segment need to calibrate and synchronize the clock with these two servers through ntp service.
Since it is a private platform, o ...
Posted by errtu on Sat, 09 May 2020 02:15:44 -0700
One key operation CIS security scanning, cluster security!
CIS security scanning is one of the heavyweight functions introduced by Rancher 2.4, which aims to help users quickly and effectively enhance the security of clusters. This article will introduce the CIS security scanning function in detail, including the detailed operation demo.
This article comes from Rancher Labs
Cluster security is a c ...
Posted by hurricane on Thu, 07 May 2020 19:43:48 -0700
Old learning programming - Cgroup plug-in
cgroup
cgroup introduction
cgroup, a control group, provides a mechanism for controlling the use of resources by a specific group of processes. cgroup binds a process set to one or more subsystems.
Why cgroup
Group the processes uniformly, monitor the processes and manage the resources on the basis of grouping.
subsystem
cgroup is a mechanism t ...
Posted by logicopinion on Wed, 06 May 2020 05:29:32 -0700
File packaging and compression
File packaging and compression
Self feeling: it's easy to learn how to pack and compress files. Although there are many compression names, several are not commonly used, and several commonly used options are basically universal. It will produce a good result. Just learn the option of one command and remember the names of the remaining command ...
Posted by intergroove on Mon, 04 May 2020 12:19:42 -0700
Quickly build ETCD cluster
Get ready
prepare three Linux machines that can access each other. Take Centos 7 as an example:
node1-192.168.22.117
node2-192.168.22.118
node3-192.168.22.119
turn off the firewalls of these three machines:
systemctl disable firewalld.service
systemctl stop firewalld.service
install
etcd nee ...
Posted by birwin on Sun, 03 May 2020 06:40:46 -0700
postgres10 configure page
operating system
Modify / boot/grub2/grub.cfg
Navigate to the first 'menu' CentOS Linux 'and add it on the last side of "linux16 /vmlinuz"
numa=off transparent_hugepage=never default_hugepagesz=2M hugepagesz=2M hugepages=1536
*hugepagesz indicates the page size. Choose one of 2M and 1G, and the default is 2m.
hugepages ...
Posted by Wildbug on Sun, 03 May 2020 05:44:10 -0700
Two ways for nginx to turn on ssl and redirect http to https
1 Introduction
Nginx is a very powerful and popular high-performance Web server. This article explains how nginx integrates https and redirects http to https.
https related articles are as follows:
(1)Spring boot integration https is so simple
(2)Key knowledge and key tools of HTTPS Keytool and keystore Explorer
(3)Two ways for spring boot to r ...
Posted by damienwc on Sat, 02 May 2020 10:20:58 -0700
mysql service started but was not found in the process
CentOS 6.5, MySQL multiple instances (in fact, the same principle applies to a single instance)
1, Problem description
[root@www ~]# /data/3308/mysql start
Starting MySQL...
[root@www ~]# ps -A|grep mysql
[root@www ~]#
Start mysql database, and there is no result by checking the process.
2, Problem solving
Check the mysql error log. Th ...
Posted by tmk4php on Thu, 30 Apr 2020 15:28:40 -0700
WeChat official account development study (1) -- official account number and server configuration
A new WeChat official account has been applied for.
1. Apply for the account of wechat public platform, and then apply for Tencent cloud recommended by him to do demo
2. After applying for centos host, get the public ip and password. After ssh login, follow the demo prompt
3. Install web.py.
wget -c http://webpy.o ...
Posted by gjb79 on Mon, 27 Apr 2020 08:21:54 -0700