Dear Wiki user, You have subscribed to a wiki page or wiki category on "Hadoop Wiki" for change notification.
The "HowToSetupUbuntuBuildMachine" page has been changed by NigelDaley. The comment on this change is: add m2 cache off NFS mounted disk. http://wiki.apache.org/hadoop/HowToSetupUbuntuBuildMachine?action=diff&rev1=8&rev2=9 -------------------------------------------------- ant mvn-deploy should publish the artifacts to the snapshot repository. - - - - == upgrade packages on ubuntu machines == + == How to upgrade packages on Ubuntu build machines == sudo apt-get update < this will update the package information on the host> @@ -31, +28 @@ p.s : use pdsh - == To avoid ivy cache from being shared across the build slaves through NFS == - sudo mkdir /grid/0/hudson/ivy2-cache - - sudo chown hudson:hudson /grid/0/hudson/ivy2-cache - - sudo ln -s /grid/0/hudson/ivy2-cache /homes/hudson/.ivy2 - - sudo chown hudson:hudson /homes/hudson/.ivy2 - - == HowToSetupUbuntuBuildMachine == + == How to setup Ubuntu build machine == {{{ + ### Setup hudson mkdir -p /grid/0/hudson/hudson-slave - chown -R hudson:hudson /grid/0/hudson/hudson-slave + chown -R hudson:hudson /grid/0/hudson copy hudson slave.jar cp ~hudson/slave.jar /grid/0/hudson/hudson-slave/. - Check tools location: + ### Setup ivy and maven caches to use local disk instead of shared NFS + mkdir /grid/0/hudson/ivy2-cache + mkdir /grid/0/hudson/m2-cache + chown -R hudson:hudson /grid/0/hudson + ln -s /grid/0/hudson/ivy2-cache /homes/hudson/.ivy2 + ln -s /grid/0/hudson/m2-cache /homes/hudson/.m2 + chown hudson:hudson /homes/hudson/.ivy2 + chown hudson:hudson /homes/hudson/.m2 + ### Check tools location: ls ~/hudson/tools - On a new re-jumped machine do the following to get required lib's installed + ### On a new re-jumped machine do the following to get required lib's installed sudo apt-get update sudo apt-get install libc6-i386 subversion patch wget autoconf libtool curl libc6-dev-i386 -y }}}
