Category: HowTos

HowTos
Alex

Move WordPress site to new Hosting Step by Step

How to Backup  Login to the original WordPress site and Install UpdraftPlus Plugin  Go to UpdraftPlus -> Backup / Restore Click the backup button to start backup process. Make sure check everything and click backup now Wait for the backup complete Download everything. How to Restore After backup completed, you can edit the DNS points to the

Read More »
Datacenter
HowTos
Alex

Host WordPress on Google Cloud Platform

Google Cloud Platform Sign in Create a new VM under Compute Engine I’ve use ubuntu 18.04 LTS and HDD size of 20GB HDD Size Install Google Cloud SDK https://cloud.google.com/sdk/Choose your platform version Config your new instance First thing first $ sudo apt-get update $ sudo apt-get upgrade -y Install Swap $ sudo fallocate -l 1G

Read More »
backup
Commands
Alex

Ubuntu server backup script

Backup script backup.sh #!/bin/bash #################################### # # Backup to NFS mount script. # #################################### # What to backup. backup_files=”/home /var/spool/mail /etc /root /boot /opt” # Where to backup to. dest=”/mnt/backup” # Create archive filename. day=$(date +%A) hostname=$(hostname -s) archive_file=”$hostname-$day.tgz” # Print start status message. echo “Backing up $backup_files to $dest/$archive_file” date echo # Backup the

Read More »
container
Design
Alex

How to use docker for WordPress development

1. Use wordpress:latest to create ssl version of wordpress container Create Dockerfile file FROM wordpress:latest RUN apt-get update && \ apt-get install -y –no-install-recommends ssl-cert && \ rm -r /var/lib/apt/lists/* && \ a2enmod ssl && \ a2ensite default-ssl EXPOSE 80 EXPOSE 443 run $ docker build -t ssl_wordpress:1.0 . 2. Create the folder structure 3.

Read More »
HowTos
Alex

Webmin – my new best friend for linux server

How to install Webmin When you have a newly installed Linux server, you can config the server line by line through the terminal, but sometimes there is a relief that you can have a GUI to config some settings, thanks to Webmin you can have a browser interface to interact with the server. here is

Read More »
HowTos
Alex

DNS TTL recommend Value

Typically set it to 24 hours (86400 seconds) If planning to make DNS changes, lets lower the value to 5 mins (300 seconds) After the change are made, change the TTL back to 24 hours

Read More »
Scroll to Top