DirectAdmin/DA授权购买及安装手册
DirectAdmin (简称DA)是一套由加拿大JMBC软件公司开发的基于Linux操作系统的虚拟主机在线管理软件,通过这个管理系统您可以方便的管理您的服务,设置EMAIL,设置DNS,开通FTP,开通网站及Mysql数据库,在线文件管理,数据库管理等,方便管理员、客户及代理商在线管理虚拟主机。
DirectAdmin官方网站:http://www.directadmin.com/
DirectAdmin只支持安装Unix/Linux/Freebsd等操作系统,不支持WindowsXP/2000/2003/2008等操作系统!!!
如果您未购买授权,请到其官网购买或点击这里联系国内代理购买:
1、http://www.hostsoft.cn/products/directadmin
价格:永久授权费用 ¥400.00 元
可以无限次更换授权IP,永久免费更换,无隐藏收费。
2、http://s.taobao.com/search?q=DirectAdmin&commend=all&ssid=s5-e&sort=sale-desc
价格:永久授权费用 ¥350.00 元
可以无限次更换授权IP,永久免费更换,无隐藏收费。
安装教程:
1. 安装必须组件gcc,gcc-c++,flex,make,perl,quota (磁盘配额),vixie-cron
yum install gcc gcc-c++
yum install flex
yum install make
yum install perl
yum install quota
yum install vixie-cron
2. 之后开始安装DirectAdmin了
安装之前请一定准备好DirectAdmin的授权信息
Client ID, xxxx
License ID, xxxx
并确定使用系统和授权IP都是正确的,否则无法成功安装。
1)用root帐号登录系统,下载setup.sh文件,运行
wget http://www.directadmin.com/setup.sh
小提示:在FreeBSD系统上,用“fetch”命令代替”wget”命令
2)更改setup.sh权限
chmod 755 setup.sh
3)运行setup.sh脚本
./setup.sh
系统将提示你输入Client ID、license ID和主机名,主机名一般不要用顶级域名,最好是用一个二级域名代替,例如server.abc.com
如果不出意外,到最后你会看到:
The following information has been set:
Admin username: admin
Admin password: ********
Admin email: admin@hostname
Server IP: xxx.xxx.xxx.xxx
Server Hostname: your.own.host.name
To login now, follow this link:http://serverIP:2222
把这些信息记住就可以了,之后记得更改密码哦。
如果是一个独立的服务器的话,这样安装就可以了,而对于VPS,还需要注意一下。在VPS安装完成之后的DirectAdmin还需要配置网络设备之后才能用。
执行ifconfig命令查看VPS的IP地址,这个IP地址所绑定的设备就是我们需要记录下来的,例如venet0:0
用vi打开DirectAdmin的配置文件/usr/local/directadmin/conf/directadmin.conf
# vi /usr/local/directadmin/conf/directadmin.conf
找到”ethernet_dev=***“这样的字符,然后把等号后面的字符改为刚才我们查看到的venet0:0,然后保存退出vi
然后重启Linux使我们的更改生效,重启之后在浏览器里面输入http://ip:2222,如果你看到一个登陆框,那就说明DirectAdmin安装成功了。
如果你在安装的时候,有技术性问题,可以联系其客服技术工程师 support@hostsoft.cn。
Related posts: