α» BootStrap edit** « wiki αt10xxxxx

Our goal: Make the entire infrastructure of NooPolis MindHoster-Datacenter (eg after ErdMondBeben) kann die komplette SocialBackup. The following steps are necessary for the BootStrap: On your MindMac: # Order a Root-Server at MindHoster Follow the steps at http://docs.amazonwebservices.com/AWSEC2/2007-08-29/GettingStartedGuide/ : {{{ export JAVA_HOME=/Library/Java/Home/ export EC2_HOME=/Applications/ec2-api-tools-1.2-13740/ export PATH=$PATH:$EC2_HOME/bin export EC2_PRIVATE_KEY=~/Desktop/pk-SVHRFQGDSACVS2DNB3YH6HEOEDUPWM2T.pem export EC2_CERT=~/Desktop/cert-SVHRFQGDSACVS2DNB3YH6HEOEDUPWM2T.pem }}} # LogIn to the DomainHost and connect the domain mindbroker.de and all Subdomains to the IP-Address # ssh root@mindbroker.de # wget http://www.java.net/download/jdk7/binaries/jdk-7-ea-bin-b22-linux-i586-12_oct_2007.bin # jdk-7-ea-bin-b22-linux-i586-12_oct_2007.bin # rm jdk-7-ea-bin-b22-linux-i586-12_oct_2007.bin # DoIt: beschreibe apache setup # export NEWUSER=wiki # useradd -m $NEWUSER # su $NEWUSER # cd # wget http://apache.mirroring.de/tomcat/tomcat-5/v5.5.25/bin/apache-tomcat-5.5.25.zip # wget [http://www.ecyrd.com/~jalkanen/JSPWiki/2.4.104/JSPWiki-2.4.104-bin.zip] # apply Patches des JspWiki # ask CitiZens for their latest versions of SocialBackup and receive the latest mind.zip. # unzip mind.zip # export JAVA_OPTS=-Xmx180m # export JAVA_HOME=/usr/local/java/jdk1.7.0 # ~/apache-tomcat-5.5.23/bin/startup.sh # DoIt: beschreibe weitere Schritte {{{ wget http://www.java.net/download/jdk7/binaries/jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin chmod +x jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin ./jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin rm jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin mkdir /usr/local/java mv jdk1.7.0/ /usr/local/java/ export JAVA_HOME=/usr/local/java/jdk1.7.0 export PATH=$PATH:$JAVA_HOME/bin java -version yum install emacs yum install mod_jk }}} emacs /etc/httpd/conf/httpd.conf : append: {{{ NameVirtualHost *:80 <VirtualHost *:80> ServerName insider.mindbroker.de CustomLog /var/log/insider_vhost_access.log combined JkMount /* insider VirtualHost> # Load mod_jk module LoadModule jk_module modules/mod_jk.so # Where to find workers.properties JkWorkersFile /etc/httpd/conf/workers.properties # Where to put jk logs JkLogFile /var/log/httpd/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the timestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] export EC2_PRIVATE_KEY=~/Documents/unsorted/pk-U2OUOEQWK2QWFLTJS2WXZ3DYDGMPT4TB.pem export EC2_CERT=~/Documents/unsorted/cert-U2OUOEQWK2QWFLTJS2WXZ3DYDGMPT4TB.pem export EC2_PRIVATE_KEY=~/Documents/unsorted/pk-U2OUOEQWK2QWFLTJS2WXZ3DYDGMPT4TB.pem export EC2_CERT=~/Documents/unsorted/cert-U2OUOEQWK2QWFLTJS2WXZ3DYDGMPT4TB.pem export JAVA_HOME=/Library/Java/Home/ export EC2_HOME=/Applications/ec2-api-tools-1.2-13740/ export PATH=$PATH:$EC2_HOME/bin export EC2_PRIVATE_KEY=~/Desktop/pk-SVHRFQGDSACVS2DNB3YH6HEOEDUPWM2T.pem export EC2_CERT=~/Desktop/cert-SVHRFQGDSACVS2DNB3YH6HEOEDUPWM2T.pem export GRID_HOST=ec2-67-202-32-245.compute-1.amazonaws.com ping $GRID_HOST export GRID_HOST_IP=67.202.32.245 > 67.202.32.245 inwx > add GRID_HOST_IP ssh -i id_rsa-gsg-keypair root@$GRID_HOST wget http://www.java.net/download/jdk7/binaries/jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin yum install emacs root: wget http://www.java.net/download/jdk7/binaries/jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin chmod +x jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin ./jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin rm jdk-7-ea-bin-b24-linux-i586-04_dec_2007.bin mkdir /usr/local/java mv jdk1.7.0/ /usr/local/java/ export JAVA_HOME=/usr/local/java/jdk1.7.0 export PATH=$PATH:$JAVA_HOME/bin java -version yum install emacs yum install mod_jk emacs /etc/httpd/conf/httpd.conf : append: NameVirtualHost *:80 <VirtualHost *:80> ServerName insider.mindbroker.de CustomLog /var/log/insider_vhost_access.log combined JkMount /* insider VirtualHost> # Load mod_jk module LoadModule jk_module modules/mod_jk.so # Where to find workers.properties JkWorkersFile /etc/httpd/conf/workers.properties # Where to put jk logs JkLogFile /var/log/httpd/mod_jk.log # Set the jk log level [debug/error/info] JkLogLevel info # Select the timestamp log format JkLogStampFormat "[%a %b %d %H:%M:%S %Y] " emacs /var/www/html/index.html export NEWUSER=insider useradd -m $NEWUSER passwd $NEWUSER su $NEWUSER insider: cd mkdir tmp java -version wget http://netmirror.org/mirror/apache.org/tomcat/tomcat-6/v6.0.14/bin/apache-tomcat-6.0.14.zip unzip apache-tomcat-6.0.14.zip rm apache-tomcat-6.0.14.zip chmod +x ./apache-tomcat-6.0.14/bin/*sh cd apache-tomcat-6.0.14/webapps/ rm -Rf ?* wget http://www.ecyrd.com/~jalkanen/JSPWiki/2.6.0/JSPWiki-2.6.0-bin.zip unzip JSPWiki-2.6.0-bin.zip mv JSPWiki/JSPWiki.war ROOT.war rm -Rf JSPWiki rm JSPWiki-2.6.0-bin.zip cd emacs apache-tomcat-6.0.14/conf/server.xml ./apache-tomcat-6.0.14/bin/startup.sh ps aux kill -9 1791 emacs apache-tomcat-6.0.14/webapps/ROOT/WEB-INF/jspwiki.properties mv apache-tomcat-6.0.14/webapps/ROOT.war . ./apache-tomcat-6.0.14/bin/startup.sh }}}