当前位置: 首页 > news >正文

下载建设银行官方网站下载网站建站平台

下载建设银行官方网站下载,网站建站平台,为企业做网站还有前途吗,新网站如何做免费推广CentOS 6.0架设流量监控及集中日志系统第一章、cacti的安装1、 系统的基本设置2、 设置主机名3、 [rootlocalhost ~]# vi /etc/sysconfig/network4、 [rootlocalhost ~]# exit5、 重新登陆6、 [rootGZ-Cacti ~]#7、 安装screen后台运行程序yum -y install screen8、 安装优秀的… CentOS 6.0架设流量监控及集中日志系统第一章、cacti的安装1、 系统的基本设置2、 设置主机名3、 [rootlocalhost ~]# vi /etc/sysconfig/network4、 [rootlocalhost ~]# exit5、 重新登陆6、 [rootGZ-Cacti ~]#7、 安装screen后台运行程序yum -y install screen8、 安装优秀的编辑器vimyum -y install vim9、 执行screen -S cacti进程进行安装程序防止断开远程导致安装中断 10、 cacti所需组件httpMysqlmysql-serverPhpPhp-mysqlPhp-snmpphp-cliphp-commonPerl-DBD-MySQLPhp-pdorrdtoolNet-snmpNet-snmp-libsNet-snmp-utilsrrdtoolyum安装这些组件yum -y install httpd php php-mysql php-snmp php-cli php-common mysql mysql-server net-snmp net-snmp-libs net-snmp-utils php-pdo perl-DBD-MySQL rrdtool#下载cacti[rootGZ-cacti ~]# cd /home/[rootGZ-cacti home]# wget http://www.cacti.net/downloads/cacti-0.8.7g.tar.gz#解压cacti[rootGZ-cacti home]# tar xvf cacti-0.8.7g.tar.gz#进入cacti文件夹将里面的文件移动到/var/www/html/[rootGZ-cacti home]# cd cacti-0.8.7g[rootGZ-cacti cacti-0.8.7g]#[rootGZ-cacti cacti-0.8.7g]# mv * /var/www/html/#启动apache及mysql服务[rootGZ-cacti cacti-0.8.7g]# /etc/init.d/httpd restartStopping httpd: [ OK ]Starting httpd: httpd: Could not reliably determine the servers fully qualified domain name, using 61.140.3.66 for ServerName[ OK ][rootGZ-cacti cacti-0.8.7g]# /etc/init.d/mysqld restartStopping mysqld: [ OK ]Starting mysqld: [ OK ][rootGZ-cacti cacti-0.8.7g]##并将apache、mysql及network加入自启动# chkconfig --level 35 httpd on# chkconfig --level 35 mysqld on#chkconfig network on建立数据库mysql create database cacti;mysql grant all privileges on cacti.* to cactiuserlocalhost identified by cacti with grant option;mysqlflush privileges;导入cacti数据库[rootGZ-cacti cacti-0.8.7g]# mysql -h localhost -u cactiuser -p cacti /var/www/html/cacti.sqlEnter password:[rootGZ-cacti cacti-0.8.7g]#修改cacti配置文件$database_type mysql;$database_default cacti;$database_hostname localhost;$database_username cactiuser;$database_password cacti;$database_port 3306;#$cacti_session_name Cacti;暂时关闭防火墙/etc/init.d/iptables stop检查SELinux现时况态 要知到你现在是否使用 SELinux: # getenforceenforcing关闭selinux修改档案/etc/sysconfig/selinux # This file controls the state of SELinux on the system.# SELINUX can take one of these three values:# enforcing - SELinux security policy is enforced.# permissive - SELinux prints warnings instead of enforcing.# disabled - SELinux is fully disabled.SELINUXenforcing # SELINUXTYPE type of policy in use. Possible values are:# targeted - Only targeted.NETwork daemons are protected.# strict - Full SELinux protection.SELINUXTYPEtargeted 把 SELINUX设定为disable, 下次启动系统后将会停止SElinux。# getenforcedisable 进入安装界面http://cacti-ip/install/index.php确保每个路径都正确点击下一步完成安装 安装较高版本的cacti在打开这里的时候可能会提示ERROR: Your Cacti database login account does not have access to the MySQL TimeZone database. Please provide the Cacti database account select access to the time_zone_name table in the mysql database, and populate MySQLs TimeZone information before proceeding. 解决方法首先在bash环境下执行mysql_tzinfo_to_sql /usr/share/zoneinfo | mysql -u root -p 密码 mysql 然后登陆mysql环境下mysql use mysql;mysql GRANT SELECT ON mysql.time_zone_name TO cactiuserlocalhost;mysql flush privileges;** 配置snmpvi /etc/snmp/snmp.conf7配置snmpvi /etc/snmp/snmp.conf#将下边这行中的defaultcom2secnotConfigUser default public#改为127.0.0.1com2secnotConfigUser 127.0.0.1 Cacti#将下边这行中的systemviewaccess notConfigGroup any noauth exact systemview none none#改为allaccess notConfigGroup any noauth exact all none none#将下边这行的注释“#”号去掉#view all included .1 80#重启snmpd服务service snmpd restart用这个命令进行测试能抓取信息为配置正确snmpwalk -v 1 localhost -c Cacti安装ntpdate并且停用自动更新yum -y install ntpdate/etc/init.d/ntpdate stopchkconfig ntpdate off以cacituser用户增加入一个计划任务使得 cacti 每五分钟生成一个监控图表。crontab -e#加入如下内容。注意poller.php的路径*/5 * * * * php /var/www/html/poller.php /dev/null 21时间同步命令每十分钟跟因特网同步时钟*/10 * * * * ntpdate 210.72.145.44 /dev/null 21并将rra和log文件夹赋予cactiuser以读写权限poller.php文件赋予cactiuser用户运行权限[cactiuserlocalhost html]$ chmod 777 rra[cactiuserlocalhost html]$ chmod 777 log[cactiuserlocalhost html]$ chmod 755 poller.php至此cacti安装完成稍等五分钟刷新一下就可以出图   本文出自 “明日灵感” 博客请务必保留此出处http://coolner.blog.51cto.com/957576/688164 转载于:https://www.cnblogs.com/fjping0606/p/4428958.html
http://wiki.neutronadmin.com/news/105911/

