centos6.4安装TriAquae 3.0

安装依赖环境
yum install gcc gcc-c++ make sysstat nc -y
yum install python-devel -y
yum install mysql mysql-server mysql-devel -y
/etc/init.d/mysqld start

安装rrdtool
yum install rrdtool -y

升级python为2.75
python -V
sh install/python_ins.sh
说明:5.x系统python默认版本是2.4。安装包中自带升级python 2.7的脚本

tar zxf TriAquae.tar.gz
cd TriAquae/install
python setup.py build --prefix=/opt/soft/TriAquae
python setup.py install

修改数据库和IP
修改tri_config配置文件
MySQL_Name = 'TriAquae'
MySQL_User = 'root'
MySQL_Pass = 'coral'
Tri_IP = '192.168.2.2'
配置报警接受邮件
SMTP_server = 'smtp.126.com'
Mail_username = 'alex'
Mail_password = 'test123'

初始化
python setup.py init

启动TriAquae
cd /your installdir/TriAquae/sbin
python tri_service.py start
说明:启动默认为7000端口

登陆TriAquae
http://ip:7000/
默认账户:admin
默认密码:triaquae

你可能感兴趣的:(linux自动化运维)