Easiest way to Install Wordpress on Ubuntu 18.04 - GoTechTalk

Tracker

Sunday, May 3, 2020

Easiest way to Install Wordpress on Ubuntu 18.04



Introduction

WordPress is the most popular open-source CMS on the internet for bloggers. It allows you to easily set up blogs and websites on MySQL backend with PHP processing. 

Easiest Step by Step guide to Installing Wordpress along with LAMP Server (Linux/Apache2/Mysql-Server+Php) on Ubuntu 18.04.


Step 1: Update the System
#apt-get update

Step 2: Install LAMP Server

#apt-get install lamp-server^

Step 3: Wordpress Database Initialisation
#mysql -u root -p

Commands
CREATE DATABASE wordpressdb;
CREATE USER skyhigh@localhost IDENTIFIED BY 'skyhigh';
GRANT ALL PRIVILEGES ON wordpressdb.* TO skyhigh@localhost;
FLUSH PRIVILEGES;
exit;

Step 4: 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 web browser
http://ipaddress/wordpress

No comments:

Post a Comment

close