Category: Server

ubuntu
Business
Alex

All about Ubuntu server

My Ubuntu Server Version: 18.04 LTS Install SSH $ sudo apt update $ sudo apt upgrade $ sudo apt install openssh-server Create an authorized keys file $ sudo touch ~/.ssh/authorized_keys Copy over client pub file over and put it into the authorized keys file $ sudo cat client.pub >> ~/.ssh/authorized_keys Then install webmin – How

Read More »
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 »
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