Ramin Hossaini (blog)

1Jun/100

Ubuntu: Installing Apache, PHP 5, and MySQL 5

Apache

sudo apt-get install apache2

Locations:

  • HTML directory: /var/www
  • Apache2 conf: /etc/apache2/apache2.conf

PHP 5

Install PHP, and also enable the PHP and Rewrite module in Apache:

sudo apt-get install php5
sudo a2enmod php5
sudo a2enmod rewrite

Locations:

  • php.ini: /etc/php5/apache2/php.ini

MySQL 5

sudo apt-get install mysql-server
sudo apt-get install php5-mysql

Restart Apache

sudo /etc/init.d/apache2 restart
15Mar/080

My top WordPress plug-ins

After secretly messing around with WordPress on one of my servers, I decided to move my blog to an instance of it permanently. Being a very flexible and extensible CMS, I've been researching some plug-ins for it. So far, I've come up with this list.

  • Akismet - helps block spam (and it's really good at it too). Needs an API key that's obtainable from WordPress. Plus, it's free for personal use.
  • Maintenance mode - adds a maintenance splash page. When activated only authenticated users and admins will be able to browse the site.
  • Search meter - keeps track of what visitors are searching for
  • Feedburner Feedsmith - redirects all RSS and ATOM feeds to a feedburner RSS feed instead
  • Sociable - Adds links to Digg, De.li.cio.us, Stumble-upon and other sites for you
  • WP-Cache 2.0 - A really efficient page caching system and effectively makes your site faster and more responsive
  • WP-PageNavi - Adds a more advanced page navigation to the bottom of pages
  • Subscribe to Comments - Allows users to get e-mail notifications for any subsequent comments made
  • Smilies Themer - an easy way to change the default smilies pack
  • Google Analytics for WordPress - You could just add the script, but this makes it easier.
  • WP-Syntax - Add syntax highlighting to code-snippets (supports many languages)
Page 1 of 11
Bear