WordPress Installation on Linux System

Steps to install WordPress on Linux system:

  1. You first need to download the Xampp Server in Linux system.
  2. Extract it into /opt folder in your system files. The best way is to use Terminal to do the same. Type the command in terminal : –
    sudo tar xvfz xampp-linux-1.7.3a.tar.gz -C /opt
  3. After succesful installation of Xampp in your local system, you need to start a server that works in the local system. Type the command in terminal : –
    sudo /opt/lampp/lampp start
  4. Then, just to cross check that everything is working fine, type the URL in browser http://localhost/ , if you will get welcome message of Xampp then your done with Xampp installation process. (see screen-shot below).
  5. Now download WordPress from WordPress.org.
  6. Extract it into /opt/lampp/htdocs/ folder.
  7. Create a Database for your WordPress site. Go to http://localhost/phpmyadmin

  8. One more thing you can do to avoid extra work is to change permission of wp-config.php file and also avoid to add the database info in the same. Just type the command below in teminal to give read-write permission to the WordPress folder inside /htdocs.
    sudo chmod a+rw /opt/lampp/htdocs/wordpress/ -R
  9. Now go to the WordPress site http://localhost/wordpress/ and add all the information there like WordPress database name that you just created  in step 8. (Note: username should be root and no need to write the password) see the image below.

You are now done with the manual work. Next, enter the info required in the further steps such as the WordPress username and other information.

Hope you will love to work on WordPress with your Linux system. You can also find some useful plugins and WordPress User Guide on our wpVeda blog, keep checking wpveda.com for regular updates by subscribing to us.

3 replies on “WordPress Installation on Linux System”

  1. good one now waiting for the next post to manage the public ip with the private one so that the wordpress site would be available to the rest of the world

Comments are closed.