So in the last Article, we showed you how you can access your server from your PC via ssh. It was a pretty simple tutorial and if everything went right, you should have an ssh connection to your server. – How to Install WordPress on Server
So what now? Well, let us install the WordPress, A CMS by which you can create your website yourself. Believe me, when I say this, It is a piece of cake, In fact, this very website is also made on WordPress. So well let us see how you can install WordPress on Digital Ocean or I should say How to install WordPress on a server.
How to Install WordPress on Server – Digital Ocean
Prerequisites – WordPress on Server
Make sure you have gone through this article. It shows, how to connect droplet to your Mac via SSH.
Installing WordPress on Digital Ocean Droplet
For Installing WordPress, We are going to use a library called Easy Engine. We just need to write two lines of code and you will have a site with WordPress. So to start, Access your server via SSH. In the terminal write the following code.[pastacode lang=”markup” manual=”wget%20-qO%20ee%20rt.cx%2Fee%20%26%26%20sudo%20bash%20ee” message=”” highlight=”” provider=”manual”/]
Press enter. It will ask for your name and email. Enter if you will.[pastacode lang=”bash” manual=”sudo%20ee%20site%20create%20example.com%20–wp” message=”” highlight=”” provider=”manual”/]
Let it finish. Now copy the username and password and store it in a place where you will not lose it. Now visit your site and add /wp-admin behind the URL. Like example.com/wp-admin.
There you go, you have successfully made a WordPress site. Now go ahead and start blogging!