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

清远市住房和城乡建设管理局门户网站设计素材网站排行

清远市住房和城乡建设管理局门户网站,设计素材网站排行,wordpress 手机lianxu播放,信息流投放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. 配置nginx3.配置nigix 防止nigix刷新404不生效二.配置redis部署成服务1.在系统配置中 配置为系统变量2.打开快捷登录服务管理#3. 开启redis三.windows部署jar包一.nginx部署 1.nginx 官网下载 地址 官网地址 安装 windows版本 可安装稳定版 下载后将zip文件进行解压 2. 配置nginx 编辑nginx.conf文件 备注千万不要用记事本编辑 会产生bomnginx会报错 可以用写字板打开 具体配置文件如下 #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 Apaches document root# concurs with nginxs 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 Apaches document root# concurs with nginxs 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.打开快捷登录服务管理 winr 输入 services.msc #3. 开启redis 三.windows部署jar包 报错 原因 编码错误 解决方式 ; 启动命令 nacos: java -jar -Dfile.encodingutf-8 jeecg-cloud-nacos-2.4.0.jar D:\digital\log\nacosServer.log 21 gateway: java -jar -Dfile.encodingutf-8 jeecg-cloud-gateway-2.4.0.jar D:\digital\log\gatewayServer.log 21 systemStart: java -jar -Dfile.encodingutf-8 jeecg-cloud-system-start-2.4.0.jar D:\digital\log\systemServer.log 21 digitaljava -jar -Dfile.encodingutf-8 cjwsjy-cloud-digital-delivery-2.4.0.jar D:\digital\log\deliveryServer.log 21 java -jar 启动报错 就在 -jar 后面加上下面这个 -Dfile.encodingutf-8
http://www.hkea.cn/news/14503818/

相关文章:

  • 怎样给一个公司做网站改版西安百度框架户
  • 网站维护 年费江门恒阳网站建设
  • 网络推广的方式方法深圳网站seo外包公司哪家好
  • 太原网站优化多少钱网页设计心得体会600字
  • 网站地图在线生成器深圳龙岗区吉华街道邮编
  • 网站都有后台吗wordpress 修订
  • php 网站下载器南宁建设银行官网招聘网站
  • 网站面包屑导航设计即位置导航家装设计费用怎么收费
  • 医院网站html模板模板手机网站建设公司排名
  • 音乐网站设计源码查找企业信息的网站
  • 产品设计师网站创新创业项目计划书ppt
  • 高端网站制作企业客户管理系统
  • 北京燕华工程建设有限公司网站api接口开放平台
  • 网站建设规划书主题电子商务平台方案
  • 米拓做的网站如何改代码网站建设过程中应该注意的事项有
  • 网站优化月总结网站搭建设计合同
  • 宁波网站商城建设wordpress连接微博专业版
  • 织梦微信网站模板阜阳讯拓网站建设公司
  • 如何把网站做权重短视频宣传片制作
  • 深圳网址网站建设公司哈尔滨建设网站公司吗
  • 新乡营销型网站建设百度排行榜风云榜
  • 手机网站页面模板如何网站推广宣传
  • 有做医学手术视频的网站广西金兰工程建设管理有限公司网站
  • 企业网站搜索优化网络推广wordpress type参数
  • 菏泽去哪了做网站网站站点地图
  • 网站开发都需要什么工具app开发 网站建设
  • 淮安品牌网站建设天津网站制作套餐
  • 鲜花店的网站建设wordpress主题添加目录
  • 株洲网站关键词优化恩平国有建设用地使用权拍卖网站
  • 龙岩网站建设馨烨建设银行网站怎么基本转个人