backupserver

Introduction

Since we are managing a lot of WP websites we  often experience the problems with the maintenance or the backup. Sometimes only the maintenance, core and plugin update as well as the backup takes quite a lot of hours weekly. We were looking for a solution to manage and the basic maintain all the websites at one place

After trying a couple of different plugins and solutions we found MainWP which became our favourite.

The advantages of MainWP:

  • plugin core is for free
  • uses the well known WP structure saved in wp-content for backups
  • it runs on WP so the modification is much easier
  • basic modules are free

MainWP plugin homepage

What we need

Step 1 – Creating the VPS

Firstly, you must log in to your DigitalOcean account. If you have don't have one, you can register and earn $10 credit for free.

DigitalOcean calls its VPS "droplets" so you can create your droplet now.

1

You must choose a name for your droplet. This will be the hostname of your machine. So you must meet the following requirements:

- name from 1 to 256 characters long

- without spaces, accents and special characters

2

You can select the droplet option that works best for you.

3

And choose the region close to your business.

4

Choose a operating system for your VPS depending on your application needs.

5

You can choose from the pre-installed packages. This packages are perfectly optimized for application and for your VPS. We recommend to choose pre-installed package for Wordpress VPS.

6

The Settings section allows you to select which features you would like to have in your droplet. For example Backup (extra fee for backup is required), Private networking or other. It is recommended that you set up SSH keys to authenticate into your droplets because it provides more security than a basic password.

7

Once you have installed a VPS, you can start to using it. The entire process can take almost as little as a minute or two.

Firstly, you must log in to your Linode account. If you have don’t have one, you can register and earn 20$ credit for free.

Linode calls its VPS “linodes” so you can create your linode now.

You can choose your plan and location for your linode on the "Linodes" screen of your account. Choose your plan and location and click "Add this Linode!".

1_linode

After creating your linode you must click Dashboard for deploying your VPS.

2_linode

Click "Deploy an Image".

3_linode

Choose Image, root password and deployment disk size. We recommend to use the full size of your partition for deployment image.

4_linode

After creating your linode, you can control and set up your VPS using the top tab menu.

5_linode

For example you can see your ssh access login for your machine or you can connect via Ajax console.

6_linode

For this case, use Ubuntu 14.04 64bit system.

Step 2 – Installing VestaCP

VestaCP is currently supporting operating systems: RHEL 5, RHEL 6, CentOS 5, CentOS 6, Debian 7, Ubuntu 12.04, Ubuntu 12.10, Ubuntu 13.04, Ubuntu 13.10, Ubuntu 14.04

Start with creating the blank VPS (for example with DigitalOcean, or Linode)

# Connect to your server as root via SSH
ssh [email protected]
# Download installation script
curl -O http://vestacp.com/pub/vst-install.sh
# Run it
bash vst-install.sh

Step 3 – Installing WordPress

The wget command is used to download the main wordpress zip package only.

Log in to your server via SSH. You can use Terminal (Unix based systems), or PuTTY (for Windows machines).

If you are UNIX beginner, read this tutorial.

Step 1 - Downloading and unzipping worpdress

Unzip these two archives in you public_html directory or type in the subdomain directory:

wget https://wordpress.org/latest.tar.gz
tar xzf latest.tar.gz
mv wordpress/* .
rm -rf wordpress latest.tar.gz

Step 2 - Configuring the database

wp_step1

Step 3 - Configuring the website

wp_install

Step 4 – Installing MainWP

Install downloaded package into your WP plugins

plugin_install

Then activate the plugin and connect your first website.

We HIGHLY recommend a NEW WordPress install for your Main Dashboard.

Step 5 – Connecting a WordPress site

Install it with Plugin installer into the WP site you want to connect.

plugin_install

Then, activate the child plugin

FireShot Capture - Add Plugins ‹ title — WordP_ - http___test.wpdev.club_wp-admin_plugin-install2.php

As soon as possible add the site to your MainWP Dashboard

add_first_

Step 6 – Polishing

Install another admin theme into MainWP WordPress. It won’t affect the functionality but will help you to distinguish your website from the other on the first sight. You can try Fancy Admin UI for example.

Conclusion

the whole procedure takes about one hour including the connection to your WP websites. Only one hour that will save you much more hours in the future and give you reliability and security for your projects

Join the community

Leave a Reply

Our sponsors

We’re social

New in Lab

New Collection

New Tutorial

Knowledge base