서버관리

yum install net-tools

_주야 2020. 2. 6. 02:06

vm에 minor 버전으로 설치하여 명령어 불가할때

 

yum install netstat 안될때

[root@test_server ~]# yum install netstat
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.kakao.com
* epel: mirror1.ku.ac.th
* extras: mirror.kakao.com
* updates: mirror.kakao.com
No package netstat available.
Error: Nothing to do

 

net-tools 패키지 설치하여 netstat 명령어 사용가능
[root@test_server ~]# yum install net-tools
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: mirror.kakao.com
* epel: mirror1.ku.ac.th
* extras: mirror.kakao.com
* updates: mirror.kakao.com
Resolving Dependencies
--> Running transaction check
---> Package net-tools.x86_64 0:2.0-0.25.20131004git.el7 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

============================================================================
Package Arch Version Repository Size
============================================================================
Installing:
net-tools x86_64 2.0-0.25.20131004git.el7 base 306 k

Transaction Summary
============================================================================
Install 1 Package

Total download size: 306 k
Installed size: 917 k
Is this ok [y/d/N]: y
Downloading packages:
net-tools-2.0-0.25.20131004git.el7.x86_64.rpm | 306 kB 00:00
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
Installing : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1
Verifying : net-tools-2.0-0.25.20131004git.el7.x86_64 1/1

Installed:
net-tools.x86_64 0:2.0-0.25.20131004git.el7

Complete!


[root@test_server ~]# netstat -an | grep 8000
tcp 0 0 127.0.0.1:8000 0.0.0.0:* LISTEN

'서버관리' 카테고리의 다른 글

free명령어  (0) 2021.09.02
iptables 설정  (0) 2017.03.16
Oracle VM VirtualBox에 Oracle Linux 설치  (0) 2016.12.31
Oracle VM VirtualBox 구성  (0) 2016.12.30
Oracle VM VirtualBox 설치  (0) 2016.12.30