Author: jsdelfino
Date: Wed Mar 17 08:12:44 2010
New Revision: 924189

URL: http://svn.apache.org/viewvc?rev=924189&view=rev
Log:
Minor fixes to the INSTALL instructions. Added two more automated install 
scripts to help deploy build+test images.

Added:
    tuscany/sca-cpp/trunk/ubuntu/
    tuscany/sca-cpp/trunk/ubuntu/ubuntu-bin-image   (with props)
    tuscany/sca-cpp/trunk/ubuntu/ubuntu-install
      - copied, changed from r924188, tuscany/sca-cpp/trunk/ubuntu-install
    tuscany/sca-cpp/trunk/ubuntu/ubuntu-source-image   (with props)
Removed:
    tuscany/sca-cpp/trunk/ubuntu-install
Modified:
    tuscany/sca-cpp/trunk/INSTALL

Modified: tuscany/sca-cpp/trunk/INSTALL
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/INSTALL?rev=924189&r1=924188&r2=924189&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/INSTALL (original)
+++ tuscany/sca-cpp/trunk/INSTALL Wed Mar 17 08:12:44 2010
@@ -15,7 +15,8 @@ Axis2/C etc) are downloaded, built and i
 To run the automated installation:
 mkdir tuscany
 cd tuscany
-wget http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/ubuntu-install
+wget 
http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/ubuntu/ubuntu-install
+chmod +x ./ubuntu-install
 ./ubuntu-install
 
 The script will display each command as it's executed.
