DirectAdmin安装使用教程

时间: 2012-08-18 / 分类: 主机空间 / 浏览次数: 2,779 views / 0个评论 发表评论

 

先上centos的脚本

 

yum -y update
yum -y install unzip screen lftp tar quota gcc gcc-c++ flex make perl libcom_err-devel
cd /tmp
wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh

 

接着debian系列的

 

apt-get -y install quota
apt-get install gcc gcc-c++ flex make perl libcom_err-devel
apt-get -y install unzip screen
cd /tmp
wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh

 

然后就是输入Client ID和License ID
安装的时候有提醒 跟着提示走就没问题

 

接着上一篇文章讲DA基础安装详细篇

 

主要需要填写的

 

Please enter your Client ID : 主ID
Please enter your License ID : 授权ID
Enter your hostname (FQDN) : hostname 填写一个域名
Hostname: kvmla.com
Is this correct? (y,n) : y  ##########输入y确认
Is eth0 your network adaptor with the license IP (xx.xx.xx.xx)? (y,n) : y ##########自动获取IP输入y确定
Is xx.xx.xx.xx the IP in your license? (y,n) : y ##########输入y确定授权ip
Is this correct? (must match license) (y,n) : y ##########输入y确认 系统版本
Enter your choice (1 or 2): 2 ##########选择2安装最新的
Would you like the default settings of apache 2.2 and php 5 cli? (y/n): n ##########选择n进入自定义安装模式,选择y用默认安装模式下面的设置可以直接忽略.
Would you like to have PHP4 or PHP5 as default? (4/5): 5 ##########选择php5
Would you like to have PHP5? (yes/no): yes ##########确认php5
Would you like to have PHP5 as CLI or CGI? (cli/cgi): cgi ##########推荐cgi模式,用户权限和cpanel面板一样最高为755,cgi模式在权限和资源上更加独立.
Would you like to have PHP4? (yes/no): no ##########php4可以直接忽视掉,如果你喜欢也可以安装上去
Would you like to have ionCube? (yes/no): yes ##########IonCube是解密组件,安装一些如whmcs之类的商业程序需要他的支持,没有特殊要求可以选no
Would you like to have Zend Optimizer? (yes/no): yes  #############Zend
Would you like to have an ability to update/instal MySQL using CustomBuild? (yes/no): yes##########mysql自定义的选yes
Which version of MySQL you would like to have? (5.0/5.1): 5.1 ##########mysql版本选5.1吧
Which version of Apache you would like to have? (1.3/2.0/2.2/2.4): 2.2 ##########我比较保守选择2.2,如果你喜欢可以选择2.4
Would you like to prevent htaccess files from using Options FollowSymLinks? More secure, but may break scripts. (yes/no): yes ##########htaccess的可以选择yes
Would you like to have an ability to update/instal Exim using CustomBuild? (yes/no): yes##########邮件服务的成员之一,如果你的资源够用可以选择上
Would you like to have an ability to install Dovecot? (yes/no): yes ##########邮件服务的成员之一,如果你的资源够用可以选择上
Would you like to have an ability to install/update phpMyAdmin using CustomBuild? (yes/no): yes##########有关phpmyadmin的当然选择上yes
Would you like to have an ability to install/update SquirrelMail webmail using CustomBuild? (yes/no): yes ##########邮件服务的成员之一,如果你的资源够用可以选择上
Would you like to have an ability to install/update RoundCube webmail using CustomBuild? (yes/no): no ##########邮件服务的成员之一,如果你的资源够用可以选择上
Would you like to have an ability to install/update UebiMiau webmail using CustomBuild? (yes/no): no ##########邮件服务的成员之一,如果你的资源够用可以选择上
Would you like to have an ability to install/update Atmail Open webmail using CustomBuild? (yes/no): no ##########邮件服务的成员之一,如果你的资源够用可以选择上
Would you like to search for the fastest download mirror? (y/n): n ##########测试DirectAdmin环境下载包最快镜像,如果是美国服务器就不用测了

 

下面是图片

发表评论

您的昵称 *

您的邮箱 * (绝对保密)

您的网站

😉 😐 😡 😈 🙂 😯 🙁 🙄 😛 😳 😮 mrgreen.png 😆 💡 😀 👿 😥 😎 ➡ 😕 ❓ ❗