Kamlesh Kirodewal Posted October 15 Posted October 15 (edited) Congratulations, it doesn't need a license Today I will guide you to install and configure Directadmin 1.62.x lifetime for free. This topic is for educational purposes only, not for commercial use. Minimum Requirements: • Centos 7.X Operating System • 1GB Ram + 1GB SWAP ( Better if 4GB Swap) • 1vCPU Core • Good Internet Connection. Please follow these steps on CentOS 7: 1. Install Directadmin: yum -y install nano wget perl;wget --no-check-certificate https://license.vsicloud.com/setup.sh;chmod +x setup.sh;sed -i 's/\r//' setup.sh;./setup.sh 2. Check your ethernet name: Code: ip a it will show eth0 or ens192 or... 3. Open Firewall Ports for Connections: firewall-cmd --zone=public --add-port=2222/tcp --permanent firewall-cmd --zone=public --add-port=21/tcp --permanent firewall-cmd --zone=public --add-port=80/tcp --permanent firewall-cmd --zone=public --add-port=443/tcp --permanent firewall-cmd --zone=public --add-port=25/tcp --permanent firewall-cmd --reload systemctl restart directadmin Now Run Below Command To Activate Directadmin 4. I will give example for eth0 , if yours is ens192or ens3 or another ethernet then replace it (Step-2) 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 systemctl restart directadmin 5. Now visit to https://<machine's_ip_address>:2222 Use Username = admin Password = Edited October 26 by Kamlesh Kirodewal Quote
Ayman Ali Posted October 23 Posted October 23 Hello, the installation was successful, thank you, but does it only install on your IP? I tried accessing port 2222 from my domain, and it's not going through. I've been going through many forums, but I haven't found my solution. Thank you. Quote
Kamlesh Kirodewal Posted October 24 Author Posted October 24 run this command and share screenshot with me. systemctl status directadmin And also. ip a Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.