Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [root@best-ever ~]# hostname
- bestever
- [root@best-ever ~]# hostname -i
- 74.91.122.209
- [root@best-ever ~]# cat /etc/hosts
- 127.0.0.1 localhost.localdomain localhost
- 74.91.122.209 best-ever.org bestever
- ::1 localhost localhost.localdomain localhost6 localhost6.localdomain6
- [root@best-ever ~]# netstat -tapn
- Active Internet connections (servers and established)
- Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
- tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN 32008/mysqld
- tcp 0 0 0.0.0.0:44970 0.0.0.0:* LISTEN 3360/rpc.statd
- tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN 3806/rpcbind
- tcp 0 0 0.0.0.0:30033 0.0.0.0:* LISTEN 1809/./ts3server_li
- tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 3386/sshd
- tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN 3299/cupsd
- tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 1378/master
- tcp 0 0 0.0.0.0:10011 0.0.0.0:* LISTEN 1809/./ts3server_li
- tcp 0 0 0.0.0.0:5672 0.0.0.0:* LISTEN 3746/qpidd
- tcp 0 52 74.91.122.209:22 184.175.47.196:50467 ESTABLISHED 31171/sshd
- tcp 0 0 :::111 :::* LISTEN 3806/rpcbind
- tcp 0 0 :::80 :::* LISTEN 31819/httpd
- tcp 0 0 :::55635 :::* LISTEN 3360/rpc.statd
- tcp 0 0 :::22 :::* LISTEN 3386/sshd
- tcp 0 0 ::1:631 :::* LISTEN 3299/cupsd
- tcp 0 0 ::1:25 :::* LISTEN 1378/master
- tcp 0 0 :::5672 :::* LISTEN 3746/qpidd
- [root@best-ever ~]# cat /etc/sysconfig/network
- NETWORKING=yes
- NETWORKING_IPV6=no
- HOSTNAME=bestever
- GATEWAY=74.91.122.254
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement