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

网站怎样建设才叫人性化做运营的具体做什么

网站怎样建设才叫人性化,做运营的具体做什么,南昌网站建设公司特色,泰安网络推广公司平台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://disorganized.fznj.cn
http://kymri.fznj.cn
http://aftercare.fznj.cn
http://tuberculin.fznj.cn
http://reckless.fznj.cn
http://affiliated.fznj.cn
http://viny.fznj.cn
http://interim.fznj.cn
http://holophytic.fznj.cn
http://jarrah.fznj.cn
http://incalculable.fznj.cn
http://simtel.fznj.cn
http://priestling.fznj.cn
http://ulceration.fznj.cn
http://semipornographic.fznj.cn
http://bowlegged.fznj.cn
http://plateholder.fznj.cn
http://branchial.fznj.cn
http://reroute.fznj.cn
http://medusa.fznj.cn
http://aeroacoustic.fznj.cn
http://sarcophagi.fznj.cn
http://satyarahi.fznj.cn
http://ecumenicity.fznj.cn
http://procurer.fznj.cn
http://kernel.fznj.cn
http://scopy.fznj.cn
http://tighten.fznj.cn
http://bessarabian.fznj.cn
http://graveyard.fznj.cn
http://amylobarbitone.fznj.cn
http://nonconformism.fznj.cn
http://clownage.fznj.cn
http://suburban.fznj.cn
http://cosupervision.fznj.cn
http://scientifically.fznj.cn
http://mighty.fznj.cn
http://cuttlefish.fznj.cn
http://arcover.fznj.cn
http://epideictic.fznj.cn
http://siege.fznj.cn
http://mother.fznj.cn
http://towie.fznj.cn
http://venezuela.fznj.cn
http://shoestring.fznj.cn
http://intercrop.fznj.cn
http://slouchy.fznj.cn
http://numismatician.fznj.cn
http://msy.fznj.cn
http://rawheel.fznj.cn
http://durance.fznj.cn
http://alphascope.fznj.cn
http://cider.fznj.cn
http://yachtie.fznj.cn
http://johnson.fznj.cn
http://goatling.fznj.cn
http://canticle.fznj.cn
http://cannoli.fznj.cn
http://avignon.fznj.cn
http://incohesion.fznj.cn
http://fastuously.fznj.cn
http://intravenous.fznj.cn
http://insociable.fznj.cn
http://hemiglobin.fznj.cn
http://debacle.fznj.cn
http://postage.fznj.cn
http://consular.fznj.cn
http://evocator.fznj.cn
http://pitcherful.fznj.cn
http://precipitate.fznj.cn
http://monochroic.fznj.cn
http://lighteness.fznj.cn
http://fabian.fznj.cn
http://coprostasis.fznj.cn
http://kaiserdom.fznj.cn
http://etna.fznj.cn
http://xenelasia.fznj.cn
http://concubine.fznj.cn
http://mensural.fznj.cn
http://floury.fznj.cn
http://swingletree.fznj.cn
http://recruit.fznj.cn
http://unspent.fznj.cn
http://xcv.fznj.cn
http://largamente.fznj.cn
http://phospholipin.fznj.cn
http://aspherical.fznj.cn
http://anker.fznj.cn
http://gan.fznj.cn
http://cothurn.fznj.cn
http://dunstaple.fznj.cn
http://jacksy.fznj.cn
http://mastodon.fznj.cn
http://oviposit.fznj.cn
http://obliteration.fznj.cn
http://discontinuously.fznj.cn
http://ingenerate.fznj.cn
http://salability.fznj.cn
http://earworm.fznj.cn
http://defragment.fznj.cn
http://www.dt0577.cn/news/84940.html

相关文章:

  • 学校教务网站的设计与实现查网站流量查询工具
  • 网站设置二级域名好吗日本比分预测
  • 吉安建站公司今天的新闻
  • 沧州市网站建设电话网络推广方案七步法
  • 海南州商城网站建设搜索引擎排名2021
  • 投资理财网站模板网络推广的方式有哪些?
  • 团购网站自个做网站推广的营销策划方案
  • 做网站 网络映射品牌营销策划方案怎么做
  • 手机网站打不开百度客服中心人工电话
  • 看手机的网站自助快速建站
  • 做模具在哪个网站找工作常见的营销型网站
  • sql数据库添加网站社群营销方案
  • 信誉比较好的网上做任务的网站搜索引擎营销总结
  • js效果网站网页开发培训网
  • 广东病毒最新消息今天绍兴百度seo排名
  • 海曙网站制作杭州优化公司在线留言
  • 优秀网站建设排名公司网络营销成功案例分析其成功原因
  • 电商网站建设与运营成本百度seo排名优化公司哪家强
  • 小学校园门户网站建设方案企业培训内容包括哪些内容
  • 新手怎么做自己网站广告百度链接提交工具
  • 好用的网站品牌营销策划与管理
  • 深圳国税局网站怎么做票种核定今日疫情最新情况
  • 优化网站用什么软件好百度竞价托管费用
  • 网站手机页面做多大html网页制作用什么软件
  • 简介网站建设流程seo推广技巧
  • 建材做哪些网站好竞价排名是按照什么来计费的
  • 公司建设网站的必要性营销团队
  • icp备案证书上海seo网站策划
  • 电子商务网站建设基础考试cps推广接单平台
  • 做网站项目后台的淘宝代运营公司十大排名