Configure Apache virtual host
Experimental environment
A CentOS 7.3 virtual machine with minimal installation
Configure the base environment
1. Install apache
yum install -y httpd
2. Establish the root directory of the virtual host
mkdir /var/wwwroot
mkdir /var/wwwroot/site1
mkdir /var/wwwroot/site2
echo -e "site1" >> /var/wwwroot/site1/index.html
echo -e "site2" &g ...
Posted by m3mn0n on Sun, 01 Dec 2019 05:24:04 -0800
Centos 7.4 source installation redis-5.0.4
Preparation
click Official website Download the installation package
Use tar -zxvf to extract the installation package to / usr/local directory, and name it redis. The steps are omitted. The results are as follows
[root@iZ2xxxxxuf9Z local]# pwd
/usr/local
[root@iZ2xxxxxuf9Z local]# ls
aegis etc include lib libexec nginx ...
Posted by ChrisML123 on Fri, 29 Nov 2019 22:12:14 -0800
MySQL Database Advancement--Master-Slave Synchronization and Read-Write Separation
Master-Slave Synchronization
Experimental preparation
A total of four virtual machines, one application side, one amoeba, one master server, and one slave server
Application side: centos7-2 (MySQL installed before the experiment)
amoeba:centos7-1 (no MySQL)
Primary server: centos7-3 (MySQL installed before the experiment)
From server: centos ...
Posted by pushpendra.php on Tue, 26 Nov 2019 10:07:55 -0800
Big data environment building series - zookeeper cluster building
Summary
This blog builds a cluster environment based on zookeeper-3.4.9.
1. Download zookeeper
Edition: http://zookeeper.apache.org/releases.html#download
Download version: zookeeper-3.4.9.tar.gz
2. Host
192.168.8.21, 192.168.8.22, 192.168.8.23, 192.168.8.24 and 192.168.8.25.
3. Decompression
tar -zxvf zookeeper-3.4.9.t ...
Posted by andreea115 on Tue, 26 Nov 2019 07:28:59 -0800
Several Web UI interface deployment of k8s cluster
Blog Outline:I. deploy the Web UI interface of dashboardII. Deploy the web scope monitoring k8s clusterIII. deployment of Prometheus service
I. deploy the Web UI interface of dashboard
1. Download yaml file configuration and execute
#Download the project on github (the project can be found by searching the dashboard of github)
[root@master ~ ...
Posted by satanclaus on Tue, 26 Nov 2019 03:10:58 -0800
MySQL - Indexed View Transactions, Storage Engines MyLSAM and InnoDB (Actual!)
The role of indexes
With the appropriate index set, the database can greatly speed up the query speed by utilizing various fast positioning techniques.
Especially when the table is large or the query involves multiple tables, using an index can speed up the query thousands of times;
The IO cost of the database can be reduced, and the index can ...
Posted by Shai-Hulud on Mon, 25 Nov 2019 14:14:21 -0800
High availability of MHA for mysql
I. Introduction to MHA
Author brief introduction
Song xinjiafan:
MySQL/Linux expert
Sony in 2001
oracle started in 2001
Started using MySQL in 2004
September 2006 August 2010 MySQL Consultant
2010-2012 DeNA
2012 ~ now Facebook
Software introduction
MHA can realize automatic fault detection and failover in a short time, usually within 10-30 se ...
Posted by ExpertAlmost on Mon, 25 Nov 2019 03:45:11 -0800
Linux remote access and control
Prefacelinux operation and maintenance management is generally managed by remote mode. When hundreds of server hosts need to be managed from a workstation, the remote maintenance mode will be more advantageous.I. SSH Remote ManagementSSH is a secure channel protocol, which is mainly used to realize the remote management, remote replication and ...
Posted by nou on Sun, 24 Nov 2019 10:53:25 -0800
Vsftpd realizes user authentication based on MySQL
VSFTP introduction
VSFTP is a kind of FTP server software used on Unix like system published based on GPL. Its full name is Very Secure FTP.
Software installation
yum install vsftpd mariadb-server mariadb-devel pam-devel -y
wget http://prdownloads.sourceforge.net/pam-mysql/pam_mysql-0.7RC1.tar.gz
tar xf pam_mysql-0.7RC1.tar.gz
cd pam_mysq ...
Posted by maGGot_H on Sat, 23 Nov 2019 13:24:44 -0800
Deploy a complete set of DNS detailed process within the enterprise
1) environmental description
1. A total of 7 hosts are required, and their roles are as follows:
A. 192.168.36.6(OS6): test
B. 192.168.36.7(OS7): localdns
C. 192.168.36.17(OS7): rootdns
D. 192.168.36.27(OS7): comdns
E. 192.168.36.37(OS7): master
F. 192.168.36.47(OS7): slave
G. 192.168.36.57(OS7): www
2. ...
Posted by amitshetye on Thu, 21 Nov 2019 10:31:06 -0800