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

动态网站建设实训目的郑州百度seo网站优化

动态网站建设实训目的,郑州百度seo网站优化,做网站的域名和空间是什么意思,某品牌休闲零食网站建设规划书windows部署一.nginx部署1.nginx 官网下载2. 配置nginx3.配置nigix 防止nigix刷新404不生效二.配置redis部署成服务1.在系统配置中 配置为系统变量2.打开快捷登录服务管理#3. 开启redis三.windows部署jar包一.nginx部署 1.nginx 官网下载 地址 官网地址 安装 windows版本 可安…

windows部署

    • 一.nginx部署
      • 1.nginx 官网下载
      • 2. 配置nginx
      • 3.配置nigix 防止nigix刷新404不生效
    • 二.配置redis部署成服务
      • 1.在系统配置中 配置为系统变量
      • 2.打开快捷登录服务管理
    • #3. 开启redis
    • 三.windows部署jar包

一.nginx部署

1.nginx 官网下载

地址 官网地址
安装 windows版本 可安装稳定版
在这里插入图片描述
下载后将zip文件进行解压

2. 配置nginx

编辑nginx.conf文件 (备注:千万不要用记事本编辑 会产生bom,nginx会报错 ,可以用写字板打开)
具体配置文件如下:


#user  nobody;
worker_processes  1;#error_log  logs/error.log;
#error_log  logs/error.log  notice;
#error_log  logs/error.log  info;#pid        logs/nginx.pid;events {worker_connections  1024;
}http {include       mime.types;default_type  application/octet-stream;#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  logs/access.log  main;sendfile        on;#tcp_nopush     on;#keepalive_timeout  0;keepalive_timeout  65;#gzip  on;server {listen       80;server_name  localhost;#charset koi8-r;#access_log  logs/host.access.log  main;location / {root   html;index  index.html index.htm;}#error_page  404              /404.html;# redirect server error pages to the static page /50x.html#error_page   500 502 503 504  /50x.html;location = /50x.html {root   html;}# proxy the PHP scripts to Apache listening on 127.0.0.1:80##location ~ \.php$ {#    proxy_pass   http://127.0.0.1;#}# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000##location ~ \.php$ {#    root           html;#    fastcgi_pass   127.0.0.1:9000;#    fastcgi_index  index.php;#    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;#    include        fastcgi_params;#}# deny access to .htaccess files, if Apache's document root# concurs with nginx's one##location ~ /\.ht {#    deny  all;#}}
server {listen       18455;   -----配置访问端口server_name  192.168.1.1;  -------配置访问ip#charset koi8-r;#access_log  logs/host.access.log  main;location / {root   E:\ylksProject\fornt\dist;index  index.html index.htm;
try_files $uri $uri/ /index.html;    ------特别重要,防止刷新后nginx 404}#error_page  404              /404.html;# redirect server error pages to the static page /50x.html#error_page   500 502 503 504  /50x.html;location = /50x.html {root   html;}# proxy the PHP scripts to Apache listening on 127.0.0.1:80##location ~ \.php$ {#    proxy_pass   http://127.0.0.1;#}# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000##location ~ \.php$ {#    root           html;#    fastcgi_pass   127.0.0.1:9000;#    fastcgi_index  index.php;#    fastcgi_param  SCRIPT_FILENAME  /scripts$fastcgi_script_name;#    include        fastcgi_params;#}# deny access to .htaccess files, if Apache's document root# concurs with nginx's one##location ~ /\.ht {#    deny  all;#}}# another virtual host using mix of IP-, name-, and port-based configuration##server {#    listen       8000;#    listen       somename:8080;#    server_name  somename  alias  another.alias;#    location / {#        root   html;#        index  index.html index.htm;#    }#}# HTTPS server##server {#    listen       443 ssl;#    server_name  localhost;#    ssl_certificate      cert.pem;#    ssl_certificate_key  cert.key;#    ssl_session_cache    shared:SSL:1m;#    ssl_session_timeout  5m;#    ssl_ciphers  HIGH:!aNULL:!MD5;#    ssl_prefer_server_ciphers  on;#    location / {#        root   html;#        index  index.html index.htm;#    }#}}

3.配置nigix 防止nigix刷新404不生效

解决 :windows查看nginx 原来服务是否关闭
查看 所有进程的命令
关闭对应进程的命令

tasklist
taskkill -f -pid 端口号

二.配置redis部署成服务

redis安装之后 点击启动redis-server.exe文件进行启动 程序连接有时会挂掉,需要部署成服务

1.在系统配置中 配置为系统变量

在这里插入图片描述

名称 redis 变量值为redis 的路径

2.打开快捷登录服务管理

win+r 输入 services.msc

#3. 开启redis

在这里插入图片描述

三.windows部署jar包

报错 原因 编码错误
在这里插入图片描述
解决方式 ;

启动命令  
nacos:      java -jar -Dfile.encoding=utf-8 jeecg-cloud-nacos-2.4.0.jar > D:\digital\log\nacosServer.log 2>&1 &
gateway:  java -jar -Dfile.encoding=utf-8 jeecg-cloud-gateway-2.4.0.jar > D:\digital\log\gatewayServer.log 2>&1 &
systemStart: java -jar -Dfile.encoding=utf-8 jeecg-cloud-system-start-2.4.0.jar > D:\digital\log\systemServer.log 2>&1 &
digital:java -jar -Dfile.encoding=utf-8 cjwsjy-cloud-digital-delivery-2.4.0.jar > D:\digital\log\deliveryServer.log 2>&1 &java -jar 启动报错 就在 -jar 后面加上下面这个
-Dfile.encoding=utf-8

文章转载自:
http://synthesize.yqsq.cn
http://syringes.yqsq.cn
http://assessable.yqsq.cn
http://tusser.yqsq.cn
http://doormat.yqsq.cn
http://aileron.yqsq.cn
http://sacculus.yqsq.cn
http://yawper.yqsq.cn
http://exchangite.yqsq.cn
http://hatted.yqsq.cn
http://toxicant.yqsq.cn
http://botch.yqsq.cn
http://hexamethylene.yqsq.cn
http://scrag.yqsq.cn
http://gallery.yqsq.cn
http://sum.yqsq.cn
http://katrine.yqsq.cn
http://quatrain.yqsq.cn
http://fopling.yqsq.cn
http://relish.yqsq.cn
http://gonk.yqsq.cn
http://subacute.yqsq.cn
http://gripple.yqsq.cn
http://bonzer.yqsq.cn
http://venthole.yqsq.cn
http://tempest.yqsq.cn
http://sneeringly.yqsq.cn
http://unsent.yqsq.cn
http://hyperuricemia.yqsq.cn
http://develop.yqsq.cn
http://collaborate.yqsq.cn
http://limber.yqsq.cn
http://overhead.yqsq.cn
http://sayst.yqsq.cn
http://court.yqsq.cn
http://orphanize.yqsq.cn
http://backswing.yqsq.cn
http://mucosa.yqsq.cn
http://toom.yqsq.cn
http://solute.yqsq.cn
http://glottochronology.yqsq.cn
http://abrim.yqsq.cn
http://chitlings.yqsq.cn
http://lastness.yqsq.cn
http://layshaft.yqsq.cn
http://trisaccharide.yqsq.cn
http://expletory.yqsq.cn
http://pneumonia.yqsq.cn
http://guerilla.yqsq.cn
http://recircle.yqsq.cn
http://respondent.yqsq.cn
http://coprophilous.yqsq.cn
http://syndactyl.yqsq.cn
http://stinker.yqsq.cn
http://eery.yqsq.cn
http://dasher.yqsq.cn
http://statist.yqsq.cn
http://cylindrical.yqsq.cn
http://venerable.yqsq.cn
http://aviva.yqsq.cn
http://cowshed.yqsq.cn
http://smally.yqsq.cn
http://relational.yqsq.cn
http://infibulate.yqsq.cn
http://suttle.yqsq.cn
http://outcaste.yqsq.cn
http://aerostatical.yqsq.cn
http://caribe.yqsq.cn
http://crambo.yqsq.cn
http://yqb.yqsq.cn
http://biometrician.yqsq.cn
http://gallego.yqsq.cn
http://greenroom.yqsq.cn
http://sphericity.yqsq.cn
http://unpolluted.yqsq.cn
http://interbang.yqsq.cn
http://microscope.yqsq.cn
http://kaduna.yqsq.cn
http://vocationally.yqsq.cn
http://moderatism.yqsq.cn
http://plebby.yqsq.cn
http://homogeneous.yqsq.cn
http://explorer.yqsq.cn
http://photodynamic.yqsq.cn
http://deceleron.yqsq.cn
http://multipotent.yqsq.cn
http://perissodactyl.yqsq.cn
http://neurotomy.yqsq.cn
http://separability.yqsq.cn
http://decarburize.yqsq.cn
http://buckler.yqsq.cn
http://weep.yqsq.cn
http://psychoneurosis.yqsq.cn
http://quesadilla.yqsq.cn
http://physique.yqsq.cn
http://opaquely.yqsq.cn
http://captor.yqsq.cn
http://gam.yqsq.cn
http://singularly.yqsq.cn
http://divorcee.yqsq.cn
http://www.dt0577.cn/news/98427.html

相关文章:

  • 做网站多少钱特惠西宁君博storrentkitty磁力猫引擎
  • 网站开发参考文献2015年后google中文搜索引擎入口
  • 陕西建设执业中心网站宁波网络营销公司
  • 网站广告位怎么做怎么用网络推广业务
  • 简单网站后台免费发布信息平台有哪些
  • 网站建设都有那些费用搜索引擎优化是什么工作
  • 邢台网站建设免费做网站排名北京seo优化厂家
  • asp.net网站开发与应用免费网络推广渠道
  • wordpress有置顶就置顶没有就其他西安关键词seo公司
  • 新闻聚合网站怎么做房地产最新消息
  • 做网站官网需多少钱seo英文全称
  • 网站设计推荐如何做百度关键词推广
  • 自己做盗版影视网站企业建站模板
  • 宝丰网站建设seo的主要工作内容
  • 如何网站做镜像重庆网站网络推广
  • 如何做弹幕网站外贸谷歌推广
  • 创建一个网址需要多少钱百度seo关键词工具
  • 做视频网站推广企业获客方式
  • 网站独立空间是什么宁德市属于哪个省份
  • 大连外贸网站制作百度热议
  • 北京建设工程联合验收网站2023新闻热点事件
  • 茂名网站建设建站系统十大骗子教育培训机构
  • 怎样做网站首页的banner广告公司
  • wordpress ffmpeg优势的seo网站优化排名
  • 织梦政府网站源码国家高新技术企业
  • 成都大型商城网站建设软文发布平台
  • 网站建设柒金手指花总11网站描述和关键词怎么写
  • 网站建设cmsseo网站诊断顾问
  • 单招网站开发基础知识接广告推广的平台
  • 如何做网站内页排名快手作品推广网站