The installation of YOURLS entails getting hold of the latest version that typiclly comes as a .tar.gz file. Here’s where I got my copy from; https:/github.com/

SSH into your server, in my case Ubuntu 22.04 Server installed as a Virtual Machine with XCP-ng as Hypervisor. The hardware setup details are outlined in this post.

It would be even more convenient to use WinSCP so that the GUI can be used to create folders, copy files across from local machine to the server and to edit appropriate configuration files such as Apache config files. However, I have forgotten the root password for my Ubuntu installation and so will be using the uer I have setup; my user-name along with sudo prepended to commands as I navigate my way around the CLI – using the super reliable Putty Windows app.

The steps needed for instalation are outlined below;

  1. Have your server ready for installation. For a production environment you will need an IP address that points to your server. Details of how this works can be found here. If your server is running a DHCP networking schema, then the process will be slightly different however, the bulk of the following guidelines still apply since we are addressing the installation of YOURLS.
  2. The SSH facility allows you to remotely access your server. This is usually installed by default. If it isn’t, you can easily install it using a sudo apt-get openssh command (to be comfirmed). You will also need to enable SSH to pass through your firewall, again a simple sudo UFW allow 22 (to be confirmed)
  3. Using WinSCP or Putty, naavigate your way to where you wish to install YOURLS. This is usually the /var/www/html folder, however in my case I had WordPress 6.1 installed and note that it was placed in an usual location /srv/www/ folder. For this reason, I

Leave a Reply