TypechoJoeTheme

主机评测

VPS教程

专注主机评测和优惠码发布

在Centos服务器上安装DirectAdmin面板教程

2021-01-19
/
0 评论
/
980 阅读
/
正在检测是否收录...
01/19

第一、安装最新版DirectAdmin面板

#这里我们安装最新版本
yum install wget -y
wget http://directadmin.com/setup.sh
chmod +x setup.sh
./setup.sh

在安装之前我们还需要安装需要的软件环境支持。

yum install gcc-c++ gcc make automake wget flex -y

我们在安装完毕需要的软件之后,开始执行脚本,但愿都没有报错。

看来没有问题,那就继续。

第二、配置DirectAdmin正版授权

这里我们安装的时候需要填写授权。

根据提示我们需要填写授权文件。如果 你填写不对是无法安装的。

第三、配置DirectAdmin环境软件版本

这里我们继续根据提示安装软件版本,有些我们直接回车即可,有些可选。具体我们自己看,我就不详细介绍,毕竟安装DA面板的一般是比较懂的,普通人我们就不要安装。

就这么继续回车让安装,等待等待。

这个过程需要的时间比较长,当然在过程中我们可以选择最速度高的节点资源。

等呀等,时间比较长。

安装完毕之后,我们重启:systemctl restart httpd.service。

最后,我们可以通过IP地址:2222登录。如果我们服务器有需要授权2222端口需要单独开启。

命令详情

[root@localhost ~]# 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) : www.zhujifan.com
Client ID:  32796
License ID: 116066
Hostname: www.zhujifan.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
centosdirectadmin
朗读
赞 · 0
赞赏
感谢您的支持,我会继续努力哒!

三合一收款

下面三种方式都支持哦

微信
QQ
支付宝
打开支付宝/微信/QQ扫一扫,即可进行扫码打赏哦
版权属于:

主机评测

本文链接:

https://zjpc.cc/407.html(转载时请注明本文出处及文章链接)

评论 (0)