Kubernetes Installation and Deployment Master
Links to the original text: https://blog.csdn.net/jiangbenchu/article/details/90769198
1. Modify the local/etc/hosts file
# Add (*) to / etc/hosts file
cat <<EOF >> /etc/hosts
172.26.48.4 k8s-master
172.26.48.5 k8s-node1
17 ...
Added by Kathy on Sun, 08 Sep 2019 15:35:59 +0300
Linux File Recovery (XFS & EXT4)
In Linux, the use of deleting rm commands should be cautious. Sometimes important files are deleted due to misoperation. At this time, don't be too nervous. If you operate properly, you can still recover.
EXT Type File Recovery
Deleting a file does not actually clear the inode node and block data, but deletes the name of the file in the block ...
Added by guido88 on Fri, 06 Sep 2019 09:42:10 +0300
Using nginx under yum installation, the method of adding modules
1.yum installs nginx
rpm -ivh http://nginx.org/packages/centos/7/noarch/RPMS/nginx-release-centos-7-0.el7.ngx.noarch.rpm
2. View nginx information
yum info nginx
3.yum installs nginx
yum -y install nginx
4. View the nginx parameters of yum ...
Added by bios on Tue, 03 Sep 2019 12:58:39 +0300
Openstack: Basic Environment Configuration and Introduction
Introduction:
Openstack is an implementation of the IAAS architecture (infrastructure as a service), and OpenStack is an implementation of the IAAS architecture by NASA (National Aeronautics and Space Administration)
A free software and open source project developed in collaboration with Rackspace and licensed under the Apache license.The foll ...
Added by Steppio on Thu, 29 Aug 2019 20:14:49 +0300
Setup of Linux High Availability LVS Load Balancing Cluster (Keepalived+LVS/DR)
1. Instance environment
2. First install the keepalived and ipvsadm packages
3.Keepalived configuration
3.1 Master Configuration (Master Load Balancer)
3.2 Backup Configuration (from Load Balancer)
4. Configure a real server node
5. Test Ke ...
Added by pedrokas on Thu, 29 Aug 2019 05:19:51 +0300
PostgreSQL: Extension of SQL Information Statistics
Summary
Pg_stat_states is an extension plug-in of PostgreSQL database, which is used to collect the running information of SQL in the database, such as the total execution time of SQL, the number of calls, the hit rate of shared memory and so on. Used to monitor the performance of database is an important expansion module of database performanc ...
Added by sn0n on Tue, 27 Aug 2019 11:35:41 +0300
linux monitoring tools (several of them must be proficient)
Various monitoring tools
Foreign linux Supervisory God: Baidu Search Brendan D. Gregg
http://www.brendangregg.com/linuxperf.html
I. hatop
linux interactive process viewer supports mouse point, search and kill process, sorting, etc. It has quite powerful functions.
https://www.cnblogs.com/enet01/p/8316006.html
PID: Process flag number, non- ...
Added by smilesmita on Sat, 24 Aug 2019 17:12:29 +0300
ACL Access Control and Log Analysis of Squid Proxy Service
For the deployment of Squid services, you can refer to the blog: Installation and deployment of Squid proxy serverFor Squid Service Configuration Proxy Server, you can refer to the blog: Using Squid to Construct Traditional Agent and Transparent Agent
ACL Access Control of Squid Service
Squid provides a powerful proxy control mechanism. By set ...
Added by Hi I Am Timbo on Sat, 17 Aug 2019 12:21:27 +0300
Solve the problem of Phantom Js installation failure
The company recently migrated the front-end test server and found one during the migration process. PhantomJs Questions. There is this dependency package in the configuration file, but there is no problem in downloading dependencies locally, but afte ...
Added by phpMitch on Fri, 16 Aug 2019 09:19:48 +0300
Common Shell scripts
1. Creating linux System Account and Password through Location Variables$1 is the first parameter to execute the script, and $2 is the second parameter to execute the script.
1 #!/bin/bash
2 # Author: Peter zh
3 # Blog: https://home.cnblogs.com/zhangwduoduoj/
4 # Time: 2019-08-17 19:19:45
5 # Name: userad.sh
6 # Version: v1.0
7 # Descr ...
Added by twistedmando on Thu, 15 Aug 2019 15:44:33 +0300