Welcome to MoMing'S Blog.      欢迎光临悲痛莫名的博客。
/sbin/iptables -I INPUT -p tcp --dport 80 -j ACCEPT
然后保存
/etc/rc.d/init.d/iptables save
直接重启防火墙
/etc/init.d/iptables restart
Tags: , , ,
环境都弄好了
安装好程序才发现系统的时间不正确
yum install ntp
vi /etc/ntp.conf
在Please consider joining the pool下
添加
server 0.cn.pool.ntp.org
server 1.asia.pool.ntp.org
server 2.asia.pool.ntp.org

保存退出后
执行
ntpdate cn.pool.ntp.org
chkconfig  ntpd on
service ntpd start
把系统时间保存到BOIS
hwclock --systohc
Centos里的yum在线安装很慢
所以尽量替换成中国CentOS镜像服务器
网易的镜像网站: http://mirrors.163.com/
/* 使用说明 */
cd /etc/yum.repos.d
mv CentOS-Base.repo  CentOS-Base.repo.save
wget http://mirrors.163.com/.help/CentOS-Base-163.repo
mv CentOS-Base-163.repo CentOS-Base.repo

更新系统内核到最新.
yum -y update

Tags: , , ,
安装CentOS5.4是最小化安装的
安装过程只选择了Developer Tools
使用wget命令的时候出现了这个错误
:-bash: wget: command not found
是因为最小化安装没有安装wget
通过rpm方式安装就可以了
具体方法
rpm -ivh http://centos.ustc.edu.cn/centos/5.3/os/i386/CentOS/wget-1.10.2-7.el5.i386.rpm
安装完WGET 就可以使用YUM更新其他工具了
Tags: , , , , , , ,
下载一个ncurses-5.6.tar.gz,
wget http://ftp.gnu.org/pub/gnu/ncurses/ncurses-5.6.tar.gz
tar zxvf ncurses-5.6.tar.gz
cd ncurses-5.6
./configure prefix=/usr --with-shared --without-debug
make
make install
然后再重新编译Mysql进行安装。
分页: 1/36 第一页 1 2 3 4 5 6 7 8 9 10 下页 最后页 [ 显示模式: 摘要 | 列表 ]