linux系統下DirectAdmin面板安裝教程

來源:互聯網
上載者:User

首先安裝前的準備工作
1、DA授權
2、關閉selinux
使用命令如下:

sed -i “s/^SELINUX=.*/SELINUX=disabled/” /etc/sysconfig/selinux
3、升級

yum update
4、安裝必要組建

yum install wget gcc gcc-c++ flex bison make bind bind-libs bind-utils openssl openssl-devel perl patch quota libaio libcom_err-devel libcurl-devel gd zlib-devel zip unzip libcap-devel cronie bzip2 db4-devel cyrus-sasl-devel perl-ExtUtils-Embed
5、移除多餘組件

yum remove httpd php mysql
6、下載DA並安裝

wget http://www.directadmin.com/setup.sh #下載指令碼
chmod 755 setup.sh #設定許可權
screen ./setup.sh #運行安裝指令碼
開工了

*****************************************************
*
* Have you run the pre-install commands? CTRL-C if not.
* http://help.directadmin.com/item.php?id=354
*
*****************************************************
Please enter your Client ID : 不許看 輸入DA的client ID
Please enter your License ID : 不許看 輸入DA的License 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) : ovh.hezuo.com 輸入hostname,隨便輸入個網域名稱
Client ID: 不許看
License ID: 不許看
Hostname: 不許看
Is this correct? (y,n) : y 核對是否正確,正確則輸入y 斷行符號
The following ethernet devices/IPs were found. Please enter the name of the device you wish to use:
bond0
dummy0
eth0 8.8.8.8
ip6tnl0
tunl0
Enter the device name: eth0 輸入網卡裝置,必須和DA授權上的IP一樣的裝置
Is 8.8.8.8 the IP in your license? (y,n) : y 再次確認IP是否正確
DirectAdmin will now be installed on: Enterprise 6.4
Is this correct? (must match license) (y,n) : y 再次確認系統是否正確
You now have 4 options fo

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.