linux下使用非root账号安装zabbix-client

linux下使用非root账号安装zabbix-client
使用非root账号rusky登录:
[rusky@testServer]#tar zxvf zabbix-2.4.5.tar.gz
#cd zabbix-2.4.5

编译安装:
# ./configure --prefix=/home/rusky/zabbix --enable-agent
# make install

修改配置文件:

cd /home/rusky/zabbix
$ ls
bin etc lib sbin share
vi ./etc/zabbix_agentd.conf
PidFile=/home/dingyu/zabbix_agentd.pid
LogFile=/home/dingyu/zabbix/zabbix_agentd.log
Server=zabbix服务器IP
ServerActive=zabbix服务器IP
Hostname=本机IP

启动zabbix-agend
[rusky@testServer sbin]$ pwd
/home/rusky/zabbix/sbin
[rusky@testServer sbin]$ ./zabbix_agentd start

你可能感兴趣的:(client)