![](https://img-blog.csdnimg.cn/20201014180756754.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
server
彭珂个人网
这个作者很懒,什么都没留下…
展开
-
tomcat 设置允许跨域访问
既然想到使用tomcat进行跨域的设置,而不使用在项目中设置header来解决,说明你也是tomcat 下的资源需要做跨域处理吧?这也是一个统一的允许跨域设置,tomcat下的所有请求都将放开,请注意。具体步骤:1.首先找到你的tomcat所在路径,并在conf文件夹下找到 web.xml2.打开该文件,在以下位置加上这段:<filter> <...原创 2020-01-04 20:15:10 · 22992 阅读 · 23 评论 -
nginx 反向代理 根据URL重定向到指定的端口
1.下载nginx,下载地址:点击去往官网下载2.下载完解压,请勿直接运行nginx.exe:3.Ctrl+R 运行 cmd,并进入到刚刚解压完的nginx根目录下:4.输入命令,轻轻的回个车,请勿关闭命令窗。启动nginx: 5.在浏览器输入:localhost 有东东就启动成功了,不成功,并且没改动过配置文件,那就是端口占用了。 6.开始举个列子...原创 2019-01-28 20:49:07 · 9865 阅读 · 1 评论 -
SEVERE: Could not contact [localhost:8005] (base port [8005] and offset [0]). Tomcat may not be runn
linux,在tomcat bin目录下,使用shutdown.sh 关闭时,报错:SEVERE: Could not contact [localhost:8005] (base port [8005] and offset [0]). Tomcat may not be running.Jul 17, 2019 10:02:02 AM org.apache.catalina.sta...原创 2019-07-17 16:44:18 · 10200 阅读 · 0 评论 -
linux 安装 mysql5.7
linux 安装 mysql5.71、下载tar包,这里使用wget从官网下载wgethttps://dev.mysql.com/get/Downloads/MySQL-5.7/mysql-5.7.22-linux-glibc2.12-x86_64.tar.gz2、将mysql安装到/usr/local/mysql下# 解压tar -xvfmysql-5.7.22-linu...转载 2019-08-18 23:48:20 · 273 阅读 · 3 评论