update-alternatives
Set default editor in Ubuntu To change vi editor run root@backup:~# update-alternatives –config vi There are 2 choices for the alternative vi…
Set default editor in Ubuntu To change vi editor run root@backup:~# update-alternatives –config vi There are 2 choices for the alternative vi…
To attach to a specific session, run tmux a -t SESSION_ID CTRL+B % Split window vertically CTRL+B “ Split window horizontally CTRL+B…
After adding facebook hhvm repository on Ubuntu 16.04, i get following error when running “apt update” command. root@backup:~# apt-get update Get:1 http://security.ubuntu.com/ubuntu…
add-apt-repository command can be used to add repository in ubuntu. To install, run apt-get install software-properties-common python-software-properties Example apt-key adv –recv-keys –keyserver…
rvm is ruby version manager. Allow you to have multiple ruby version. To install rvm, run gpg –keyserver hkp://keys.gnupg.net –recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 curl…
WordPress run its sheduled tasks using wp-cron.php, this get called every time visitor visits web site. This is not efficient method for…
rsync command with exclude option, full server backup to a remote server. Transfer a file I normally use scp to do single…
Serverless is your toolkit for deploying and operating serverless architectures. Focus on your application, not your infrastructure. https://www.serverless.com https://openwhisk.apache.org/
Easy Kubernetes setup on Ubuntu with microk8s Kubeapps https://kubernetes.io/docs/tutorials/hello-minikube/ Install Minikube in Ubuntu kubectl kubectl Kubernetes scale a deployment Google Kubernetes Engine…
To check hard disk for errors, run /usr/sbin/smartctl -q errorsonly -H -l selftest -l error /dev/sda Here is an example of HDD…
Amazon EC2 Amazon RDS Amazon S3 AWS Price calculator Free AWS Credit To backup a folder to the Amazon S3 bucket, run…