Topic 40 : Directadmin

82

[[email protected] itmanagevn.com]# cat /usr/local/directadmin/scripts/setup.txt

hostname=gdata.com.vn

[email protected]

mysql=Xz0nror3xtJJnOSxAGJ8krB     “ pass root của mysql “ 

mysqluser=da_admin   “ user đăng nhập link ip/phpmyadmin”

adminname=admin

adminpass=YrH8jZQq29  “ pass đăng nhập link ip/phpmyadmin “ 

ns1=ns1.com.vn

ns2=ns2.com.vn

ip=123.31.12.122

netmask=255.255.255.0

uid=45194

lid=151266

services=services_es60_64.tar.gz

 check pass mysql 

Mysql trong Directadmin dung user : da_admin

[[email protected] ~]# mysql -u da_admin –p

# vi /usr/local/directadmin/conf/my.cnf

[client]

user=da_admin

password=e6lCq5dANj

check file config directadmin

cat /usr/local/directadmin/conf/directadmin.conf

https://help.directadmin.com/item.php?id=284Run this to achieve the desired:
cd /usr/local/directadmin/conf/
vi ./directadmin.conf
in the file find the line with

port=2222
change it to something you want, for example

port=9999
save, exit and restart directadmin

killall -9 directadmin
/etc/init.d/directadmin start
Make sure to open port 9999 with firewall and try to access Directamin in a browser.

lỗi không vào được DA web

[[email protected] directadmin]# ./directadmin

Bind Error: Make sure there aren’t any copies running in the background

Address already in use

If DirectAdmin is running, but you cannot connect to port 5236, check this guide:

http://help.directadmin.com/item.php?id=75

lỗi dataskq hight load 

https://directadmin.edu.vn/cach-fix-loi-dataskq-chiem-nhieu-tai-nguyen-cpu-hoac-io.html

http://www.lifelinux.com/how-do-i-fix-dataskq-causing-high-load-on-directadmin/

https://vuvangiap.com/xu-ly-tien-trinh-dataskq-gay-load-cao-tren-directadmin.html

http://www.lifelinux.com/how-do-i-fix-dataskq-causing-high-load-on-directadmin/

License has expired Directadmin

cd /usr/local/directadmin/scripts 

./getLicense.sh clientID licenseID


service directadmin restart