--default-table-type=BDB
or --default-table-type=InnoDB
mysqld command-line option or by setting default-table-type=BDB
or default-table-type=InnoDB
in the my.cnf option file.
$ 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 # make create-database(or manually, with Postgres:)
$ su freeside $ createdb freeside(with MySQL:)
$ mysqladmin -u freeside -p create freeside
$ make perl-modules $ su # make install-perl-modules
$ su # make create-config
Apache::ASP | Mason |
---|---|
|
|
#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 $ freeside-setup usernameAlternately, use the -s option to enable shipping addresses: freeside-setup -s username
$ su freeside $ cd /path/to/freeside/ $ bin/populate-msgcat username