DSOM -Topic- How to Install WordPress on Localhost- 5 easy steps.
Step 1- Download XAMPP
Simply go to the XAMPP's official
website. Select your operating system and click on download button.
·
There are different versions for different operating systems.
Choose the perfect one for your device.
After clicking on the download button, wait for a few moments. It's
around 150 MB file, so you should give some time for it to get downloaded.
Step 2- Install & Run the XAMPP on Your PCThis is the second step. After downloading the software, you need to
unzip it. When the file is ready, just select the Install button or click on it
twice. Soon you will discover that the installation process has began.
·
In the next step, you will see some checkboxes these are already marked.
You only need MySQL and phpMyAdmin, so unmark all the others.
·
After a few moments, you would see a welcome notice. That means your
installation process is working perfectly.
·
If you have any antivirus software installed in your PC, you may see a
security alert like this. Don't worry, check any of the given networks and go
ahead by clicking on the Allow access button.
·
You would see a language selection option, check one that you want and
click on the Save button.You are almost at the end of the installation process. Just mark
this question box and click on Finish button.
The XAMPP control panel will automatically run on your device.
Congratulations!
You have completed the XAMPP installation process!
Step 3- Download
WordPress Latest Version
Now
is the time to create a database and start installing WordPress on localhost.
To do that, you need to download the latest version of WordPress.
·
Go to the WordPress
official website, click on Get WordPress button from the top right
side. You will be redirected to a new page.
·
Now hit on Download WordPress button.
The
download process might take a few moments to begin. You will get a zip file.
Unzip the file and copy that for your next uses.
Step 4-
Create a Database
To
create a database, first you need to prepare a
f older on your PC in which you want to save all the data of your local
site.
·
Go to your local disk, where you saved the downloaded XAMPP
file.
·
Select the htdocs folder and
paste the WordPress latest version you
have copied earlier.
Now,
rename the WordPress folder. You can avoid this option, if
you want to build your site with the name ‘WordPress' itself.We
named the folder here ‘mytest'. Check the below screenshot. You should remember
the name you have selected for your database. Now, open a new tab on your browser and go to localhost/phpmyadmin
·
Select Database
·
Write the same name you have written on your local disk. And
finally, click on the Create button.
Your database will be created within a few seconds.
You
have successfully created your localhost database. Now, is the turn to install
WordPress on the localhost.
Note: Before
going to the final step, you need to start both Apache Web Server and MySQL
Database from the Xampp control panel installed on your PC or Mac. Without
starting both of them, you can't get access to PHPMyAdmin.
Just
go to your app folder. Select the Xampp control panel and click on MySQL and
Apache buttons. Have a look at below screenshot.
Step 5-
Install WordPress on Localhost
Open
a new tab on your browser and write localhost/your given name (‘mytest ‘
in our case) and hit on the Enter button.
You will see a WordPress setup wizard like below. Select your language and click on continue
·
You would see a welcome notice on behalf of WordPress. On the
next step, WordPress will require
1.
A database Name
2.
A user name
3.
A password
4.
And a database host
·
Just click on the Let's go button
·
These are the fields you can see in the below screenshot.
·
Provide your database name, you can write ‘root' as user name,
keep the password option blank- it's better and you would find other fields
filled up from earlier.
·
Click on Submit button
·
This is your final step of installation.
·
Give a name to your site. we named our site WordPress ERP here. You can also keep
your database name as your site's name.
1.
Write your user name
2.
Give a strong password
3.
Write your personal e-mail address
4.
Carefully check the
search engine visibility button. Otherwise, Google would start indexing your
local site too!
·
And, finally click on Install WordPress button!
Yes,
you have completed you installation. You should see a notice like below.
Check out the Site You Have Built
This
is the time to check out your local site. How would it look like or how would
it work? Give a check.
·
This is your backend dashboard or admin panel, from where you
would control everything.
·
And this is your front-end dashboard.
·
You can check this by adding a new blog post or installing and
activating a plugin/theme etc. We have published a blog post, it looks just
like a live site- isn't it?
Comments
Post a Comment