Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

1. Turn off the firewall
command: systemctl stop firewalld
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

Turn off the firewall boot from Kai
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

2. Turn off selinux
temporary closure selinux
command: setenforce 0
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

Selinux edit the configuration file, so that selinux is disabled by default boot
command: vi / etc / sysconfig / selinux
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment! [] (HTTPS []!

IP Address Configuration
Command: vi / etc / sysconfig / network -scripts / ifcfg-ens33
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

IP address settings to restart the network service to take effect
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

3. Installation wget
command: yum -y install wget
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

4. The Ali yum yum source as the default source
command: cd /etc/yum.repo.d/
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com /repo/Centos-7.repo
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

5. Installation epel Source
Command:
yum the install epel -Y-Release
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

6. Installation LNMP resolve dependencies and install all the tools to compile
the command:
yum -y install gcc gcc-c ++ PCRE PCRE the make-devel zlib zlib-devel \
OpenSSL libxml2 libxml2-devel libcurl libcurl-devel libjpeg \
libjpeg libpng-devel as libpng- FreeType FreeType-devel devel \
OpenLDAP OpenLDAP-devel libmcrypt libmcrypt-devel tar \
OpenSSL-devel cmake ncurses ncurses-devel
Zabbix4.X installation (a) ----> LNMP to prepare for the installation and build environment

Guess you like

Origin blog.51cto.com/7309656/2425006
Recommended