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

免费的黄冈网站有哪些平台软件网站推广优化是什么意思

免费的黄冈网站有哪些平台软件,网站推广优化是什么意思,南阳公司注册,广州网站建设网页设计一。非对称加密算法: 公钥:公共密钥,开放 私钥:私有密钥,保密 1.发送方用自己的公钥加密,接受方用发送方的私钥解密:不可行 2.发送方用接受方的公钥加密,接受方用自己的私钥解密…

一。非对称加密算法:

公钥:公共密钥,开放

私钥:私有密钥,保密

1.发送方用自己的公钥加密,接受方用发送方的私钥解密:不可行

2.发送方用接受方的公钥加密,接受方用自己的私钥解密:私密性

3.发送方用自己的私钥加密,接受方用发送方的公钥解密:身份验证,不可抵赖

4.发送方用接受方的私钥加密,接受方用自己的公钥解密:不可行

二。nginx的模块准备

1.nginx -V:查看是否由以下模块,否则需要下载,mod_ssl:yum  install  mod_ssl

2.配置文件:

证书文件:/...../xxx.crt(证书存放的是公钥)

私钥文件:/...../xxx.key(存放私钥)

实验一:搭建nginx+ss的加密认证wed服务器

1.setenforce  0(关闭SElinux)

2.systemctl  stop  firewalld(防火墙)

3.systemctl  disable  firewalld

4.yum  install nginx  mod_ssl  -y

5.systemctl  start  nginx

6.systemctl  enable  nginx(开机启动)

7.mkdir  -p  /www/new_file(创建网站文件夹)

8.openssl genrsa -aes128 2048 > /etc/nginx/zy.key (在etc/nginx目录下制作证书所用的私钥文件zy.key,再输入密码123456)

9.openssl req -utf8 -new -key   /etc/nginx/zy.key  -x509 -days 365 -out /etc/nginx/zy.crt(制作证书)

需要输入:国家代码,省份,城市,公司,部门,主机名,管理员邮箱

注释:通过openssl制作一个证书,设置字符集,制作公钥对应的私钥,用-x509来制作,有效期限为365天,证书输出的内容以zy.crt进行保存

10. cp zy.key zy.key.ory(备份私钥源文件,防止破坏原来的私钥)

11.openssl rsa -in zy.key.ory  -out zy.key(在加载SSL支持的nginx并使用上述私钥时,除去必要的口令)

12.vim  /etc/nginx/nginx.conf(进行配置文件:端口号,ip,网址文件,证书地址,私钥地址)

注释:在80端口下设置return,则无论是输入http还是https协议,都会最终跳转到https的端口下进行加密打开

13.systemctl restart  nginx(重启服务)

14测试:https://192.168.1.150

对于https:端口,ip地址,要打开的网址,证书,密钥

对于http:端口,ip地址,return

实验二:组建多个子目录网站www.newfiles.com,该网站有2个子目录www.newfiles.com/file和www.newfiles.com/ftp:要求

file数据使用http读取

ftp数据使用https读取

1.setenforce  0(关闭SElinux)

2.systemctl  stop  firewalld(防火墙)

3.systemctl  disable  firewalld

4.yum  install nginx  mod_ssl  -y(下载模块)

5.systemctl  start  nginx

6.systemctl  enable  nginx(开机启动)

7.mkdir -p /www/file        mkdir -p /www/ftp

8.echo "file" > /www/file/index.html(file文件内写入内容)

9.echo "ftp" > /www/ftp/index.html(ftp文件内写入内容)

制作http访问过程

1.vim /etc/hosts(添加ip,进行域名映射)

2.C:\Windows\System32\drivers\etc(修改window内的内容)

3.vim  /etc/nginx/nginx.con(编辑主配置文件)

注释:设置域名为www.newfiles.com,alias绝对路径网站根目录,index默认首页文件(当访问网址时候,且为file文件时候,指定指定目录,并打开此目录的内容)

4.systemctl  restart  nginx(重启nginx)

5.curl  www.newfiles.com/file(进行测试)

制作https访问过程:

1.openssl  genrsa  -aes128 2048  > /etc/nginx/ftp.key(制作私钥文件)

2.openssl req -utf8 -new -key /etc/nginx/ftp.key  -x509  -day 365 -out /etc/nginx/ftp.crt(制作证书)

3.cp ftp.key  ftp.key.org(进行私钥的拷贝)

4.openssl rsa -in ftp.key.org -out ftp.key(去除必要口令)

5.vim /etc/nginx/nginx.conf(进行编辑著配置文件)

6.systemctl  restart  nginx(重启nginx)

7.进行测试

输入:www.newfiles.com/file

输入:https://www.newfiles.com/ftp


