2、login change admin password
3、restore backup
restore backup Fails
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/syslogthen
sudo service bind9 restartthen 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.namedput
/home/admin/conf/dns/** rw,
/home/admin/conf/dns/ rw,
then
sudo service apparmor reload
then
sudo service bind9 restartthen check syslog agin.
tail -f /var/log/syslogIF Not see permission denied, It's mean SUCCESS!
Search google, some article chmod、chgrp、chown /home/admin/con/dns/* is not use for me.