$ su postgres (pgsql on some distributions) $ createuser -P freeside Enter password for user "freeside": Enter it again: Shall the new user be allowed to create databases? (y/n) y Shall the new user be allowed to create more new users? (y/n) n CREATE USER
$ mysqladmin -u root password 'set_a_root_database_password' $ mysql -u root -p mysql> GRANT SELECT,INSERT,UPDATE,DELETE,INDEX,ALTER,CREATE,DROP on freeside.* TO freeside@localhost IDENTIFIED BY 'set_a_freeside_database_password';
$ su freeside $ createdb -E sql_ascii freeside
$ mysqladmin -u freeside -p create freeside
$ make perl-modules $ su # make install-perl-modules
$ su # make create-config
PerlModule HTML::Mason # your freeside docuemnt root <Directory /var/www/freeside> <Files ~ (\.cgi|\.html)> AddHandler perl-script .cgi .html PerlHandler HTML::Mason </Files> <Perl> require "/usr/local/etc/freeside/handler.pl"; </Perl> </Directory>
#your freeside document root <Directory /var/www/freeside> AuthName Freeside AuthType Basic AuthUserFile /usr/local/etc/freeside/htpasswd require valid-user </Directory>
$ su # freeside-adduser -c -h /usr/local/etc/freeside/htpasswd username
$ su # freeside-adduser -h /usr/local/etc/freeside/htpasswd username
$ su # freeside-adduser fs_queue # freeside-adduser fs_selfservice
$ su freeside $ freeside-setup -d example.com username