X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=install%2Ffreebsd%2FINSTALL;h=53fc613d1ddd8b790411845e16c0cddecef2fbe8;hb=8f6a34b553a7ca9b7fc9c9cf5802ce418e3a5296;hp=4840ac2be00ef3fd8db3b5dc8a702fd8a2a7fa26;hpb=5a2a1af55963ec6ae04661537bb6926e629c0aea;p=freeside.git diff --git a/install/freebsd/INSTALL b/install/freebsd/INSTALL index 4840ac2be..53fc613d1 100755 --- a/install/freebsd/INSTALL +++ b/install/freebsd/INSTALL @@ -1,9 +1,40 @@ #!/bin/sh +( cd /usr/ports/sysutils/portupgrade + make install +) + +pkgdb -u + +portinstall -PR cvsup-without-gui + +cp /usr/share/examples/cvsup/ports-supfile /root +perl -pi -e 's/CHANGE_THIS/cvsup1/;' /root/ports-supfile +cvsup /root/ports-supfile + for port in `grep -v '^ *#' ports`; do - cd /usr/ports/$port - make install || exit + #cd /usr/ports/$port + #make install || exit + portinstall -P -R $port || exit done -perl -MCPAN -e"install DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration" +for a in Net::SSH DBIx::DBSchema HTML::Widgets::SelectLayers Time::Duration Business::CreditCard; do perl -MCPAN -e"install $a"; done + +su -l pgsql -c initdb + +/usr/local/etc/rc.d/010.pgsql.sh start + +pw user add freeside -m + +su -l pgsql -c 'createuser -P freeside' + +su -l freeside -c 'createdb freeside' + +#? +cd ../.. +make install-perl-modules +make create-config +make deploy + +#edit apache config, etc.