• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
Source Digit

Source Digit

Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • How To
  • Ubuntu
  • Instagram
  • Blogging
  • Android
  • WordPress
  • +More
    • Cloud Computing
    • Gadgets
    • Social Media
    • Technology
  • Write for Us
Home / How To / Install Wordpress on Ubuntu 16.04 (Localhost)

Install WordPress on Ubuntu 16.04 (Localhost)

By Sourabh / April 29, 2016 Category: How To, Ubuntu

Install WordPress on Ubuntu 16.04 Desktop. Terminal commands to install WordPress on Ubuntu Localhost. Download the latest version of WordPress on Ubuntu and configure it. Please note that you need to install Apache or any other web server on your system to use WordPress. I assume you have installed and configured Apache web server on your system.

The first step is to download the latest wordpress. You can either download it manually or run the following commands to download it via Terminal:

sudo wget http://wordpress.org/latest.tar.gz

Once the package is downloaded, run the following command to extract WordPress package:

sudo tar -xvf latest.tar.gz

Now change directory to WordPress and copy all its contents to web directory /www/html

sudo cp -rRvf ~/wordpress/* /var/www/html

Now the most important part, create a database, its user and grant all the necessary privileges. To do so, run the following command:

mysql -u root -p

The next step is to configure database named ‘WORDPRESS’ and a user ‘USERNAME’. Once you have configured the database, change the directory to web /www/html and copy the WordPress configuration sample file to wp-config.php.

cd /var/www/html
cp wordpress/wp-config-sample.php wordpress/wp-config.php

When the WordPress configuration file opens, edit file and enter the Database Name, Database Username and Password. After you have entered all the credentials correctly, restart web service by running the following command:

# /etc/init.d/apache2 restart

Open your web browser and type 127.0.0.1/wp-admin/install.php

As soon as you type this, you will be able to see the WordPress configuration page. Simply follow the on-screen instructions and configure WordPress.

Tags: Download Wordpress On Linux Ubuntu 16.04, Download Wordpress On Ubuntu 16.04, Download Wordpress On Ubuntu 16.04 Desktop, Download Wordpress On Ubuntu 16.04 Linux, Download Wordpress On Ubuntu 16.04 Server, Download Wordpress On Ubuntu Linux, Install Wordpress On Linux Ubuntu 16.04, Install Wordpress On Ubuntu 14.04 Lts, Install Wordpress On Ubuntu 16.04, Install Wordpress on Ubuntu 16.04 (Localhost), Install Wordpress On Ubuntu 16.04 Desktop, Install Wordpress On Ubuntu 16.04 Linux, Install Wordpress On Ubuntu 16.04 Server, Install Wordpress On Ubuntu Linux, Install Wordpress On Ubuntu Localhost, Install Wordpress On Ubuntu Nginx, Install Wordpress On Ubuntu Server, Install Wordpress Ubuntu Desktop, Install Wordpress Ubuntu Digitalocean, Wordpress Apache Config, Wordpress Download, Wordpress On Linux Ubuntu 16.04, Wordpress On Ubuntu 16.04, Wordpress On Ubuntu 16.04 Desktop, Wordpress On Ubuntu 16.04 Linux, Wordpress On Ubuntu 16.04 Server, Wordpress On Ubuntu Linux

Primary Sidebar

Latest Posts

Downlaod Ubuntu 26.10 Stonking Stingray

How To Shutdown Linux With A 15 Minute Delay And Message

Using Linux Terminal How To Get Total Disk Size In GB

Count And Find Number Of Files In A Linux Directory Using Command

Check How Many Users Are Created In Linux Ubuntu

How To Check User Permissions In Linux Using Command

Check Which Folder Is Taking More Space In Ubuntu Linux

How to Install Claude Desktop App in Ubuntu Linux

Job Scheduling Using At Command In Linux With Examples

How To Check Permissions Of A Directory In Linux Command

© 2026 Source Digit • Linux, Ubuntu Tutorials & News, Technology, Gadgets & Gizmos

  • Home
  • About
  • Privacy Policy
  • Terms & Conditions
  • Contact Us
  • Sitemap