Installing on Amazon EC2 & Amazon Linux 2023
Installing Watch My Domains SED v6 on an Amazon Elastic Compute Cloud (EC2) instance is straightforward.
Install LAMP
Follow the instructions at AWS
You may also use Amazon RDS instead of the database server on the EC2 instance. In that case create the database with RDS, configure its security and then enable access to the database from your EC2 instance. Now install a suitable database client on EC2 and use it to create a new database user. This procedure is no different from standard installation of other applications like say, WordPress.
Install and Enable SSL/TLS
Install the required PHP modules
Some of these may already be installed and available by default.
sudo yum -y install php-mbstring php-xml sudo yum -y install php-intl php-bcmath php-zip sudo systemctl restart php-fpm
Install PEAR and NET_DNS2
sudo yum -y install php-pear sudo pear install net_dns2 sudo systemctl restart php-fpm
Install ionCube
This step is not required for the Professional edition.
cd ~ wget http://downloads3.ioncube.com/loader_downloads/ioncube_loaders_lin_x86-64.tar.gz tar zxvf ioncube_loaders_lin_x86-64.tar.gz cd ioncube sudo cp ioncube_loader_lin_8.3.so /usr/lib64/php8.3/modules/
The above assumes that you have PHP 8.3, if not replace the 8.3 with appropriate version string.
Edit /etc/php.ini and add
zend_extension=/usr/lib64/php8.3/modules/ioncube_loader_lin_8.3.soat the top and restart PHP / apache
sudo systemctl restart httpd sudo systemctl restart php-fpm
Create a database and user
Provide your mysql root password and login.
mysql -u root -p
The database is created in AWS management console if you are using Amazon RDS. In that case you will only need to create a new user using the mysql client.
create database wmdsed; grant all privileges on wmdsed.* to 'wmdsed'@'localhost' identified by "yourpasswordhere"; flush privileges; quit
Install Watch My Domains SED v6
cd /var/www/html wget --content-disposition https://domainpunch.com/sed/wmdsed60_trial.zip.php unzip wmdsed60_trial.zip cd wmdsed60 cp config-sample.php config.php nano config.php
Make /var/www/html/wmdsed60/logs writable by apache.
chmod g+w /var/www/html/wmdsed60/logs
Now edit config.php and provide database details, setup user password, etc. (please see the link below)
Run the command line tool once so that the database is initialized and the tables created.
php /var/www/html/wmdsed60/sed.php list=tables
Create and enable the systemd timer for Watch My Domains SED.
Verify that the systemd timer is working as required and then open the application in your browser at https://<ip address>/wmdsed60/