Installing wordpress on localhost in ubuntu
You are looking to install wordpress on localhost Ubuntu, even multiple blogs at once?
You can make install wordpress through BitNami but that's just how the current set is 1 wordpress blog only. This article I will guide you to install multiple wordpress blog.
Content
1. Install XAMPP on ubuntu
This is the first step, you need to have it done is new. You see article Install XAMPP on ubuntu
2. Download WordPress
In this step we need to change the contents of system folders so you have to open the file manager (the nautilus in ubuntu) with administrative rights following.
sudo nautilus
Then you go /opt / lampp / htdocs / create 1 directory to contain our website. VD as creating folders nguyenvanquan7826
Now you go https://wordpress.org/ to download the latest wordpress.
Unzip it into wordpress directory, you copy the entire contents of the directory wordpress to /opt / lampp / htdocs / nguyenvanquan7826
3. Create a database for website
Website wordpress our needs 1 mysql database to store the content of the article, Comment,…
We have to http://localhost/phpmyadmin/ to create the database.
Have you noticed that when creating our database not put passwrod for it and The default user is root.
4. Install WordPress
Everything was prepared, Now we install only.
You visit http://localhost/nguyenvanquan7826/ (nguyenvanquan7826 which is newly created directory in /opt / lampp / htdocs / contains wordpress) will appear interface lets start installing blog.
In this step you fill newly created database, user là root, no password và click Submit
By this stage we need to create the file wp-cofnig.php /opt / lampp / htdocs / nguyenvanquan7826 / but it can not be done through the browser. We turn to do the following:
B1: Create a command file wp-cofnig.php
sudo gedit /opt/lampp/htdocs/nguyenvanquan7826/wp-config.php
B2: Gedit text editor to open up 1 The new file is wp-config.php, you copy the entire code in the browser frame and paste it. Save (Ctrl + S) and closed.
B3: Click your browser Back and Run the install browser, we began to fill the blog.
After logging in, this is the result of our – A wordpress blog on localhost
To install your blog to repeat the last step as we did from the copy of wordpress inclusion of the new folder you want to create a new blog
Posts made in series PHP programming guide
Read more:
Install XAMPP on Ubuntu
Fix Mysql # 2002 – No such file or directory
Fix 403 Forbidden on xampp
You can not create folders in htdocs or regardless of where in the Computer
Sure you do not have it.
You try it this post.
https://www.cachhoc.net/2013/08/18/ubuntu-khac-phuc-thu-muc-bi-khoa-phan-quyen-trong-ubuntu/
Hello, e would like to ask is want to correct such default path (such as) then how sir ww.cachhoc.net? he had specific instructions not you? Thank you
I have not quite understood your question
e ie labor url is http://localhost/nguyentrongthai, e want to correct it http://www.nguyentrongthai (eg such) then how ạ?
You need to purchase a domain name and hosting to upload your code up.