mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-04 06:15:24 +00:00
56246a50be
to TinyURL, Shorl, MakeAShorterLink, etc, but you can run it on your own server. Requires PHP and MySQL. Supports mod_rewrite. WWW: http://lilurl.sourceforge.net PR: ports/103231 Submitted by: chinsan <chinsan.tw(at)gmail.com>
22 lines
896 B
Plaintext
22 lines
896 B
Plaintext
=======================================================================
|
|
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 < %%TARGETDIR%%/%%LILURL_DIR%%/lilurl.sql
|
|
|
|
4. Copy %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php.sample to %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php
|
|
Edit %%TARGETDIR%%/%%LILURL_DIR%%/includes/conf.php
|
|
|
|
5. Add alias in apache config for the lilurl dir:
|
|
Alias /lilurl "%%TARGETDIR%%/%%LILURL_DIR%%/"
|
|
|
|
=======================================================================
|