When using Sentora have some configuration files or configuration paths you need to understand to use when needed. In this article I will fully synthetic, CentOS and Ubuntu for both.
FILE OR DIRECTORY | UBUNTU | CENTOS |
---|---|---|
Sentora passwords file | /root/passwords.txt | |
Sentora config files | /etc/zpanel/configs/ | |
Sentora apache config file | /etc/zpanel/configs/apache/httpd.conf | |
Sentora virtual host file | /etc/zpanel/configs/apache/httpd-vhosts.conf | |
Sentora website files | /etc/zpanel/panel/ | |
Sentora FTP config file | /etc/zpanel/configs/proftpd/proftpd-mysql.conf | |
Sentora log files | /var/zpanel/logs/ | |
Sentora users websites | /var/zpanel/hostdata/[Sentora-login]/public_html/[domain_tld] | |
Sentora custom static pages | /etc/zpanel/panel/etc/static/ | |
Sentora themes | /etc/zpanel/panel/etc/styles/ | |
Apache config file | /etc/apache2/httpd.conf | /etc/httpd/conf/httpd.conf |
Apache log files | /var/log/apache2/error.log | /var/log/httpd/error.log |
php.ini | /etc/php5/apache2/php.ini | /etc/php.ini |
MySQL config file | /etc/mysql/my.cnf | /etc/my.cnf |
MySQL log file | /var/log/mysql/error.log | /var/log/mysqld.log |
And some other information
OTHER INFOS | UBUNTU | CENTOS |
---|---|---|
Apache user:group | www-data:www-data | apache: apache |
How to restart apache ? | service apache2 restart | service httpd restart |
Run Sentora daemon | sudo /usr/bin/php -q /etc/zpanel/panel/bin/daemon.php |