Skip to content

Instantly share code, notes, and snippets.

@mjvdende
Created December 30, 2014 08:54
Show Gist options
  • Save mjvdende/77f9abbfbe12e3fb69dd to your computer and use it in GitHub Desktop.
Save mjvdende/77f9abbfbe12e3fb69dd to your computer and use it in GitHub Desktop.
install and configure Oracle Linux 6.3
#Config
sudo service iptables stop
sudo chkconfig iptables off
sudo vim /etc/sysconfig/network (give server proper hostname, or let DNS handle it, create sr request)
add jenkins user / add to sudoers file
sudo rpm --import http://public-yum.oracle.com/RPM-GPG-KEY-oracle-ol6
sudo rpm --import http://packages.atrpms.net/RPM-GPG-KEY.atrpms
// install RPM Forge repos, needed for cabextract thats needed for msfonts
rpm -ivh http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.x86_64.rpm
add repor file google.repo to /etc/yum.repos.d, contents of file:
[google-chrome]
name=google-chrome – 64-bit
baseurl=http://dl.google.com/linux/chrome/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
yum update
## ADDED testrunner for soapui test in /etc/profile
echo 'pathmunge /home/qa/apps/soapui-pro-4.5.1/bin' > /etc/profile.d/soapui.sh
chmod +x /etc/profile.d/soapui.sh
#update / install software
sudo yum upgrade
yum install rpm-build cabextract ttmkfdir wget chkfontpath
sudo yum install mysql-server
sudo yum install screen
sudo yum install ImageMagick
sudo yum install 'graphviz*'
sudo yum -y install subversion
sudo yum install xorg-x11*
sudo yum install ant
sudo yum install gcc-c++
// repos did not work sometimes, enable and disabble seemed to work :D all software eventually installed...
sudo yum install java-1.7.0-openjdk.x86_64java
sudo yum install java-1.7.0-openjdk-devel
sudo wget -O /etc/yum.repos.d/jenkins.repo http://pkg.jenkins-ci.org/redhat-stable/jenkins.repo
sudo rpm --import http://pkg.jenkins-ci.org/redhat-stable/jenkins-ci.org.key
yum install jenkins
#PEAR
sudo pear config-set auto_discover 1
sudo pear channel-discover pear.phing.info
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover pear.pdepend.org
sudo pear channel-discover pear.phpmd.org
sudo pear channel-discover pear.phpunit.de
sudo pear channel-discover pear.docblox-project.org
sudo pear install pear.phpunit.de/PHPUnit
sudo pear install phpunit/DbUnit
sudo pear install phpunit/PHPUnit_Selenium
sudo pear install phpunit/PHPUnit_Story
sudo pear install --alldeps phing/phing
#NODE.JS
wget http://nodejs.org/dist/[latest release]
tar zxvf node-v******.tar.gz
cd node-v0.8.15
./configure
make
sudo make install
#Software config
// Jekins
installed a lot of plugins
// SoapUI
installed mysql connector in /bin/ext
// Ant
cd /usr/lib
wget http://mirrors.supportex.net/apache//ant/binaries/[latest release]
gzip -d apache-ant-1.7.0-bin.tar.gz
tar xvf apache-ant-1.8.4-bin.tar
ln -s /usr/lib/apache-ant-1.8.4/bin/ant /etc/alternatives/ant
ln -s /usr/lib/apache-ant-1.8.4/ /etc/alternatives/anthome
ln -s /etc/alternatives/ant /usr/bin/ant
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment