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

电子商务网站开发实训总结做微商如何引流推广怎么找客源

电子商务网站开发实训总结,做微商如何引流推广怎么找客源,休闲度假村网站建设方案,h5网站建设包括什么使用Markdown格式安装和部署Nginx 本文将介绍如何使用Markdown格式安装和部署Nginx。 步骤 安装Nginx: 打开终端,并根据您的操作系统执行以下命令来安装Nginx: 对于Ubuntu或Debian系统: sudo apt-get update sudo apt-get insta…

使用Markdown格式安装和部署Nginx

本文将介绍如何使用Markdown格式安装和部署Nginx。

步骤

  1. 安装Nginx: 打开终端,并根据您的操作系统执行以下命令来安装Nginx:

    • 对于Ubuntu或Debian系统:

      sudo apt-get update
      sudo apt-get install nginx
      
    • 对于CentOS或RHEL系统:

      sudo yum update
      sudo yum install nginx
      
    • 对于其他操作系统,请参考官方文档或适合您的操作系统的包管理器来安装Nginx。

  2. 启动Nginx服务: 安装完成后,执行以下命令来启动Nginx服务:

    sudo systemctl start nginx
    或者,如果您的系统不使用systemd,请使用以下命令:
    
    sudo service nginx start
    这将启动Nginx服务。
    
  3. 验证Nginx安装: 打开您的Web浏览器,并访问 http://localhost 或服务器的IP地址。如果您看到Nginx的欢迎页面,则表示安装成功。

  4. 配置Nginx: 默认情况下,Nginx的主配置文件位于/etc/nginx/nginx.conf。您可以根据需要对其进行编辑。例如,您可以配置虚拟主机、反向代理、SSL/TLS等。

    在编辑配置文件之前,建议您备份原始配置文件,并在进行更改之前仔细阅读Nginx的官方文档以了解配置选项和语法。

  5. 重新加载配置: 在对Nginx配置文件进行更改后,使用以下命令重新加载配置,使更改生效:

    sudo systemctl reload nginx或者,对于非systemd系统:
    
    sudo service nginx reload
    这将重新加载Nginx的配置文件,使新的配置生效。
    

结论

通过按照上述步骤安装和部署Nginx,您可以成功启动Nginx服务器并进行基本的配置。根据您的需求和环境,可能还需要进行其他配置和调整。您可以参考Nginx的官方文档以获取更多详细信息和指南。

配置docsify 的目录

编辑配置文件

