WordPress is one of the top most used CMS systems in the world. Its successful adoption has been made possible by its open source nature. WordPress is licensed under GPLv2 and has plenty of themes and plugins thus making it simple to customize. In this tutorial i’ll show show full steps on how to setup wordpress on Arch and configuring php and mysql database. WordPress is easy to customize and administer yet very powerful content management system.
Install wordpress on Arch Linux with this straightforward process which can be done by issuing few commands on the terminal. So let’s get started.
Setup wordpress and configure
Install Apache Web server
Enable apache to start at boot
Install MariaDB database service
Set base configurations
Start and enable MariaDB
Setup Root password for MariaDB
See picture below for details:
If you did upgrade, just type:
- Confirm to make sure you’ve correct /etc/hosts file configured. This is crucial if you’re accessing WordPress site on LAN with domain.
My output is as shown below
Comment the line below:
Uncomment below line:
Place below line in the LoadModule list just after LoadModule dir_module modules/mod_dir.so:
Make sure below lines are uncommented
You’ll drop on Mysql cli terminal:
Create Database and database user and Grant privileges:
Remember to change WordPress user and database name accordingly.
Modify group ownership of wordpress to http
Create and modify configuration file
Edit wp-config.php to configure Database user, database name, and database password:
Modify to look like below
See below screenshot.
Open wordpress on browser
You’re done with installation of wordpress, to access it just type below url on our favorite browser
You’ll see window like one shown below
- Blog Title
- user to login
Installing WordPress Template
Download Best WordPress templates from http://themeforest.net/?ref=josemutai
Download theme you like then go to:
Dashboard > Appearance > Themes > Add New > Add Themes > Upload Theme > Browse > Choose File, then locate .zip theme file and upload it.
We’ve covered how to setup wordpress and configured everything on Arch Linux needed for wordpress to run and host site. You can now customize wordpress and add any plugin you want but be careful on the number of plugins you enable since they can drastically impact negatively on your site.