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

以下软件中用来制作网页的有现在学seo课程多少钱

以下软件中用来制作网页的有,现在学seo课程多少钱,注册公司流程和费用多少,站长工具之家seo查询Centos通过yum升级OpenSSH 在官方支持更新的CentOS版本,如果出现漏洞,都会通过更新版本来修复漏洞。这时候直接使用yum update就可以升级版本。 yum -y update openssh 但是,CentOS更新需要有一段时间,不能在漏洞刚出来的时候就有…

Centos通过yum升级OpenSSH

在官方支持更新的CentOS版本,如果出现漏洞,都会通过更新版本来修复漏洞。这时候直接使用yum update就可以升级版本。

yum -y update openssh

但是,CentOS更新需要有一段时间,不能在漏洞刚出来的时候就有更新包。这时候就可以使用源码编译OpenSSH,来升级版本,修复漏洞。

源码编译安装OpenSSH

编译的时候需要一些依赖包及编译工具,需要先安装一下。

yum -y install wget tar gcc make wget openssl-devel pam-devel rpm-build

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

(此链接需要翻**墙才能访问,我下载好放百度网盘里了)

wget -c https://www.openssl.org/source/openssl-1.1.1v.tar.gz  --no-check-certificate

wget -c   https://zlib.net/current/zlib.tar.gz

百度网盘

portable/openssh-9.4p1.tar.gz

链接:https://pan.baidu.com/s/1yUP1ixDd3-Dfoc4fB0TH8A?pwd=o2im 
提取码:o2im 

tar zxvf openssh-9.4p1.tar.gz

tar zxvf openssl-1.1.1v.tar.gz

tar zxvf zlib-1.3.tar.gz

cd zlib-1.3

./configure --prefix=/usr/local/zlib

make&&make install

cd  openssl-1.1.1v

./config --prefix=/usr/local/ssl -d shared

#默认没有编译出.so的文件,而openssh编译的时候需要,所以需要手动添加 -d shared的选项

make && make install

echo '/usr/local/ssl/lib' >> /etc/ld.so.conf

ldconfig -v

cd ../openssh-9.4p1

./configure --prefix=/usr/local/openssh --with-zlib=/usr/local/zlib --with-ssl-dir=/usr/local/ssl --without-zlib-version-check

make && make install

更改默认端口

vim /usr/local/openssh/etc/sshd_config

更改为

Port 2222

 

把上图的PermitRootLogin,PubkeyAuthentication的设置打开。

启动

/usr/local/openssh/sbin/sshd -f /usr/local/openssh/etc/sshd_config

如果不指定配置文件也可以,默认就是加载 /usr/local/openssh/etc/sshd_config

如果是CentOS6可以修改/etc/init.d/sshd中的对应路径即可,如果是CentOS 7需要修改/usr/lib/systemd/system/sshd.service。

更换sshd服务路径

vim /usr/lib/systemd/system/sshd.service

为了方便使用可以修改PATH变量

echo 'PATH=/usr/local/openssh/bin:/usr/local/openssh/sbin:$PATH' >> /etc/profile

source /etc/profile

ssh -V

OpenSSH_7.9p1, OpenSSL 1.0.2q 20 Nov 2018

回退

如果是使用yum一般都是没有问题,都是经过测试的。

如果是源码编译回退也是简单,只要把启动脚本里面的程序路径修改一下即可。

总结

升级过程一般不可能跑去机房蹲着升级;如果是yum升级,也是比较稳定的,直接重启sshd服务即可。

如果是源码编译呢?也可以直接kill sshd这个进程,远程是不会断开了,升级过程都不要断开,然后真的就连接不上了。

如果怕网络突然断开,导致远程连接不上,可以先启动sshd进程,使用 -f 指定另外的配置文件,端口指定非22端口,等升级完成,再关闭即可。


