Alicloud CentOs7 installation Gitlab is available for pro test

Install GitLab Installation steps of official website: https://about.gitlab.com/install/#centos-7 Configuration before installation, firewall and so on Mail configuration Landing gitlab Install Gitlab Open http and ssh access of firewall sudo yum install -y curl policycoreutils-python openssh-server sudo systemctl enable sshd sudo systemctl ...

Posted by TPerez on Mon, 11 Nov 2019 13:52:19 -0800

Simple construction of saltstack

Environmental Science; centos 7     192.168.10.10    master centos 7     192.168.10.129  minion 1. For the convenience of closing the firewall [root@localhost ~]# systemctl disable firewalld // No firewall startup [root@localhost ~]# systemctl stop firewalld // Stop firewall 2. Install salt master on the 192.168.10.10 host [root@ ...

Posted by john_6767 on Sun, 10 Nov 2019 10:55:47 -0800

Installation and simple configuration of Elasticsearch

install Download Address https://www.elastic.co/cn/dow... install After downloading the installation package, unzip the file: tar -zxvf elasticsearch-7.4.2-linux-x86_64.tar.gz File directory structure Catalog configuration file describe bin Script files, including starting elasticsearch, installing plug-ins, and so on config elasticsea ...

Posted by PurpleMonkey on Fri, 08 Nov 2019 23:18:56 -0800

Install mysql on centos

This article still uses xftp to upload gz files, and then operates on xShell. If you do not install these two files, please refer to the previous blog. 1. Upload the downloaded file to the corresponding location with xftp.   2. Unzip the file: tar-zvxf-mysql-5.7.28-linux-glibc2.12-x86_.tar.gz 3. Create mysql folder under / usr/local folder m ...

Posted by chelsea7 on Mon, 04 Nov 2019 23:46:11 -0800

Recovery of Mysql primary synchronization failure

Basic information Main storehouse: Database 2 10.126.4.2 Database 3 10.126.4.3 1. Stop database 3 external service Prevent services from writing data through database 3 during synchronization $ firewall-cmd --remove-port=3306/tcp $ firewall-cmd --add-rich-rule="rule f amily="ipv4" source address="10.126.4.2" port protocol="tcp" port="3306" a ...

Posted by Dathremar on Sat, 02 Nov 2019 16:55:46 -0700

Docker installs and configures Mysql Cluster on a server

1. Download the image of mysql5.6 from the docker hub docker pull mysql:5.6 2. Use mysql 5.6 image to run 4 mysql services, and distinguish by port number Preparatory work # Four directories are created on the local machine to store the data, logs and configuration files of four mysql services. mkdir /data/mysql cd /data/mysql mkdir mysq ...

Posted by flaab on Fri, 01 Nov 2019 01:03:30 -0700

Centos 7 installs nginx (source code)

Liunx installing nginx (source code) First step Get into Download on nginx official website , select the version you need For example, I wget http://nginx.org/download/nginx-1.16.0.tar.gz decompression tar -zxvf nginx-1.16.0.tar.gz install Enter nginx-1.16.0 directory ./configure Here, ...

Posted by F.Danials on Wed, 30 Oct 2019 12:59:12 -0700

Tomcat deployment in Centos

Create user sudo useradd --system --home /opt/tomcat --shell /sbin/nologin --comment "tomcat user" --user-group tomcat Deploying tomcat Unzip the installation package: tar -xvf apache-tomcat-9.0.21.tar.gz Mobile decompression package: sudo mv apache-tomcat-9.0.21 /opt/tomcat/apache-tomcat-9.0.21 To create a soft link: sudo ln -s /opt/tomcat/ ...

Posted by xadmin on Tue, 29 Oct 2019 08:44:19 -0700

Apache Web page and security optimization -- web page compression and caching (combination of theory and practice!)

Apache Web page optimization overview >In an enterprise, only the default configuration parameters are used after Apache deployment, which will cause many problems in the website. In other words, the default configuration is for the previous lower server configuration. The previous configuration is no longer applicable in the Internet age. ...

Posted by madwormer2 on Fri, 25 Oct 2019 04:12:34 -0700

Installing MySQL 5.7 database through binary package

1. Download mysql binary installation package and dependency package wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libaio-devel-0.3.109-13.el7.x86_64.rpm wget http://mirror.centos.org/centos/7/os/x86_64/Packages/libaio-0.3.109-13.el7.x86_64.rpm wget https://mirrors.tuna.tsinghua.edu.cn/mysql/downloads/MySQL-5.7/mysql-5.7.25-linux-g ...

Posted by uproa on Wed, 23 Oct 2019 13:51:44 -0700