Changes

From Amahi Wiki
Jump to: navigation, search
14 bytes added ,  07:51, 20 June 2009
no edit summary
However, we provide a little script called
hda-create-db-and-user '''dbname'''
which creates a database called '''dbname''' and a corresponding user name for it matching (the password is also the DB and user name). Run hda-create-db-and-user -h for help on customizing the username and password as well as dropping the db and user.
* The "base dir" that Amahi creates is owned by user '''apache''' by default, so you may want to change the permissions so that other users can create and edit files in that area:
cd /var/hda/web-apps/'''yourwebapp''' chown -R '''youruser''' html
* Some people find it useful to create a new share pointing to the webapp root directory to be able to easily edit their files from their client computer(s) in their favorite editor.
Trusted, Bots, Bureaucrats, emailconfirmed, Administrators
3,789

edits