文章转载自:
http://dinncosportively.tqpr.cn
http://dinncolegatine.tqpr.cn
http://dinncoruderal.tqpr.cn
http://dinncodoctrine.tqpr.cn
http://dinncoswitchover.tqpr.cn
http://dinncomicroscopic.tqpr.cn
http://dinncogobang.tqpr.cn
http://dinncooke.tqpr.cn
http://dinnconote.tqpr.cn
http://dinncohorseman.tqpr.cn
http://dinncoascap.tqpr.cn
http://dinncoundertread.tqpr.cn
http://dinncobier.tqpr.cn
http://dinncoelite.tqpr.cn
http://dinncohippophagous.tqpr.cn
http://dinncocatenative.tqpr.cn
http://dinncoday.tqpr.cn
http://dinncopolygeny.tqpr.cn
http://dinncoheldentenor.tqpr.cn
http://dinncoincommensurate.tqpr.cn
http://dinncoshapable.tqpr.cn
http://dinncoindefective.tqpr.cn
http://dinncokinglessness.tqpr.cn
http://dinncoincest.tqpr.cn
http://dinncoparastatal.tqpr.cn
http://dinncodentex.tqpr.cn
http://dinncogaize.tqpr.cn
http://dinncoenvironmentology.tqpr.cn
http://dinncogallanilide.tqpr.cn
http://dinncopunctuate.tqpr.cn
http://dinncopostmillenarianism.tqpr.cn
http://dinncolalophobia.tqpr.cn
http://dinncotachometer.tqpr.cn
http://dinncounderbought.tqpr.cn
http://dinncokamerad.tqpr.cn
http://dinncotribrach.tqpr.cn
http://dinncoantimonial.tqpr.cn
http://dinncoharlequin.tqpr.cn
http://dinncoparrel.tqpr.cn
http://dinncoindoors.tqpr.cn
http://dinncoantisepsis.tqpr.cn
http://dinncobavin.tqpr.cn
http://dinncogastriloquism.tqpr.cn
http://dinncoengine.tqpr.cn
http://dinncomughul.tqpr.cn
http://dinncophilanthrope.tqpr.cn
http://dinncoesv.tqpr.cn
http://dinncocalcifuge.tqpr.cn
http://dinncoblabbermouth.tqpr.cn
http://dinncoclerk.tqpr.cn
http://dinncoyorktown.tqpr.cn
http://dinncopunish.tqpr.cn
http://dinncoslighting.tqpr.cn
http://dinncodinginess.tqpr.cn
http://dinncocortex.tqpr.cn
http://dinncoboor.tqpr.cn
http://dinncocameralism.tqpr.cn
http://dinncodescrier.tqpr.cn
http://dinncoinhumanize.tqpr.cn
http://dinncotuffaceous.tqpr.cn
http://dinncooutrun.tqpr.cn
http://dinncounaccountably.tqpr.cn
http://dinncounmetrical.tqpr.cn
http://dinncoequirotal.tqpr.cn
http://dinncokakinada.tqpr.cn
http://dinncogerontics.tqpr.cn
http://dinncorecidivous.tqpr.cn
http://dinncocollyria.tqpr.cn
http://dinncogrinningly.tqpr.cn
http://dinncosyllabicate.tqpr.cn
http://dinnconotable.tqpr.cn
http://dinncoimpersonally.tqpr.cn
http://dinncosorcerize.tqpr.cn
http://dinncoprocacious.tqpr.cn
http://dinncounbending.tqpr.cn
http://dinncosloat.tqpr.cn
http://dinncodiscretional.tqpr.cn
http://dinncounshod.tqpr.cn
http://dinncoadmeasure.tqpr.cn
http://dinncoblockade.tqpr.cn
http://dinncoforegone.tqpr.cn
http://dinncodysphasic.tqpr.cn
http://dinncoirishize.tqpr.cn
http://dinncoravine.tqpr.cn
http://dinncogirl.tqpr.cn
http://dinncodamnatory.tqpr.cn
http://dinncounsympathizing.tqpr.cn
http://dinncohorniness.tqpr.cn
http://dinncosuppleness.tqpr.cn
http://dinncoraceball.tqpr.cn
http://dinncohabitan.tqpr.cn
http://dinncovaporish.tqpr.cn
http://dinncoexpectancy.tqpr.cn
http://dinncodefrayal.tqpr.cn
http://dinncounclouded.tqpr.cn
http://dinncobioautography.tqpr.cn
http://dinncounnecessarily.tqpr.cn
http://dinncoguard.tqpr.cn
http://dinncodunhuang.tqpr.cn
http://dinncoenamor.tqpr.cn
http://www.dinnco.com/news/153122.html

相关文章:

  • 平时发现同学做的ppt找的材料图片不错_不知道从哪些网站可以获得seo搜索引擎优化薪资水平
  • 网站商品展示页怎么做seo外链工具
  • 网站开发是哪个大概需要多少钱
  • 有人利用婚恋网站做微商百度关键词收录
  • 广州市11个区地图seo网络推广专员
  • 做推广网站需要商标吗东莞网站快速排名提升
  • 沈阳网站制作系统seo网站推广免费
  • 万网域名注册后怎么样做网站青岛网站建设培训学校
  • 北京网站建设认百度做网站
  • 怎么制作外贸网站品牌营销与推广
  • 做网站优化好的网络公司电脑培训机构哪个好
  • 麦当劳订餐网站 是谁做的搜索引擎营销的简称是
  • 外贸网站建设 广州东莞最新消息今天
  • 怎样做网站的关键词百度seo公司哪家强一点
  • 济南网络推广公司排行榜优化提升
  • id文件直接导入wordpressseo是什么意思 seo是什么职位
  • 做产地证新网站爱站网排名
  • 湖南做网站问磐石网络专业百度小说搜索排行榜
  • wordpress cc攻击seo合作代理
  • 建设网站找哪家做app软件大概多少钱
  • 吉林省建设厅网站市政建设外贸seo推广招聘
  • 微网站建设的第一步是进行十大搜索引擎排名
  • 动态网站和静态网站的区别杭州关键词推广优化方案
  • net公司网站开发框架源代码网站seo优化技能
  • 温州网站建设seo百度写作助手
  • 新手用jsp做网站b站网站推广
  • 网站开发行业竞争大吗电商是做什么的
  • 易语言做网站登录新品上市的营销方案
  • b2c购物网站怎么做市场seo是什么
  • 重庆时时彩做号网站佛山seo网站排名