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.
Posted by Wildbug on Sun, 03 May 2020 05:44:10 -0700
8, Architecture nginx practical application
(1) Introduction of web service software
There are three kinds of software commonly used to provide static Web services:
This is the mainstream of small and medium-sized Web services, the big brother of web servers.
The mainstream of Web services for large-scale websites, onc ...
Posted by cdinca on Sat, 02 May 2020 14:52:31 -0700
I. demand introduction
Previously, boss put forward a requirement that the app running on the advertiser needs to complete the automatic upgrade function. The advertiser is non touch screen and cannot be clicked manually. Therefore, the app must be downloaded automatically and installed and upgraded automatically. After the installation, the ap ...
Posted by deadimp on Sat, 02 May 2020 13:32:46 -0700
Turn on Remote Desktop login by enabling screen sharing. After turning on, you need to turn off encryption. Otherwise, you will not be able to connect. Closing encryption can be done by using the system configuration tool dconf. So install dconf editor first.
Update source and install system configuration tool (cannot install without updating s ...
Posted by xfezz on Fri, 01 May 2020 10:16:12 -0700
Blog: noahsnail.com | CSDN | Brief book
1. Problem description
Recently, a little thing was reinstalled on the server. As a result, the login shell interface turned into - bash-4.2 $, which was ugly and inconvenient to use. The main reason is that scp needs user name and host name, so it was modified.
Posted by DigitalNinja on Thu, 30 Apr 2020 21:30:28 -0700
Dockerfile customized in work
The intranet is used by the company, so the installation packages used in some dockerfiles can be easily transferred to the intranet under the external network. The installation packages are place ...
Posted by Wayne Herbert on Wed, 29 Apr 2020 21:36:41 -0700
kubernetes cluster deployment
Three official deployment methods1.minikubeminikube is a tool that can run a single point of kubernetes quickly locally, only for testing K8S or daily developmentDeployment address: https://kubernetes.io/docs/setup/minkube/2.kubeadmKubeadm is also a tool that provides kubeadm init and kubeadm join for rapid deploy ...
Posted by project18726 on Wed, 29 Apr 2020 08:36:10 -0700
OpenLdap can provide powerful centralized account management and authorization, but its powerful function depends on the integration of multiple plug-ins. In order to facilitate the compilation and deployment of OpenLdap, I made a docker image and recorded its usage through this article.
Test environment for t ...
Posted by NZ_Kiwis on Wed, 29 Apr 2020 08:28:31 -0700
11, Application practice of for loop statement
(1) , for loop syntax
1) General grammar
for variable name in variable value list
2) c-type for loop syntax
(2) Example 1
Use for to print 1, 2, 3, 4 and 5 numbers vertically.
[root@centos6-kvm3 scripts]# cat 11-01.sh
Posted by zorgon on Wed, 29 Apr 2020 07:05:43 -0700
6. Conditional testing and comparison of shell scripts
(1) Common syntax for conditional expressions
1. Six ways to write conditional expressions (if, while)
Syntax 1:test<test expression>
Syntax 2: [<Test Expression>] #Both ends of brackets must have spaces
Syntax 3: [[[<Test Expression>] #Spaces are required at both ends
Posted by garek007 on Tue, 28 Apr 2020 10:36:25 -0700