CentOS 7.6 安装DirectAdmin

  • A+
所属分类:随手小记
[root@DT_Node-51_79_36_31 ~]# wget http://www.directadmin.com/setup.sh -O setup.sh && bash setup.sh
* Would you like to install these required pre-install packages? (y/n): y
Please enter your Client ID : 32***
Please enter your License ID : 116***
Enter your hostname (FQDN) : ovh-vps-directadmin-node1.extrementc.com
Client ID:  32796
License ID: 116066
Hostname: ovh-vps-directadmin-node1.extrementc.com
Is this correct? (y,n) : y
Is eth0 your network adaptor with the license IP (51.79.36.31)? (y,n) : y
Your external IP: 51.79.36.31
The external IP should typically match your license IP.

Is 51.79.36.31 the IP in your license? (y,n) : y

DirectAdmin will now be installed on: Enterprise 7.6
Is this correct? (must match license) (y,n) : y

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

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

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

Please select default PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1/7.2/7.3):7.2

Please select default PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp/mod_php):php-fpm

Would you like to have a second instance of PHP installed? (yes/no): yes

Please select additional PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1/7.2/7.3):7.3

Please select additional PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp):php-fpm

Would you like to have a third instance of PHP installed? (yes/no): yes

Please select additional PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1/7.2/7.3):7.0

Please select additional PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp):php-fpm

Would you like to have a fourth instance of PHP installed? (yes/no): yes

Please select additional PHP version you would like to use (5.3/5.4/5.5/5.6/7.0/7.1/7.2/7.3):5.6

Please select additional PHP mode you would like to use (php-fpm/fastcgi/suphp/lsphp):php-fpm

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):yes

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

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):yes

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

Would you like to search for the fastest download mirror? (y/n): y
#安装Evolution模板中文
wget https://raw.githubusercontent.com/BakaSoniji/DirectAdmin-EvolutionSkin-SimplifiedChinese/master/zh_Hans.po -O /usr/local/directadmin/data/skins/evolution/lang/zh_Hans.po && \
wget https://raw.githubusercontent.com/BakaSoniji/DirectAdmin-EvolutionSkin-SimplifiedChinese/master/login-zh_Hans.po -O /usr/local/directadmin/data/skins/evolution/lang/login-zh_Hans.po && \
sed -ri 's/language=en/language=zh_Hans/' /usr/local/directadmin/data/users/*/user.conf && \
sed -ri 's/skin=.*/skin=evolution/' /usr/local/directadmin/data/users/*/user.conf && \
chown -R diradmin:diradmin /usr/local/directadmin
/usr/local/directadmin/directadmin restart
lookback

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: