Archive for the Centos Category

Fix Amazon EC2 SSH login

| November 20th, 2016
Blocked myself with CSF firewall on a Centos 7 server. With the "Run Command" feature was not available, and no web terminal or VNC console such as the one in digitalocean( After reading around I found out that the only solution is to stop the running instance, detach the volume, create another Linux instance (shouldn't be the same as the running one), then attach the old volume to the newly Read more [...]

Install SSMTP on Centos 7

| August 31st, 2016
Add the repo if it's not added: wget -c rpm -ivh epel-release-7-8.noarch.rpm update: wget -c rpm -ivh epel-release-7-9.noarch.rpm Install: yum -y install ssmtp (yum install mailx) if not installed Configure: alternatives --config mta   There are 2 programs which provide 'mta'. Selection Command ----------------------------------------------- *+ Read more [...]