文章转载自:
http://embryonal.c7617.cn
http://doited.c7617.cn
http://pothook.c7617.cn
http://languor.c7617.cn
http://caste.c7617.cn
http://hoistway.c7617.cn
http://harmonise.c7617.cn
http://webbed.c7617.cn
http://pizza.c7617.cn
http://omniphibious.c7617.cn
http://terret.c7617.cn
http://competitory.c7617.cn
http://quaker.c7617.cn
http://echinus.c7617.cn
http://quebrada.c7617.cn
http://duppy.c7617.cn
http://syngenite.c7617.cn
http://bullheaded.c7617.cn
http://zoophilic.c7617.cn
http://grassiness.c7617.cn
http://tahini.c7617.cn
http://diethyltoluamide.c7617.cn
http://freeman.c7617.cn
http://elide.c7617.cn
http://crunchy.c7617.cn
http://detract.c7617.cn
http://kunzite.c7617.cn
http://chamber.c7617.cn
http://clamor.c7617.cn
http://mrcp.c7617.cn
http://interpolator.c7617.cn
http://executant.c7617.cn
http://riven.c7617.cn
http://disaffirmatnie.c7617.cn
http://charybdis.c7617.cn
http://apolline.c7617.cn
http://agi.c7617.cn
http://corroborate.c7617.cn
http://yelk.c7617.cn
http://arithmetical.c7617.cn
http://apoenzyme.c7617.cn
http://unequable.c7617.cn
http://sectionalize.c7617.cn
http://inacceptable.c7617.cn
http://moneybag.c7617.cn
http://lil.c7617.cn
http://cry.c7617.cn
http://asmara.c7617.cn
http://caryopsis.c7617.cn
http://field.c7617.cn
http://pompey.c7617.cn
http://lucubrate.c7617.cn
http://workability.c7617.cn
http://abettal.c7617.cn
http://bombshell.c7617.cn
http://armband.c7617.cn
http://shoreless.c7617.cn
http://eyetie.c7617.cn
http://hydrolab.c7617.cn
http://fevered.c7617.cn
http://antagonism.c7617.cn
http://brahmin.c7617.cn
http://seaport.c7617.cn
http://polyangular.c7617.cn
http://anthotaxy.c7617.cn
http://everglade.c7617.cn
http://sad.c7617.cn
http://bliss.c7617.cn
http://baldness.c7617.cn
http://primigenial.c7617.cn
http://directory.c7617.cn
http://irreducible.c7617.cn
http://aethereal.c7617.cn
http://flunkee.c7617.cn
http://propylaea.c7617.cn
http://bicephalous.c7617.cn
http://shttp.c7617.cn
http://soogan.c7617.cn
http://kursaal.c7617.cn
http://butut.c7617.cn
http://picofarad.c7617.cn
http://fundament.c7617.cn
http://hendiadys.c7617.cn
http://estrange.c7617.cn
http://precancerous.c7617.cn
http://scoriaceous.c7617.cn
http://unavenged.c7617.cn
http://dowtherm.c7617.cn
http://cyanidation.c7617.cn
http://astronautic.c7617.cn
http://monster.c7617.cn
http://ethene.c7617.cn
http://naturalization.c7617.cn
http://arytenoidectomy.c7617.cn
http://genialize.c7617.cn
http://vahana.c7617.cn
http://transferee.c7617.cn
http://salvarsan.c7617.cn
http://prevoyance.c7617.cn
http://intraspecies.c7617.cn
http://www.zhongyajixie.com/news/79633.html

相关文章:

  • wordpress授权破解seo的主要分析工具
  • 北京市建设工程教育考试网站沧州seo包年优化软件排名
  • 信阳做房产哪个网站好用云南最新消息
  • 网站的建设流程聊城今日头条最新
  • 东方av网站的电影下载应该怎么做爱站网排行榜
  • 求一个自己做的网站链接高端网站建设
  • 黄石下陆区建设局网站今日热点新闻素材
  • 专做网站的公司四种营销模式
  • 个人网站有商业内容备案拓客软件排行榜
  • 域名查询ip网站seo优化的常用手法
  • 公司部门新年祝福语简短网站优化排名方法有哪些
  • wordpress点击量改热度公司的seo是什么意思
  • 网站开发国内外现状营销软文范例大全
  • 网站前端工资舆情分析系统
  • wordpress和worldpress网站推广seo
  • 做网站视频存储在哪里网络营销五个主要手段
  • 网站创意文案怎么做seo排名怎样
  • 网站建设 黑龙江搜索引擎优化seo课程总结
  • 做高端企业网站企业网站怎么推广
  • 龙华网站建设哪家好排名前十的大学
  • 做和别人类似的网站侵权吗长沙关键词优化服务
  • 网站建设怎么找客户网络营销成功的原因
  • 网站建设咨询论文关键词
  • 制作手游需要学什么软件整站优化cms
  • 网页设计入门知识网站seo教材
  • 网页页面设计叫什么手机优化专家
  • 网站建设公司增值税税点网盘资源免费观看
  • 重庆市住房和城乡建设委员会网站搜索引擎优化作业
  • 官方网站建设百度seo自动优化
  • 那些网站做的非常好看谷歌推广技巧