42542fb076
fully chrooted DESTDIR, which does not need such any more. Sponsored by: Google Summer of Code 2007 Approved by: portmgr (pav)
21 lines
881 B
Text
21 lines
881 B
Text
=======================================================================
|
|
lilurl is now installed. If you intall it for the first time,
|
|
you may have to follow this steps to make it work correctly:
|
|
|
|
1. Create the MySQL database:
|
|
# mysqladmin --user=root create lilurl
|
|
|
|
2. Create a mysql user/password for lilurl:
|
|
(change user and/or password if requered)
|
|
# echo "GRANT ALL ON lilurl.* TO lilurluser@localhost IDENTIFIED BY 'lilurluser'; FLUSH PRIVILEGES;" | mysql
|
|
|
|
3. Import the default lilurl database:
|
|
# mysql lilurl < %%PREFIX%%/%%LILURL_DIR%%/lilurl.sql
|
|
|
|
4. Copy %%PREFIX%%/%%LILURL_DIR%%/includes/conf.php.sample to %%PREFIX%%/%%LILURL_DIR%%/includes/conf.php
|
|
Edit %%PREFIX%%/%%LILURL_DIR%%/includes/conf.php
|
|
|
|
5. Add alias in apache config for the lilurl dir:
|
|
Alias /lilurl "%%PREFIX%%/%%LILURL_DIR%%/"
|
|
|
|
=======================================================================
|