按 ‘ 2010年09月24日 ’ 归档

Centos 5 安装DirectAdmin完整教程

需要移除的一些组件:
yum remove httpd* php* mysql* *mail* -y

需要预安装的组件:

yum install gcc gcc-c++ flex make perl quota vixie-cron
yum install gcc-c++
yum install flex
yum install make
yum install perl
yum install quota  (磁盘配额)
yum install vixie-cron

 

yum install db4-devel cyrus-sasl-devel

DirectAdmin面板Yum升级之后无法启动DNS服务

 

 

/sbin/service named start 2>&1

国内一台服务器通过yum update升级后DNS服务挂掉,搜索了一下发现下面的解决方法

cd /etc/init.d
mv named named.backup
wget http://www.directadmin.com/named
chmod 755 named
/sbin/chkconfig named reset
This boot script uses a more direct method of reloading named.

如果是debian或FreeBSD操作系统的话分别用下面的地址替换:

debian:
www.directadmin.com/named.debian

FreeBSD:
www.directadmin.com/named.freebsd

 

复制替换其他服/etc/named.conf

//////////////////////////////

Apr 17 02:25:14 server named[24509]: could not configure root hints from 'named.ca': file not found
Apr 17 02:25:14 server named[24509]: loading configuration: file not found
cd /var/named
wget http://www.directadmin.com/named.ca
/sbin/service named start

/////////////////////////////////////////////

 

Page 1 of 11