Skip to content

Instantly share code, notes, and snippets.

View mayaraelaziz's full-sized avatar

Mayar Abd Elaziz mayaraelaziz

  • Egypt
View GitHub Profile
@diegopacheco
diegopacheco / ec2-aws-hostanme-change.md
Last active May 20, 2020 18:09
How to change Hostname on Amazon Linux - EC2 AWS?

Summary

  1. Change file /etc/sysconfig/network
  2. Change file /etc/hostname
  3. Chnage file /etc/hosts
sudo vim /etc/sysconfig/network