In this guide, you will learn how to install MagicSpam on your server using the One-Command Installation.
Prerequisites
Before starting, make sure to have the following at hand:
- information on the web panel, operating system and architecture of the server
- access to the command line terminal as 'root' user on the server
- a valid MagicSpam license key
Installation
Now that you have everything needed to install MagicSpam, access the command line terminal as the 'root' user on the server and run the following command with the <license key> placeholder replaced with your valid MagicSpam license key.
Code: Select all
bash <(wget -qO- https://www.magicspam.com/download/magicspam-installer.sh) -l <license key>
Running MagicSpam Installer Script 1
Validating command line arguments and system
Downloading the MagicSpam installation package for Cpanel on Rhel764
Installing the MagicSpam installation package /tmp/magicspampro-cpanel-2.1-14.1-rhel764-cpnl11.x86_64.rpm
+-------------------------------------------------------------------------------+
<server specific installation output>
+-------------------------------------------------------------------------------+
Completed MagicSpam Installation
Troubleshooting
These are some possible issues that may crop up during the installation process along with the steps to resolve them.
Duplicate or old script
These error messages will be returned when duplicate or old scripts are detected. In both cases, delete the duplicate or old script before running the installation command again. For example:ERROR: Detected duplicate installer script, delete this script and all duplicates and run full command again
ERROR: Newer version of script is now available, delete this script and run full command again
Code: Select all
rm magicspam-installer.sh*
These error messages are returned when the script is unable to automatically detect the web panel, operating or architecture of the system. You will want to manually specify the the web panel, operating system or architecture using the -w, -o or -a flags respectively. For example, assuming you want to install MagicSpam on a cPanel server running on Redhat7 64-bit:ERROR: Failed to detect web panel
ERROR: Failed to detect operating system
ERROR: Failed to detect architecture
Code: Select all
bash <(wget -qO- https://www.magicspam.com/download/magicspam-installer.sh) -l <license key> -w cpanel -o rhel7 -a 64
Code: Select all
bash <(wget -qO- https://www.magicspam.com/download/magicspam-installer.sh) -h
These error messages are returned when the script detects an disabled or expired license key. You will have to purchase a new MagicSpam license key and run the command again with the new license key.ERROR: Disabled License
ERROR: Expired License
Additional Support
If you encounter any issue that's not covered in the Troubleshooting section, contact us via the Support Contact Form and include the command you ran along with the full verbose output. You can run the command in verbose mode by including the -v flag:
Code: Select all
bash <(wget -qO- https://www.magicspam.com/download/magicspam-installer.sh) -l <license key> -v