diff options
author | ivan <ivan> | 2005-04-07 10:35:26 +0000 |
---|---|---|
committer | ivan <ivan> | 2005-04-07 10:35:26 +0000 |
commit | fcc647f90a15992717770b10eb39ef7a2e9ed41c (patch) | |
tree | be081736a901b21917220f4a68550339ec1fd5df /install | |
parent | d18a2abec5a0323c26fbc5704fb1a2675eaea352 (diff) |
add install/debian/3.1/INSTALL script and script up some apache automation assuming a conf.d type dir
Diffstat (limited to 'install')
-rw-r--r-- | install/debian/3.1/INSTALL | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/install/debian/3.1/INSTALL b/install/debian/3.1/INSTALL new file mode 100644 index 000000000..99333f12a --- /dev/null +++ b/install/debian/3.1/INSTALL @@ -0,0 +1,42 @@ +#!/bin/sh + +#echo "deb http://pouncequick.420.am/~ivan/freeside-sarge/ ./" >>/etc/apt/sources.list + +apt-get update +apt-get install screen zsh libapache-mod-ssl libapache-mod-ssl-doc \ + libapache-mod-perl rsync postgresql postgresql-contrib cvs fsh \ + liburi-perl libhtml-tagset-perl libnet-perl \ + libwww-perl libbusiness-creditcard-perl \ + libmailtools-perl libtimedate-perl libdate-manip-perl \ + libfile-counterfile-perl libfreezethaw-perl libstring-approx-perl \ + libtext-template-perl libdbi-perl libdbd-pg-perl \ + libdbix-dbschema-perl libnet-ssh-perl \ + libstring-shellquote-perl libnet-scp-perl libhtml-mason-perl \ + libtie-ixhash-perl libtime-duration-perl \ + libhtml-widgets-selectlayers-perl \ + libapache-dbi-perl libcache-cache-perl libdbd-mysql-perl \ + libcrypt-passwdmd5-perl libnetaddr-ip-perl \ + libnet-whois-raw-perl libchart-perl \ + libmime-perl libapache-session-perl libhtml-tree-perl \ + libhtml-format-perl libtest-inline-perl libclass-returnvalue-perl \ + libdbix-searchbuilder-perl liblog-dispatch-perl \ + liblocale-maketext-lexicon-perl liblocale-maketext-fuzzy-perl \ + libtext-wrapper-perl libtime-modules-perl libterm-readkey-perl \ + libtext-autoformat-perl libtext-quoted-perl libregexp-common-perl \ + libhtml-scrubber-perl libtree-simple-perl liblocale-subcountry-perl + +useradd freeside +su postgres -c "createuser -P freeside" + +su freeside -c "createdb freeside" + +perl -p -i.fsbackup -e 's/^(User|Group) .*/$1 freeside/' /etc/apache/httpd.conf + +#? +cd ../../.. +make install-perl-modules +make create-config +freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan +su freeside -c 'freeside-setup ivan' +su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan' +make deploy |