YOURLS: Difference between revisions

From ArchWiki
(Add language)
(Merge with List of applications/Internet#Link shortening servers, flagged since February)
Tag: New redirect
 
(3 intermediate revisions by 3 users not shown)
Line 1: Line 1:
[[Category:Servers]]
#REDIRECT [[List of applications/Internet#Link shortening servers]]
[[zh-hans:YOURLS]]
[https://yourls.org/ YOURLS] is a self-hosted link shortener service written in PHP.
 
== Installation ==
[[Install]] the {{aur|yourls}} package.
 
== Setup ==
A [[MySQL]] database and user are required, to complete the config file at {{ic|/etc/webapps/yourls/config.php}}.
 
In the same config file, set the {{ic|YOURLS_SITE}} to either your short domain {{ic|http://example.org}} or a subfolder {{ic|http://example.org/s}}, but always without the trailing {{ic|/}}.
 
Set a random cookie key, for example using {{ic|pwgen 50 1}} and a user/password combo for the admin user. You can write the hash or the plain-text, but in the latter case the [[web server]] needs {{ic|rw}} permissions to be able to hash it.

Latest revision as of 08:47, 16 September 2022