DirectAdmin centos7安裝教程_2017版

下載官方腳本執行安裝

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

提示是否備份配置文件? 輸入? yes

Would?you?like?to?backup?the?current?options.conf??(yes/no):?yes
Backup?created:?/usr/local/directadmin/custombuild/options.conf.20151105102436.backup

選擇 WEB 服務程序? ,一般為了兼容性我們選擇 apache ,如果有別的需求,建議選擇nginx_apache 這個兼容性比較好,litespeed 需要商業授權,否則是免費版,限制很多.

Please?select?webserver?you?would?like?to?use?(apache/nginx/nginx_apache/litespeed):apache

選擇 FTP 服務程序,一般我們選擇 proftpd ,選擇 pureftpd 可以,都是DA后臺在控制生成ftp信息

Please?select?FTP?server?you?would?like?to?use?(proftpd/pureftpd/no):proftpd

接下來選擇 PHP 版本。支持 php5.3~7.0,請根據自己的需求選擇

PHP 運行模式,我們選擇 suphp

是否安裝第2個版本的PHP? 輸入 no? 我們可以在安裝完畢以后使用 CustomBuild 插件進行配置多版本php.

Please?select?default?PHP?version?you?would?like?to?use?(5.3/5.4/5.5/5.6/7.0):5.3
Please?select?default?PHP?mode?you?would?like?to?use?(php-fpm/fastcgi/suphp/lsphp/mod_php):suphp
Would?you?like?to?have?a?second?instance?of?PHP?installed??(yes/no):?no

接下來是常用組件,

一般 ionCube? 和 Zend Guard Loader 是必選的,輸入? yes

suhosin PHP安全修復組件? 必選 yes

phpMyAdmin?? 必選 yes

其他幾個組件是email的? 根據需求自選

Please?select?if?you?would?like?to?use?ionCube?(yes/no):yes

Please?select?if?you?would?like?to?use?Zend?Guard?Loader?(yes/no):yes

Please?select?if?you?would?like?to?use?suhosin?(yes/no):yes

Please?select?if?you?would?like?CustomBuild?to?manage?Exim?installation?(yes/no):no

Please?select?if?you?would?like?CustomBuild?to?manage?Dovecot?installation?(yes/no):no

Please?select?if?you?would?like?CustomBuild?to?manage?phpMyAdmin?installation?(yes/no):yes

Please?select?if?you?would?like?CustomBuild?to?manage?SquirrelMail?installation?(yes/no):no

Please?select?if?you?would?like?CustomBuild?to?manage?RoundCube?installation?(yes/no):no

接下來 是否測試選擇最快的鏡像? y

Would?you?like?to?search?for?the?fastest?download?mirror??(y/n):?y

接下來開始自動安裝 MYSQL會自動安裝為 5.5版本 ,后面都可以使用 CustomBuild 插件來自定義選擇版本

等待15~30分鐘左右就安裝完畢了,安裝完畢以后會提示后臺登錄地址和帳號密碼

##?INSTALL_COMPLETE
##?ACCOUNT_INFO

The?following?information?has?been?set:

Admin?username:???admin
Admin?password:???Axxxxxx2
Admin?email:??????admin@testda.vvv.com

Server?IP:?192.x.x.x
Server?Hostname:?testda.vvv.com

To?login?now,?follow?this?link:

http://192.x.x.x:2222

and?enter?your?Admin?username?and?password?when?prompted.

You?should?now?visit?http://admin.site-helper.com?and?http://www.directadmin.com/newinstall.html?to?learn?how?to?get?started.

Thank?you?for?using?DirectAdmin.??Should?you?have?any?questions,?don't?hesitate?to?contact?us?at?support@directadmin.com

##?REPORT_END
Permissions?set

System?Security?Tips:
??http://help.directadmin.com/item.php?id=247
贊(0)
版權聲明:本文采用知識共享 署名4.0國際許可協議 [BY-NC-SA] 進行授權, 轉載請注明出處。
文章名稱:《DirectAdmin centos7安裝教程_2017版》
文章鏈接:http://www.lrracing.com/1527.html
【聲明】:國外主機測評僅分享信息,不參與任何交易,也非中介,所有內容僅代表個人觀點,均不作直接、間接、法定、約定的保證,讀者購買風險自擔。一旦您訪問國外主機測評,即表示您已經知曉并接受了此聲明通告。
【關于安全】:任何 IDC商家都有倒閉和跑路的可能,備份永遠是最佳選擇,服務器也是機器,不勤備份是對自己極不負責的表現,請保持良好的備份習慣。