@@ -44,6 +45,10 @@ Install the following binaries:
 curl-7.19.5 (http://curl.haxx.se)
 memcached-1.2.8 (http://memcached.org/)
 
+Optional:
+privbind-1.1 (http://manpages.ubuntu.com/manpages/karmic/man1/privbind.1.html)
+will help you bind to port 80 for example without running as root
+
 
 Then install the following development dependencies:
 

Added: tuscany/sca-cpp/trunk/ubuntu/ubuntu-bin-image
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/ubuntu/ubuntu-bin-image?rev=924189&view=auto
==============================================================================
--- tuscany/sca-cpp/trunk/ubuntu/ubuntu-bin-image (added)
+++ tuscany/sca-cpp/trunk/ubuntu/ubuntu-bin-image Wed Mar 17 08:12:44 2010
@@ -0,0 +1,70 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+# Install the required system tools and libraries, the runtime dependencies and
+# the Tuscany SCA runtime on a fresh Ubuntu Server 9.10 image.
+
+# Display commands as they are executed
+set -x
+
+# First update the system
+sudo apt-get update
+
+# Create install directory
+sudo mkdir -p /mnt/tuscany
+sudo chown ubuntu /mnt/tuscany
+sudo chgrp ubuntu /mnt/tuscany
+cd /mnt/tuscany
+
+# Install system tools and libraries
+sudo apt-get -y install git-core autoconf automake g++ libtool
+if [ "$?" != "0" ]; then
+    exit $?
+fi
+sudo apt-get -y install curl memcached privbind
+if [ "$?" != "0" ]; then
+    exit $?
+fi
+sudo apt-get -y install libssl-dev
+if [ "$?" != "0" ]; then
+    exit $?
+fi
+sudo apt-get -y install pkg-config libxml2-dev
+if [ "$?" != "0" ]; then
+    exit $?
+fi
+sudo apt-get -y install libboost-dev libboost-program-options-dev 
libboost-filesystem-dev uuid-dev
+if [ "$?" != "0" ]; then
+    exit $?
+fi
+sudo apt-get -y install check
+if [ "$?" != "0" ]; then
+    exit $?
+fi
+sudo apt-get -y install openjdk-6-jdk
+if [ "$?" != "0" ]; then
+    exit $?
+fi
+sudo apt-get -y install libcurl4-openssl-dev xulrunner-dev
+if [ "$?" != "0" ]; then
+    exit $?
+fi
+
+# Download and install the runtime
+curl -o tuscany-sca-cpp-1.0.0-SNAPSHOT.tar.gz 
http://people.apache.org/~jsdelfino/tuscany/test/tuscany-sca-cpp-1.0.0-SNAPSHOT.tar.gz
+tar xzf tuscany-sca-cpp-1.0.0-SNAPSHOT.tar.gz
+

Propchange: tuscany/sca-cpp/trunk/ubuntu/ubuntu-bin-image
------------------------------------------------------------------------------
    svn:executable = *

Copied: tuscany/sca-cpp/trunk/ubuntu/ubuntu-install (from r924188, 
tuscany/sca-cpp/trunk/ubuntu-install)
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/ubuntu/ubuntu-install?p2=tuscany/sca-cpp/trunk/ubuntu/ubuntu-install&p1=tuscany/sca-cpp/trunk/ubuntu-install&r1=924188&r2=924189&rev=924189&view=diff
==============================================================================
--- tuscany/sca-cpp/trunk/ubuntu-install (original)
+++ tuscany/sca-cpp/trunk/ubuntu/ubuntu-install Wed Mar 17 08:12:44 2010
@@ -16,7 +16,7 @@
 #  under the License.
 
 # Install the required system tools and libraries, the runtime dependencies and
-# the Tuscany SCA runtime on a fresh Ubuntu Server 9.10 system
+# the Tuscany SCA runtime on a fresh Ubuntu Server 9.10 system.
 
 # Display commands as they are executed
 set -x
@@ -31,7 +31,7 @@ if [ "$?" != "0" ]; then
 fi
 
 # Install the required binaries
-sudo apt-get -y install curl memcached
+sudo apt-get -y install curl memcached privbind
 if [ "$?" != "0" ]; then
     exit $?
 fi
@@ -53,7 +53,7 @@ fi
 cd $build
 
 # Build Apache Axis2/C
-sudo apt-get -y install libxml2-dev
+sudo apt-get -y install pkg-config libxml2-dev
 if [ "$?" != "0" ]; then
     exit $?
 fi
@@ -116,6 +116,9 @@ cd $build
 
 # Install Apache Vysper
 sudo apt-get -y install openjdk-6-jdk
+if [ "$?" != "0" ]; then
+    exit $?
+fi
 curl -o vysper-1.0.0-bin.tar.gz 
'http://hudson.zones.apache.org/hudson/view/Vysper/job/vysper-trunk-jdk1.6-ubuntu/org.apache.vysper$vysper/lastSuccessfulBuild/artifact/org.apache.vysper/vysper/1.0.0-SNAPSHOT/vysper-1.0.0-SNAPSHOT-bin.tar.gz'
 tar xzf vysper-1.0.0-bin.tar.gz
 if [ "$?" != "0" ]; then

Added: tuscany/sca-cpp/trunk/ubuntu/ubuntu-source-image
URL: 
http://svn.apache.org/viewvc/tuscany/sca-cpp/trunk/ubuntu/ubuntu-source-image?rev=924189&view=auto
==============================================================================
--- tuscany/sca-cpp/trunk/ubuntu/ubuntu-source-image (added)
+++ tuscany/sca-cpp/trunk/ubuntu/ubuntu-source-image Wed Mar 17 08:12:44 2010
@@ -0,0 +1,37 @@
+#  Licensed to the Apache Software Foundation (ASF) under one
+#  or more contributor license agreements.  See the NOTICE file
+#  distributed with this work for additional information
+#  regarding copyright ownership.  The ASF licenses this file
+#  to you under the Apache License, Version 2.0 (the
+#  "License"); you may not use this file except in compliance
+#  with the License.  You may obtain a copy of the License at
+#  
+#    http://www.apache.org/licenses/LICENSE-2.0
+#    
+#  Unless required by applicable law or agreed to in writing,
+#  software distributed under the License is distributed on an
+#  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+#  KIND, either express or implied.  See the License for the
+#  specific language governing permissions and limitations
+#  under the License.
+
+# Install the required system tools and libraries, the runtime dependencies and
+# the Tuscany SCA runtime on a fresh Ubuntu Server 9.10 image.
+
+# Display commands as they are executed
+set -x
+
+# First update the system
+sudo apt-get update
+
+# Create install directory
+sudo mkdir -p /mnt/tuscany
+sudo chown ubuntu /mnt/tuscany
+sudo chgrp ubuntu /mnt/tuscany
+cd /mnt/tuscany
+
+# Download and run install script
+wget 
http://svn.apache.org/repos/asf/tuscany/sca-cpp/trunk/ubuntu/ubuntu-install
+chmod +x ./ubuntu-install
+./ubuntu-install
+

Propchange: tuscany/sca-cpp/trunk/ubuntu/ubuntu-source-image
------------------------------------------------------------------------------
    svn:executable = *


Reply via email to