Download ArticleDownload Article

XAMPP is an easy-to-install web server environment that contains all the things your computer needs to install WordPress. This How.com.vn article will teach you how to install WordPress 2.8 or above locally on XAMPP using Linux.

  1. How.com.vn English: Step 1 Download and save the latest version of Wordpress from the following link:
    http://wordpress.org/latest.zip.
  2. How.com.vn English: Step 2 Extract the contents...
    Extract the contents of the ZIP file called "wordpress.zip", which was downloaded in step 1, to the htdocs folder within the '/opt/lampp/hdoc directory. If ZIP file extracted properly there should be a new directory called "wordpress" within the \opt\lampp\htdocs directory.
    Advertisement
  3. How.com.vn English: Step 3 In your terminal, type the following to grant write privileges to the wp-config.php file.
    You'll need this for later.
    • chmod a+rw /opt/lampp/htdocs/wordpress -R
  4. How.com.vn English: Step 4 Run XAMPP and make sure all three servers are up and running.
  5. How.com.vn English: Step 5 ...
    Go to the XAMPP main page by opening a web browser and entering the following URL: http://localhost/dashboard/.
  6. How.com.vn English: Step 6 ...
    Select the link called "phpMyAdmin" on the upper right hand side of your screen on the menu, or by entering the following URL: http://localhost/phpmyadmin
  7. Step 7 In the field labeled "Create new database" enter the name "wordpress" then click ↵ Enter.
  8. How.com.vn English: Step 8 In your browser, navigate to 'localhost/wordpress'.
    You will see a message that tells you a configuration file must be made. Click Create configuration file and on the following page, click Let's Go!.
  9. How.com.vn English: Step 9 Enter wordpress for your Database Name, root as your User Name, and leave 'Password' blank.
    Click Submit.
  10. How.com.vn English: Step 10 Click Run the install.
  11. How.com.vn English: Step 11 Enter a title for your blog, your email address and chose a unique password and username.
    After you're done, click Install Wordpress.
  12. How.com.vn English: Step 12 Voila!
    You have successfully installed Wordpress on XAMPP on your Linux machine! See that wasn't so hard was it? Pat yourself on the back you've accomplished something many people find quite difficult (probably cause they haven't read this post).
  13. Advertisement

Community Q&A

Search
Add New Question
  • Question
    Where's the folder location of 'opt'?
    How.com.vn English: Community Answer
    Community Answer
    On machines running Windows 7, the 'opt' folder is not there, but just ignore it and that command too. It works well even if you ignore them.
  • Question
    What do I need to do after I install Wordpress?
    How.com.vn English: Community Answer
    Community Answer
    Log in, and start setting up your website. Choose a theme from any of the thousands of free ones available, find and load plugins to help build your website's functionality, and start adding content.
  • Question
    Where do I run "chmod a+rw /opt/lampp/htdocs/wordpress -R"?
    How.com.vn English: Community Answer
    Community Answer
    You need to start the terminal in the XAMPP window by clicking 'Shell'. From there, you can type it in and run it.
Ask a Question
200 characters left
Include your email address to get a message when this question is answered.
Submit
      Advertisement

      Tips

      Submit a Tip
      All tip submissions are carefully reviewed before being published
      Thanks for submitting a tip for review!
      Advertisement

      About This Article

      How.com.vn is a “wiki,” similar to Wikipedia, which means that many of our articles are co-written by multiple authors. To create this article, 35 people, some anonymous, worked to edit and improve it over time. This article has been viewed 562,693 times.
      How helpful is this?
      Co-authors: 35
      Updated: April 7, 2022
      Views: 562,693
      Categories: Wordpress
      Thanks to all authors for creating a page that has been read 562,693 times.

      Is this article up to date?

      ⚠️ Disclaimer:

      Content from Wiki How English language website. Text is available under the Creative Commons Attribution-Share Alike License; additional terms may apply.
      Wiki How does not encourage the violation of any laws, and cannot be responsible for any violations of such laws, should you link to this domain, or use, reproduce, or republish the information contained herein.

      Notices:
      • - A few of these subjects are frequently censored by educational, governmental, corporate, parental and other filtering schemes.
      • - Some articles may contain names, images, artworks or descriptions of events that some cultures restrict access to
      • - Please note: Wiki How does not give you opinion about the law, or advice about medical. If you need specific advice (for example, medical, legal, financial or risk management), please seek a professional who is licensed or knowledgeable in that area.
      • - Readers should not judge the importance of topics based on their coverage on Wiki How, nor think a topic is important just because it is the subject of a Wiki article.

      Advertisement