Monthly Archive: February 2011

Feb 23

Create a WordPress Network

Since WordPress now has the network capability built-in, it’s very straight forward to create a network of blogs. WordPress handles two different types of network: sub-domains – i.e. http://<blog_name>.your-site.com sub-sites – i.e. http://your-site.com/<blog_name> The sub-domain approach requires more work in a lamp stack, so we’ll go with sub-site approach: Add define(‘WP_ALLOW_MULTISITE’, true); to wp-config.php In …

Continue reading »

Share

Feb 23

Enable SSL in Apache

In ubuntu, apache’s config files lie in /etc/apache2, and it uses two sub directories to determine the list of available virtual hosts: /sites-available – holds the configuration files of the defined virtual hosts /sites-enabled – holds symlinks that link back to the virtual host configuration files /sites-available.  Each symlink indicates the enabled virtual hosts The …

Continue reading »

Share

Feb 23

Determine which process binds to which port in Linux

lsof -i tcp:<port_number> http://www.terrencemiao.com/Webmail/msg00900.html

Share

Feb 23

Install WordPress

In Ubuntu, the Apache web server runs under the user www-data. The LAMP StackScript sets up the root directory for the default site to be at /srv/www/<default_hostname> The LAMP StackScript does not install PHP, so we need to install PHP ourselves WordPress requires the web server to have the privilege to modify the site directories …

Continue reading »

Share

Feb 23

Setup a LAMP Stack in Linode

The Base Image Purchase a Linode node is straight forward, except my credit card marks it as a fraudulent purchase… it’s never clear whose fault it is under this situation Linode has a decent size of documentations @ http://library.linode.com Linode instances are managed via https://manager.linode.com Create a node requires selecting a data center and a Linux distro …

Continue reading »

Share

Feb 23

Choosing a VPS Provider

As a first-time customer of VPS services, my choice of VPS is based on the following criteria: Reputation – positive word-of-mouth from its users is a must.  Well-known is better than non-well-known Cost – the cheaper the better of course, but well-known and pricier is better than non-well-known and cheaper Location – prefer to be in …

Continue reading »

Share

Feb 23

Moving Servers Out of Garage

I have been running production servers from my garage in the past few years, but this approach suffers from the following issues: Consumer broadband is not reliable enough – although broadband such as cable or DSL are much more reliable then before, they are no where near the 5-9s needed for production servers Home power …

Continue reading »

Share

» Newer posts