Skip to content

Commit

Permalink
re-enabled disk usage per installation script
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/osgeo/livedvd/gisvm/trunk@10211 7da46fd8-bd2a-0410-a152-cf9810cf5b10
  • Loading branch information
kalxas committed Jun 20, 2013
1 parent 37859a5 commit 2c12ca3
Show file tree
Hide file tree
Showing 73 changed files with 531 additions and 119 deletions.
11 changes: 7 additions & 4 deletions bin/install_52nSOS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,9 @@
# Variables
# -----------------------------------------------------------------------------

SCRIPT="install_52nSOS.sh"
echo "==============================================================="
echo "install_52nSOS.sh"
echo "$SCRIPT"
echo "==============================================================="

TMP="/tmp/build_52nSOS"
Expand Down Expand Up @@ -346,7 +347,9 @@ chown -v $USER_NAME:$USER_NAME "$USER_HOME/Desktop/52nSOS-stop.desktop"
#
# We just crossed the finish line
#
echo "[$(date +%M:%S)] "
echo " 52nSOS install finished "
echo "#########################################################################"
echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="

12 changes: 7 additions & 5 deletions bin/install_52nWPS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -28,9 +28,9 @@
#
# Variables
# -----------------------------------------------------------------------------

SCRIPT="install_52nWPS.sh"
echo "==============================================================="
echo "install_52nWPS.sh"
echo "$SCRIPT"
echo "==============================================================="

TMP="/tmp/build_52nWPS"
Expand Down Expand Up @@ -249,7 +249,9 @@ chown -v $USER_NAME:$USER_NAME "$USER_HOME/Desktop/52nWPS-stop.desktop"
#
# We just crossed the finish line
#
echo "[$(date +%M:%S)] "
echo " 52nWPS install finished "
echo "#########################################################################"
echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="

10 changes: 7 additions & 3 deletions bin/install_52nWSS.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@
#
# Variables
# -----------------------------------------------------------------------------

SCRIPT="install_52nWSS.sh"
echo "==============================================================="
echo "install_52nWSS.sh"
echo "$SCRIPT"
echo "==============================================================="

TMP="/tmp/build_52nWSS"
Expand Down Expand Up @@ -251,4 +251,8 @@ chown $USER_NAME:$USER_NAME "$USER_HOME/Desktop/$WSS_DESKTOP_STOPER_NAME"
#
# We just crossed the finish line
#
echo "52nWSS install finished"
echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
9 changes: 8 additions & 1 deletion bin/install_R.sh
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,9 @@
# =======
# sudo ./install_PyDep_and_R.sh

SCRIPT="install_R.sh"
echo "==============================================================="
echo "install_R.sh"
echo "$SCRIPT"
echo "==============================================================="

if [ -z "$USER_NAME" ] ; then
Expand Down Expand Up @@ -128,3 +129,9 @@ cp -f *.pdf /usr/local/lib/R/site-library/spgrass6/doc/
mkdir -p /usr/local/share/data/vector
ln -s /usr/local/lib/R/site-library/rgdal/vectors \
/usr/local/share/data/vector/R

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
10 changes: 8 additions & 2 deletions bin/install_apache2.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
# Running:
# =======
# sudo /etc/init.d/apache2 start

SCRIPT="install_apache2.sh"
echo "==============================================================="
echo "install_apache2.sh"
echo "$SCRIPT"
echo "==============================================================="

apt-get install --yes apache2
Expand All @@ -36,3 +36,9 @@ adduser "$USER_NAME" www-data

mkdir -p /var/www
wget -nv http://www.osgeo.org/favicon.ico -O /var/www/favicon.ico

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
9 changes: 8 additions & 1 deletion bin/install_atlasstyler.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,9 @@
# =======
# Any Java 1.6, Sun preferred

SCRIPT="install_atlasstyler.sh"
echo "==============================================================="
echo "install_atlasstyler.sh"
echo "$SCRIPT"
echo "==============================================================="

