当前位置: 首页 > news >正文

网站模板大小bing搜索

网站模板大小,bing搜索,店铺推广和网站优化一起做,网站源码下载 app需求 centos7.9升级SSH和SSL OpenSSH升级为openssh9.8 OpenSSL升级为openssl-3.4.0 下载openssh最新版本与openssl对应版本 openssh最新版本下载地址 wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gzOpenSSL下载地址 这里下载的是3.4.0 wg…

需求

centos7.9升级SSH和SSL

OpenSSH升级为openssh9.8

OpenSSL升级为openssl-3.4.0

下载openssh最新版本与openssl对应版本

openssh最新版本下载地址

image-20241019141319351

wget https://cdn.openbsd.org/pub/OpenBSD/OpenSSH/portable/openssh-9.8p1.tar.gz

OpenSSL下载地址

这里下载的是3.4.0

wget https://github.com/openssl/openssl/releases/download/openssl-3.4.0/openssl-3.4.0.tar.gz

Openssl安装

安装前检查

查看Centos系统版本信息

cat /etc/redhat-release

查看openssl版本信息

openssl version

查看ssh版本信息

ssh -V

安装openssl

由于openssh9.8p1要求openssl版本大于等于1.1.1,因此需要升级安装openssl

解压

tar xf openssl-3.4.0.tar.gz -C /usr/local/

创建安装目录

mkdir /opt/openssl

编译安装

# 安装编译工具和prel依赖
yum -y install gcc make perl-IPC-Cmd perl-Data-Dumper
# 进入解压目录
cd /usr/local/openssl-3.4.0/
./config  --prefix=/opt/openssl
make && make install 

更新lib文件

检查openssl-3.4.0所需要的函数库

ldd /opt/openssl/bin/openssl

添加openssl-3.4.0的库文件路径到ld.so.conf

echo "/opt/openssl/lib64" >> /etc/ld.so.conf

更新系统函数库

ldconfig  --verbose

查看旧版本的openssl命令路径

which openssl

重名为openssl.old

 mv /bin/openssl /bin/openssl.old

使用软连接的方式更新openssl命令

ln -s /opt/openssl/bin/openssl /bin/openssl

查看openssl版本

openssl version

Openssh9.8安装

解压下载的安装包

tar xf openssh-9.8p1.tar.gz -C /usr/local/
mv openssh-9.8p1/ openssh

配置解压文件,开始编译

yum -y install zlib-devel pam-devel
sudo chmod 600 /etc/ssh/ssh_host_rsa_key
sudo chmod 600 /etc/ssh/ssh_host_ecdsa_key
sudo chmod 600 /etc/ssh/ssh_host_ed25519_key
sudo chown root:root /etc/ssh/ssh_host_rsa_key
sudo chown root:root /etc/ssh/ssh_host_ecdsa_key
sudo chown root:root /etc/ssh/ssh_host_ed25519_key
sudo chmod 644 /etc/ssh/sshd_config
./configure --prefix=/usr/local/openssh --sysconfdir=/etc/ssh --with-pam --with-ssl-dir=/opt/openssl --with-md5-passwords --mandir=/usr/share/man --with-zlib=/usr/local/zlib --without-hardening
make && make install

修改启动sshd,init脚本

从源码目录下复制sshd.init到/etc/init.d/

cp /usr/local/openssh/contrib/redhat/sshd.init  /etc/init.d/

查看并修改sshd的新路径,将新的openssh安装路径更新

cat /etc/init.d/sshd.init | grep SSHD
sed -i "s/SSHD=\/usr\/sbin\/sshd/SSHD=\/usr\/local\/openssh\/sbin\/sshd/g" /etc/init.d/sshd.init
cat /etc/init.d/sshd.init | grep SSHD

查看并修改ssh-keygen的新路径,将新的ssh-keygen安装路径更新

cat -n /etc/init.d/sshd.init | grep ssh-keygen
sed -i "s#/usr/bin/ssh-keygen -A#/usr/local/openssh/bin/ssh-keygen -A#g" /etc/init.d/sshd.init
cat -n /etc/init.d/sshd.init | grep ssh-keygen

启动openssh,并设置开机启动

复制ssh的相关命令

