摘要: 1、找到tomcat/conf/server.xml文件 2、修改server.xml文件,如下: path属性:访问资源的虚拟目录 docBase属性:项目真实存在的路径 3、结果测试 阅读全文
posted @ 2021-12-08 21:48 玉米炖排骨 阅读(165) 评论(0) 推荐(0)
摘要: 1、查看已经开放的端口: firewall-cmd --list-ports 2、开启端口: firewall-cmd --zone=public --add-port=80/tcp --permanent 注意:--permanent表示永久保存 3、开启端口区间: firewall-cmd -- 阅读全文
posted @ 2021-12-08 17:28 玉米炖排骨 阅读(613) 评论(0) 推荐(0)
摘要: 1、安装GPG key sudo rpm -v --import https://download.sublimetext.com/sublimehq-rpm-pub.gpg 2、安装yum-utils yum -y install yum-utils 3、添加稳定版本仓库地址 sudo yum-c 阅读全文
posted @ 2021-12-08 15:32 玉米炖排骨 阅读(185) 评论(0) 推荐(0)
摘要: wget https://dl.google.com/linux/direct/google-chrome-stable_current_x86_64.rpm sudo yum install -y lsb sudo yum localinstall google-chrome-stable_cur 阅读全文
posted @ 2021-12-08 07:35 玉米炖排骨 阅读(512) 评论(0) 推荐(0)