The Zabbix one click installation script is maintained for a long time. It supports highly customized, interactive, and multi version selection of multi technology stacks. Nginx/PHP/MySQL/MariaDB/Zabbix/Administrator/phpMyAdmin/Grafana can be installed as required, which is applicable to CentOS 7~8 systems with x86_64 bit architecture.
Installation mode: Nginx/Zabbix compilation and installation, MySQL/MariaDB binary installation, and Grafana rpm installationAll installation packages are from the software official.In addition, since most of the official software is downloaded from foreign sources slowly, please ensure the SSH terminal connection status during the download.
Script Properties
Support Nginx-1.21 and Grafana-7.4;
Support selective installation of Zabbix Server/Agent;
Support multiple database versions (MySQL-8, MariaDB-10.5);
Support multiple PHP versions (PHP-7.4, PHP-8.0);
Support multiple database management tools (Adminer-4, phpMyAdmin-5);
Hello, blogger, can the next version be built only in containers? Can you add a one click version installed directly by the system? The container technology is really good, but it is not very useful.
HTTP request sent, awaiting response… 404 Not Found 2022-05-15 21:08:54 ERROR 404: Not Found.
Auto download failed! You can manually downloadhttp://mirrors.sohu.com/nginx/nginx-1.21.6.tar.gzinto the /opt directory. Killed [root@localhost ~]# tar (child): nginx-1.21.6.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now install_zabbix_v0.9.2.sh: line 168: cd: nginx-1.21.6: No such file or directory sed: can’t read auto/cc/gcc: No such file or directory install_zabbix_v0.9.2.sh: line 171: ./configure: No such file or directory make: *** No targets specified and no makefile found. Stop. ERROR: Nginx install failed, Please Contact the author!
Brother, there is no 8.0.25 version of the database download station now. When running the script, it will directly report an error and cannot find this. It can run normally if it is changed to 8.0.26 version
two hundred and forty-five thousand eight hundred and thirty-seven
Install_zabbix_v0.9.1. sh: line 126: wget: command not found Killed Auto download failed! You can manually downloadhttp://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/mysql-8.0.25-linux-glibc2.12-x86_64.tar.xzinto the /opt directory. [root@localhost~]#Tar (child): mysql-8.0.25-linux-glibc2.12-x86_64.tar.xz: cannot be opened: there is no such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Mv: Cannot get the file status (stat) of "mysql-8.0.25-linux-glibc2.12-x86_64/*": there is no such file or directory ERROR: MySQL install failed, Please contact the author! ^C
two hundred and forty-five thousand eight hundred and thirty-seven
Make: * * * There are no rules to create the target "build" required by "default".stop it. ERROR: Nginx install failed, Please Contact the author! –2022-01-04 14:16:16–http://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/mysql-8.0.25-linux-glibc2.12-x86_64.tar.xz Resolving host mirrors.ustc.edu.cn (mirrors.ustc.edu.cn)... 202.141.160.110 Connecting to mirrors.ustc.edu.cn (mirrors.ustc.edu.cn) | 202.141.160.110 |: 80... Connected. HTTP request has been sent, waiting for response... 404 Not Found 2022-01-04 14:16:16 Error 404: Not Found.
Auto download failed! You can manually downloadhttp://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/mysql-8.0.25-linux-glibc2.12-x86_64.tar.xzinto the /opt directory. Killed [root@localhost~]#Tar (child): mysql-8.0.25-linux-glibc2.12-x86_64.tar.xz: cannot be opened: there is no such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Mv: Cannot get the file status (stat) of "mysql-8.0.25-linux-glibc2.12-x86_64/*": there is no such file or directory ERROR: MySQL install failed, Please contact the author!
Auto download failed! You can manually downloadhttp://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/mysql-8.0.25-linux-glibc2.12-x86_64.tar.xzinto the /opt directory. Killed [root@iZuf65saybbvaw5kjlol48Z admin]# tar (child): mysql-8.0.25-linux-glibc2.12-x86_64.tar.xz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now mv: cannot stat ‘mysql-8.0.25-linux-glibc2.12-x86_64/*’: No such file or directory ERROR: MySQL install failed, Please contact the author!
Good webmaster, do you have offline installation package?
Because the installation environment is on the intranet, there is no way to add yum or other sources online, so you need to copy all the installation files to the server.
Auto download failed! You can manually downloadhttp://mirrors.ustc.edu.cn/mariadb/mariadb-10.5.10/bintar-linux-systemd-x86_64/mariadb-10.5.10-linux-systemd-x86_64.tar.gzinto the /opt directory. Killed [root@localhost ~]# tar (child): mariadb-10.5.10-linux-systemd-x86_64.tar.gz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now mv: cannot stat ‘mariadb-10.5.10-linux-systemd-x86_64/*’: No such file or directory ERROR: MariaDB install failed, Please contact the author! 2022-01-05 10:29:29 ERROR 404: Not Found.
Auto download failed! You can manually downloadhttp://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/mysql-8.0.25-linux-glibc2.12-x86_64.tar.xzinto the /opt directory. Killed [root@localhost ~]# tar (child): mysql-8.0.25-linux-glibc2.12-x86_64.tar.xz: Cannot open: No such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now mv: cannot stat ‘mysql-8.0.25-linux-glibc2.12-x86_64/*’: No such file or directory ERROR: MySQL install failed, Please contact the author!
The Chinese version shows garbled code. Do you add fonts or display garbled code according to Baidu tutorial.I wonder if the author has a good solution
gzip: stdin: unexpected end of file Tar: Abnormal EOF in archive file Tar: Abnormal EOF in archive file tar: Error is not recoverable: exiting now Install_zabbix_v0.9.1. sh: Line 802:/Configure: No such file or directory Make: * * * There are no rules to create the target "install".stop it. Zabbix install Failed, Please Contact the author Nginx Start [OK] MariaDB is not installed MySQL Start [OK] PHP Start [OK] Zabbix Server is not installed Zabbix Agent is not installed Grafana Start [OK]
Auto download failed! You can manually downloadhttp://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/mysql-8.0.25-linux-glibc2.12-x86_64.tar.xzinto the /opt directory. Killed [root@zz~]#Tar (child): mysql-8.0.25-linux-glibc2.12-x86_64.tar.xz: cannot be opened: there is no such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now Mv: Cannot get the file status (stat) of 'mysql-8.0.25-linux-glibc2.12-x86_64/*': there is no such file or directory ERROR: MySQL install failed, Please contact the author!
Make: * * * There are no rules to create the target "build" required by "default".stop it. ERROR: Nginx install failed, Please Contact the author! –2021-05-19 16:58:27–http://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/mysql-8.0.22-linux-glibc2.12-x86_64.tar.xz Resolving host mirrors.ustc.edu.cn (mirrors.ustc.edu.cn)... 202.141.160.110 Connecting to mirrors.ustc.edu.cn (mirrors.ustc.edu.cn) | 202.141.160.110 |: 80... Connected. HTTP request has been sent, waiting for response... 404 Not Found 2021-05-19 16:58:27 Error 404: Not Found.
Auto download failed! You can manually downloadhttp://mirrors.ustc.edu.cn/mysql-ftp/Downloads/MySQL-8.0/mysql-8.0.22-linux-glibc2.12-x86_64.tar.xzinto the /opt directory. Killed Tar (child): mysql-8.0.22-linux-glibc2.12-x86_64.tar.xz: cannot be opened: there is no such file or directory tar (child): Error is not recoverable: exiting now tar: Child returned status 2 tar: Error is not recoverable: exiting now [root@localhost~]#Mv: Cannot get the file status (stat) of "mysql-8.0.22-linux-glibc2.12-x86_64/*": there is no such file or directory ERROR: MySQL install failed, Please contact the author!
Connecting to mirrors.ustc.edu.cn (mirrors.ustc.edu.cn) | 218.104.71.170 |: 80... Connected. HTTP request has been sent, waiting for response... 404 Not Found 2021-05-17 09:30:24 Error 404: Not Found.
Connecting to mirrors.ustc.edu.cn (mirrors.ustc.edu.cn) | 218.104.71.170 |: 80... Connected. HTTP request has been sent, waiting for response... 404 Not Found 2021-05-17 09:30:24 Error 404: Not Found.
Install zabbix server 5.2 to create monitoring items and monitoring ports; Unable to configure port monitoring. The displayed interface is inconsistent with the official document. I wonder if you have encountered
Thank you for your good script.I want to ask you two questions 1. Can I install the zabbix server and the zabbix agent at the same time? I first install the zabbix server, complete the initialization of the zabbix, log in to the interface, and then execute the script to install the zabbix agent. After the installation is complete, an error is always reported: ent checks on host “Zabbix server”: host unavailable
2. The URL of the login page must behttp://IP/ui, can I modify it?Do not want the UI behind
1. The host name does not exist. You can change it to the host name of the current host in the zabbix agent configuration file. After the modification is successful, remember to restart the agent service before it takes effect; 2. The login URL can be customized. You only need to move all files under the UI directory to the upper directory, and then use IP to access them directly.
Thanks for your reply, it has been solved!It's not too bad to send such a good script as a red envelope. Can I add a WeChat communication? If you have any questions about performance optimization, I'd like to ask you!
. Nginx Start [OK] MariaDB is not installed MySQL Start [OK] PHP is not installed Zabbix Server is not installed Zabbix Agent is not installed Grafana Start [OK] =========================================== Thank you for using Renwole.com script =========================================== RootUser: root RootPasswd: I#p1%sX@Renwole =========================================== PHPInfo:http://IP/php.php phpMyAdmin:http://IP/phpmyadmin =========================================== Grafana WebUI:http://IP:3000 Grafana User/Passwd: admin/admin
We will do some research here. If possible, we will support more services in the next version, including the needs of some students in the earlier stage.
Another question is whether the optimized configuration of MySQL is automatically optimized according to the configuration of the allocation machine by default?
CentOs 7 The installation failed with an error message:
install_zabbix.sh: line 94: ulimit: open files: cannot modify limit: Operation not permitted sed: can’t read auto/cc/gcc: No such file or directory install_zabbix.sh: line 96: ./configure: No such file or directory make: *** No targets specified and no makefile found. Stop. ERROR: Nginx install failed, Please Contact the author!
It is OK to select mariadb to install the database on your own PC, but ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/tmp/mysql. sock' (2) appears when installing on the virtual machine,There is an error when ZabbixWeb opens mysqli:: real_connect(): (HY000/2002): No such file or directory [setup. php: 99 → CSetupWizard ->__construct() → CSetupWizard ->eventHandler() → CSetupWizard ->dbConnect() → DBconnect() → MysqlDbBackend ->connect() → mysqli ->real_connect() in include/classes/db/MysqlDbBackend. php: 169] No such file or directory,What is the problem, or what parameters can be modified to solve it
Several points need to be confirmed: Whether MySQL is successfully installed; What version of Linux distribution is it; In this case, you can change the "localhost" in the configuration file to "127.0.0.1".