In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-30 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Network Security >
Share
Shulou(Shulou.com)06/01 Report--
#! / bin/bash
# for security of os
For ip in `cat ip.txt`
Do
Echo-e "\ 033 [31m#$ip #\ 033 [0m"
Scpopenssl-0.9.8za.tar.gz $ip:/tmp/
Ssh$ip-C "tar-xzvf / tmp/openssl-0.9.8za.tar.gz-C / tmp/ & & cd/tmp/openssl-0.9.8za &. / config shared no-zlib & & make&& make install" > / dev/null
Ssh$ip-C "mv / usr/bin/openssl / usr/bin/openssl.OFF; mv / usr/include/openssl/usr/include/openssl.OFF; ln-s / usr/local/ssl/bin/openssl / usr/bin/openssl; ln-s / usr/local/ssl/include/openssl / usr/include/openssl; echo\" / usr/local/ssl/lib\ "> / etc/ld.so.conf; ldconfig-v" > > / dev/null
OpensslVersion= `ssh $ip-C "openssl version-a" | awk NR==1' {print $2}'`
If [${OpensslVersion} = '0.9.8za']
Then
Echo-e "\ 033 [31m [success stories!] $ip the version of openssl is $OpensslVersion\ 033 [0m"
Echo "[success stories!] $ip the version of openssl is $OpensslVersion" > > openssl.log
Else
Echo-e "\ 033 [31m [fail!] $ip the version of openssl is$OpensslVersion\ 033 [0m"
Echo "[FAILE!!] $ip the version of openssl is also $OpensslVersion" > > openssl.log
Fi
Done
Finish this document very late, although the work is very intense every day, I am willing to make progress with you. Hehe, make progress every day.
Follow-up introduction of other modules, if there are any problems, please do not stingy point out, improve together. Welcome everyone and your technology enthusiasts to join our qq Group 262407268 to build our "Yunluo Wisdom City".
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.