服务器配置,jre,git,maven,tomcat
1.tomcat文件夹授权给用户
sudo chown -R sto apache-tomcat-8.5.38/
2.git配置免密登录
git config --global user.name "xxx"
git config --global user.email "xxx"
生成ssh公钥:
ssh-keygen -t rsa -C "xxx@xxx"
配置好后,需要测试一下,能否拉取成功
3.修改hosts映射文件,并刷新hosts
sudo /etc/init.d/networking restart