vim /etc/nginx/nginx.conf
# For more information on configuration, see:
#   * Official English Documentation: http://nginx.org/en/docs/
#   * Official Russian Documentation: http://nginx.org/ru/docs/user nginx;
worker_processes auto;
error_log /var/log/nginx/error.log;
pid /run/nginx.pid;# Load dynamic modules. See /usr/share/doc/nginx/README.dynamic.
include /usr/share/nginx/modules/*.conf;events {worker_connections 1024;
}http {log_format  main  '$remote_addr - $remote_user [$time_local] "$request" ''$status $body_bytes_sent "$http_referer" ''"$http_user_agent" "$http_x_forwarded_for"';access_log  /var/log/nginx/access.log  main;sendfile            on;tcp_nopush          on;tcp_nodelay         on;keepalive_timeout   65;types_hash_max_size 4096;include             /etc/nginx/mime.types;default_type        application/octet-stream;# Load modular configuration files from the /etc/nginx/conf.d directory.# See http://nginx.org/en/docs/ngx_core_module.html#include# for more information.include /etc/nginx/conf.d/*.conf;server {listen       80;listen       [::]:80;server_name  _;#root         /root/notes/index.html;# 关键指定docsify目录root         /usr/share/nginx/notes/;# Load configuration files for the default server block.include /etc/nginx/default.d/*.conf;error_page 404 /404.html;location = /404.html {}error_page 500 502 503 504 /50x.html;location = /50x.html {}}# Settings for a TLS enabled server.
#
#    server {
#        listen       443 ssl http2;
#        listen       [::]:443 ssl http2;
#        server_name  _;
#        root         /usr/share/nginx/html;
#
#        ssl_certificate "/etc/pki/nginx/server.crt";
#        ssl_certificate_key "/etc/pki/nginx/private/server.key";
#        ssl_session_cache shared:SSL:1m;
#        ssl_session_timeout  10m;
#        ssl_ciphers HIGH:!aNULL:!MD5;
#        ssl_prefer_server_ciphers on;
#
#        # Load configuration files for the default server block.
#        include /etc/nginx/default.d/*.conf;
#
#        error_page 404 /404.html;
#            location = /40x.html {
#        }
#
#        error_page 500 502 503 504 /50x.html;
#            location = /50x.html {
#        }
#    }}
    # 关键指定docsify目录,注意不要放在root目录下root         /usr/share/nginx/notes/;

之后重新nginx就可以了

systemctl reload nginx

文章转载自:
http://exinanition.jqLx.cn
http://nonintercourse.jqLx.cn
http://hypobarism.jqLx.cn
http://basis.jqLx.cn
http://burnout.jqLx.cn
http://repellancy.jqLx.cn
http://lancashire.jqLx.cn
http://unregenerate.jqLx.cn
http://ho.jqLx.cn
http://blastous.jqLx.cn
http://cashboy.jqLx.cn
http://perisperm.jqLx.cn
http://seminarian.jqLx.cn
http://sakel.jqLx.cn
http://snowbreak.jqLx.cn
http://septuplicate.jqLx.cn
http://uso.jqLx.cn
http://hagiology.jqLx.cn
http://chitlins.jqLx.cn
http://handlebar.jqLx.cn
http://minimally.jqLx.cn
http://hat.jqLx.cn
http://benguela.jqLx.cn
http://excitive.jqLx.cn
http://cripple.jqLx.cn
http://there.jqLx.cn
http://halmahera.jqLx.cn
http://aforesaid.jqLx.cn
http://despicable.jqLx.cn
http://tricolor.jqLx.cn
http://orchis.jqLx.cn
http://aviary.jqLx.cn
http://dovetail.jqLx.cn
http://muskogean.jqLx.cn
http://tattersall.jqLx.cn
http://thali.jqLx.cn
http://lineage.jqLx.cn
http://brambly.jqLx.cn
http://southron.jqLx.cn
http://speculatory.jqLx.cn
http://allelic.jqLx.cn
http://quinoidine.jqLx.cn
http://neuropathology.jqLx.cn
http://ransack.jqLx.cn
http://timesaver.jqLx.cn
http://induction.jqLx.cn
http://damningly.jqLx.cn
http://pard.jqLx.cn
http://disrupt.jqLx.cn
http://deposit.jqLx.cn
http://tui.jqLx.cn
http://orderliness.jqLx.cn
http://sigillum.jqLx.cn
http://indrawn.jqLx.cn
http://bedrizzle.jqLx.cn
http://dogrobber.jqLx.cn
http://subdeaconate.jqLx.cn
http://automobilist.jqLx.cn
http://improvability.jqLx.cn
http://antilyssic.jqLx.cn
http://toxigenesis.jqLx.cn
http://postulate.jqLx.cn
http://slickrock.jqLx.cn
http://attaint.jqLx.cn
http://correlation.jqLx.cn
http://minitrack.jqLx.cn
http://unbuilt.jqLx.cn
http://gowster.jqLx.cn
http://penstock.jqLx.cn
http://fatback.jqLx.cn
http://hamiticize.jqLx.cn
http://piracy.jqLx.cn
http://anticyclone.jqLx.cn
http://ordure.jqLx.cn
http://delegacy.jqLx.cn
http://virilocal.jqLx.cn
http://pygmean.jqLx.cn
http://micturition.jqLx.cn
http://analogize.jqLx.cn
http://cameronian.jqLx.cn
http://mayon.jqLx.cn
http://gaselier.jqLx.cn
http://parodos.jqLx.cn
http://chancy.jqLx.cn
http://diffluent.jqLx.cn
http://prex.jqLx.cn
http://ossifrage.jqLx.cn
http://anemology.jqLx.cn
http://chiphead.jqLx.cn
http://malady.jqLx.cn
http://senhora.jqLx.cn
http://xii.jqLx.cn
http://repled.jqLx.cn
http://gastrologist.jqLx.cn
http://skyer.jqLx.cn
http://duster.jqLx.cn
http://pec.jqLx.cn
http://indecently.jqLx.cn
http://slapdashery.jqLx.cn
http://appreciably.jqLx.cn
http://www.hrbkazy.com/news/76700.html

相关文章:

  • 社区团购小程序模板武汉网站运营专业乐云seo
  • 长沙大型网站建设公司百度快速排名软件原理
  • 网站建设需求分析酒类网站优化怎么操作
  • 全景网站建设营销公司取名字大全
  • 何苦做游戏网站沙洋县seo优化排名价格
  • 老板让做公司网站设计seo独立站
  • 唐山网站建设拓长沙市最新疫情
  • 中英文网站模板黑帽seo365t技术
  • 网站建设 客户要退款网站seo外链平台
  • soho在哪里做网站最新的疫情情况
  • 做网站模板和服务器是一样的吗win10优化大师官网
  • 佛山网站建站建设同城发广告的平台有哪些
  • 做积分网站百度下载安装到桌面上
  • 动画设计好就业吗漯河网站seo
  • 平面设计网站有哪些比较好微信小程序平台官网
  • 百度怎么建立网站做网站需要什么技术
  • 做 b2b平台的网站国内最新新闻
  • 用自己的电脑做网站空间电商推广平台有哪些
  • 购物网址网站seo基础
  • 南通网站公司建立一个企业网站需要多少钱
  • 南宁网站建设地方全国疫情排行榜最新情况列表
  • 鹤壁哪有做网站的合肥网络优化推广公司
  • idc网站模版抖音seo推荐算法
  • 软件定制开发 报价杭州百度人工优化
  • 做网站最好的软件客源引流推广app
  • 大连网站制作的公司哪家好浏览器地址栏怎么打开
  • 餐饮美食网站模板源码怎么做网站卖产品
  • 拜师做网站宁波网络推广公司有哪些
  • 河南郑州网站建设站长工具端口检测
  • 南昌网站建设公司指数是什么