会为tomcat创建一个临时文件目录,如: /tmp/tomcat.2233614112516545210.8080,做为tomcat的basedir。里面会放tomcat的临时文件,比如work目录。 还会初始化Tomcat的一些Servlet,比如比较重要的default/jsp servlet ...
分类:
编程语言 时间:
2021-06-21 20:11:28
阅读次数:
0
Linux 平台安装 Nginx 1.20 该博客中使?的系统为 CentOS 7 Linux 发?版 系统版本详情: Linux centos7-shanghai 3.10.0-1160.25.1.el7.x86_64 #1 SMP Wed Apr 28 21:49:45 UTC 2021 x86 ...
分类:
系统相关 时间:
2021-06-21 19:54:00
阅读次数:
0
首先检查Nginx是否启动成功 [root@web1 extra]# ps aux|grep nginx (一切正常)root 3269 0.0 0.1 46764 1464 ? Ss 09:34 0:00 nginx: master process nginx -c /application/ng ...
分类:
其他好文 时间:
2021-06-20 18:09:23
阅读次数:
0
创建 Nginx 容器 docker run --name nginx-demo -p 8080:80 -d nginx 参数说明: --name nginx-demo:容器名称 -p 8080:80: 端口进行映射,将本地 8080 端口映射到容器内部的 80 端口 -d nginx: 设置容器在 ...
分类:
其他好文 时间:
2021-06-20 17:51:22
阅读次数:
0
nginx 命令和信号 nginx命令 nginx 命令支持向其发送信号,实现不同功能 nginx 格式 nginx [-?hvVtTq] [-s signal] [-c filename] [-p prefix] [-g directives] 选项说明 帮助: -? -h 使用指定的配置文件: ...
分类:
Web程序 时间:
2021-06-20 17:47:57
阅读次数:
0
一,apt方式安装php 说明:用apt方式安装适用于本地开发环境,如果是线上生产环境,建议下载软件后编译安装 root@lhdpc:~# apt-get install php 查看结果: root@lhdpc:~# php -v PHP 7.4.16 (cli) (built: Mar 23 2 ...
分类:
数据库 时间:
2021-06-20 17:46:30
阅读次数:
0
原理模型 准备工作 查看是否安装成功 查看 keepalived配置文件 查看keepalived.conf配置文件 //查看服务器网卡 检测脚本配置 ...
分类:
其他好文 时间:
2021-06-19 19:23:54
阅读次数:
0
1.在/etc/init.d/创建你的脚本 cd /etc/init.d/ sudo vim add_static_route_to_34_52.sh 2.在脚本中按如下模板填写 注意### BEGIN INIT INFO和### END INIT INFO之间的都要写,后面有机会研究下为什么。 后 ...
分类:
系统相关 时间:
2021-06-19 18:41:17
阅读次数:
0
使用hyperf的时候发现它监听9501端口,然后这样需要ip+port方式去访问,但是这样对用户而言有点不太友好,如果我们还有域名,可以做一个反向代理避免端口直接写出来。 找了找网上别人写的例子,感觉都太不细致了,还是自己写一个吧。 例子如下: 1.查找 sudo apt search apach ...
分类:
系统相关 时间:
2021-06-18 19:59:48
阅读次数:
0
描述 使用Ubuntu 20.04自带的Intelligent Pinyin输入很难受,错字连篇,急需常用词汇!!! 解决 开启输入法Preference启用Dictionary后重启输入法 候选词推荐精度显著提升! ...
分类:
系统相关 时间:
2021-06-18 18:57:43
阅读次数:
0