Skip to content

Instantly share code, notes, and snippets.

@adrienbrault
Last active February 2, 2018 09:24
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save adrienbrault/7948667 to your computer and use it in GitHub Desktop.
Save adrienbrault/7948667 to your computer and use it in GitHub Desktop.
Snippets to quickly install stuff on centos
#!/bin/bash
sudo yum install -y python-pip
sudo pip install httpie
#
#!/bin/bash
wget --no-cookies --header "Cookie: gpw_e24=http%3A%2F%2Fwww.oracle.com" "http://download.oracle.com/otn-pub/java/jdk/7/jdk-7-linux-x64.rpm" --no-check-certificate
sudo rpm -ivh jdk-7-*
rm jdk-7-*
sudo rpm -ivh https://download.elasticsearch.org/elasticsearch/elasticsearch/elasticsearch-1.0.0.Beta2.noarch.rpm
#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment