licess 发表于 2010-8-12 23:51:27

Debian 5上安装Directadmin全纪录

重装安装系统后,首先做一些准备工作
修改源、升级、卸载预装的apache、安装一些东东gcc等
vi /etc/apt/sources.list
修改内容为
deb http://ftp.debian.org/debian lenny main contrib non-free
deb http://security.debian.org/debian-security lenny/updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free


apt-get update //更新系统
apt-get upgrade

apt-get remove apache*//卸载Apache
apt-get autoremove

apt-get install -y build-essential wget make libssl-dev

apt-get update //更新系统
apt-get upgrade

安装DA

wget www.directadmin.com/setup.sh
chmod +x setup.sh
./setup.sh
安装完成后手动启用垃圾过滤系统

/usr/local/directadmin/scripts/spam.sh
/usr/bin/spamd -d -c -m 15
页: [1]
查看完整版本: Debian 5上安装Directadmin全纪录