This article aims to record how to deal with the things that must be done however occur rarely.
Install Mosh To Improve Command Line User Experience
In the case of unstable Internet connection or high delay, using ssh is such a pain that a word comes up after you typed it for several seconds. To solve this problem, mosh is a better choice because it’s based on UDP.
In non-US areas, some extra bash settings should be done.
export LC_ALL=en_US.UTF-8 export LANG=en_US.UTF-8 export LANGUAGE=en_US.UTF-8
Set an Appropriate Permission for the PEM File
chmod 400 pem_file.pem
Install the EPEL Repo
sudo yum install epel-release sudo yum repolist
cd /tmp wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm ls *.rpm sudo yum install epel-release-latest-7.noarch.rpm sudo yum repolist
For free tier users:
- Make sure the e-mail left was the one commonly checked by yourself.
- Set the budget amount as
0.8or any number under
$1to avoid generating extra fees.
For personal devlopers, white list strategy, i.e. only designated IP addresses can reach the server, secures your server from malicious connection requests.
Root User Settings
Some of the AMIs installed from market place doesn’t provide default root
ssh login, so setting a root user is kind of a necessity.
sudo su passwd root
To remove the temporary root password,
passwd –d root