commit acb179ca279775e2f5cb664c44d5c3255dd5f767 Author: root Date: Thu Mar 24 08:10:13 2011 +0000 first version diff --git a/3c2c34b659bfeba85250146246eeb20ac43e84e2.tar b/3c2c34b659bfeba85250146246eeb20ac43e84e2.tar new file mode 100644 index 0000000..ac416b2 Binary files /dev/null and b/3c2c34b659bfeba85250146246eeb20ac43e84e2.tar differ diff --git a/bootstrap.sh b/bootstrap.sh new file mode 100644 index 0000000..2bec933 --- /dev/null +++ b/bootstrap.sh @@ -0,0 +1,377 @@ +# +# Automatically generated by blueprint(7). Edit at your own risk. +# +cd "$(dirname "$0")" +tar xf "3c2c34b659bfeba85250146246eeb20ac43e84e2.tar" -C "/usr/local" +mkdir -p "/etc/apache2/conf.d" +ln -s "/etc/javascript-common/javascript-common.conf" "/etc/apache2/conf.d/javascript-common.conf" +mkdir -p "/etc/apache2/sites-available" +cat >"/etc/apache2/sites-available/default" < + ServerAdmin webmaster@localhost + ServerName git.kennethreitz.com + DocumentRoot /usr/share/redmine/public + PassengerDefaultUser www-data + RailsEnv production + RailsBaseURI / + SetEnv X_DEBIAN_SITEID "default" + Alias "/redmine/plugin_assets/" /var/cache/redmine/default/plugin_assets/ + + +# ProxyPass /ci http://localhost:8081/ci +# ProxyPassReverse /ci http://localhost:8081/ci +# ProxyRequests Off + +# +# Order deny,allow +# Allow from all +# + + + Order allow,deny + Allow from all + + +EOF +chmod 0644 "/etc/apache2/sites-available/default" +mkdir -p "/etc/apache2/sites-enabled" +ln -s "../sites-available/default" "/etc/apache2/sites-enabled/000-default" +mkdir -p "/etc/apt/sources.list.d" +cat >"/etc/apt/sources.list.d/devstructure.list" <"/etc/cron.hourly/article_grabber.sh" <"/etc/crontab" <"/etc/dbconfig-common/config" <"/etc/dbconfig-common/redmine/instances/default.conf" <"/etc/papersize" <"/etc/redmine/default/database.yml" <"/etc/redmine/default/session.yml" <"/etc/ssl/private/ssl-cert-snakeoil.key" <"/etc/sv/git-daemon/run" <&1 +echo 'git-daemon starting.' +exec chpst -ugitdaemon \ + "$(git --exec-path)"/git-daemon --verbose --base-path=/srv/gitosis/repositories/ +EOF +chmod 0755 "/etc/sv/git-daemon/run" +mkdir -p "/etc/sv/git-daemon" +cat >"/etc/sv/git-daemon/run.orig" <&1 +echo 'git-daemon starting.' +exec chpst -ugitdaemon \ + "$(git --exec-path)"/git-daemon --verbose --base-path=/var/cache /var/cache/git +EOF +chmod 0755 "/etc/sv/git-daemon/run.orig" +apt-get -q update +apt-get -y install ack=1.39-12 +apt-get -y install acl=2.2.49-3 +apt-get -y install apache2-mpm-prefork=2.2.16-1ubuntu3 +apt-get -y install apache2-utils=2.2.16-1ubuntu3 +apt-get -y install apache2.2-bin=2.2.16-1ubuntu3 +apt-get -y install apache2.2-common=2.2.16-1ubuntu3 +apt-get -y install binutils=2.20.51.20100908-0ubuntu2 +apt-get -y install blueprint=3.0.2-1 +apt-get -y install ca-certificates=20090814 +apt-get -y install curl=7.21.0-1ubuntu1 +apt-get -y install dbconfig-common=1.8.46 +apt-get -y install ethtool=1:2.6.34-2 +apt-get -y install fgetty=0.6-5build1 +apt-get -y install git=1:1.7.1-1.1 +apt-get -y install git-daemon-run=1:1.7.1-1.1 +apt-get -y install gitosis=0.2+20090917-7 +apt-get -y install gnupg-curl=1.4.10-2ubuntu2 +apt-get -y install javascript-common=7 +apt-get -y install libactionmailer-ruby=2.3.5-1.1 +apt-get -y install libactionmailer-ruby1.8=2.3.5-1.1 +apt-get -y install libactionpack-ruby=2.3.5-1.1 +apt-get -y install libactionpack-ruby1.8=2.3.5-1.1 +apt-get -y install libactiverecord-ruby1.8=2.3.5-1.1 +apt-get -y install libactiveresource-ruby=2.3.5-1.1 +apt-get -y install libactiveresource-ruby1.8=2.3.5-1.1 +apt-get -y install libactivesupport-ruby=2.3.5-1.1 +apt-get -y install libactivesupport-ruby1.8=2.3.5-1.1 +apt-get -y install libapache2-mod-passenger=2.2.11debian-1 +apt-get -y install libapr1=1.4.2-3ubuntu1 +apt-get -y install libaprutil1=1.3.9+dfsg-3build1 +apt-get -y install libaprutil1-dbd-sqlite3=1.3.9+dfsg-3build1 +apt-get -y install libaprutil1-ldap=1.3.9+dfsg-3build1 +apt-get -y install libbreakpoint-ruby1.8=0.5.1-2 +apt-get -y install libbuilder-ruby1.8=2.1.2-2 +apt-get -y install libcmdparse2-ruby1.8=2.0.2-2 +apt-get -y install libcurl3=7.21.0-1ubuntu1 +apt-get -y install libcurl3-gnutls=7.21.0-1ubuntu1 +apt-get -y install libdaemons-ruby1.8=1.0.10-2 +apt-get -y install libdbd-mysql-perl=4.016-1 +apt-get -y install libdbd-mysql-ruby=0.4.4-1 +apt-get -y install libdbd-mysql-ruby1.8=0.4.4-1 +apt-get -y install libdbi-perl=1.611-1 +apt-get -y install libdbi-ruby1.8=0.4.3-2 +apt-get -y install libdeprecated-ruby1.8=2.0.1-2 +apt-get -y install libdigest-sha1-perl=2.13-1 +apt-get -y install liberror-perl=0.17-1 +apt-get -y install libfreetype6=2.4.2-2 +apt-get -y install libhtml-template-perl=2.9-1 +apt-get -y install libi18n-ruby1.8=0.3.6-1 +apt-get -y install libjpeg62=6b-16.1 +apt-get -y install libjs-jquery=1.4.2-2ubuntu1 +apt-get -y install libjs-prototype=1.6.1-1 +apt-get -y install libjs-scriptaculous=1.8.3-1 +apt-get -y install liblcms1=1.18.dfsg-1ubuntu2 +apt-get -y install liblog4r-ruby1.8=1.0.5-8 +apt-get -y install liblua5.1-0=5.1.4-5 +apt-get -y install libmemcache-client-ruby1.8=1.7.8-1 +apt-get -y install libmmap-ruby1.8=0.2.6-3 +apt-get -y install libmocha-ruby1.8=0.9.8-1 +apt-get -y install libmysql-ruby1.8=2.8.2-1 +apt-get -y install libmysqlclient16=5.1.49-1ubuntu8 +apt-get -y install libncurses-ruby1.8=1.2.4-2 +apt-get -y install libneon27-gnutls=0.29.3-2 +apt-get -y install libnet-daemon-perl=0.43-1 +apt-get -y install libpaper-utils=1.1.24 +apt-get -y install libpaper1=1.1.24 +apt-get -y install libpcap0.8=1.1.1-2 +apt-get -y install libplrpc-perl=0.2020-2 +apt-get -y install librack-ruby=1.1.0-3ubuntu1 +apt-get -y install librack-ruby1.8=1.1.0-3ubuntu1 +apt-get -y install libreadline5=5.2-7build1 +apt-get -y install libredcloth-ruby1.8=4.2.2-1.1 +apt-get -y install libruby1.8=1.8.7.299-2 +apt-get -y install libruby1.8-extras=0.5 +apt-get -y install libsqlite3-ruby1.8=1.2.4-2.1 +apt-get -y install libsvn1=1.6.12dfsg-1ubuntu1 +apt-get -y install libtext-format-ruby1.8=1.0.0-2 +apt-get -y install libtmail-ruby1.8=1.2.3.1-1 +apt-get -y install libtzinfo-ruby1.8=0.3.19-1 +apt-get -y install libxslt1.1=1.1.26-6 +apt-get -y install mysql-client-5.1=5.1.49-1ubuntu8 +apt-get -y install mysql-client-core-5.1=5.1.49-1ubuntu8 +apt-get -y install mysql-common=5.1.49-1ubuntu8 +apt-get -y install mysql-server=5.1.49-1ubuntu8 +apt-get -y install mysql-server-5.1=5.1.49-1ubuntu8 +apt-get -y install mysql-server-core-5.1=5.1.49-1ubuntu8 +apt-get -y install nmap=5.21-1~build1 +apt-get -y install openssh-server=1:5.5p1-4ubuntu4 +apt-get -y install openssl=0.9.8o-1ubuntu4.1 +apt-get -y install python-docutils=0.6-5 +apt-get -y install python-imaging=1.1.7-2 +apt-get -y install python-lxml=2.2.6-1 +apt-get -y install python-pkg-resources=0.6.14-3ubuntu1 +apt-get -y install python-pygments=1.3.1+dfsg-1ubuntu1 +apt-get -y install python-roman=0.6-5 +apt-get -y install python-setuptools=0.6.14-3ubuntu1 +apt-get -y install python2.6=2.6.6-5ubuntu1 +apt-get -y install rails=2.3.5-1.1 +apt-get -y install rails-ruby1.8=2.3.5-1.1 +apt-get -y install rake=0.8.7-2 +apt-get -y install redmine=1.0.0-4 +apt-get -y install redmine-mysql=1.0.0-4 +apt-get -y install rsync=3.0.7-2ubuntu1 +apt-get -y install ruby=4.5 +apt-get -y install ruby1.8=1.8.7.299-2 +apt-get -y install rubygems=1.3.7-2 +apt-get -y install rubygems1.8=1.3.7-2 +apt-get -y install runit=2.1.1-4ubuntu1 +apt-get -y install ssl-cert=1.0.26 +apt-get -y install subversion=1.6.12dfsg-1ubuntu1 +apt-get -y install unzip=6.0-4 +apt-get -y install wwwconfig-common=0.2.1 +apt-get -y install x11-common=1:7.5+6ubuntu3 +apt-get -y install zip=3.0-3 +easy_install-2.6 pip +pip install argparse +pip install blueprint +pip install epio +pip install httplib2 +pip install notifo +pip install simplejson +gem1.8 install inifile -v0.3.0 +gem1.8 install lockfile -v1.4.3 +gem1.8 install net-ssh -v2.0.23 +gem1.8 install rack -v1.2.2 +gem1.8 install sinatra -v1.2.1 +gem1.8 install tilt -v1.2.2