公司的USB光驱坏了,我也懒得每次插个外置光驱装系统,麻烦。遵领导指示,写点文档。==Create a usb-disk for Install Centos==*My Test Environment is CentOS,I found the grub in ubuntu is harder to use.1. Plugin the usb-disk,using fdisk to create... Read More
posted @ 2010-04-14 14:21 Hello! Linux 博客 Views(1322) Comments(0) Diggs(0) Edit
今天在测试服务器上,同事要修改一台服务器的时间以便测试,发现使用 date -s ”16:30“无论如何修改完了以后都返回原来的时间,NTP服务也已经关闭,很奇怪,想起来这台服务器是个xen的虚拟机,遂即google之,见如下转贴:(from http://blog.csdn.net/buutterfly/archive/2009/12/29/5100970.aspx)xe... Read More
posted @ 2010-03-02 15:12 Hello! Linux 博客 Views(1615) Comments(0) Diggs(0) Edit
cacti为了更好地工作,需要安装几个插件。首先我们安装cacti插件架构包。 去http://cactiusers.org/downloads/patches/下载Plugin Architecture. wget http://mirror.cactiusers.org/downloads/plugins/cacti-plugin-0.8.7e-PA-v2.6.zipunzip cacti-... Read More
posted @ 2009-11-27 17:24 Hello! Linux 博客 Views(2536) Comments(0) Diggs(0) Edit
系统环境OS:CentOS5.4DataBase:MySQL5.0PHP Apachenet-snmp部署cacti需要的环境安装MySQLyum install mysqlyum install mysql-server安装apacheyum install httpd安装phpyum install phpyum install php-mysql启动各类服务并且加入启动列表service httpd startservice mysqld start #第一次启动会初始化MySQL的数据字典chkconfig httpd onchkconfig mysqld on由于cacti的运行需要 Read More
posted @ 2009-11-27 14:00 Hello! Linux 博客 Views(1371) Comments(0) Diggs(0) Edit
/etc/rc.d/rc.sysinit 脚本来源:Fedora11 HOSTNAME=`/bin/hostname` //使用命令获取主机名 set -m if [ -f /etc/sysconfig/network ]; then . /etc/sysconfig/network fi //若存在该脚本且为规则文件则运行之 if [ -z "$HOSTN... Read More
posted @ 2009-08-17 19:47 Hello! Linux 博客 Views(1218) Comments(0) Diggs(0) Edit