Ads

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

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;
FLUSH PRIVILEGES;
exit

Installing WordPress

cd /tmp
wget http://wordpress.org/latest.zip
unzip -q latest.zip -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

http://localhost/wordpress
Ads

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.