<b>CentOS安装DirectAdmin面板教程</b>[服务器安全]
本文“<b>CentOS安装DirectAdmin面板教程</b>[服务器安全]”是由七道奇为您精心收集,来源于网络转载,文章版权归文章作者所有,本站不对其观点以及内容做任何评价,请读者自行判断,以下是其具体内容:
DirectAdmin是一款付费的虚拟主机管理软件,普通简称为DA,DA比Cpanel功效上简单,但是内存占用也更少些,更重要的是价钱也更便宜,普通自己用大概搞合租DA算是很符合的.
安装前首先确保已经购置了DirectAdmin的受权,购置受权后会有Client ID,License ID,也需求在DA官网上大概DA贩卖商那边提交你的VPS大概服务器的IP和系统信息.
1、安装CentOS的相关组件的号令以下:
yum update -y
yum install gcc-c++ gcc make automake wget flex -y
2、安装DirectAdmin需求干净的系统,所以在装之前要卸载掉httpd、php、mysql.
yum remove httpd* php* mysql* -y
3、下载DirectAdmin安装脚本文件,履行号令:
wget http://directadmin.com/setup.sh
4、为DirectAdmin安装脚本文件增添履行权限,履行号令:
chmod +x setup.sh
5、履行DirectAdmin安装脚本文件:
./setup.sh
运行DirectAdmin安装文件,然后在下面填入相关的信息.此中hostname最好最好利用如:linode.vpser.net 之类的二级域名不要利用顶级域名.
DirectAdmin’s setup has a few more things you need to fill:
Please enter your Client ID : //输入你的Client ID
Please enter your License ID : //输入你的License ID
Please enter your hostname \(server.domain.com\) //输入一个主机名,如:linode.vpser.net
It must be a Fully Qualified Domain Name
Do *not* use a domain you plan on using for the hostname:
eg. don’t use domain.com. Use server.domain.com instead.
Do not enter http:// or www
Enter your hostname (FQDN) :
Is this correct? (y,n) : //提醒上面能否精确,精确请输入y
Is eth0 your network adaptor with the license IP? (y,n) : //输入y
Is xx.xx.xx.xx the IP in your license? (y,n) : //确认IP能否是License上注册的IP
DirectAdmin will now be installed on: Enterprise 5
Is this correct? (must match license) (y,n) : //输入y
You now have 2 options for your apache/php setup.
1: customapache: older, more tested. Includes Apache 1.3, php 4 and frontpage.
2: custombuild 1.1: newer, less tested. Includes any Apache version, php 4, 5, or both in cli and/or suphp. Frontpage not available with Apache 2.x.
Post any issues with custombuild to the forum: http://www.directadmin.com/forum/forumdisplay.php?f=61
Enter your choice (1 or 2): //普通挑选2就行,利用php5
经过这些步骤,DirectAdmin的安装已经完成了.
安装完成后会提醒:
DirectAdmin的用户名密码及DirectAdmin的管理后台地址等.
普通基于OpenVZ的VPS需求在利用前翻开/usr/local/directadmin/conf/directadmin.conf这个文件,确认此中的ethernet_dev的值改正成:venet0:0 ,具体已ifconfig 为准.
履行:service directadmin restart 重启DirectAdmin,用http://IP:2222 登录DirectAdmin后台.
以上是“<b>CentOS安装DirectAdmin面板教程</b>[服务器安全]”的内容,如果你对以上该文章内容感兴趣,你可以看看七道奇为您推荐以下文章:
本文地址: | 与您的QQ/BBS好友分享! |