摘要: 1.下载nginx http://nginx.org/en/download.html 下载稳定版本 2.启动nginx 有很多种方法启动nginx (1)直接双击nginx.exe,双击后一个黑色的弹窗一闪而过 (2)打开cmd命令窗口,切换到nginx解压目录下,输入命令 nginx.exe 或 阅读全文
posted @ 2020-10-20 15:12 ctlaowang 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 1、Maven安装配置 首先到官网下载http://maven.apache.org/download.cgi 我们需要下载的bin.zip结尾的文件,下载后解压到指定文件夹(全英文路径) 2、配置环境变量 MAVEN_HOME : D:\tools\apache-maven-3.3.9 PATH 阅读全文
posted @ 2020-10-13 15:43 ctlaowang 阅读(155) 评论(0) 推荐(0) 编辑
摘要: mac下nginx配置文件位置 /usr/local/etc/nginx/nginx.conf (配置文件路径) /usr/local/var/www (服务器默认路径) /usr/local/Cellar/nginx/1.6.2 (貌似是安装路径) 自己的配置文件my.conf server { 阅读全文
posted @ 2020-09-11 22:33 ctlaowang 阅读(1747) 评论(0) 推荐(0) 编辑
摘要: mac下执行:brew install nginx。 wangbin:bin wangbin$ brew install nginx ==> Downloading https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/bottles/op == 阅读全文
posted @ 2020-09-10 21:35 ctlaowang 阅读(671) 评论(0) 推荐(0) 编辑
摘要: 1.关闭当前标签页面,并跳转到上一次页面 this.$store.state.tagsView.visitedViews.splice(this.$store.state.tagsView.visitedViews.findIndex(item => item.path this.$route.pa 阅读全文
posted @ 2020-09-09 14:25 ctlaowang 阅读(2403) 评论(0) 推荐(1) 编辑
摘要: 1.加入自定义模块 #parent pom.xml中加入依赖<dependency> <groupId>com.ruoyi</groupId> <artifactId>junye-mywork</artifactId> <version>${ruoyi.version}</version> </de 阅读全文
posted @ 2020-09-09 13:56 ctlaowang 阅读(960) 评论(0) 推荐(0) 编辑
摘要: CREATE TABLE `stu` ( 'id' int NOT NULL AUTO_INCREMENT, 'createTime' timestamp DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间', 'moditiyTime' timestamp DEFAUL 阅读全文
posted @ 2020-09-07 11:24 ctlaowang 阅读(651) 评论(0) 推荐(0) 编辑
摘要: 安装过程 1.首先先把下载的压缩包解压到一个文件夹中2.打开cmd指令窗口3.输入你刚才解压的文件路径4.然后输入redis-server redis.windows.conf 命令接下来部署Redis为windows下的服务 首先关掉上一个窗口再打开一个新的cmd命令窗口 然后输入指令redis- 阅读全文
posted @ 2020-09-07 10:47 ctlaowang 阅读(900) 评论(0) 推荐(0) 编辑
摘要: 今天在学习vue前端,换电脑学习时,出现跨域访问问题。ps:代码是一样的 代码中也设置了跨域访问,为什么还是出现了跨域问题呢? 使用的浏览器都是chrome,经过网上搜索之后,可能是因为nginx启动并占用了8888端口问题。 关闭端口之后,问题解决。 阅读全文
posted @ 2020-08-23 16:12 ctlaowang 阅读(111) 评论(0) 推荐(0) 编辑
摘要: 1.新建目录 /usr/local/opt/myChromData 2.输入命令行 open -n /Applications/Google\ Chrome.app/ --args --disable-web-security --user-data-dir=/usr/local/opt/myChr 阅读全文
posted @ 2020-08-23 15:56 ctlaowang 阅读(353) 评论(0) 推荐(0) 编辑