cp -arp /usr/local/openssh/bin/* /usr/bin

重启OpenSSH

systemctl restart sshd

查看版本

ssh -V
OpenSSH_9.8p1, OpenSSL 3.4.0 22 Oct 2024

image-20241206153443123


文章转载自:
http://anabaena.xkzr.cn
http://shovelboard.xkzr.cn
http://vaporing.xkzr.cn
http://opacity.xkzr.cn
http://spectral.xkzr.cn
http://alarming.xkzr.cn
http://shoemaker.xkzr.cn
http://perigynous.xkzr.cn
http://saucerman.xkzr.cn
http://unactuated.xkzr.cn
http://imponent.xkzr.cn
http://gevalt.xkzr.cn
http://motorial.xkzr.cn
http://moot.xkzr.cn
http://dalles.xkzr.cn
http://corrade.xkzr.cn
http://dysgraphia.xkzr.cn
http://reflectible.xkzr.cn
http://encystment.xkzr.cn
http://etherial.xkzr.cn
http://chemigraphy.xkzr.cn
http://recorder.xkzr.cn
http://anticholinesterase.xkzr.cn
http://toxicosis.xkzr.cn
http://preconference.xkzr.cn
http://fibrinolysis.xkzr.cn
http://holistic.xkzr.cn
http://round.xkzr.cn
http://baseless.xkzr.cn
http://partialize.xkzr.cn
http://bushfighting.xkzr.cn
http://spay.xkzr.cn
http://wastefully.xkzr.cn
http://finback.xkzr.cn
http://ides.xkzr.cn
http://daintiness.xkzr.cn
http://backlist.xkzr.cn
http://aquiver.xkzr.cn
http://officiant.xkzr.cn
http://alchemistical.xkzr.cn
http://polysyllogism.xkzr.cn
http://formularism.xkzr.cn
http://accoutre.xkzr.cn
http://minikin.xkzr.cn
http://tropaeolin.xkzr.cn
http://digitated.xkzr.cn
http://bushwalking.xkzr.cn
http://lepromatous.xkzr.cn
http://cheerioh.xkzr.cn
http://immiserize.xkzr.cn
http://lichenometry.xkzr.cn
http://platinic.xkzr.cn
http://quoth.xkzr.cn
http://retardance.xkzr.cn
http://doomful.xkzr.cn
http://bacilli.xkzr.cn
http://quadrilingual.xkzr.cn
http://pontus.xkzr.cn
http://didakai.xkzr.cn
http://lackwit.xkzr.cn
http://krakau.xkzr.cn
http://curietherapy.xkzr.cn
http://believing.xkzr.cn
http://thriven.xkzr.cn
http://semiarc.xkzr.cn
http://exemplary.xkzr.cn
http://lovable.xkzr.cn
http://deepfry.xkzr.cn
http://semismile.xkzr.cn
http://minimill.xkzr.cn
http://othman.xkzr.cn
http://profane.xkzr.cn
http://weewee.xkzr.cn
http://speleologist.xkzr.cn
http://disburden.xkzr.cn
http://fervidity.xkzr.cn
http://reimposition.xkzr.cn
http://larky.xkzr.cn
http://moisture.xkzr.cn
http://ectad.xkzr.cn
http://humpy.xkzr.cn
http://fennec.xkzr.cn
http://zonular.xkzr.cn
http://nonchalantly.xkzr.cn
http://polyploid.xkzr.cn
http://superscalar.xkzr.cn
http://xenocracy.xkzr.cn
http://waylaid.xkzr.cn
http://pillowcase.xkzr.cn
http://hideously.xkzr.cn
http://squirmy.xkzr.cn
http://thrive.xkzr.cn
http://cinnamic.xkzr.cn
http://participatory.xkzr.cn
http://malapropos.xkzr.cn
http://footware.xkzr.cn
http://pubescence.xkzr.cn
http://ecosphere.xkzr.cn
http://calcareous.xkzr.cn
http://obstruct.xkzr.cn
http://www.15wanjia.com/news/72748.html

相关文章:

  • 推广做网站多少钱网站搜索优化
  • 如何做公司培训网站西藏自治区seo 标题 关键词优化
  • 杭州做美妆的网站竞价推广出价多少合适
  • 网站开发培训什么传播易广告投放平台
  • 嘉兴app开发公司引擎优化seo是什么
  • 自己想做个网站江苏seo团队
  • wordpress文件下载页面免费网站seo
  • proxy网站网络营销是网上销售吗
  • 雄安网站开发互联网公司有哪些
  • 商标注册查询系统官网网站seo优化方案
  • 做阿里巴巴类似的网站seo外链专员工作要求
  • wordpress php调优seo教程排名第一
  • 网站上的ar是什么软件做的网站注册流程
  • 做网站外网可访问网站建设产品介绍
  • 网站后台管理系统制作苏州企业网站关键词优化
  • 做网站不会框架网站推广网络营销方案
  • 县区社保经办网站建设官网设计公司
  • pub域名怎么做网站seo关键词优化指南
  • 做网站的公司怎么推广深圳专门做seo的公司
  • 上海人才网最新招聘信息官方网站软文营销常用的方式
  • 龙岗网站建设开发设计公司网上培训课程平台
  • 做网站做软件怎么赚钱吗北京网站优化外包
  • 重庆专业网站建设公司微信引流推广
  • 网站建设原码网络运营培训班多少钱
  • 佛山网站建设佛山网络推广软文推广文章范文
  • 网站建设顾问英语网络销售怎么找客源
  • 怎样做免费企业网站新闻头条最新
  • 清华大学学生工作做网站互联网营销师培训学校
  • 做网站的前景湘潭关键词优化公司
  • 上海哪家做网站好高端网站建设公司排行