sshd 설정 변겨 후 재시작이 필요할때

.sshd 

sshd re-exec requires execution with an absolute path 

검색 하면 나오는 openssh 버전 문제가 아니라

절대 경로 모두를 입력하여 실행이 필요

 

ex)

./usr/local/sbin/sshd 

혹은

.usr/loca/sbin/sshd

 

'server > linux' 카테고리의 다른 글

[linux] Linux rpm, yum 이란  (0) 2021.03.30
[linux] Centos7, RHEL7 ifconfig, netstat 없을때  (0) 2021.03.30

Linux RPM, YUM

 

rpm 과 yum 의 차이점

 

 

 

RPM ( Redhat Package Manager )

- Redhat linux 에서만 쓸수 있었던 패키지 인스톨
설치 : rpm -Uvh [패키지파일(*.rpm)]

삭제 : rpm -e [패키지이름]

설치된 패키지 확인 : rpm -qa [패키지이름]
설치 안된 패키지 확인 : rpm -qlp [패키지파일(*.rpm)]

 

YUM ( Yellodog Updater Modified)

- rpm 명령의 패키지 의존성 문제 해결
- 인터넷을 통해서 필요한 파일을 자동으로 모두 다운로드 해서 설치하는 방식

설치 : yum install [패키지이름]
yum install [패키지이름] -y // -y는 항상 yes 옵션

RPM파일 설치 : yum install [패키지파일(*.rpm)]
삭제 : yum remove [패키지이름]

패키지 그룹 설치 : yum groupinstall [패키지 그룹 이름]
패키지 리스트 확인 : yum list [패키지이름]
특정 파일이 속한 패키지 이름 확인 : yum provides [파일이름]

yum 설정파일 위치
/etc/yum.conf(파일) : 특별히 변경할 필요 없음
/etc/yum.reps.d/(directory) : yum

 

 

'server > linux' 카테고리의 다른 글

[linux] ssh 실행 오류  (0) 2021.12.01
[linux] Centos7, RHEL7 ifconfig, netstat 없을때  (0) 2021.03.30

CentOS 7, REHL 7 minimal installation 진행시

netstat, ifconfig 명령어 없음

 

yum 으로 net-tools package 설치

 

yum install net-tools

 

[root@test]# yum install net-tools
Loaded plugins: fastestmirror
Determining fastest mirrors
* base: mirror.kakao.com
* extras: mirror.kakao.com
* updates: mirror.kakao.com
base | 3.6 kB 00:00:00
extras | 2.9 kB 00:00:00
updates | 2.9 kB 00:00:00
(1/3): extras/7/x86_64/primary_db | 227 kB 00:00:00
(2/3): base/7/x86_64/primary_db | 6.1 MB 00:00:00
(3/3): updates/7/x86_64/primary_db | 6.5 MB 00:00:01
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: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!

yum install net-tools -y

-y : 무조건 yes 옵션

 

 

'server > linux' 카테고리의 다른 글

[linux] ssh 실행 오류  (0) 2021.12.01
[linux] Linux rpm, yum 이란  (0) 2021.03.30

+ Recent posts