
How to Configure WordPress in Ubuntu?
To you who are still confused to configure your wordpress in ubuntu, you can follow the following tutorial without having to buy expensive hosting server. Simply use Ubuntu, activate LAMP, and Tada! You are able to blogging. No need to bother anymore because the data upload blog content can be copied and paste as well as ordinary file operations.
But, before you can enjoy this convenience, you should make every effort was configuring Ubuntu. Here’s how:
- Run Terminal and type:
sudo apt-get install wordpress
- Create a symbolic link folder www Apache to your installation folder and install the new MySQL database named localhost to use WordPress. Type the following command in Terminal:
sudo ln-s /usr/share/wordpress/var/www/wordpress
sudo bash /usr/share/doc/wordpress/examples/setup-mysql-n wordpress localhost - If you already have a host name for WordPress, do not use localhost, but use the host name. For example, if your website is test.com blog, type the command:
sudo bash /usr/share/doc/wordpress/examples/ setup-mysql-n wordpress test.com - If you are going to access your Wordpress server through a virtual host, create a virtual host configuration files in the folder / etc/apache2/sites-available. If so, create a symbolic link from the folder / etc/apache2/sites-enabled.
- Restart apache2 with the command:
sudo /etc/init.d/apache2 restart
- Now, install WordPress via a browser. Type the following address in your browser:
http://localhost/wordpress. Or, if you use a virtual host, simply type your website address.
Note: WordPress inherited from the Ubuntu repositories 9:10 still using WordPress which contains a bug. Do not forget to update it after installation on top.










