RedHat Linux >> System Administration for Redhat Linux
|
[목차] |
제6장 RPM 패키지 관리
9. RPM 소스를 이용한 OpenSSH 업그래이드하기
1. SRPMS(RPM 소스) 다운받기 해당 사이트에서 RPM소스를 다운 받는다.
2. RPM 패키지 만들기
[root@ns down]# rpm --rebuild openssh-3.4p1-1.src.rpm
[root@ns down]# cd /usr/src/redhat/RPMS/i386/ [root@ns i386]# ls openssh-3.4p1-1.i386.rpm openssh-clients-3.4p1-1.i386.rpm openssh-askpass-3.4p1-1.i386.rpm openssh-server-3.4p1-1.i386.rpm openssh-askpass-gnome-3.4p1-1.i386.rpm [root@ns i386]#
2. RPM 패키지 설치하기
[root@ns i386]# rpm -Uvh * Preparing... ########################################### [100%] 1:openssh ########################################### [ 20%] 2:openssh-askpass ########################################### [ 40%] 3:openssh-askpass-gnome ########################################### [ 60%] 4:openssh-clients ########################################### [ 80%] warning: /etc/ssh/sshd_config created as /etc/ssh/sshd_config.rpmnew 5:openssh-server ########################################### [100%]
2. 서비스 재시작하기
[root@ns i386]# /etc/rc.d/init.d/sshd restart Stopping sshd: [ OK ] Starting sshd: [ OK ] [root@ns i386]#
|
[목차] |