HanG321 Blog
Be Shine, Be Smile, Be Wild

Copied VM of CentOS minimal installation

August 21, 2014|CentOS, VMware|科技資訊

Created a base image and wanna fork for specific purpose, then eth0 (bridge) & eth1 (host-only) have no IP. reason: VMware Player automatically assigned new MAC address, yet CentOS does not aware solutions: – remove /etc/udev/rules.d/70-persistent-net.rules – edit /etc/sysconfig/network-scripts/ifcfg-eth0  (and/or eth1) , remove line UUID=…. and HWADDR=…. – reboot

Read more »
Install Jenkins on Tomcat 7 (DSM)

Install Jenkins on Tomcat 7 (DSM)

August 18, 2014|DSM, Java, Jenkins, Tomcat, XPEnology|電腦編程

– download jenkins.war  from http://jenkins-ci.org/ – increase upload limit on /var/packages/Tomcat/target/src/webapps/manager/WEB-INF/web.xml  <multipart-config> <!– 100MB max –> <max-file-size>104857600</max-file-size> <max-request-size>104857600</max-request-size> <file-size-threshold>0</file-size-threshold> </multipart-config> – edit username and roles on /var/packages/Tomcat/target/src/conf/tomcat-users.xml e.g. <user username=”manager” password=”manager” roles=”manager-gui,manager-status”/> – config JENKINS_HOME on /var/packages/Tomcat/target/src/conf/context.xml <Environment name=”JENKINS_HOME” value=”/volume2/homes/username/.jenkins” type=”java.lang.String”/> Anywhere of your choice, remember to modify that directory, allow access by tomcat(http group). #cd /volume2/homes/ #chown username.http username #cd username && mkdir .jenkins && chmod 775 .jenkins – Control panel > Groups > http, edit, allow read/write for Tomcat share folder cd /var/packages/Tomcat7/target/src/webapps/ chown http.root .synology/ – Go to tomcat url, click Manager App deploy jenkins.war, then start jenkins   # to view Debian domain path realpath /var/packages/Tomcat/target ==> /volume2/\@appstore/Tomcat7/ reference: https://wiki.jenkins-ci.org/display/JENKINS/Tomcat

Read more »

Servers Ultimate Pro (Free Today)

August 17, 2014|科技資訊

Amazon link (affiliated) Google Play Review

Read more »
...10...13141516...40...

搜尋 Search

Copyright © 2004-2021 hang321.net. All Rights Reserved