วันนี้มีการติดตั้ง directadmin บน FreeBSD 11 ครับแล้วเจอ error 2 ตัว
===== error 1 =====
grep: /usr/local/directadmin/data/admin/ips: No such file or directory
Unable to detect your server IP in /etc/hosts. Please enter it:
===== error 2 =====
Cannot find /usr/bin/mysqldump
ensure_my_cnf: cannot find /usr/local/directadmin/conf/mysql.conf
Setting mysql_milestone_16=1 in directadmin.conf.
Cannot find mysql-5.7.27 package for installation
Could not find /usr/local/directadmin/scripts/directadmin_cron or it is empty
####fixed by
pkg install mysql57-client
pkg install mysql57-server
vi /etc/hosts
แอด ip-address hostname
แล้วทำการ ลงอีกรอบ
./setup.sh auto