In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
Today, I will talk to you about how to carry out CentOS5.1 remote control upgrade installation ssl configuration compilation, many people may not quite understand, in order to let you know more, the editor summarized the following, I hope you can get something according to this article.
CentOS5.1 remotely upgrade ssh to 5.0p1 because the server is in the computer room, so you cannot delete the ssh and then reinstall it. You can only upgrade the installation.
1. Look at the current version of ssh
Ssh-V is 4.5, * is 5.0p1.
two。 Go to the official download package.
Then. / configure-- prefix=/usr-- with-pam-- with-md5-passwords-- sysconfdir=/etc/ssh found that always Can't find recent OpenSSL libcrypto simply upgraded ssl.
3. Upgrade ssl
Take a look at the next version of openssl version-aOpenSSL 0.9.8b 04 May 2006 download * download zlib-1.2.3.tar.gz and install tar-zxvf zlib-1.2.3.tar.gz cd zlib-1.2.3./configure-- shared don't forget the parameter shared. Make make install
CentOS5.1 remote upgrade installation ssl tar-zxvf openssl-0.9.8h.tar.gz cd openssl-0.9.8h./config shared must take the shared parameter make make test make install so that the ssl is installed in / usr/local/ssl to replace the system's sslfind /-name openssl/usr/bin/openssl (original)
/ usr/lib/openssl (original)
/ usr/local/ssl/bin/openssl (new)
/ usr/local/ssl/include/openssl (new)
Let's start to replace.
Mv / usr/bin/openssl / usr/bin/oldopenssl
Mv / usr/lib/openssl / usr/lib/oldopenssl
Rm-rf / usr/lib/libcrypto.so
Rm-rf / usr/lib/libssl.so
Ln-s / usr/local/ssl/lib/libcrytpo.so.0.9.8 / usr/lib/libcrypto.so
Ln-s / usr/local/ssl/lib/libssl.so.0.9.8 / usr/lib/libssl.so
Ln / usr/local/ssl/bin/openssl / usr/bin/openssl
Cp-r / usr/local/ssl/lib/* / usr/lib/openssl
Echo / usr/local/ssl/lib > > / etc/ld.so.conf
Ldconfig-vopenssl version-aOpenSSL 0.9.8h 28 May 2008
four. CentOS5.1 remote control installation ssh
Tar-zxvf openssh-5.0p1.tar.gz. / configure-- with-ssl-dir=/usr/local/ssl-- with-zlib-- with-pam-- with-md5-passwords configure: error: install rpm-ivh.. / pam-devel-0.99.6.2-3.26.el5.i386.rpm (available on the installation disk) under PAM headers not found. / configure-- with-ssl-dir=/usr/local/ssl-- with-zlib-- with-pam-- with-md5-passwords make make install
Ssh-V OpenSSH_5.0p1, OpenSSL 0.9.8h 28 May 2008
5.CentOS5.1 remote configuration
Vi / usr/local/etc/sshd_config Port 22 Protocol 2 (it is recommended to use only 2meme 1 with security issues)
ListenAddress 0.0.0.0
HostKey / usr/local/etc/ssh_host_key
HostKey / usr/local/etc/ssh_host_rsa_key
HostKey / usr/local/etc/ssh_host_dsa_key
SyslogFacility AUTH
LogLevel INFO PermitRootLogin no (for security reasons, do not log in by root, log in by other users, and then su)
RhostsRASAuthentication no IgnoreRhosts yes UsePrivilegeSeparation yes
After reading the above, do you have any further understanding of how to perform CentOS5.1 remote control upgrade and install ssl configuration compilation? If you want to know more knowledge or related content, please follow the industry information channel, thank you for your support.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.