Skip to content

Commit

Permalink
Updating scripts for Ubuntu 11.04
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Robson committed Jun 9, 2011
1 parent 1e58b22 commit 5d9856e
Show file tree
Hide file tree
Showing 17 changed files with 35 additions and 57 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,10 +1,9 @@
# What It Do

These install scripts are intened to help you pull down, build and install the following:
* chromium
* couchbase 1.0.1
* erlang R14B02
* mongodb 1.6.5
* chromium 12
* couchbase 1.1
* erlang R14B03
* mono 2.10
* monodevelop 2.4.2
* ncurses5.7 (prerequisite for erlang)
Expand All @@ -21,7 +20,8 @@ You can certainly update these over time to build newer packages. If you run int

Pull it down into a directory and
chmod 777 *.sh
to make them all executable. You shouldn't have to sudo the scripts as they all use sudo now and should prompt you for the password when appropriate.
./init.sh
to make them all executable and create the base source directory. You shouldn't have to sudo the scripts as they all use sudo now and should prompt you for the password when appropriate.

You MUST run the install-ncurses.sh before running install-erlang.sh!

Expand All @@ -48,7 +48,7 @@ This install is probably the most error prone and complex thing I've ever attemp

# Services

Right now the install scripts for rabbitmq, mongodb and couchbase all install as services. Redis does not. I'd be thrilled if anyone wanted to contribute the /etc/init.d script to run Redis as a service.
Right now the install scripts for rabbitmq and couchbase all install as services. Redis does not. I'd be thrilled if anyone wanted to contribute the /etc/init.d script to run Redis as a service.

# Uhhhh

Expand Down
4 changes: 4 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
cd /
sudo mkdir src
CURRENT_USER="$(whoami)"
sudo chown $CURRENT_USER /src
2 changes: 1 addition & 1 deletion install-chromium.sh → install-chromium12.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
sudo add-apt-repository ppa:chromium-daily/ppa
sudo add-apt-repository ppa:chromium-daily/stable
sudo apt-get update
sudo apt-get install chromium-browser
4 changes: 1 addition & 3 deletions install-couchbase.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir couchbase
cd couchbase
sudo wget http://c3145442.r42.cf0.rackcdn.com/couchbase-server-community_x86_1.1.deb
Expand Down
15 changes: 0 additions & 15 deletions install-erlang.sh

This file was deleted.

11 changes: 11 additions & 0 deletions install-erlang14b03.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# You will need to make this file executable (chmod u+x) and run it with sudo
apt-get -y install build-essential m4 libncurses5-dev libssh-dev unixodbc-dev libgmp3-dev libwxgtk2.8-dev libglu1-mesa-dev fop xsltproc default-jdk
mkdir -p /src/erlang
cd /src/erlang
wget http://www.erlang.org/download/otp_src_R14B03.tar.gz
tar -xvzf otp_src_R14B03.tar.gz
chmod -R 777 otp_src_R14B03
cd otp_src_R14B03
./configure
make
make install
3 changes: 3 additions & 0 deletions install-firefox4.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
sudo add-apt-repository ppa:mozillateam/firefox-stable
sudo apt-get update
sudo apt-get upgrade
5 changes: 0 additions & 5 deletions install-mongodb.sh

This file was deleted.

4 changes: 1 addition & 3 deletions install-mono.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir mono-2.10
cd mono-2.10

Expand Down
4 changes: 1 addition & 3 deletions install-monodevelop.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir monodevelop
cd monodevelop

Expand Down
4 changes: 1 addition & 3 deletions install-mspec.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir mspec
cd mspec

Expand Down
4 changes: 1 addition & 3 deletions install-ncurses.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir ncurses
cd ncurses
sudo wget https://launchpad.net/ubuntu/+archive/primary/+files/ncurses_5.7%2B20100626.orig.tar.gz
Expand Down
4 changes: 1 addition & 3 deletions install-node.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir node
cd node
sudo get http://nodejs.org/dist/node-v0.4.3.tar.gz
Expand Down
4 changes: 1 addition & 3 deletions install-npm.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir npm
cd npm

Expand Down
4 changes: 1 addition & 3 deletions install-rabbitmq.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir rabbitmq
cd rabbitmq

Expand Down
4 changes: 1 addition & 3 deletions install-redis.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir src
cd src
cd /src
mkdir redis
cd redis
sudo wget http://redis.googlecode.com/files/redis-2.2.2.tar.gz
Expand Down
4 changes: 1 addition & 3 deletions install-ruby.sh
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
cd /
mkdir /src
cd src
cd /src
mkdir ruby
cd ruby
sudo wget ftp://ftp.ruby-lang.org/pub/ruby/1.9/ruby-1.9.2-p180.tar.gz
Expand Down

0 comments on commit 5d9856e

Please sign in to comment.