Created
November 1, 2012 09:52
-
-
Save mowat27/3992789 to your computer and use it in GitHub Desktop.
Linux Config Notes
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
echo HOST.DOMAIN.com > /etc/hostname | |
/bin/hostname -F /etc/hostname | |
/etc/init.d/httpd restart | |
# Add to /etc/hosts | |
127.0.0.1 HOST.DOMAIN.com |
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
# Find out what is using a port | |
lsof | grep 8009 | |
# Find out is a server is responding on a port | |
# Try to telnet on that port | |
$ telnet HOST.DOMAIN.com 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment