Skip to content

Instantly share code, notes, and snippets.

@edwelker
Last active August 29, 2015 14:04
Show Gist options
  • Save edwelker/fc4391818f81bc05f143 to your computer and use it in GitHub Desktop.
Save edwelker/fc4391818f81bc05f143 to your computer and use it in GitHub Desktop.
centos
https://fedoraproject.org/wiki/EPEL
rpm -ivh http://dl.fedoraproject.org/pub/epel/6/i386/epel-release-6-8.noarch.rpm && yum install tmux
#need general development tools on image
yum groupinstall -y development
#additional tools
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel xz-libs
#before Python
yum install readline-devel
#standard python source build (if you want 2.7 the default, do it after 3.4)
https://www.digitalocean.com/community/tutorials/how-to-set-up-python-2-7-6-and-3-3-3-on-centos-6-4
yum groupinstall -y development
yum install -y zlib-dev openssl-devel sqlite-devel bzip2-devel
yum install libxml2 libxml2-devel libxslt libxslt-devel
http://www.cloudera.com/content/cloudera-content/cloudera-docs/CDH4/4.3.0/CDH4-Installation-Guide/cdh4ig_topic_4_4.html
Add the raw file to /etc/yum.repo.d/ as cloudera.repo
[cloudera-cdh4]
name=Cloudera's Distribution for Hadoop, Version 4
baseurl=http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/4/
gpgkey = http://archive.cloudera.com/cdh4/redhat/6/x86_64/cdh/RPM-GPG-KEY-cloudera
gpgcheck = 1
#sun (oracle) java on CentOS
I guess there are no repos for that sort of thing b/c of the CentOS licencing restrictions? Oracles? Anyway, download the package and install it to your machine.
http://andres.jaimes.net/878/setup-lucene-solr-centos-tomcat/
http://docs.mongodb.org/v2.2/tutorial/install-mongodb-on-red-hat-centos-or-fedora-linux/
[mongodb]
name=MongoDB Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64/
gpgcheck=0
enabled=1
DataStax repository http://www.datastax.com/docs/1.1/install/install_rpm (for cassandra)
[datastax]
name= DataStax Repo for Apache Cassandra
baseurl=http://rpm.datastax.com/community
enabled=1
gpgcheck=0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment