How do I install WHMCS on Plesk Automation (PA) Managment Node?
For example, I want PA management node is installed as 'http://plesk.domain.tld
and I want to install WHMCS on the SAME SERVER ashttp://whmcs.domain.tld`
Create DNS hosting for
You may use standard 'DNS hosting' service template for this task or a custom one. Please note that the domain name you are going to use should be already registered in order to be reachable for public access.
Create folder for WHMCS web-site:
# mkdir /var/www/vhosts/whmcs.domain.tld
Recursively set owner and permissions to installation directory according to WHMCS guide:
Required file & folders permissions (unless your php is suPHP or PHPSuExec): /configuration.php CHMOD 644 Writeable /attachments CHMOD 777 Writeable /downloads CHMOD 777 Writeable /templates_c CHMOD 777 Writeable
Configure new virtual host in Apache web-server configuration to run new web-site:
# vim /etc/httpd/conf/httpd.conf
Here is an example of virtual host configuration:
<VirtualHost *:80> ServerAdmin email@example.com DocumentRoot /var/www/vhosts/whmcs.domain.tld/ ServerName whmcs.local ErrorLog /var/www/vhosts/whmcs.domain.tld/logs/error_log </VirtualHost>
The website and 'logs' folders should be created forehanded.
When all required folders are created, Apache configuration is changed, correct permissions applied, please restart Apache web-server to apply new configuration:
# service httpd restart
Please be advised that WHMCS may require some custom port instead of '80'.
Perform WHMCS installation using this guide.
- Install integration module, using following this instruction.