1.创建一个toutiao目录 cd /home mkdir toutiao 2.将项目上传到toutiao目录 项目上传详细见安装的一二步 3.解压项目 unzip web.zip 4.编辑Nginx配置文件cd /home/nginx-1.17.5/conf/nginx.conf (注意:配置刚 ...
分类:
其他好文 时间:
2021-03-15 10:44:43
阅读次数:
0
一、配置 首先修改配置文件 #vi /usr/local/nginx/conf/nginx.conf 在最后一个结束符号}前加一行配置: include vhost/*.conf; 意思就是/usr/local/nginx/conf/host下面的所有以.conf结尾的文件都会被加载 #mkdir ...
分类:
其他好文 时间:
2021-03-10 13:39:10
阅读次数:
0
open_basedir将网站限定在指定的目录,做目录的隔离 先在php.ini中设置open_basedir: # vim /usr/local/php/etc/php.ini //搜索open_basedir,改成如下 open_basedir = /usr/local/apache2.4/do ...
分类:
Web程序 时间:
2021-03-10 13:11:22
阅读次数:
0
jdk1.8MySQL服务(5.6.5+) 上传并解压下载Nacos安装包https://github.com/alibaba/nacos/releases/上传至 /usr/local 目录下tar -zxvf nacos-server-1.3.2.tar.gz解压完毕后 /usr/local 下 ...
分类:
其他好文 时间:
2021-03-09 13:00:17
阅读次数:
0
linux上nginx位置/usr/local/nginx。 停止nginx ps -ef | grep nginx 找到nginx进程(会列出三个) kill -QUIT <进程号> 杀掉进程(上面中,找到root且是nginx的根进程号) 后台nginx启动 /usr/local/nginx/s ...
分类:
系统相关 时间:
2021-03-08 14:17:06
阅读次数:
0
How to deploy EBS CSI on AWS EKS in China region? ISSUE Cannot access k8s.gcr.io repository in China region. Prerequisites Fetch the Account ID and sa ...
分类:
其他好文 时间:
2021-03-08 13:03:04
阅读次数:
0
flume-netcat-logger.conf 文件编写: # Name the components on this agent a1.sources = r1 a1.sinks = k1 a1.channels = c1 # Describe/configure the source a1.s ...
分类:
Web程序 时间:
2021-03-06 14:54:47
阅读次数:
0
一.Linux 常用目录 1.home :普通用户的家目录 2.root :管理员家目录 3.usr/local :用户自行安装的软件存放路径 4.etc :配置文件存放路径 5.var :存放经常变化的文件 二.Linux 常用命令 1.su + 用户名 切换用户 su root 切换到管理员用户 ...
分类:
系统相关 时间:
2021-03-06 14:46:29
阅读次数:
0
流水线案例地址https://flow.aliyun.com/pipelines/1258359/current POM文件增加配置 <distributionManagement> <repository> <id>rdc-releases</id> <name>User Project Rele ...
分类:
其他好文 时间:
2021-03-06 14:35:37
阅读次数:
0
拷贝包到自定义文件夹 下载批量导入工具到自定义文件夹https://agent-install.oss-cn-hangzhou.aliyuncs.com/migrate-local-repo-tool.jar 打开本地的Git Bash 切换到工具的位置 批量导入命令说明 仓库地址及用户名密码配置获 ...
分类:
其他好文 时间:
2021-03-06 14:30:51
阅读次数:
0