Personal Software Center chevron_right / chevron_right directadmin chevron_right 1.53
face README.md

Directadmin 1.53

测试系统 Centos 7* 64bit

先安装必要的一些组件,在下载sh安装

[root@vps ~]# yum -y install nano wget perl

[root@vps ~]# wget https://d.cao.by/directadmin/1.53/setup.sh

[root@vps ~]# chmod +x setup.sh

[root@vps ~]# ./setup.sh

安装过程ID随便填写比如123456,直到安装完成后会提示管理面板地址和账号密码 DA的端口默认是 2222 如 ip:2222

如果安装后访问不了ip:2222, 操作以下命令,一行一次:-)

[root@vps ~]# firewall-cmd --zone=public --add-port=2222/tcp --permanent

[root@vps ~]# firewall-cmd --zone=public --add-port=21/tcp --permanent

[root@vps ~]# firewall-cmd --zone=public --add-port=80/tcp --permanent

[root@vps ~]# firewall-cmd --zone=public --add-port=25/tcp --permanent

[root@vps ~]# firewall-cmd --reload

[root@vps ~]# systemctl restart directadmin

[root@vps conf]# cd /usr/local/directadmin/conf/

[root@vps conf]# service directadmin stop

[root@vps conf]# rm -rf /usr/local/directadmin/conf/license.key

[root@vps conf]# wget -O /usr/local/directadmin/conf/license.key https://d.cao.by/directadmin/1.53/license.key

[root@vps conf]# chmod 600 /usr/local/directadmin/conf/license.key

[root@vps conf]# chown diradmin:diradmin /usr/local/directadmin/conf/license.key

[root@vps conf]# ifconfig eth0:100 103.237.147.148 netmask 255.0.0.0 up

[root@vps conf]# echo 'DEVICE=eth0:100' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100

[root@vps conf]# echo 'IPADDR=103.237.147.148' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100

[root@vps conf]# echo 'NETMASK=255.0.0.0' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100

[root@vps conf]# service network restart

[root@vps conf]# /usr/bin/perl -pi -e 's/^ethernet_dev=.*/ethernet_dev=eth0:100/' /usr/local/directadmin/conf/directadmin.conf

[root@vps conf]# service directadmin start

文件来自网络github:https://github.com/lehieuit/Directadmin-1.53-nulled 本人只测试使用,mkm.st测试发现 218.11.06提示:这个破解版只能用一个月,一个月后会提示授权过期,自己亲测一个月前安装的现在开始提示了. 具体请使用者自行测试.......................