admin on November 21st, 2009

Create CSR The first step is to create the CSR or Certificate Signing Request >cd /usr/bin/ (or your path to openssl) >openssl genrsa -des3 -out <name of certificate>.key 1024 >openssl req – new -key >name of certificate>.key -out <name of your certificate>.csr Unencrypt the Key To paste the private key into Plesk it will need [...]

Continue reading about SSL Certificates with Plesk

admin on November 21st, 2009

Allowing PostgreSQL TCP/IP Connections The first thing you need to do is alter the startup script for postgresql so that it allows tcp/ip connections. Do the following: >ee /usr/local/psa/rc.d/postgresql BELOW: PGDATA=${PREFIX}/data ADD: OPTIONS=”-i” CHANGE the export line in start_pg to: “export PGDATA=${PGDATA} && exec /usr/local/psa/postgresql/bin/pg_ctl start -s -o ${OPTIONS} -l /var/log/pgsql” Start and stop PostgreSQL [...]

Continue reading about Getting PostgreSQL to play nice with Plesk

admin on November 21st, 2009

Start: >/usr/local/psa/rc.d/psa start Stop: >/usr/local/psa/rc.d/psa stop Restart: >/usr/local/psa/rc.d/psa restart

Continue reading about Plesk Start & Stop

admin on November 21st, 2009

In order to customize a website with custom directives you have to do so in a vhost.conf file. This file should be created and placed in the following directory: /usr/local/www/vhosts/domain.tld/conf/ An example of a vhost.conf file is below the two directives turn on register globals (allow PHP to pull variables directly from the query string, [...]

Continue reading about vhost.conf File