Created
February 17, 2011 12:59
-
-
Save adilsoncarvalho/831677 to your computer and use it in GitHub Desktop.
Script shell to install APE
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# this script needs a refactoring (but it works :) | |
apt-get update | |
apt-get -y git-core git-doc | |
apt-get -y build-essential | |
cd /opt | |
git clone git://github.com/APE-Project/APE_Server.git | |
git clone git://gist.github.com/831631.git ape-server | |
cd APE_Server | |
./build.sh | |
# | |
# /etc/ape | |
# | |
mkdir /etc/ape | |
cp -R /opt/APE_Server/modules/conf/* /etc/ape | |
cp /opt/APE_Server/bin/ape.conf /etc/ape | |
chmod a-x /etc/ape/* | |
# | |
# /etc/init.d | |
# | |
cp /opt/ape-server/ape-server /etc/init.d | |
chmod a+x /etc/init.d/ape-server | |
# | |
# /usr/bin | |
# | |
cp /opt/APE_Server/bin/aped /usr/bin | |
mkdir /usr/lib/ape | |
cp /opt/APE_Server/modules/lib/libape-spidermonkey.so /usr/lib/ape | |
# | |
# /var/ape | |
# | |
mkdir /var/ape | |
cp -R /opt/APE_Server/scripts/* /var/ape |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment