Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save karlmutch/2c62388a21d09975c939 to your computer and use it in GitHub Desktop.
Save karlmutch/2c62388a21d09975c939 to your computer and use it in GitHub Desktop.
36 wget --no-cookies --no-check-certificate --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com%2F; oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u40-b26/jdk-8u40-linux-x64.tar.gz
37 javac
38 tar xvfo jdk-8u40-linux-x64.tar.gz
39 chown -R root: jdk1.8.0_40
40 sudo alternatives --install /usr/bin/java java /opt/jdk1.8.0_40/bin/java 1
41 sudo alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_40/bin/javac 1
42 sudo alternatives --install /usr/bin/jar jar /opt/jdk1.8.0_40/bin/jar 1
43 ls
44 rm jdk
45 rm jdk-8u40-linux-x64.tar.gz
64 wget http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el7.rf.x86_64.rpm
65 wget http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
66 wget http://rpms.famillecollet.com/enterprise/remi-release-7.rpm
67 rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
68 rpm -i rpmforge-release-0.5.*.rpm
69 rpm -Uvh remi-release-6*.rpm epel-release-6*.rpm
70 rpm -Uvh remi-release-7*.rpm epel-release-7*.rpm
71 ls
72 rpm -Uvh remi-release-7.rpm epel-release-latest-7.noarch.rpm
73 yum -y install tmux htop docker-io mcelog pstack gstack sysstat ntp rxvt rxvt-unicode
74 #Update the kernel and addon's to the latest versions we can find
75 yum -y update
76 #Ensure that the daemon for the network time protocol is running
77 /sbin/service ntpd restart
78 /sbin/chkconfig ntpd on
79 yum -y install tmux htop docker-io mcelog pstack gstack sysstat ntp rxvt rxvt-unicode stunnel texinfo man xauth multitail cmake28 doxygen rxvt-unicode-256color-ml rxvt-unicode-256color rxvt-unicode-ml ncurses-term
80 yum search gcc
81 yum info gcc-c++
82 yum info devtoolset-2-gcc-c++
83 yum -y install zsh git mosh rubygems ncurses-term rxvt-unicode-256color rxvt-unicode-256color-ml multitail
84 groupadd devel
85 useradd -g devel -s /bin/zsh kmutch
86 passwd kmutch
87 echo "%devel ALL=(ALL) ALL" >> /etc/sudoers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment