summaryrefslogtreecommitdiffstats
path: root/sca-cpp/trunk/ubuntu/ubuntu-bin-image
diff options
context:
space:
mode:
Diffstat (limited to 'sca-cpp/trunk/ubuntu/ubuntu-bin-image')
-rwxr-xr-xsca-cpp/trunk/ubuntu/ubuntu-bin-image33
1 files changed, 19 insertions, 14 deletions
diff --git a/sca-cpp/trunk/ubuntu/ubuntu-bin-image b/sca-cpp/trunk/ubuntu/ubuntu-bin-image
index 6c1082ac3a..d9bd4a919c 100755
--- a/sca-cpp/trunk/ubuntu/ubuntu-bin-image
+++ b/sca-cpp/trunk/ubuntu/ubuntu-bin-image
@@ -15,9 +15,8 @@
# specific language governing permissions and limitations
# under the License.
-# Install a complete distribution, the required system tools and libraries,
-# the runtime dependencies and the Tuscany SCA runtime on a fresh Ubuntu Server
-# 10.10 image.
+# Install a minimal distribution, the required system tools and libraries,
+# runtime dependencies and the Tuscany SCA runtime on Ubuntu Server 12.04.
# Display commands as they are executed
set -x
@@ -28,42 +27,48 @@ sudo apt-get update
# Create install directory
u=`id -un`
g=`id -gn`
-sudo mkdir -p /mnt/tuscany
-sudo chown $u /mnt/tuscany
-sudo chgrp $g /mnt/tuscany
-cd /mnt/tuscany
+sudo mkdir -p /opt/tuscany
+sudo chown $u /opt/tuscany
+sudo chgrp $g /opt/tuscany
+cd /opt/tuscany
# Install core dev tools
sudo apt-get -y install curl git-core subversion autoconf pkg-config automake libtool g++ make gdb vim
if [ "$?" != "0" ]; then
exit $?
fi
-# Required by Apache HTTP server
+
+# Install the Apache HTTP server dependencies
sudo apt-get -y install libssl-dev libpcre3-dev
if [ "$?" != "0" ]; then
exit $?
fi
-# Required by Memcached
+
+# Install the Memcached dependencies
sudo apt-get -y install libevent-dev
if [ "$?" != "0" ]; then
exit $?
fi
-# Required by SpiderMonkey
+
+# Install the SpiderMonkey dependencies
sudo apt-get -y install zip unzip
if [ "$?" != "0" ]; then
exit $?
fi
-# Required by HTML Tidy
-sudo apt-get -y install cvs
+
+# Install the PostgreSQL dependencies
+sudo apt-get -y install libreadline-dev
if [ "$?" != "0" ]; then
exit $?
fi
-# Required by Apache Thrift
+
+# Install the Apache Thrift dependencies
sudo apt-get -y install bison flex libboost-dev libboost-filesystem-dev
if [ "$?" != "0" ]; then
exit $?
fi
-# Required by Facebook Scribe
+
+# Install the Facebook Scribe dependencies
sudo apt-get -y install gawk
if [ "$?" != "0" ]; then
exit $?