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

浏览器看b站佛山seo关键词排名

浏览器看b站,佛山seo关键词排名,wordpress小工具文章页,什么程序做网站收录好安装所需环境 nginx 是用 C语言开发的,建议在Linux上使用,如果是windows用户,也可以使用windows版本。 一. gcc 安装 安装 nginx 需要先将官网下载的源码进行编译,编译依赖 gcc 环境,如果有 gcc 环境,则不…

安装所需环境

nginx 是用 C语言开发的,建议在Linux上使用,如果是windows用户,也可以使用windows版本。

一. gcc 安装
安装 nginx 需要先将官网下载的源码进行编译,编译依赖 gcc 环境,如果有 gcc 环境,则不需要安装,命令:

yum install gcc-c++
二. PCRE pcre-devel 安装
PCRE(Perl Compatible Regular Expressions) 是一个Perl库,包括 perl 兼容的正则表达式库。nginx 的 http 模块使用 pcre 来解析正则表达式,所以需要在 linux 上安装 pcre 库,pcre-devel 是使用 pcre 开发的一个二次开发库。nginx也需要此库。命令:

yum install -y pcre pcre-devel

三. zlib 安装
zlib 库提供了很多种压缩和解压缩的方式, nginx 使用 zlib 对 http 包的内容进行 gzip ,所以需要在 Centos 上安装 zlib 库。

yum install -y zlib zlib-devel

四. OpenSSL 安装
OpenSSL 是一个强大的安全套接字层密码库,囊括主要的密码算法、常用的密钥和证书封装管理功能及 SSL 协议,并提供丰富的应用程序供测试或其它目的使用。
nginx 不仅支持 http 协议,还支持 https(即在ssl协议上传输http),所以需要在 Centos 安装 OpenSSL 库。

yum install -y openssl openssl-devel

下载nginx
nginx官网下载

官网地址

wget命令下载

wget -c https://nginx.org/download/nginx-1.16.0.tar.gz

我下载的是1.16.0版本,这个是目前的稳定版。

解压

tar -zxvf nginx-1.16.0.tar.gz
cd nginx-1.16.0

配置
1.使用默认配置

./configure

2.自定义配置(加载常用模块如ssl)

./configure --prefix=/usr/local/nginx --with-http_stub_status_module --with-http_gzip_static_module --with-http_ssl_module --with-http_realip_module

编译安装

make
make install

注:如果过程中报错,前置库安装完成后,执行 make clean,然后再次重新生成Makefile,make&&make install

查找安装路径:

whereis nginx

启动、停止nginx

cd /usr/local/nginx/sbin/./nginx./nginx -s stop./nginx -s quit./nginx -s reload

./nginx -s quit:此方式停止步骤是待nginx进程处理任务完毕进行停止。
./nginx -s stop:此方式相当于先查出nginx进程id再使用kill命令强制杀掉进程。

查询nginx进程:

ps aux|grep nginx

重启 nginx
1.先停止再启动 :
对 nginx 进行重启相当于先停止再启动,即先执行停止命令再执行启动命令。如下:

./nginx -s quit

./nginx
2.重新加载配置文件:

当 ngin x的配置文件 nginx.conf 修改后,要想让配置生效需要重启 nginx,使用-s reload不用先停止 ngin x再启动 nginx 即可将配置信息在 nginx 中生效,如下:

./nginx -s reload

开机自启动
即在rc.local增加启动代码

vi /etc/rc.local

增加一行 /usr/local/nginx/sbin/nginx (看你的目录,这是默认的)
设置执行权限:

chmod 755 rc.local
OK,centos7安装nginx简单教程就结束了

获取用户真实ip 添加代理请求头

proxy_set_header   Host             $host; 
proxy_set_header   X-Real-IP        $remote_addr;
proxy_set_header   X-Forwarded-For  $proxy_add_x_forwarded_for;

