Category: Webservers

Manage Apache Modules On Ubuntu

Configuration for enable modules is stored in: /etc/apache2/mods-enabled Available but inactive modules are stored in: /etc/apache2/mods-available A module can be enabled with:

Where [modulename] is the module to be enabled. For example:

will enable the rewrite module. A module can be disabled in a similar fashion with:

Don’t forget to restart apache after making changes with:

Read More »

Install WordPress on Ubuntu virtual server at Media Temple

Server is a MediaTemple “ve” server which is a Parallels Virtuozzo container with Ubuntu 10.04 LTS Lucid installed as the operating system. The first step is to install packages:

Now set mysql service to start automatically:

Next create a database for wordpress:

Next we’ll download and install wordpress:

Now set the database credentials in /var/www/wp-config.php:

Finally point your web browser to the site and run the WordPress installer.

Read More »

How to verify SSL cert from command line

When I need to verify an SSL certificate and the corresponding CA intermediate certs a good tool is openssl like this:

Read More »

Generate CSR with single command

Here’s a single command to generate a new key and CSR:

Read More »

Canonical Rewrite Rule For Nginx

Need to redirect from acme.com to www.acme.com with nginx? No problem … just add a virtual host declaration for the non-www that redirects like this:

or if you want to add to an existing vhost:

Read More »

Categories

Get a free consultation from Reliable Penguin

Submit the form—or for immediate service call 866-649-7984.