cp ../sources.list.d/geopublishing.list /etc/apt/sources.list.d/
Expand Down Expand Up @@ -86,3 +87,9 @@ fi
EOF

#?or? if [ ! -x /usr/share/atlasstyler/start_Atlasstyler.sh ] ; then

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
9 changes: 7 additions & 2 deletions bin/install_cartaro.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
# Needs already installed Geoserver with Version 2.2
#

SCRIPT="install_cartaro.sh"
echo "==============================================================="
echo "starting install_cartaro.sh"
echo "$SCRIPT"
echo "==============================================================="


CARTARO_PASSWORD="geoserver"
CARTARO_USER="cartaro-admin"

Expand Down Expand Up @@ -360,3 +360,8 @@ chmod -R g+w "$GEO_PATH/logs"
chgrp -R users "$GEO_PATH/data_dir"
chgrp -R users "$GEO_PATH/logs"

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
9 changes: 8 additions & 1 deletion bin/install_deegree.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,8 +38,9 @@

###########################

SCRIPT="install_deegree.sh"
echo "==============================================================="
echo "install_deegree.sh"
echo "$SCRIPT"
echo "==============================================================="

TMP="/tmp/build_deegree"
Expand Down Expand Up @@ -180,3 +181,9 @@ unzip -q "$TMP"/deegree-workspace-inspire-3.2-pre9.deegree-workspace
#chown -R $USER_NAME:$USER_NAME "$DEEGREE_WORKSPACE_ROOT"
chmod g+w "$DEEGREE_WORKSPACE_ROOT" -R
chgrp users "$DEEGREE_WORKSPACE_ROOT" -R

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
9 changes: 8 additions & 1 deletion bin/install_desktop.sh
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,9 @@
# The menu creation and icon sorting has moved to install_icons_and_menus.sh
#

SCRIPT="install_desktop.sh"
echo "==============================================================="
echo "install_desktop.sh"
echo "$SCRIPT"
echo "==============================================================="

# Running:
Expand Down Expand Up @@ -272,3 +273,9 @@ EOF
# apply the changes to the dconf DB
dconf update
fi

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
8 changes: 7 additions & 1 deletion bin/install_docs.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@
# =======
# sudo ./install_docs.sh

SCRIPT="install_docs.sh"
echo "==============================================================="
echo "install_docs.sh"
echo "$SCRIPT"
echo "==============================================================="

if [ -z "$USER_NAME" ] ; then
Expand Down Expand Up @@ -320,3 +321,8 @@ fi
ln -s /usr/local/share/doc/Getting_Started_with_Ubuntu_12.04.pdf \
"$USER_HOME/Desktop/Getting Started with Ubuntu.pdf"

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
10 changes: 9 additions & 1 deletion bin/install_edutools.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,14 @@
# eric is a full featured Python IDE written in PyQt.
#apt-get --assume-yes install eric

SCRIPT="install_edutools.sh"
echo "==============================================================="
echo "install_edutools.sh"
echo "$SCRIPT"
echo "==============================================================="


echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
10 changes: 7 additions & 3 deletions bin/install_eoxserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,9 @@
# =======
# sudo ./install_eoxserver.sh

SCRIPT="install_eoxserver.sh"
echo "==============================================================="
echo "install_eoxserver.sh"
echo "$SCRIPT"
echo "==============================================================="

echo "Starting EOxServer installation"
Expand Down Expand Up @@ -265,5 +266,8 @@ mkdir -p /usr/local/share/data/raster
cd /usr/local/share/data/raster
ln -s "$DATA_DIR"/eoxserver_demonstration/eoxserver_demonstration/data/meris .


echo "Finished EOxServer installation"
echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
8 changes: 7 additions & 1 deletion bin/install_geokettle.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@
# =======
# sudo ./install_geokettle.sh

SCRIPT="install_geokettle.sh"
echo "==============================================================="
echo "install_geokettle.sh"
echo "$SCRIPT"
echo "==============================================================="

