码迷,mamicode.com
首页 >  
搜索关键字:zabbix-agent centos7    ( 15177个结果
Centos 7.0系统服务管理
从Centos7开始,不再用sysvinit管理系统服务了,而是改用了systemd,因此对系统服务管理方法已经变更,以下简述1.查看当前所有系统服务的状态1 systemctl2.查看指定系统服务的状态systemctl | grep "服务名称"3.更改系统服务的状态# 启动指定服务(重启后无效...
分类:其他好文   时间:2014-10-20 02:02:28    阅读次数:193
CentOS7 crontab 不执行,报错 /bin/sh: root: command not found
使用CentOS7 执行定时脚本,结果提示报错: /bin/sh: root: command not found 问题在于文件 /var/spool/cron/root ,中无需再写root。 修改之后的脚本: [root@localhost cron]# crontab -l */10 * * * * perl /home/awstats/wwwroot/cgi-bin/aws...
分类:其他好文   时间:2014-10-18 21:04:48    阅读次数:1350
Linux Apache 给 awstats 创建 访问密码
CentOS7 安装最新版本 awstats ,在httpd.conf 中加入了alias,可以直接访问网址就进入 浏览。十分不安全。 给访问加上密码的方法: [root@localhost wwwroot]# htpasswd -bc /home/awstats/wwwroot/.htpasswd aaa 123456 [root@localhost wwwroot]# nano ...
分类:Web程序   时间:2014-10-18 21:01:55    阅读次数:241
windows安装zabbix_agent 客户端
http://www.zabbix.com/downloads/2.2.0/zabbix_agents_2.2.0.win.zip c:\zabbix_agents_2.2.0.win\conf\zabbix_agentd.win.conf.You can simply copy it. 复制配置文...
分类:Windows程序   时间:2014-10-18 15:11:46    阅读次数:216
Zabbix学习之Server/Agent部署
公司最近需要上一套监控系统,之前的监控系统是 Nagios。我之前也没接触过 Nagios,后来就调研了一番。对比了市面上比较火的几款监控系统,还是感觉 Zabbix 更出色一点。 下面是 Zabbix Server 和 Zabbix Agent 的部署流程。环境: OS Version:...
分类:其他好文   时间:2014-10-16 18:24:13    阅读次数:394
Centos 7 Apache解析PHP
1、源码安装[root@localhost~]#yuminstall-ygccgcc-c++httpdphp-xmlphp-pearphp-mbstringphp-cliphp-odbcphp-peclphp-pdophp-gdphp-xmlrpcphp-develphp-mysqlphp-commonphp-processphp-ldapphp-bcmathrrdtool-phpphp-soapvim-X11vim-commonvim-enhancedvim-filesystemvim-minim..
分类:Web程序   时间:2014-10-16 11:44:53    阅读次数:220
centos7网卡重命名方法以及更换网卡导致起不来网卡的解决方法
网卡重命名为Centos5代经典样式eth0方法有三步:1、vim/etc/sysconfig/grub,找到GRUB_CMDLINE_LINUX,后面有个vconsole.font=latarcyrheb-sun16,空个格,加上net.ifnames=0biosdevname=0保存退出;2、grub2-mkconfig-o/boot/grub2/grub.cfg3、重启系统后执行ipa后发现已经是eth..
分类:其他好文   时间:2014-10-15 21:13:21    阅读次数:246
pgadmin 无法连接 centos7 postgresql 问题
首先 查看1.用ps -ef|grep postgres 查看进程是否已经启动;正常情况如下:postgres 1445 1 0 07:54 ? 00:00:00 /usr/bin/postgres -D /var/lib/pgsql/data -p 5432postgres 1853 1445.....
分类:数据库   时间:2014-10-15 12:40:00    阅读次数:773
centos7 的postgresql 初始化
1.初始化数据库;postgresql-setup initdb2.启动postgresql并设置为开机自启动;systemctl restart postgresqlsystemctl enable postgresql3.登进数据库看看状态;(可略)su - postgrespsql\du (查...
分类:数据库   时间:2014-10-13 19:02:27    阅读次数:303
centos7 nginx前端 apache后端 及多站点简单配置
cd/usr/local/src wgethttp://nginx.org/download/nginx-1.7.6.tar.gz tar–xvfnginx-1.7.6.tar.gz cdnginx-1.7.6 ./configure--prefix=/usr/local/nginx--with-http_stub_status_module--with-http_ssl_module--with-pcre makemakeinstall vi/usr/local/nginx/conf/nginx.con..
分类:Web程序   时间:2014-10-13 17:47:30    阅读次数:552
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!