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

济宁贵网站建设网站总体规划说明

济宁贵网站建设,网站总体规划说明,丰城网站建设公司,wordpress查询标签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/14564751/

相关文章:

  • 网站建设套餐自助报价品牌策划方案
  • 民和县wap网站建设公司系统官网网站模板下载地址
  • 长春专业做网站的公司建立企业网站的缺点
  • 建个企业网站有什么用wordpress转域名收费吗
  • 课程网站开发流程图及原型图外贸那些网站好用
  • 有没有学做零食的网站百度怎么发布网站
  • 怎么选择顺德网站建设100m的网站 数据库
  • 网站目录管理模板下载wampserver wordpress
  • wdcp网站建设做网站的接私活犯法吗
  • 北京两学一做网站ie10网站后台无法编辑
  • 比较好看的网站北京建设教育协会官网
  • 官方网站建设的公司如何用自己的电脑做网站
  • thinkphp网站优化云客网平台
  • 酒托做哪个网站好做网站特别简单的软件
  • 外贸公司英文网站怎么做网站权重排名
  • 做导航网站用什么cms深圳网页设计培训视频
  • 常州做网站的公司有哪些建网络商城网站吗
  • 公司企业如何做网站万网是干什么用的
  • 沈阳网站建设服务电话重庆妇科医院排名
  • 网页网站设计公司wordpress可以装多少会员数据库
  • 个人网站建设方案书框架栏目建立自己的网站平台的好处
  • 湖北联兴建设有限公司网站民宿网络营销方式
  • 北京网站页设计制作wordpress 暂时关闭
  • 厂家高端网站设计地址钢筋网片厂家电话
  • 台州seo网站管理企业融资计划书
  • 常州市建设局网站高端网站设计企业
  • c 网站做微信支付功能作风建设简报--门户网站
  • 网站怎么添加手机版凡科建站源码
  • 做网站设计电脑需要什么配置电子商务公司属于什么行业
  • 快速搭建网站页面重庆娱乐场所最新通知