找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 176|回复: 0

DirectAdmin_1.62.4 Nulled

[复制链接]

4

主题

0

回帖

28

积分

管理员

积分
28
发表于 2024-10-23 16:32:51 | 显示全部楼层 |阅读模式
Install Centos 7.9

  1. yum -y install nano wget perl
  2. wget --no-check-certificate https://raw.githubusercontent.com/quydang04/DirectAdmin_1.62.4/main/setup.sh
  3. chmod +x setup.sh
  4. sed -i 's/\r//' setup.sh
  5. ./setup.sh
复制代码


Auto Active (Only eth0):
  1. wget --no-check-certificate https://raw.githubusercontent.com/quydang04/DirectAdmin_1.62.4/main/active.sh
  2. chmod -R 777 active.sh
  3. ./active.sh
复制代码
Manual Active:
  1. firewall-cmd --zone=public --add-port=2222/tcp --permanent
  2. firewall-cmd --zone=public --add-port=21/tcp --permanent
  3. firewall-cmd --zone=public --add-port=80/tcp --permanent
  4. firewall-cmd --zone=public --add-port=443/tcp --permanent
  5. firewall-cmd --zone=public --add-port=25/tcp --permanent
  6. firewall-cmd --reload
  7. systemctl restart directadmin
  8. cd /usr/local/directadmin/conf/
  9. service directadmin stop
  10. rm -rf /usr/local/directadmin/conf/license.key
  11. wget -O /usr/local/directadmin/conf/license.key 'http://license.vsicloud.com/getLic.php'
  12. chmod 600 /usr/local/directadmin/conf/license.key
  13. chown diradmin:diradmin /usr/local/directadmin/conf/license.key
  14. ifconfig eth0:100 176.99.3.34 netmask 255.0.0.0 up
  15. echo 'DEVICE=eth0:100' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100
  16. echo 'IPADDR=176.99.3.34' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100
  17. echo 'NETMASK=255.0.0.0' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100
  18. service network restart
  19. /usr/bin/perl -pi -e 's/^ethernet_dev=.*/ethernet_dev=eth0:100/' /usr/local/directadmin/conf/directadmin.conf
  20. service directadmin start
复制代码

Update Mirror Centos 7:
  1. wget -O /etc/yum/pluginconf.d/fastestmirror.conf --no-check-certificate https://raw.githubusercontent.com/quydang04/DirectAdmin_1.62.4/main/fastestmirror.conf
  2. wget -O /etc/yum.repos.d/CentOS-Base.repo --no-check-certificate https://raw.githubusercontent.com/quydang04/DirectAdmin_1.62.4/main/CentOS-Base.repo
  3. sudo yum clean all
  4. sudo yum repolist -v
复制代码




您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

Archiver|手机版|小黑屋|BBR

GMT+8, 2024-11-21 20:19 , Processed in 0.052891 second(s), 19 queries .

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表