Linux
Java__han
假程序员
展开
-
VirtualBox ubuntu server 16.04配置静态IP
VirtualBox ubuntu server 16.04配置静态IP走了很多弯路,配了好久,才成功。写下了,备忘。1.虚拟机上网模式改成桥接网卡;2.使用ifconfig命令查看网卡名字除lo外的就是你要配置的网卡名字3.在 /etc/network/interfaces配置静态ipvim /etc/network/interfaces配置参考列原创 2017-09-14 15:14:08 · 2199 阅读 · 0 评论 -
The BASEDIR environment variable is not defined correctly This environment variable is needed to run
因为有多个jdk环境 有的jdk环境非root 无法访问记录1. 查看tomcat bin 目录下的sh文件是否有执行权限 没有则赋予权限2. 在tomcat bincatalina.sh 开头 加入指定的jdk环境 截取片段# OS specific support. $var _must_ be set to either true or false.# JDK2...原创 2019-07-19 10:36:47 · 611 阅读 · 0 评论