Automatic Installation Script for Generic Linux Boxes
Download and Run the Installer
Login to the server using SSH and using the root password that was emailed to you. You will be asked to change the root password. Do so and then do
For Debian 12x64
cd /root wget "https://learn.domainpunch.com/static/downloads/wmdsed6-debian-12-php-8.2-generic.sh" chmod u+x wmdsed6-debian-12-php-8.2-generic.sh ./wmdsed6-debian-12-php-8.2-generic.sh your_email_address_here
For Ubuntu 22.04
cd /root wget "https://learn.domainpunch.com/static/downloads/wmdsed6-ubuntu-22.04-php-8.1-generic.sh" chmod u+x wmdsed6-ubuntu-22.04-php-8.1-generic.sh ./wmdsed6-ubuntu-22.04-php-8.1-generic.sh your_email_address_here
For Ubuntu 24.04
cd /root wget "https://learn.domainpunch.com/static/downloads/wmdsed6-ubuntu-24.04-php-8.3-generic.sh" chmod u+x wmdsed6-ubuntu-24.04-php-8.3-generic.sh ./wmdsed6-ubuntu-24.04-php-8.3-generic.sh your_email_address_here
The script will prompt you for the email address (if not already specified in the command line) and the domain/host name. This will install the required packages and the application.
Important: The email address in the last part is used to register the EFF's certbot for SSL certificates and not for use by the application. If you don't specify an email address, a dummy example@example.com address will be used.
Seeing syntax error messages when you run the script?
Check if you downloaded the script properly. If you see any error that mentions 'rename config-sample.php ...' it is almost certainly a download error. It is better to copy the wget line fully and paste it into the Debian/Ubuntu terminal. On Putty, the right mouse click normally pastes the clipboard data. On the Mac terminal you can use Ctrl-V to paste.
Another possible reason for the script failing is running it on non-Debian or non-Ubuntu systems. This script is meant for Debian x64, Ubuntu 22.04 or Ubuntu 20.04.
Passwords
Look at the contents of /root/required.txt
(less /root/required.txt or cat /root/required.txt) for the passwords to access the installation. Passwords are randomly created by the script and saved to this file. To login to the installation use setup
as the user name and
the password mentioned for User sedapp:
in required.txt as the password.
Save the contents of this file and then delete it.