3 # based on install/redhat/9/INSTALL
5 # apt for SuSE howto: http://linux01.gwdg.de/apt4rpm/
7 for file in ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos/apt-0.5.5cnc6-rb6.i586.rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos/apt-libs-0.5.5cnc6-rb6.i586.rpm ftp://ftp.gwdg.de/pub/linux/suse/apt/SuSE/9.0-i386/RPMS.suser-rbos/lua-5.0-rb3.i586.rpm; do
8 curl -C - -o `basename $file` $file
11 rpm -i lua-5.0-rb3.i586.rpm
12 rpm -i apt-libs-0.5.5cnc6-rb6.i586.rpm
13 rpm -i apt-0.5.5cnc6-rb6.i586.rpm
15 perl -pi.bak -e 's/386 update/386 base update/' /etc/apt/sources.list
17 apt-get update; apt-get update
19 apt-get install apache mod_ssl mod_perl perl-DBI perl-Msql-Mysql-modules perl-DBD-Pg perl-DateManip perl-HTML-Parser perl-HTML-Tagset perl-TimeDate perl-URI perl-libwww-perl perl-Apache-DBI perl-Apache-ASP perl-GD perl-MailTools perl-Tie-IxHash rsync postgresql postgresql-docs postgresql-libs postgresql-server postgresql-devel screen zsh lftp wget cvs make gcc
21 perl -MCPAN -e"install DBD::Pg, Net::Whois, Business::CreditCard, \
22 File::CounterFile, FreezeThaw, String::Approx, \
23 Text::Template, DBIx::DataSource, DBIx::DBSchema, \
24 Net::SSH, String::ShellQuote, Net::SCP, \
25 Time::Duration, HTML::Widgets::SelectLayers, \
26 Cache::Cache, Test::Pod, NetAddr::IP, IPC::ShareLite, \
29 /usr/sbin/useradd freeside
31 /sbin/chkconfig postgresql on
32 /etc/init.d/postgresql start
34 /sbin/chkconfig apache on
35 #/etc/init.d/apache start
37 su postgres -c "createuser -P freeside"
39 su freeside -c "createdb freeside"
43 make install-perl-modules
45 freeside-adduser -c -h /usr/local/etc/freeside/htpasswd ivan
46 su freeside -c 'freeside-setup ivan'
47 su freeside -c '/home/ivan/freeside/bin/populate-msgcat ivan'