Running WordPress on openSUSE

As promised here is the ‘HOW-TO’ for running WordPress on openSUSE.

This is a simple three step process:

- install and configure openSUSE
- configure apache and mysql
- install WordPress

I have done this installation using openSUSE and SUSE Linux Enterprise Server 10 a few times in the last few weeks; I’d say it was around a twenty minute process for someone with just a little knowledge of Linux and mysql.

Here is a PDF of screenshots.wp-on-suse.pdf

The detail is here:

1. Install openSUSE.

The openSUSE project is a worldwide community program sponsored by Novell that promotes the use of Linux everywhere. The program provides anyone with free and easy access to the world’s most usable Linux distribution, SUSE Linux.

The openSUSE project has ample documentation on installation. Here is the main link – http://en.opensuse.org/Installation_(x86) – and a great video of the process.

The main part to remember during the installation is to do a minimal server installation (I’m assuming you are wanting to run openSUSE as a server rather than a workstation with a GUI) and to install php5-mysql and wget.

The configuration is pretty simple – you need a good, strong root password; you need to configure your networking (static IP, routing, DNS, IPsec) – and you are done.

2. configure apache and mysql

Just a couple of tweaks.

- turn on mod_rewrite in apache
- make apache and mysql start on boot for runlevels 3 and 5
- configure the mysql root admin account


mysqladmin -u root password 'novell'
mysqladmin -u root -h wordpress.evilzenscientist.com password 'novell'
mysql -u root -p



3. download wordpress, create the wordpress database, configure

- download wordpress

The latest stable is always available at http://wordpress.org/download/


mkdir ~/wordpress
cd ~/wordpress
wget http://wordpress.org/latest.tar.gz
tar zfx latest.tar.gz
mv wordpress /www/srv/htdocs/

- this is most easily described using the famous ‘Five Minute Installation


create database wordpress;
grant all privileges on wordpress.* to wpuser@localhost identified by "novell";
flush privileges;

- next just run the installation from your browser – http:///wp-admin/install.php

2 thoughts on “Running WordPress on openSUSE

Leave a Reply