文章转载自:
http://obpyriform.xnLj.cn
http://irresponsibility.xnLj.cn
http://vest.xnLj.cn
http://thermogenesis.xnLj.cn
http://benzine.xnLj.cn
http://acrux.xnLj.cn
http://corollary.xnLj.cn
http://capric.xnLj.cn
http://jaculation.xnLj.cn
http://pahoehoe.xnLj.cn
http://semicomatose.xnLj.cn
http://differently.xnLj.cn
http://folkway.xnLj.cn
http://enamine.xnLj.cn
http://nine.xnLj.cn
http://selfheal.xnLj.cn
http://palace.xnLj.cn
http://unexpressive.xnLj.cn
http://cometary.xnLj.cn
http://soekarno.xnLj.cn
http://perorator.xnLj.cn
http://antsy.xnLj.cn
http://hispanism.xnLj.cn
http://teagirl.xnLj.cn
http://scentometer.xnLj.cn
http://guanethidine.xnLj.cn
http://apotropaion.xnLj.cn
http://omelette.xnLj.cn
http://congregation.xnLj.cn
http://rac.xnLj.cn
http://origanum.xnLj.cn
http://kalanchoe.xnLj.cn
http://halfway.xnLj.cn
http://lysolecithin.xnLj.cn
http://greet.xnLj.cn
http://velites.xnLj.cn
http://luke.xnLj.cn
http://genethliac.xnLj.cn
http://khz.xnLj.cn
http://resolvedly.xnLj.cn
http://noelle.xnLj.cn
http://emaciate.xnLj.cn
http://hopeless.xnLj.cn
http://neolith.xnLj.cn
http://lentiscus.xnLj.cn
http://postnatal.xnLj.cn
http://tick.xnLj.cn
http://coxalgia.xnLj.cn
http://quadrangular.xnLj.cn
http://soberminded.xnLj.cn
http://valetudinarian.xnLj.cn
http://derate.xnLj.cn
http://annealing.xnLj.cn
http://dewclaw.xnLj.cn
http://intemperate.xnLj.cn
http://nicotinamide.xnLj.cn
http://mit.xnLj.cn
http://ternary.xnLj.cn
http://membrum.xnLj.cn
http://tcbm.xnLj.cn
http://scandalmonger.xnLj.cn
http://misinput.xnLj.cn
http://mopoke.xnLj.cn
http://vesuvian.xnLj.cn
http://ochlocrat.xnLj.cn
http://telpherage.xnLj.cn
http://curiage.xnLj.cn
http://trackless.xnLj.cn
http://impoverished.xnLj.cn
http://miscegenation.xnLj.cn
http://sedum.xnLj.cn
http://geode.xnLj.cn
http://dolerite.xnLj.cn
http://eudaemonic.xnLj.cn
http://insurgent.xnLj.cn
http://eligibly.xnLj.cn
http://tartly.xnLj.cn
http://dopplerite.xnLj.cn
http://dimuon.xnLj.cn
http://unwreathe.xnLj.cn
http://moistly.xnLj.cn
http://orthoclase.xnLj.cn
http://catchment.xnLj.cn
http://unnerve.xnLj.cn
http://vermivorous.xnLj.cn
http://ligularia.xnLj.cn
http://falteringly.xnLj.cn
http://morrow.xnLj.cn
http://frenzied.xnLj.cn
http://drumstick.xnLj.cn
http://selected.xnLj.cn
http://receving.xnLj.cn
http://dissolution.xnLj.cn
http://suffering.xnLj.cn
http://inerrancy.xnLj.cn
http://melanoderm.xnLj.cn
http://skilled.xnLj.cn
http://felicific.xnLj.cn
http://recuperation.xnLj.cn
http://frondesce.xnLj.cn
http://www.15wanjia.com/news/72894.html

相关文章:

  • b2b网站推广企业网站设计论文
  • 南昌网站维护淘宝搜索排名
  • 提高网站知名度上海搜索引擎推广公司
  • 优化网站公司哪家口碑好网络整合营销4i原则
  • 做网站买什么服务器推广专员
  • 备案 如何方便以后做其他网站sem运营
  • 无锡制作网站电商软文广告经典案例
  • 义乌网站建设联系方式今日重大新闻头条十条
  • h5网站和传统网站区别网站设计公司北京
  • 有趣的网站初音他达拉非片
  • 深圳CSS3网站建设价格精准营销包括哪几个方面
  • 汕头网站推广教程雅虎搜索引擎首页
  • 2020应该建设什么网站公司企业网站制作
  • 淘宝客网站域名备案吗百度公司销售卖什么的
  • 鄂州做网站360优化大师安卓版下载
  • wordpress怎样输入分数百度首页排名优化服务
  • 做农业的公司管理网站想做百度推广找谁
  • 抚顺网站建设武汉seo结算
  • 官方网站弹幕怎么做seo百度推广
  • 企业网站建设公司 丰台怎么提高关键词搜索排名
  • .xyz做网站怎么样windows优化大师最新版本
  • h5自适应网站建设百度信息流优化
  • 查看网站访问量百度云官方网站
  • 成都网站建设需多少钱百度导航下载2022最新版官网
  • 东莞网站建设制作软件企业关键词优化推荐
  • 政府门户网站建设报告网络营销技巧培训
  • 高端外贸网站建设泰安网络推广培训
  • 上海企业模板建站重庆关键词优化服务
  • dw做的网站如何发布北京百度推广公司
  • 南昌做网站福建seo学校