标签:org perm for web 配置 epel ns3 except xxxx
转载来自:http://wiki.jikexueyuan.com/project/linux-in-eye-of-java/Jenkins-Install-And-Settings.html
Jenkins 安装
/opt
目录下创建一个目录 setups
用来存放各种软件安装包;在 /usr
目录下创建一个 program
用来存放各种解压后的软件包,下面的讲解也都是基于此习惯EPEL、RepoForge
,如果你出现 yum install XXXXX
安装不成功的话,很有可能就是你没有相关源,请查看我对源设置的文章wget http://mirrors.jenkins-ci.org/war/latest/jenkins.war
(大小:61 M)
/usr/program/tomcat8/webapps
mv jenkins.war ROOT.war
find / -name .jenkins
,我这边得到的结果是:/root/.jenkins
CATALINA_OPTS
进行设置:
CATALINA_OPTS="-server -Xms528m -Xmx528m -XX:PermSize=256m -XX:MaxPermSize=358m"
export CATALINA_OPTS
CATALINA_OPTS="-server -DJENKINS_HOME=/root/.jenkins -Xms528m -Xmx528m -XX:PermSize=256m -XX:MaxPermSize=358m"
export CATALINA_OPTS
Jenkins 各个组件配置:
java.net.UnknownHostException
,可以查看这篇文章:http://stackoverflow.com/questions/4969156/java-net-unknownhostexception标签:org perm for web 配置 epel ns3 except xxxx
原文地址:http://www.cnblogs.com/dynwings/p/7284792.html