Now I recently wanted to install WordPress on my Arch linux box. I must confess this guide is only part done, as I already have a working LAMP server and phpMyAdmin installed.
Installing wordpress in Arch is remarkably simple.
1. From terminal, run “sudo pacman -S wordpress”. This will toddle off and install wordpress for you into /srv/http/wordpress.
2. From a browser, navigate to your phpmyadmin server (http://localhost/phpmyadmin) for example. Login, and create a database named “wordpress”.
3. Open a new tab, and go to http://localhost/wordpress. If you dont have an Apache instance, run “sudo /etc/rc.d/httpd start” and then “sudo /etc/rc.d/mysqld start” for SQL also.
4. Once here, it will complain about a wp-config.php file missing. Go through the GUI, and specify the database name as “wordpress”, the username as your mysql admin username (i.e. “smnet” on mine), password is your MySQL admin password.
5. Next it will generally fail to create the file and ask you to copy and paste the text from the text box into the file manually. From a terminal, run “sudo nano /srv/http/wordpress/wp-config.php” and copy and paste it in. Then do “CTRL + O” to save, and “CTRL + X” to exit.
6. Go back to “http://localhost/wordpress” and voila, its running and ready for your configuration.
Now you can get on with playing: Add a few themes for example by downloading them to /srv/http/wordpress/wp-content, then do “unzip wordpress-theme.0.0.1.zip” (if you dont have unzip, run “sudo pacman -S unzip”). Then simply, in your WordPress install, go to “Appearance” and click the newly installed theme.
HTH,
Sam