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

网站估值怎么做网站制作多少钱资讯

网站估值怎么做,网站制作多少钱资讯,长扬科技北京有限公司,wordpress 后台移除新闻HTTPS服务器部署:Nginx部署1. 准备工作2. Nginx服务器YUM部署2.1 直接安装2.2 验证3. Nginx服务器源码部署3.1 下载源码包3.2 部署过程4. Nginx基本操作4.1 nginx常用命令行4.2 nginx重要目录1. 准备工作 1. Linux版本 [rootlocalhost ~]# cat /proc/version Li…

HTTPS服务器部署:Nginx部署

  • 1. 准备工作
  • 2. Nginx服务器YUM部署
    • 2.1 直接安装
    • 2.2 验证
  • 3. Nginx服务器源码部署
    • 3.1 下载源码包
    • 3.2 部署过程
  • 4. Nginx基本操作
    • 4.1 nginx常用命令行
    • 4.2 nginx重要目录

1. 准备工作

1. Linux版本

[root@localhost ~]# cat /proc/version  
Linux version 3.10.0-327.el7.x86_64 (builder@kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015
[root@localhost ~]# 
[root@localhost ~]# cat /etc/redhat-release   查看系统版本
CentOS Linux release 7.2.1511 (Core) 
[root@localhost ~]# 
[root@localhost ~]# uname -a   
Linux localhost.localdomain 3.10.0-327.el7.x86_64 #1 SMP Thu Nov 19 22:10:57 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux
[root@localhost ~]# 

2. 关闭linux防火墙

[root@localhost ~]# systemctl stop firewalld
[root@localhost ~]# systemctl disable firewalld

systemctl stop firewalld    关闭防火墙
systemctl start firewalld    开启防火墙
systemctl disable firewalld  禁止防火墙开机启动
systemctl enable firewalld   启动防火墙开机启动

4. 安装依赖包
[root@localhost ~]# yum -y install gcc pcre pcre-devel zlib zlib-devel openssl openssl-devel

2. Nginx服务器YUM部署

2.1 直接安装

[root@localhost ~]# yum install epel-release
[root@localhost ~]# yum install nginx
[root@localhost ~]# systemctl start nginx

2.2 验证

1. 修改默认页面

[root@localhost local]# cd /usr/share/nginx/html
[root@localhost html]# mv index.html index.html.bak
[root@localhost html]# echo "this is the nginx web server" > index.html

2. 重启服务

[root@localhost html]# systemctl restart nginx

3. 测试
在这里插入图片描述

3. Nginx服务器源码部署

3.1 下载源码包

[root@localhost ~]# wget http://nginx.org/download/nginx-1.20.1.tar.gz

3.2 部署过程

1. 解压

[root@localhost ~]# tar -xvf nginx-1.20.1.tar.gz

2. 设置支持https

[root@localhost ~]# cd nginx-1.20.1/
[root@localhost nginx-1.20.1]# ./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_ssl_module

3. 源码安装

[root@localhost nginx-1.20.1]# make
[root@localhost nginx-1.20.1]# make install

4. 启用服务

[root@localhost nginx-1.20.1]# cd /usr/local/nginx/sbin/
[root@localhost sbin]# ./nginx

5. 验证
在这里插入图片描述
6. 设置HTTPS

[root@localhost conf]# vim /usr/local/nginx/conf/nginx.conf # http{ server{…}} 配置格式
在这里插入图片描述
关于证书生成请参数文章【待完成】
6. 测试
[root@localhost nginx]# /usr/local/nginx/sbin/nginx -s reload #重新加密nginx服务
在这里插入图片描述

4. Nginx基本操作

4.1 nginx常用命令行

[root@localhost ~]# /usr/local/nginx/sbin/nginx # 启用nginx服务
[root@localhost ~]# /usr/local/nginx/sbin/nginx -s stop # 强制停止nginx服务
[root@localhost ~]# /usr/local/nginx/sbin/nginx -s quit # 停止nginx服务,等待最生一次交互执行完成后停止
[root@localhost ~]# /usr/local/nginx/sbin/nginx -s reload # 重新加载nginx服务
[root@localhost ~]# /usr/local/nginx/sbin/nginx -V # 查看nginx详细版本
[root@localhost ~]# /usr/local/nginx/sbin/nginx -v # 查看nginx版本
[root@localhost ~]# /usr/local/nginx/sbin/nginx -t # 查看配置的正确性

4.2 nginx重要目录

/usr/local/nginx/html/index.html # web页面存在位置

/usr/local/nginx/conf/nginx.conf # nginx主配置文件 #http{ server{…}}格式
HTTPS Server配置举例

http://www.yayakq.cn/news/923301/

相关文章:

  • 杭州网站建设索q.479185700百度权重是怎么来的
  • 网站规划与网站建设网站建设有哪种方式
  • p2p网站建设时间上海电子门户网站建设数据
  • 圣矢网络重庆网站建设优化推广公司c 写网站建设框架
  • 网上服装定制网站wordpress特效 插件推荐
  • 郑州做网站哪家专业网站如何做品牌宣传
  • 网站建设云南才力电子商务网站建设的参考文献
  • 做快消品的网站网页怎么认证
  • 黄南北京网站建设合肥seo快排扣费
  • 公司网站打不开是什么原因无极电影网怒火重案
  • 青岛建设集团招工信息网站鹤岗建设局网站
  • 向google提交网站企业建设电子商务网站的目的
  • 专业制作网站哪家好天津免费网站建站模板
  • 邵阳整站优化维护公司网站建设
  • 怎么用支付宝做发卡网站国外什么网站是做外贸
  • 家庭网站建设上海频道网站建设
  • wordpress怎么开启多站点外贸网站怎么注册
  • wordpress显示文章列表qq关键词排名优化
  • 自建网站访问报错有关做详情页的参考网站
  • aaa云主机怎么做网站建设银行网站怎么交学费
  • 网站 开发 合同宁津网站设计
  • 网站设计与网站建设课程代码网站流量如何提高
  • 成都建设局官方网站做游戏模板下载网站
  • 余姚网站如何进行优化那个网站做淘宝推广比较好
  • 广州哪里有网站建设搜索引擎网站的搜素结果有何区别
  • 开发app应用公司排名深圳企业网站seo
  • 做网站的目标是什么免费海报图片大全
  • 长白山网站学做管理平台广州互联网项目工作室
  • 什么是网站域名?网站开发求职信
  • 成华区统一建设办公室网站网站兼容性怎么解决