and the last two runtime ones
[freeside.git] / install / debian / 3.0 / INSTALL
1 #!/bin/sh
2
3 echo "deb http://pouncequick.420.am/~ivan/freeside-woody/ ./" >>/etc/apt/sources.list
4
5 apt-get update
6 apt-get install screen zsh libapache-mod-ssl libapache-mod-perl rsync \
7         postgresql cvs fsh \
8         liburi-perl libhtml-tagset-perl libnet-perl liblocale-codes-perl \
9         libnet-whois-perl 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-datasource-perl libdbix-dbschema-perl libnet-ssh-perl \
14         libstring-shellquote-perl libnet-scp-perl libapache-asp-perl \
15         libtie-ixhash-perl libtime-duration-perl \
16         libhtml-widgets-selectlayers-perl libstorable-perl \
17         libapache-dbi-perl libcache-cache-perl libdbd-mysql-perl \
18         libcrypt-passwdmd5-perl libnetaddr-ip-perl libfile-temp-perl \
19         libnet-whois-raw-perl libchart-perl
20
21 useradd freeside
22 su postgres -c "createuser -P freeside"
23
24 su freeside -c "createdb freeside"
25
26 #?
27 cd ../../..
28 make install-perl-modules
29 make create-config
30 freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
31 su freeside -c 'freeside-setup ivan'
32 su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'
33 make deploy