RHEL6(CentOS6)中使用源码包编译生成RPM的基本方法:升级OpenSSH
RHEL6(CentOS6)中使用源码包编译生成RPM的基本方法:升级OpenSSH篇
具体过程请见代码~
# cp openssh-7.1p1.tar.gz /root/rpmbuild/SOURCES/
# cp x11-ssh-askpass-1.2.4.1.tar.gz /root/rpmbuild/SOURCES/
# cp openssh-7.1p1/contrib/RedHat/openssh.spec /root/rpmbuild/SPECS/
# rpmbuild -bb /root/rpmbuild/SPECS/openssh.spec
针对包错利用yum找到相应的包,安装上
# yum provides */missfiles.h
# yum install missingpackage.rpm
之后坐等编译成功
# cd /root/rpmbuild/RPMS/
# rpm -Uvh openssh*
# service sshd restart
# openssh -V
更多OpenSSH相关内容可以查看以下的有用链接:
OpenSSL 的详细介绍:请点这里
OpenSSL 的下载地址:请点这里
相关推荐
airfish000 2020-09-11
LiHansiyuan 2020-06-07
xiangqiao 2020-05-17
hulao 2020-05-10
returnspace 2020-03-06
colin00 2020-02-03
caspertian 2020-01-02
iammrziran 2013-04-14
mlcml 2019-12-26
Macan生活点滴 2013-08-12
ConquerALL 2013-09-13
heyw 2015-04-15
风吹草动 2019-11-10
iammrziran 2015-07-08