The world has advanced as it ever had. End number of people who want to blog which is indeed an awesome hobby to pursue, blogger is a cool title I feel :X. Starting with high school students up to Masters, there is the huge number of students or individual who wants to blog in different markets/niche. You can earn a hell lot of $$$ through blogging and People are earning thousands of $$$ every day, month and every year.
But, because of the cost of having a website or hosting is a bit high for most of the people & they can’t afford. Even if some of our tries to buy cheap shared hosting, it doesn’t go well, & the performance [SEO + Structural] is bad of course and ultimately they lose motivation & give up. As a result, your site will be off in around 6-7 months.
So, here’s one solution that I feel most of the people can afford, which is $5/month | ₹350/month
Why Digital Ocean?
1. You get one VPS, Dedicated Server
2. Cheap & best
3. Top performance
4. Best budget plan for bloggers & individual professionals
5. The whole server is yours, do what you want
6. Best for Educational purpose
Why VestaCP?
1. It’s Free
2. You get to manage your database, SSL, mail, subdomain & other stuff
3. Add multiple sites without any barrier
Okay, Let’s get started with Setting up VPS, VestaCP & then Installing WordPress
THERE ARE FOUR STAGES IN THIS TUTORIAL
1. How Do I setup Digital Ocean Server?
i. Visit this link & Sign up [ You get $10 Free Credit, According to this plan with this $10 you don’t need to pay for two months. You get the credit only when you’ve added any payment method]
ii. Create droplet
iii. Choose $5 | 25gb/ Month Plan
iv. Choose your OS [I would recommend CentOS 7.5 as This is the best OS for cloud server ]
v. You can insert SSH key so that you don’t have to put password every time you log in [ Setup SSH Key with putty ]
vi. Choose your server [ Choose as per your target Country ]
vii. Put a name to your droplet or leave that same
viii. Hit on Create Droplet
ix. Done !!!
2. DNS Setup
i. Go to your DNS setting & change the name server to digital ocean –
ns1.digitalocean.com
ns2.digitalocean.com
ns3.digitalocean.com
ii. Point your other settings to the Digital Ocean’s IP address
Now, it’s time to get the server ready, Follow these easy steps:
3. Install VestaCP
i. Login to your droplet either through putty or directly from Digital Ocean dashboard [ If you have added the SSH then with putty you can easily login to your IP address, or You’ll get the Username & Password in your mailbox, You’ll have to change the password after the first login]
ii. Now that you have successfully logged in, Run the following commands
iii. CentOS – “yum update” , “yum upgrade” & “yum clean all” | Ubuntu – “apt-get update & upgrade”
iv. Relax for some time as the above process will take some time……
v. It’s time to install Vestacp. Run “curl -O http://vestacp.com/pub/vst-install.sh” to download the script and then run “bash vst-install.sh” to install. Or if you want to exclude anything from VestaCP default package then Visit this link & pick your options and Generate commands then Run.
vi. During installation, It will ask for your mail address & hostname which is your site name. I recommend just putting demo.com & enter. Hold on for 5-10 minutes while it installs the Vesta Panel.
vii. You will get VestaCP login credentials after successful installation
viii. Login to vesta panel > http://120.320.56.98:8083/ | Your IP address & the port 8083
ix. Go to Web Section & add your domain there
x. Go to DB Section & add your database. Copy the db_name, db_username & db_password. We’ll need it while installing WordPress.
xi. That’s all, your vestaCP is ready to install wordpress
4. Install WordPress
i. Now it’s time to download WordPress & put in the directory “var/home/admin/web/yoursie.com/public_html/”
ii. Navigate to your website using putty: “cd /home/admin/web/yoursite.com/public_html/”
iii. Now Download WordPress & Extract all the files under public_html/
“wget http://wordpress.org/latest.zip”
“unzip latest.zip”
* To move all the files from WordPress to Public_html folder
“cd wordpress”
“mv * .[^.]* ..”
iv. Configure your Database
Edit wp-config.php
Put your DB name, username & password in the field as shown below
v. Now, open your website or your IP address in browser & you will get WordPress installation wizard, choose your language & click next. Setup your Site Title, Username, Password, Email & Click on install WordPress
vi. That’s all!! Now you have your WordPress ready …
As you can see that I’ve logged in to the Dashboard Successfully
HAPPY BLOGGING
Same way you can add multiple domains in one droplet by adding domains from VestaCP, I would recommend using 2-3 sites at max if you want the best performance in terms of Structural Performance or SEO Performance.
feel free to ask anything that you want to, i’ll be happy to help
The post Install WordPress on DigitalOcean with VestaCP & CentOS 7 | $5/Month appeared first on Tech Universe : DIY Articles, Download Coolest Apps & Games, Top Notch Information on Technology.
This post first appeared on Learn Hacking Tricks | Get Tech News | DIY Tutorials And More - Your Tech Library, please read the originial post: here