TMP="/tmp/build_geokettle"
Expand Down Expand Up @@ -118,3 +119,8 @@ mkdir -p /usr/local/share/data/vector
ln -s /opt/geokettle/samples/transformations/geokettle/files \
/usr/local/share/data/vector/geokettle

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
9 changes: 7 additions & 2 deletions bin/install_geomajas.sh
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
# in the "LICENSE.LGPL.txt" file distributed with this software or at
# web page "http://www.fsf.org/licenses/lgpl.html".

SCRIPT="install_geomajas.sh"
echo "==============================================================="
echo "install_geomajas.sh"
echo "$SCRIPT"
echo "==============================================================="

# =============================================================================
Expand Down Expand Up @@ -160,4 +161,8 @@ ln -s /usr/lib/geomajas-1.8.0-bin/webapps/showcase/WEB-INF/classes/org/geomajas/
# remove local jai libraries to work with ones provided in default-java (fix for #959)
rm "$GEOMAJAS_HOME"/webapps/showcase/WEB-INF/lib/jai*.jar


echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
8 changes: 7 additions & 1 deletion bin/install_geomoose.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@

# Requires: Apache2, PHP5, MapServer

SCRIPT="install_geomoose.sh"
echo "==============================================================="
echo "install_geomoose.sh"
echo "$SCRIPT"
echo "==============================================================="

apt-get --assume-yes install php5-sqlite
Expand Down Expand Up @@ -106,3 +107,8 @@ mkdir -p /usr/local/share/data/vector
ln -s /usr/local/geomoose/maps/demo \
/usr/local/share/data/vector/geomoose

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
9 changes: 7 additions & 2 deletions bin/install_geonetwork.sh
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,9 @@
# =======
# sudo ./install_geonetwork.sh

SCRIPT="install_geonetwork.sh"
echo "==============================================================="
echo "install_geonetwork.sh"
echo "$SCRIPT"
echo "==============================================================="

GEONETWORK_VERSION=2.10.0-0
Expand Down Expand Up @@ -173,4 +174,8 @@ done
#cp GeoNetwork_opensource_v264_Manual.pdf $USER_HOME/Desktop
#chown $USER_NAME:$USER_NAME $USER_HOME/Desktop/GeoNetwork_opensource_v264_Manual.pdf


echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
8 changes: 7 additions & 1 deletion bin/install_geopublisher.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@
# =======
# Any Java 1.6, Sun preferred

SCRIPT="install_geopublisher.sh"
echo "==============================================================="
echo "install_geopublisher.sh"
echo "$SCRIPT"
echo "==============================================================="

if [ -z "$USER_NAME" ] ; then
Expand Down Expand Up @@ -62,3 +63,8 @@ mkdir -p /usr/local/share/data/vector
ln -s /usr/share/doc/geopublishing-doc/tutorial_Geopublisher_1 \
/usr/local/share/data/vector/geopublisher

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
8 changes: 7 additions & 1 deletion bin/install_geoserver.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,9 @@
# Requires: Sun Java {6|7} compatible runtime
#

SCRIPT="install_geoserver.sh"
echo "==============================================================="
echo "install_geoserver.sh"
echo "$SCRIPT"
echo "==============================================================="

TMP="/tmp/build_geoserver"
Expand Down Expand Up @@ -252,3 +253,8 @@ cp /usr/local/share/gisvm/app-data/geoserver/ne_10m*.sld \
echo "Cleaning up Jetty JSP cache in /tmp"
rm -rf /tmp/Jetty*geoserver*

echo "==============================================================="
echo "Finished $SCRIPT"
echo Disk Usage1:, $SCRIPT, `df -B 1M | grep "Filesystem" | sed -e "s/ */,/g"`, date
echo Disk Usage2:, $SCRIPT, `df -B 1M | grep " /$" | sed -e "s/ */,/g"`, `date`
echo "==============================================================="
Loading

0 comments on commit 2c12ca3

Please sign in to comment.