As an example I will assume this is an unmanaged VDS running Ubuntu 20.04 with Apache. Similar steps should be available for any service, OS, or web software.
A local web server is required. On Ubuntu 20.04 Apache can be installed with a single command:
Code: Select all
sudo apt-get install apache2
Optionally, you may choose to add domain names, enable HTTPS, or put replays in a subdirectory, but I normally just use the default configuration.
Replay requires 3 essential parts to work:
replay_local_fileserver_path - Usually /var/www/html , can be something else if you changed it
replay_fileserver_host - Should be your servers IP address, or a domain name if you are using that
replay_fileserver_path - Usually just "/" (unless on a subdirectory)
After that you may simply set replay_enable to 1 and change the level. Also, I recommend putting these commands in autoexec.cfg - since they require a map change to work, it's best done before the initial map starts up.