相关文章:

  • asp网站安装解决方案
  • 网站设计的网站赣州是哪个省
  • app推广多少钱一个宿州网站建设优化
  • 如何建立一个小程序的网站wordpress首页改颜色
  • 网页网站建设软件网站建设高端培训学校
  • 深圳福田园岭网站建设如何建设公司的网站首页
  • 福州网站建设索q4791857002022重大时政热点事件简短
  • 淘宝客网站免费建站建筑工程网络设计
  • 网站建设用图制作音乐排行榜html5
  • 云南微网站建设的公司有哪些咨询公司怎么注册
  • 移动端网站建设的尺寸广西明电建设有限公司网站
  • 流行网站设计做婚庆网站有哪些内容
  • 网站建设贵苏州网络
  • 做网站公司费用wordpress的标题字体大小
  • 如何在网站后台备份数据库表网站建设氺金手指排名15
  • 权威的南昌网站建设是wordpress
  • dede5.7模板 新闻文章网站源码什么网站都有漏洞
  • 沈阳 网站制作报价网页制作自学教程
  • 广西建设厅招投标中心网站如何在百度上发布自己的广告
  • 安徽省住房与城乡建设网站网站制作一年多少钱
  • 广东广州免费建站营销型企业网站有哪些平台
  • 质量好网站建设商家wordpress cdn 非插件
  • 石家庄建设网站公司恩施网站建设教程
  • 建设网站要多少钱网站 数据库 sql 导入数据库文件
  • 四川网站建设电话咨询望野原文及翻译赏析
  • 一个网站建设需要多少人力烟台网站建设地址
  • 北京学校网站建设发新闻稿平台
  • 房产信息网准确吗义乌网站建设优化排名
  • 北京搜狗建网站的电话wordpress自助发卡
  • 舟山建设信息港网站商业网站建设设计装饰