Yes, ofc
It's basically the same arguments as fixweb!
Also, now that's ive manged the slave from it's own UI:
Shutting down MySQL. SUCCESS!
Starting MySQL.170330 13:55:59 mysqld_safe Logging to '/var/lib/mysql/odcp01.linuxwonders.com.err'.
170330 13:55:59 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
SUCCESS!
-------------------------------------------------------------------
Stopping named: . [ OK ]
Starting named: [ OK ]
-------------------------------------------------------------------
Stopping PowerDNS authoritative nameserver: Scheduling exit
Stopping php-fpm (PHP Used): [ OK ]
Starting php-fpm (PHP Used): [ OK ]
-------------------------------------------------------------------
Stopping spawn-fcgi: [FAILED]
Starting spawn-fcgi: [ OK ]
-------------------------------------------------------------------
Stopping nginx: [ OK ]
Starting nginx: [ OK ]
-------------------------------------------------------------------
Stopping httpd: [FAILED]
Starting httpd: (98)Address already in use: AH00072: make_sock: could not bind to address [::]:80
(98)Address already in use: AH00072: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
AH00015: Unable to open logs
[FAILED]
-------------------------------------------------------------------
*** Process for QMAIL service ***
Stopping qmail-toaster: svscan qmail logging.
qmail-send: no process killed
Starting qmail-toaster: svscan.
-------------------------------------------------------------------
- For help, type '/script/restart-mail [--help|-h]'
-------------------------------------------------------------------
Stopping pure-ftpd: [ OK ]
Starting pure-ftpd: [ OK ]
-------------------------------------------------------------------
*** Restart services - END ***
*** Process Time: 00:00:01:45.105766 (dd:hh:mm:ss:xxxxxx) ***
REMARK:
- run 'sh /script/fixdnsaddstatsrecord' to make sure dns records including
'A record' for 'stats'
- '
http://domain.com/stats' will be redirect to '
http://stats.domain.com'
[root@odcp01 ~]#
Apache's conf with proxy is screwed up!
I'll do tests with KVM guest rather than LXC container. Ufff, this has taken me 2 days now!