Created
August 1, 2013 13:01
-
-
Save robwilkerson/6131112 to your computer and use it in GitHub Desktop.
Sets and persists a custom hostname on an Ubuntu server.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Set a helpful hostname as a convenient reference. | |
echo "project-name" > /etc/hostname | |
echo "127.0.0.1 project-name" >> /etc/hosts | |
hostname project-name |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment