Steps to Install WordPress on linux (Ubuntu)

Taimoor Sattar Posted on

Here is the list of steps that are involved in download wordpress on Linux (ubuntu)

  • Update the System
  • Install LAMP Server
  • WordPress Database Initialization
  • Installing WordPress
  • Open WordPress site in web browser

Update the System

su –
apt-get update

Install LAMP Server

apt-get install lamp-server^

WordPress Database Initialization

mysql -u root -p
CREATE DATABASE wordpressdb;
CREATE USER wordpressuser@localhost IDENTIFIED BY ‘wordpresspassword’;
GRANT ALL PRIVILEGES ON wordpressdb.* TO wordpressuser@localhost;

Installing WordPress

cd /tmp
unzip -q -d /var/www/html/
chown -R www-data:www-data /var/www/html/wordpress
chmod -R 755 /var/www/html/wordpress
mkdir -p /var/www/html/wordpress/wp-content/uploads
chown -R www-data:www-data /var/www/html/wordpress/wp-content/uploads

Open WordPress site in web browser


We help in wordpress site design and developmet, contact us by completing the form.

From Our blogs

Leave a comment

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Comments
    No comments found.