vestacp install
1、https://vestacp.com/#install
2、login change admin password
3、restore backup
**Super Important **
A
Old vmware or server setting:~admin/conf/web/*.conf must keep or backup. Beacuse vestacp backup & resstore have big promble at here.
Example: I have nginx.xxxxx.conf use include other nginx.ooooo.conf . When resotre conf, vestacp make error, put all conf together one file.
So Best Way is backup old server conf/web/* , restore conf/web/ then
nginx -t for test check conf, If ok, nginx is work ok.
So this step must remeber~~~~~~
B
named bind9 load file permission denied
HOW to check
tail -f /var/log/syslog
then
sudo service bind9 restart
then can see log. IF see named load file have permission denied, the mean log /home/admin/conf/dns conf faild!
SO NOW EDIT
sudo nano /etc/apparmor.d/usr.sbin.named
put
/home/admin/conf/dns/** rw,
/home/admin/conf/dns/ rw,
then
sudo service apparmor reload
then
sudo service bind9 restart
then check syslog agin.
tail -f /var/log/syslog
IF Not see permission denied, It’s mean SUCCESS!
Search google, some article chmod、chgrp、chown /home/admin/con/dns/* is not use for me.