Friday, January 10, 2025

Command to install direct admin on ubuntu 22.04

 sudo apt update

sudo apt upgrade

sudo apt install wget gcc g++ make flex bison openssl libssl-dev

cd /usr/local/src

wget https://www.directadmin.com/setup.sh

chmod +x setup.sh

sudo ./setup.sh

sudo ufw enable

sudo ufw allow 2222

sudo ufw allow 80

https://YOUR_SERVER_IP:2222


Also you can follow the official guidelines here: https://docs.directadmin.com/getting-started/installation/installguide.html

No comments:

Post a Comment

Replace old IP with New one in Direct Admin

./ipswap.sh Old_IP  New_IP for example:  ./ipswap.sh 35.224.2.88 104.197.113.37