How to set up PostgreSQL on a RHEL or CentOS in Vesta Control Panel

Set up PostgreSQL on a RHEL or CentOS in Vesta Control Panel 1. Install PostgreSQL packages yum install postgresql postgresql-server postgresql-contrib phpPgAdmin * If you have remi installed then don’t forget to explicitly enable it. yum install –enablerepo=remi postgresql postgresql-server postgresql-contrib phpPgAdmin 2. Initialize database cluster service postgresql initdb 3. Download hba configuration wget http://c.vestacp.com/0.9.8/rhel/pg_hba.conf […]

How to enable PHP-FCGI support on a RHEL or CentOS on Vesta Control Panel

This tutorial is created for servers with less than 1Gb of ram avaialbe. On “medium” servers installation is fully automatic. 1. Install fcgid apache module yum install mod_fcgid 2. Download fcgid template cd /usr/local/vesta/data/templates/web wget http://c.vestacp.com/0.9.8/rhel/fcgid/httpd.tar.gz tar -xzvf httpd.tar.gz rm -f httpd.tar.gz 3. Create new package or set phpfcgid as apache template in the existing […]

How to enable WSGI support on a RHEL or CentOS on Vesta Control Panel

1. Install wsgi apache module yum install mod_wsgi 2. Download wsgi template cd /usr/local/vesta/data/templates/web wget http://c.vestacp.com/0.9.8/rhel/wsgi/httpd.tar.gz tar -xzvf httpd.tar.gz rm -f httpd.tar.gz 3. Create new package or set wsgi as apache template in the existing package 4. Add new user and assing him package with wsgi template 5. Add new domain and check the result