Memcached database cluster
Memcached overview
An open source high performance distributed memory object caching systemAll data is stored in memorySupport data of any storage typeSpeed up Web site access
Memcached caching mechanism
When the program writes the cache data request, the API interface of Memcached routes the KEY input routing algorithm module to a service i ...
Posted by ryanthegecko on Tue, 17 Dec 2019 12:25:43 +0100
Squid proxy application (traditional and transparent)
Experimental schematic diagram
Step 1: configure the squid proxy server
#Remote share and mount source package
[root@squid ~]# smbclient -L //192.168.142.1
[root@squid ~]# mount.cifs //192.168.142.1/squid /mnt
#Decompress the source package
[root@squid ~]# cd /mnt
[root@squid mnt]# tar zxvf squid-3.4.6.tar.gz -C /opt
#Install build environm ...
Posted by dinku33 on Tue, 10 Dec 2019 11:39:51 +0100
Firewall basic use
I. system environment
Centos7
Two, installation
$ yum install -y firewalld
III. basic startup command
$ systemctl status firewalld # View state
$ systemctl start firewalld # start-up
$ systemctl stop firewalld #Close
$ systemctl enable firewalld ...
Posted by FrancoPaddy on Mon, 09 Dec 2019 18:58:41 +0100
Teach you how to easily deploy squid forward agent in 5 minutes
The forward proxy is a server between the client and the original server. In order to obtain content from the original server, the client sends a request to the proxy and specifies the target (the original server), and then the proxy delivers the request to the original server and returns the obtained content to the client. The client can use ...
Posted by kael.shipman on Fri, 06 Dec 2019 10:53:38 +0100
Deploy LVS-DR and preserved cluster (actual combat!!!)
keepalived overview
The function of Keepalived is to detect the state of the server. If a web server goes down or fails to work, Keepalived will detect it and remove the failed server from the system. At the same time, other servers will be used to replace the server's work. When the server works normally, Keepalived will automatically add the ...
Posted by papa on Wed, 04 Dec 2019 11:14:07 +0100
Docker compose quickly build Prometheus+Grafana monitoring system
I. descriptionPrometheus collects the data, and Grafana displays the data. The exporters in Prometheus include:1) Node Exporter is responsible for collecting host hardware and operating system data. It will run as a container on all hosts.2) C advisor is responsible for collecting container data. It will run as a container on all host s.3) Ale ...
Posted by brianlange on Sat, 30 Nov 2019 20:06:29 +0100
Use elk to collect cases of network devices
brief introduction
With the increase of servers and network devices in the computer room, log management and query become a headache for system administrators.
Common problems encountered by system administrators are as follows:
It is impossible to log in to each server and device to view the log during daily maintenance;
The storage space o ...
Posted by WhiteCube on Mon, 11 Nov 2019 18:02:18 +0100
Ovirt engine installation record of ovirt
In the process of studying the desktop cloud, it is found that there is not much difference between the server (private cloud or virtualization) and the application of thin client and the management of the desktop. The final landing may require customized development to meet the needs.
In the open source virtualization products, limited to th ...
Posted by cent on Sun, 10 Nov 2019 15:13:59 +0100
Common script tools
md5sum, command line view configuration
I. verifying file integrity with md5sum
Command options
1
2
3
4
5
6
md5sum
-b Read in file contents in binary mode
-t Read in file content in text mode
-c Based on generated md5 Value to verify the existing file
-w A warning message is given when the verif ...
Posted by pdunn on Fri, 01 Nov 2019 22:33:51 +0100
Building virtual host of LAMP architecture
Virtual Web host
Run multiple Web sites on the same server, each of which is not independentTake up a real computer
Types of virtual hosts supported by httpd
1. Domain name based virtual host2. Virtual host based on IP address3. Port based virtual host
Demonstration of examples
Domain name based virtual host
Step 1: environment deployment
1. I ...
Posted by bimmer528 on Thu, 24 Oct 2019 00:28:30 +0200