I have just installed Centos 7 with the minimal installation options,
lots of things which were taken for granted by me were not installed,
Question :
I have just setup on RHEL 7.0/CentOS 7.0 minimal server installation but i notice ifconfig and netstat command not found. How to make those command working ?
Solution :
By default, ifconfig and netstat utility is not installed on RHEL 7.0/CentOS 7.0 minimal server installation. You need to install net-tools utility manually, this include ifconfig and netstat command.
1. Update your centos 7 after instalation
Question :
I have just setup on RHEL 7.0/CentOS 7.0 minimal server installation but i notice ifconfig and netstat command not found. How to make those command working ?
Solution :
By default, ifconfig and netstat utility is not installed on RHEL 7.0/CentOS 7.0 minimal server installation. You need to install net-tools utility manually, this include ifconfig and netstat command.
1. Update your centos 7 after instalation
yum update -y2. Install netstat for Check Listening Network Ports
Try ifconfig command :yum install net-tools
[root@localhost ~]# netstat -tulpnEverybody says that Linux is secure by default and agreed to some extend (It’s debatable topics). However, Linux has in-built security model in place by default. Need to tune it up and hardening your linux as per your need which may help to make more secure system.
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN 2473/master
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN 1856/sshd
tcp6 0 0 ::1:25 :::* LISTEN 2473/master
tcp6 0 0 :::22 :::* LISTEN 1856/sshd
udp 0 0 0.0.0.0:68 0.0.0.0:* 10669/dhclient
udp 0 0 0.0.0.0:42073 0.0.0.0:* 766/avahi-daemon: r
udp 0 0 0.0.0.0:17630 0.0.0.0:* 10669/dhclient
udp 0 0 0.0.0.0:5353 0.0.0.0:* 766/avahi-daemon: r
udp6 0 0 :::31630 :::* 10669/dhclient
[root@localhost ~]#
No comments:
Post a Comment
Terima kasih atas komentarnya