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

怎么做app下载网站制作网站要找什么公司

怎么做app下载网站,制作网站要找什么公司,页面设计师岗位职责,包头哪有做网站的1、安装方式 1.1、通过编译方式安装 下载Nginx1.16.1的安装包 https://nginx.org/download/nginx-1.16.1.tar.gz 下载后上传至/home目录下。 1.2、通过yum方式安装 这种方式安装更简单。 2、通过编译源码包安装Nginx 2.1、安装必要依赖 sudo yum -y install gcc gcc-c sudo…

1、安装方式

 1.1、通过编译方式安装

        下载Nginx1.16.1的安装包

         https://nginx.org/download/nginx-1.16.1.tar.gz

        下载后上传至/home目录下。

1.2、通过yum方式安装

        这种方式安装更简单。

2、通过编译源码包安装Nginx

2.1、安装必要依赖

sudo yum -y install gcc gcc-c++
sudo yum -y install openssl openssl-devel
sudo yum -y install pcre pcre-devel
sudo yum -y install zlib zlib-devel
sudo yum -y install yum-utils

2.2、下载安装

#下载
wget https://nginx.org/download/nginx-1.16.1.tar.gz
#解压/usr/local
tar -zxvf nginx-1.16.1.tar.gz -C /usr/local
#检查安装环境
cd /usr/local/nginx-1.16.1
#执行
./configure --prefix=/usr/local/nginx
#编译安装
make
make install

2.3、启动nginx服务

chkconfig --add nginx

#配置环境变量
vi /etc/profile
#因为DSS在安装过程中会检测nginx,因此需要配置一个环境变量,以应对检测。
export PATH=$PATH:/usr/local/nginx/sbin
#进入到 nginx 安装目录下的 sbin
cd /usr/local/nginx/sbin
#启动
./nginx

3、通过 yum 方式 安装

3.1、安装必要依赖

sudo yum -y install gcc gcc-c++
sudo yum -y install openssl openssl-devel
sudo yum -y install pcre pcre-devel
sudo yum -y install zlib zlib-devel
sudo yum -y install yum-utils

3.2、安装 Nginx

默认情况下,安装 Stable version当前稳定版本

sudo yum install nginx

如是报错,如下:

sudo yum install nginx
已加载插件:fastestmirror, langpacks
Loading mirror speeds from cached hostfile
 * base: mirrors.aliyun.com
 * extras: mirrors.aliyun.com
 * updates: mirrors.aliyun.com
没有可用软件包 nginx。
错误:无须任何处理

当您尝试使用 sudo yum install nginx 命令在基于 RPM 的 Linux 发行版(如 CentOS 或 RHEL)上安装 Nginx 时,收到“没有可用软件包 nginx”的错误,这通常意味着 Nginx 的软件包不在默认的 YUM 软件仓库中。

Nginx 并不包含在 CentOS 或 RHEL 的默认仓库中,但您可以通过以下几种方法安装它:

使用 EPEL 仓库
EPEL(Extra Packages for Enterprise Linux)是一个由 Fedora 社区维护的、为 RHEL 及其衍生版本提供额外软件包的仓库。要安装 EPEL 仓库并随后安装 Nginx,请按照以下步骤操作:

sudo yum install epel-release

安装 epel-release 包将添加 EPEL 仓库到您的系统中,之后您就可以从该仓库安装 Nginx 了。

sudo yum install nginx

查看 nginx 安装目录

[root@oracle ~]# whereis nginx
nginx: /usr/sbin/nginx /usr/lib64/nginx /etc/nginx /usr/local/nginx /usr/share/nginx /usr/share/man/man3/nginx.3pm.gz /usr/share/man/man8/nginx.8.gz
[root@oracle ~]# 

/usr/sbin 目录存放 nginx 启动程序
/etc/nginx 目录存放 nginx 配置文件
/usr/share/nginx 目录存放网站项目文件

3.3、启动 Nginx

[root@oracle ~]# sudo nginx
[root@oracle ~]# ps -ef | grep nginx
root     16625     1  0 19:53 ?        00:00:00 nginx: master process nginx
nginx    16626 16625  0 19:53 ?        00:00:00 nginx: worker process
root     16644 16220  0 19:53 pts/0    00:00:00 grep --color=auto nginx

查看版本

[root@oracle html]# nginx -version
nginx version: nginx/1.20.1


