Tutorial, Internet, Hardware, Software, Os, Linux, Android, Security, Mikrotik

12 March, 2015

After Install Centos 7

I have just installed Centos 7 with the minimal installation options, lots of things which were taken for granted by me were not installed,

install centos7
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 -y
2.  Install netstat for Check Listening Network Ports
yum install net-tools
 Try ifconfig command :
[root@localhost ~]# netstat -tulpn
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 ~]#
Everybody 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.

No comments:

Post a Comment

Terima kasih atas komentarnya