Advertisement
Guest User

Untitled

a guest
Aug 8th, 2012
147
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.30 KB | None | 0 0
  1. [root@best-ever ~]# hostname
  2. bestever
  3. [root@best-ever ~]# hostname -i
  4. 74.91.122.209
  5. [root@best-ever ~]# cat /etc/hosts
  6. 127.0.0.1 localhost.localdomain localhost
  7. 74.91.122.209 best-ever.org bestever
  8. ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
  9. [root@best-ever ~]# netstat -tapn
  10. Active Internet connections (servers and established)
  11. Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
  12. tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 32008/mysqld
  13. tcp 0 0 0.0.0.0:44970 0.0.0.0:* LISTEN 3360/rpc.statd
  14. tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3806/rpcbind
  15. tcp 0 0 0.0.0.0:30033 0.0.0.0:* LISTEN 1809/./ts3server_li
  16. tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3386/sshd
  17. tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3299/cupsd
  18. tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1378/master
  19. tcp 0 0 0.0.0.0:10011 0.0.0.0:* LISTEN 1809/./ts3server_li
  20. tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 3746/qpidd
  21. tcp 0 52 74.91.122.209:22 184.175.47.196:50467 ESTABLISHED 31171/sshd
  22. tcp 0 0 :::111 :::* LISTEN 3806/rpcbind
  23. tcp 0 0 :::80 :::* LISTEN 31819/httpd
  24. tcp 0 0 :::55635 :::* LISTEN 3360/rpc.statd
  25. tcp 0 0 :::22 :::* LISTEN 3386/sshd
  26. tcp 0 0 ::1:631 :::* LISTEN 3299/cupsd
  27. tcp 0 0 ::1:25 :::* LISTEN 1378/master
  28. tcp 0 0 :::5672 :::* LISTEN 3746/qpidd
  29. [root@best-ever ~]# cat /etc/sysconfig/network
  30. NETWORKING=yes
  31. NETWORKING_IPV6=no
  32. HOSTNAME=bestever
  33. GATEWAY=74.91.122.254
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement