搭建 Lepus 天兔 监控MySQL
Part1: Lepus安装需要Lamp环境,lepus官网手册也建议采用XAMPP的方式安装,lepus也是在XAMPP上进行研发的 注意xampp会把apache,mysql,php都安装,所以要在干净的环境中进行安装,以免安装两个mysql,两个mysql也是可以的 Part2:LNMP环境构建 安装XAMPP Xampp下载地址:https://www.apachefriends.org/download.html 注意你的版本号,高版本的XAMPP中可能不是Mysql而是MariaDB 版本搞了,系统版本低,会提示GLIBC_版本低,我用的是xampp-linux-x64-5.6.37-0-installer.run (数据库版本是mariadb) [root@B77-11-100 opt opt]# chmod +x xampp-linux-x64-1.8.2-5-installer.run [root@B77-11-100 opt opt]# ./xampp-linux-x64-1.8.2-5-installer.run [root@B77-11-100 opt opt]# /opt/lampp/lampp start [root@B77-11-100 opt opt]#vi /etc/profile 追加环境变量 export PATH=$PATH:/opt