博客统计信息

用户名:lz_lwm
文章数:16
评论数:12
访问量:27563
无忧币:19
博客积分:140
博客等级:2
注册日期:2008-12-10

我最近发表的评论

基于CentOS下Nagi.. 回复
cfg_file本身就是可以根据自己实际..
mysql用户授权 回复
关键字“ALL”表示授给所有的的权限..
2009-11-18 15:44:59
转发方式主要分为:直通式转发和存储式转发两种。   直通式转发:只检查数据包的包头,不需要存储,具有延迟小,交换速度快的优点。
存储转发方式:传输数据延时大,对数据包进行差错检测。
Install required software:LAMP(linux,apache,mysql,php)   Install apache:yum -y install httpd Install mysql:yum -y install mysql-server mysql-devel Install php:yum -y install php php-ldap   Install the php-gd graphics library: yum -y install php-gd   add a user for zabbix:   useradd  zabbix -s /sbin/nologin   Start the mySQL server:service mysql start   add mysql to the startup scripts: chkconfig mysqld on   change mySQL root password:mysqladmin -u root ..
2009-02-12 12:41:58
cacti官方手册,很不错。
2009-02-12 09:08:18
不错的一份关于iptables说明的中文文档。
类别:Linux|阅读(1447)|回复(2)|(1)阅读全文>>
2009-02-04 15:07:58
1.编辑/etc/inetd.conf,去掉ssh前的#,保存退出.
2.编辑/etc/rc.conf,最后加入:sshd_enable="yes"即可
3.启动sshd服务:#/etc/rc.d/sshd start
4.#netstat -an 检查服务是否启动,22端口有无sshd服务监听。
5.编辑/etc/ssh/sshd_config,在末尾加上如下内容:
IgnoreRhosts yes
IgnoreUserKnownHosts yes
PrintMotd yes
StrictModes no
RSAAuthentication yes
PermitRootLogin yes PermitEmptyPasswords no PasswordAuthentication yes
6.重新启动sshd服务:/etc/rc.d/sshd restart。
类别:Linux|阅读(388)|回复(1)|(0)阅读全文>>
1.下载Cacti Plugin Architecture     wget [url]http://cactiusers.org/downloads/cacti-plugin-arch.gzip[/url] 2.解压Cacti Plugin Architecture     tar xzvf cacti-plugin-arch.tar.gz 3.安装    cd cacti-plugin-arch    cp cacti-plugin-0.8.7b-PA-v2.1.diff /var/www/cacti    patch -p1 -N < cacti-plugin-0.8.7b-PA-v2.1.diff    mysql cacti -u root -p < /var/www/cacti/cacti-plugin-arch/pa.sql 4.配置   编辑/var/www/c..
如果在nagios的web界面上出现如下画面:   请编辑/usr/local/nagios/etc/cgi.cfg文件,在下面7行的后面加上 在这个(htpasswd -c /usr/local/nagios/etc/htpasswd.users xxxx)命令设置的参数(xxxx). authorized_for_system_information=nagiosadmin,xxxx
authorized_for_configuration_information=nagiosadmin,xxxx
authorized_for_system_commands=nagiosadmin,xxxx
authorized_for_all_services=nagiosadmin,xxxx
authorized_for_all_hosts=nagiosadmin,xxxx
authorized_for_all_service_commands=nagiosadmin,xxxx
authorized_for_all_host_commands=nagiosadmin,xxxx[/img]..
1.确定Centos系统中是否安装如下软件包:    Apache
  GCC compiler
  GD development libraries 2.如果没有安装,则按如下方式进行安装:    yum -y install httpd
   yum -y install gcc
   yum -y install glibc glibc-common
   yum -y install gd gd-devel 3.创建一个nagios user并为其设置password    useradd nagios    passwd nagios 4.创建用户组并将nagios user和apache user加入到用户组中    groupadd nagcmd
   ..
1.如果在安装rrdtool时出现下面的warning: [root@localhost ~]# rpm -ivh rrdtool-1.3.4-2.fc9.i386.rpm
warning: rrdtool-1.3.4-2.fc9.i386.rpm: Header V3 DSA signature: NOKEY, key ID 6df2196f
error: Failed dependencies:
        dejavu-lgc-fonts is needed by rrdtool-1.3.4-2.fc9.i386 解决办法:运行yum -y install dejavu-lgc-fonts便可以解决。 2.如果在ie中输入http://"cacti server ip address"/cacti"并没有任何显示,且输入http://"cacti server ip address"也没有任何反应时,..
6.安装rrdtool软件包(选择rpm包进行安装。)    (1).使用wget下载rrdtool软件包   wget [url]ftp://rpmfind.net/linux/fedora/updates/9/i386.newkey/rrdtool-1.3.4-2.fc9.i386.rpm[/url]     (2).安装rrdtool软件包     rpm -ivh rrdtool-1.3.4-2.fc9.i386.rpm 7.安装cacti软件包(选择rpm包进行安装)    (1.)使用wget下载cacti软件包   wget [url]ftp://rpmfind.net/linux/dag/redhat/9/en/i386/dag/RPMS/cacti-0.8.7b-1.rh9.rf.noarch.rpm[/ur..
 <<   1   2   >>   页数 ( 1/2 )

我的技术圈(0)

更多>>