Yourls installation script for virtualmin

OS type and version Ubuntu 20.04
Webmin version 2.111
Virtualmin version 7.10.0
Related packages SUGGESTED

Does anyone happen to have an installation script for YOURLS I can use with Virtualmin?



I have disabled the home page because I am using it currently for the recently concluded election in my country, but that’s done yesterday so I will enable public access soon.

Hi @calport

Adding /admin I see it brings to the YOURLS login page. I’m trying to replicate this on my own Virtualmin instance. I’ve copied the YOURLS zip and moved it into a Virtualmin instance but i’m not sure how to proceed after that with regards to the DB setup, etc… by chance do you have some steps you did to get it working? I’m a windows user new to Linux and Webmin/Virtualmin I appreciate the help!

In Virtualmn, get the password of the database (one has already been created), then in the file manager extract the archive, edit config.php to apply the password and tweak the other settings. That’s all there is to it, as far as I can remember.

So there is no installation script as such. You have to edit one file manually.

I applied all the DB info into the config.php file but when I go to i’m not getting the yourls installer it just shows:

Not Found

The requested URL was not found on this server.

However if I go to I see the default virtualmin HTML page just as when I went on your link.

I’ve extracted all the files into the public_html directory of my virtualmin instance. I’m suspecting I put the files in an incorrect directory or perhaps i’m missing PHP extensions that are required? I’m running a default fresh install of Webmin & Virtualmin.

I have worked offline with @usersn and have resolved the issue. It was a script installation issue unrelated to Virtualmin. This can now be marked as closed.

Yourls is available as an Install Script in Virtualmin Pro.

But, installation is pretty easy. You can just follow the documentation on their site, only takes a few minutes, maybe twenty if you’ve never messed with databases and PHP before.