Installing wordpress in Ubuntu step by step:
Table of Contents
Prerequiste:
Lampp installed (If you are windows user then you may be knowing xampp, lampp is the alternate to xampp in ubuntu/linux).
How to install wordpress locally in windows ?
Step 1: Download the wordpress. Extract it.
Step 2: Open the lampp and start the mysql and apache web server.
[plain]
sudo /opt/lampp/manager-linux-x64.run
[/plain]
Step 3: Open the lampp folder using this command,
[plain]
nautilus /opt
[/plain]
Paste the extracted wordpress to htdocs folder.
After I pasted wp it looks like this,
Step 4: Create the database name, username password in phpmyadmin
http://localhost/phpmyadmin
I have created the database as: wp
username and password I did not create anything, so we can give the default one:
username: root
password: no password (empty by default).
This is the default one in the lampp localhost installed.
Step 5: Now open the http://localhost/wp/ in browser, it will be automatically redirected to ,
http://localhost/wp/wp-admin/setup-config.php
Create wp-config.php file under wp root folder and paste the below snippet:
Sometime it will create the wordpress database if you run through it. If you get the above message then copy paste this wp-config.php file.
You are almost done.
Step 6: Enter site title, username and passwords
Click install wordpress.
Installation success, now you can see the admin panel now,
http://localhost/wp
Feel free to write your commands in the below command sections.