DirectAdmin centos7安装教程_2018版

下载官方脚本执行安装

wget http://www.directadmin.com/setup.sh
chmod 755 setup.sh
./setup.sh

提示是否需要执行脚本预安装必须的第三方软件包输入y

*****************************************************
 *
 * DirectAdmin requires certain packages, described here:
 * http://help.directadmin.com/item.php?id=354
 *
 * Would you like to install these required pre-install packages? (y/n): y

安装完毕第三方的包以后会要求输入用户ID授权ID主机名选择网卡确认系统版本

***************************************************** Please enter your Client ID : 用户ID Please enter your License ID : 授权ID Please enter your hostname (server.domain.com) 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) : 主机名 Client ID: ***** License ID: ****** Hostname: ***.** Is this correct? (y,n) : y Is eth0 your network adaptor with the license IP (**.***.**.**)? (y,n) : y Your external IP:  The external IP should typically match your license IP.
Is **.**.**.** the IP in your license? (y,n) : y
DirectAdmin will now be installed on: Enterprise 7.2 Is this correct? (must match license) (y,n) : y

提示选择默认的版本这里我们选择n因为cli版本没有隔离用户和站点我们需要在下面选择

Would you like the default settings of apache 2.4 with mod_ruid2 and php 5.5 cli? (y/n): n

提示是否备份配置文件输入是

你想备份当前的options.conf吗?(是/否):是的
创建备份:/usr/local/directadmin/custombuild/options.conf.20151105102436.backup

选择WEB服务程序,一般为了兼容性我们选择apache,如果有别的需求,建议选择nginx_apache这个兼容性比较好,litespeed需要商业授权,否则是免费版,限制很多。

请选择您要使用的网络服务器(apache / nginx / nginx_apache / litespeed):apache

选择FTP服务程序,一般我们选择proftpd,选择pureftpd可以,都是DA后台在控制生成ftp信息

请选择您要使用的FTP服务器(proftpd / pureftpd / no):proftpd

接下来选择PHP版本。支持php5.3~7.0,请根据自己的需求选择
PHP运行模式,我们选择suphp
是否安装第2个版本的PHP输入no我们可以在安装完毕以后使用CustomBuild插件进行配置多版本php 。

请选择您要使用的默认PHP版本(5.3 / 5.4 / 5.5 / 5.6 / 7.0):5.3
请选择您想要使用的默认PHP模式(php-fpm / fastcgi / suphp / lsphp / mod_php):suphp
你想安装第二个PHP实例吗?(是/否):不

接下来是常用组件,
一般ionCube和Zend Guard Loader是必选的,输入是
suhosin PHP安全修复组件必选是
phpMyAdmin必选是
其他几个组件是email的根据需求自选

请选择是否要使用ionCube(是/否):是的
请选择是否要使用Zend Guard Loader(是/否):是的
请选择是否要使用suhosin(是/否):是的
请选择是否要使用CustomBuild来管理Exim安装(是/否):否
请选择是否希望CustomBuild管理Dovecot安装(是/否):否
请选择是否要CustomBuild来管理phpMyAdmin安装(是/否):是的
请选择是否要使用CustomBuild来管理SquirrelMail安装(是/否):否
请选择是否要使用CustomBuild来管理RoundCube安装(是/否):否

接下来是否测试选择最快的镜像y

您想搜索最快的下载镜像吗?(y / n):y

接下来开始自动安装MYSQL会自动安装为5.5版本,后面都可以使用CustomBuild插件来自定义选择版本
等待15~30分钟左右就安装完毕了,安装完毕以后会提示后台登录地址和帐号密码

## INSTALL_COMPLETE
## 帐户信息
已设置以下信息:
管理员用户名:admin
管理员密码:Axxxxxx2
管理员电子邮件:admin@testda.vvv.com
服务器IP:192.xxx
服务器主机名:testda.vvv.com
要立即登录,请点击以下链接:
http://192.xxx:2222
并在提示时输入您的管理员用户名和密码。
您现在应该访问http://admin.site-helper.com和http://www.directadmin.com/newinstall.html以了解如何开始使用。
感谢您使用DirectAdmin。如果您有任何疑问,请随时通过support@directadmin.com与我们联系
## REPORT_END
权限设置
系统安全提示:
  http://help.directadmin.com/item.php?id=247

Be the first to comment

Leave a Reply

Your email address will not be published.


*