3 #echo "deb http://pouncequick.420.am/~ivan/freeside-sarge/ ./" >>/etc/apt/sources.list
6 apt-get install screen zsh libapache-mod-ssl libapache-mod-ssl-doc \
7 libapache-mod-perl rsync postgresql postgresql-contrib cvs fsh \
8 liburi-perl libhtml-tagset-perl libnet-perl \
9 libwww-perl libbusiness-creditcard-perl \
10 libmailtools-perl libtimedate-perl libdate-manip-perl \
11 libfile-counterfile-perl libfreezethaw-perl libstring-approx-perl \
12 libtext-template-perl libdbi-perl libdbd-pg-perl \
13 libdbix-dbschema-perl libnet-ssh-perl \
14 libstring-shellquote-perl libnet-scp-perl libhtml-mason-perl \
15 libtie-ixhash-perl libtime-duration-perl \
16 libhtml-widgets-selectlayers-perl \
17 libapache-dbi-perl libcache-cache-perl libdbd-mysql-perl \
18 libcrypt-passwdmd5-perl libnetaddr-ip-perl \
19 libnet-whois-raw-perl libchart-perl \
20 libmime-perl libapache-session-perl libhtml-tree-perl \
21 libhtml-format-perl libtest-inline-perl libclass-returnvalue-perl \
22 libdbix-searchbuilder-perl liblog-dispatch-perl \
23 liblocale-maketext-lexicon-perl liblocale-maketext-fuzzy-perl \
24 libtext-wrapper-perl libtime-modules-perl libterm-readkey-perl \
25 libtext-autoformat-perl libtext-quoted-perl libregexp-common-perl \
26 libhtml-scrubber-perl libtree-simple-perl liblocale-subcountry-perl
29 su postgres -c "createuser -P freeside"
31 su freeside -c "createdb freeside"
33 perl -p -i.fsbackup -e 's/^(User|Group) .*/$1 freeside/' /etc/apache/httpd.conf
37 make install-perl-modules
39 freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
40 su freeside -c 'freeside-setup ivan'
41 su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'