Differences
This shows you the differences between two versions of the page.
| Both sides previous revision Previous revision Next revision | Previous revision | ||
| wiki:sysadmin:yourls_url_shortener_tutorial [2023/04/28 13:45] – ↷ Page moved from wiki:yourls_url_shortener_tutorial to wiki:sysadmin:yourls_url_shortener_tutorial Greg | wiki:sysadmin:yourls_url_shortener_tutorial [2025/01/07 12:38] (current) – ↷ Links adapted because of a move operation Greg | ||
|---|---|---|---|
| Line 61: | Line 61: | ||
| If all went well, then Apache is installed and running with a default configuration. Simply open up a web browser, and enter %%" | If all went well, then Apache is installed and running with a default configuration. Simply open up a web browser, and enter %%" | ||
| - | {{ :wiki: | + | {{ wiki: |
| But of course, this isn't YOURLS, and the page we did get is kinda useless! Now we need to configure Apache to use/display your YOURLS site. Open up the Apache default site config: | But of course, this isn't YOURLS, and the page we did get is kinda useless! Now we need to configure Apache to use/display your YOURLS site. Open up the Apache default site config: | ||
| Line 81: | Line 81: | ||
| And if you refresh your web browser, it should now be showing something else... | And if you refresh your web browser, it should now be showing something else... | ||
| - | {{ :wiki: | + | {{ wiki: |
| It's just a bunch of code! That's not right... Well, by default Apache has no idea what to do with PHP code, so it's just serving the PHP files as a static plain text file. | It's just a bunch of code! That's not right... Well, by default Apache has no idea what to do with PHP code, so it's just serving the PHP files as a static plain text file. | ||
| Line 107: | Line 107: | ||
| Now open up your web browser again and go to the same address as before and prepend "/ | Now open up your web browser again and go to the same address as before and prepend "/ | ||
| - | {{ :wiki: | + | {{ wiki: |
| This is normal. YOURLS requires a database to run, and we haven' | This is normal. YOURLS requires a database to run, and we haven' | ||
| Line 160: | Line 160: | ||
| Now save and close the file, then refresh your browser. If all goes well, you should be at the YOURLS login page! | Now save and close the file, then refresh your browser. If all goes well, you should be at the YOURLS login page! | ||
| - | {{ :wiki: | + | {{ wiki: |
| Enter your credentials, | Enter your credentials, | ||
| - | {{ :wiki: | + | {{ wiki: |
| At this point, your YOURLS installation is complete, and you can start shortening URLS! | At this point, your YOURLS installation is complete, and you can start shortening URLS! | ||
| Line 172: | Line 172: | ||
| Now that YOURLS is running, there is one last set of tweaks I'd recommend to make your YOURLS experience better. Head on over to the Plugins page via the " | Now that YOURLS is running, there is one last set of tweaks I'd recommend to make your YOURLS experience better. Head on over to the Plugins page via the " | ||
| - | {{ :wiki: | + | {{ wiki: |
| You can also enable the '' | You can also enable the '' | ||