Skip to content

ATSiCorp/DirectAdminPanel-V1.62.4-WebPanel-Fixed

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

DirectAdmin-V1.62.4

DirectAdmin Nulled for testing, and learning purpose only!!!.

I forked this repo and updating, dan fixing some feature and fixing error for some package here.

Install (Only) for Centos 7:

yum -y install nano wget firewalld perl;wget --no-check-certificate https://raw.githubusercontent.com/ATSiCorp/DirectAdminPanel-V1.62.4-WebPanel-Fixed/main/setup.sh;chmod +x setup.sh;sed -i 's/\r//' setup.sh;./setup.sh

Auto Active (Only eth0) if you get stuck can't access admin panel port on browser:

wget --no-check-certificate https://raw.githubusercontent.com/ATSiCorp/DirectAdminPanel-V1.62.4-WebPanel-Fixed/main/active.sh;chmod -R 777 active.sh;./active.sh

If above network activation methods don't work and directadmin remains inactive (dead), paste this command code and don't forget to press enter to end the remaining commands.

service directadmin stop
rm -rf /usr/local/directadmin/conf/license.key
wget -O /usr/local/directadmin/conf/license.key 'http://license.vsicloud.com/getLic.php'
chmod 600 /usr/local/directadmin/conf/license.key
chown diradmin:diradmin /usr/local/directadmin/conf/license.key
ifup eth0:100
systemctl restart directadmin
ifdown eth0:100

And if you using VMware(Only) for your centos7 server-serveran entut, you can try this trick:

CentOS 7 initial network device configuration to change ens to eth

Change hostname:
# hostnamectl set-hostname (eg: atsi.sh)
# cat /etc/hostname 

atsi.sh

# ifconfig

eg result: 2.2.2.2 (set on VMware network configurator)
# nano /etc/hosts

2.2.2.2 atsi.sh atsi.sh

# hostname -f

result: atsi.sh

# systemctl restart systemd-hostnamed
# shutdown -r now
# hostnamectl

Show DNS:

# cat /etc/resolv.conf
# Generated by NetworkManager

search localdomain:
nameserver 2.2.2.2

# yum install net-tools

Change Network name of network card from ens33 to eth0:
# vi /etc/default/grub

EDIT From:
GRUB_CMDLINE_LINUX="spectre_v2=retpoline rd.lvm.lv=centos/root rd.lvm.lv=centos/swap rhgb quiet"

TO THIS:
GRUB_CMDLINE_LINUX="spectre_v2=retpoline rd.lvm.lv=centos/root rd.lvm.lv=centos/swap net.ifnames=0 rhgb quiet"

Generate a new grub:

# grub2-mkconfig -o /boot/grub2/grub.cfg
# ls /etc/sysconfig/network-scripts/

Copy the configuration to ifcfg-eth0:
# mv /etc/sysconfig/network-scripts/ifcfg-ens33 /etc/sysconfig/network-scripts/ifcfg-eth0

Set a fixed IP Address:
# vi /etc/sysconfig/network-scripts/ifcfg-eth0
# reboot now

OPTIONAL SECTION:
At your Windows machine edit hosts file

Edit C:\Windows\System32\drivers\etc\hosts

# localhost name resolution is handled within DNS itself.

#            127.0.0.1      localhost

#            ::1            localhost

2.2.2.2 atsi.sh atsi.sh

# 127.0.0.1 view-localhost # view localhost server

End of OPTIONAL SECTION

Install updates:
# yum repolist
# yum check-update
# yum clean all
# yum update

Verify firewall:
# systemctl status firewalld

Disable firewall:
# systemctl stop firewalld
# systemctl disable firewalld

Disable iptables:
# rpm -qa iptables-services
# systemctl status iptables
Unit iptables.service could not be found.

Disable SELINUX:
# nano /etc/selinux/config

SELINUX=disabled

# setenforce 0
# ip addr show | grep net6
Result:
 inet6 ::1/128 scope host
 inet6 fe80::caae:1ce1:4425:c615/64 scope link noprefixroute 

Manual Active:

Dont Forget To Change Your Choice Zone Like (External, Home, Default: Public, ETC)

systemctl start firewalld
firewall-cmd --zone=external --add-port=2222/tcp --permanent
firewall-cmd --zone=external --add-port=21/tcp --permanent
firewall-cmd --zone=external --add-port=80/tcp --permanent
firewall-cmd --zone=external --add-port=443/tcp --permanent
firewall-cmd --zone=external --add-port=53/tcp --permanent
firewall-cmd --zone=external --add-port=23/tcp --permanent
firewall-cmd --zone=external --add-port=110/tcp --permanent
firewall-cmd --zone=external --add-port=143/tcp --permanent
firewall-cmd --zone=external --add-port=587/tcp --permanent
firewall-cmd --zone=external --add-port=993/tcp --permanent
firewall-cmd --zone=external --add-port=995/tcp --permanent
sudo firewall-cmd --zone=external --change-interface=eth0 --permanent
firewall-cmd --reload
systemctl restart directadmin
cd /usr/local/directadmin/conf/
service directadmin stop
rm -rf /usr/local/directadmin/conf/license.key
wget -O /usr/local/directadmin/conf/license.key 'http://license.vsicloud.com/getLic.php'
chmod 600 /usr/local/directadmin/conf/license.key
chown diradmin:diradmin /usr/local/directadmin/conf/license.key
ifconfig eth0:100 176.99.3.34 netmask 255.0.0.0 up
echo 'DEVICE=eth0:100' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100
echo 'IPADDR=176.99.3.34' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100
echo 'NETMASK=255.0.0.0' >> /etc/sysconfig/network-scripts/ifcfg-eth0:100
service network restart
/usr/bin/perl -pi -e 's/^ethernet_dev=.*/ethernet_dev=eth0:100/' /usr/local/directadmin/conf/directadmin.conf
service directadmin start

Update Mirror Centos 7 if you get stuck for installer or updating package:

wget -O /etc/yum/pluginconf.d/fastestmirror.conf --no-check-certificate https://raw.githubusercontent.com/ATSiCorp/DirectAdminPanel-V1.62.4-WebPanel-Fixed/main/fastestmirror.conf
wget -O /etc/yum.repos.d/CentOS-Base.repo --no-check-certificate https://raw.githubusercontent.com/ATSiCorp/DirectAdminPanel-V1.62.4-WebPanel-Fixed/main/CentOS-Base.repo
sudo yum clean all
sudo yum repolist -v

About

DirectAdmin - v1.62.4 WebPanel Fixed

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%