idea配置guns
Tips:建议JDK1.8的包
sudo update-alternatives --config java
设置默认的java
# java -version
java version "1.8.0_191"
Java(TM) SE Runtime Environment (build 1.8.0_191-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.191-b12, mixed mode)
# javac -version
javac 1.8.0_191
尼玛,竟然不是两个横!!!
下载压缩包
https://gitee.com/stylefeng/guns
解压到某个位置
例如:/home/javaspace
打开项目
安装数据库
将sql导入
修改数据库配置
修改Maven
<mirror>
<id>alimaven</id>
<name>aliyun maven</name>
<url>http://maven.aliyun.com/nexus/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>uk</id>
<mirrorOf>central</mirrorOf>
<name>Human Readable Name for this Mirror.</name>
<url>http://uk.maven.org/maven2/</url>
</mirror>
<mirror>
<id>CN</id>
<name>OSChina Central</name>
<url>http://maven.oschina.net/content/groups/public/</url>
<mirrorOf>central</mirrorOf>
</mirror>
<mirror>
<id>nexus</id>
<name>internal nexus repository</name>
<url>http://repo.maven.apache.org/maven2</url>
<mirrorOf>central</mirrorOf>
</mirror>
运行项目
确保8080端口没有被占用!
登录用户名root
密码11111
guns开发的流程。