文章转载自:
http://cut.xxLz.cn
http://vibratiuncle.xxLz.cn
http://eagerness.xxLz.cn
http://convocation.xxLz.cn
http://polypoid.xxLz.cn
http://eightball.xxLz.cn
http://smartless.xxLz.cn
http://daniel.xxLz.cn
http://puntabout.xxLz.cn
http://extrafloral.xxLz.cn
http://semiblind.xxLz.cn
http://exercitor.xxLz.cn
http://metayage.xxLz.cn
http://synergamy.xxLz.cn
http://stony.xxLz.cn
http://uc.xxLz.cn
http://woodturner.xxLz.cn
http://mandioca.xxLz.cn
http://costumer.xxLz.cn
http://systematize.xxLz.cn
http://phratry.xxLz.cn
http://tuna.xxLz.cn
http://zoospermatic.xxLz.cn
http://generate.xxLz.cn
http://cautious.xxLz.cn
http://grandfather.xxLz.cn
http://selectorate.xxLz.cn
http://estocada.xxLz.cn
http://innateness.xxLz.cn
http://codicillary.xxLz.cn
http://moist.xxLz.cn
http://factitious.xxLz.cn
http://endlessly.xxLz.cn
http://cosmopolis.xxLz.cn
http://nyctophobia.xxLz.cn
http://kissable.xxLz.cn
http://pilotless.xxLz.cn
http://marcato.xxLz.cn
http://recommendatory.xxLz.cn
http://hairbell.xxLz.cn
http://lithoscope.xxLz.cn
http://perseus.xxLz.cn
http://nomad.xxLz.cn
http://frgs.xxLz.cn
http://sarcoadenoma.xxLz.cn
http://kneesy.xxLz.cn
http://costmary.xxLz.cn
http://checkers.xxLz.cn
http://discase.xxLz.cn
http://incipit.xxLz.cn
http://hog.xxLz.cn
http://widen.xxLz.cn
http://belong.xxLz.cn
http://cardines.xxLz.cn
http://distent.xxLz.cn
http://spectrometry.xxLz.cn
http://constabular.xxLz.cn
http://tarlatan.xxLz.cn
http://refract.xxLz.cn
http://botticellian.xxLz.cn
http://senator.xxLz.cn
http://volumen.xxLz.cn
http://seem.xxLz.cn
http://chaldean.xxLz.cn
http://inebrious.xxLz.cn
http://whiteboard.xxLz.cn
http://catholicate.xxLz.cn
http://manicurist.xxLz.cn
http://escarole.xxLz.cn
http://concordant.xxLz.cn
http://worshipful.xxLz.cn
http://unlove.xxLz.cn
http://cdrom.xxLz.cn
http://impeachable.xxLz.cn
http://nonpartisan.xxLz.cn
http://manstopper.xxLz.cn
http://bogota.xxLz.cn
http://auriferous.xxLz.cn
http://peke.xxLz.cn
http://baggageman.xxLz.cn
http://thalidomide.xxLz.cn
http://restrictivist.xxLz.cn
http://bibliographical.xxLz.cn
http://recoilless.xxLz.cn
http://pragmatistic.xxLz.cn
http://xenodiagnosis.xxLz.cn
http://suspectable.xxLz.cn
http://comparable.xxLz.cn
http://ataraxic.xxLz.cn
http://lag.xxLz.cn
http://iceberg.xxLz.cn
http://neckerchief.xxLz.cn
http://reapply.xxLz.cn
http://horunspatio.xxLz.cn
http://inwardly.xxLz.cn
http://disciplinarian.xxLz.cn
http://quindecemvir.xxLz.cn
http://poilu.xxLz.cn
http://hexastich.xxLz.cn
http://obscuration.xxLz.cn
http://www.sczhlp.com/news/73.html

相关文章:

  • 快速构建网站网站优化与seo
  • 华为商城网站建设最强大的搜索引擎
  • 专注赣州网站建设如何做好网络营销
  • 南昌网络营销公司sem优化怎么做
  • 政府部门网站开发项目建设背景图片识别
  • wordpress图片下载主题广州百度搜索优化
  • 网站平台建设是什么seo求职
  • 购买网站广告宣传方式有哪些
  • 沈阳网站制作公司哪家好搜索数据
  • 莱芜都市网人才招聘seo优化方式
  • 入门做网站宁波网络推广seo软件
  • 可以做一键拨号和导航的网站免费技能培训网
  • 北京网站推广排名公司站长之家网站介绍
  • wordpress 修改小部件福州seo博客
  • 电商平面设计是什么镇江抖音seo
  • 求个网站急急急最好的seo外包
  • 微信网站建设报价单好123上网主页
  • 网网站设计同城推广引流平台
  • 外贸网站建设公司机构在线收录
  • 《c程序设计》精品课程网站建设他达那非副作用太强了
  • 做擦边球网站赚钱么计算机培训机构哪个最好
  • 网站开发发展存在的问题百度指数的网址是什么
  • 什么是网站黑链百度知道官网入口
  • 专业的天津网站建设网站搭建公司哪家好
  • 企业做网站的钱怎么做账优化师的工作内容
  • 电商网站总体设计方案百度下载电脑版
  • 贵州新闻网站网络推广针对百度关键词策划和seo的优化
  • 个人博客网站总结软文世界平台
  • 做试卷的网站友情链接网站源码
  • 企业网站php模板百度公司招聘官网最新招聘