Skip to content
Home » Tools » Page 2

Tools

Tech Tools, Related Information, How-To’s, Tips, Tools, and Guides

UPGRADE UBUNTU 20.04 TO 22.04

Quick how-to run and upgrade from the command line

Do not SSH into the server. Use KVM or a local connection to the server

Login

sudo bash

apt-get update

apt-get upgrade

apt-get dist-upgrade

do-release-upgrade

The server will upgrade to the latest version

INSTALL COMPOSER 2 ON UBUNTU 20.04

Quick How-To for getting composer 2 to work since composer 1 has been deprecated

Login to a terminal

sudo bash
apt-get update
apt-get upgrade
apt install php-cli unzip
exit
cd ~
curl -sS https://getcomposer.org/installer -o /tmp/composer-setup.php

HASH=`curl -sS https://composer.github.io/installer.sig`

echo hash

php -r “if (hash_file(‘SHA384’, ‘/tmp/composer-setup.php’) === ‘$HASH’) { echo ‘Installer verified’; } else { echo ‘Installer corrupt’; unlink(‘composer-setup.php’); } echo PHP_EOL;”

Installer will be verified

sudo php /tmp/composer-setup.php –install-dir=/usr/local/bin –filename=composer

Composer will download and install

Then Type:
composer

You should see a Composer info screen

UPGRADE MAUTIC ON UBUNTU 20.04

Quick how-to on the way I upgraded mautic, since upgrading through the web breaks my installations every time.

Login into your Virtualmin

Backup all of your virtual servers

Download the backups to your pc

Open Putty

SSH to Server

sudo su –

cd to your mautic directory (/home/user/html)

php bin/console mautic:update:find

php bin/console mautic:update:apply

php bin/console mautic:update:apply –finish

Open your mautic installation, refresh the web page, check the bottom right, and you will see the latest version. In my case it is 4.4.8

EMAIL WARMING USING POWER AUTOMATE – SENDING FROM DOMAIN

For those of you who need to get a positive reputation on your domain for email campaigns, you first need to warm up the domain. Here is a simple power automate flow to assist with the task.

Login into Office.com

Click on the Menu to the Top Left of the screen

Select Power Automate

Click My Flows

Click +New Flow

Select Scheduled Cloud Flow

Give it a Name, Start Date, and Interval on how often you want it to run

Click Next

Click + Next Step

Type in mail and press Enter

Select Send EMAIL V3

Put in the FROM address of a user for the new domain you want to send email to
ex: user@tacticalware.com

Enter in a To Address for another email you own, that is off domain from the domain you are warming up.
ex: tacticalwarexyz123@gmail.com

Enter in a Subject

Add some Text to the Body

Click Save

Test your Flow, and email should go though now.

Next you will want to setup an auto reply on the receiving email address, and also setup a power automate flow from the email domain so you can generate content coming out of it.

EMAIL WARMING USING POWER AUTOMATE – SENDING TO DOMAIN

For those of you who need to get a positive reputation on your domain for email campaigns, you first need to warm up the domain. Here is a simple power automate flow to assist with the task.

Login into Office.com

Click on the Menu to the Top Left of the screen

Select Power Automate

Click My Flows

Click +New Flow

Select Scheduled Cloud Flow

Give it a Name, Start Date, and Interval on how often you want it to run

Click Next

Click + Next Step

Type in mail and press Enter

Select Send an Email V2

Put in the address of a user for the new domain you want to send email to
ex: user@tacticalware.com

Enter in a Subject

Add some Text to the Body

Click Save

Test your Flow, and email should go though now.

Next you will want to setup an auto reply on the receiving email address, and also setup a power automate flow from the email domain so you can generate content coming out of it.

HOW TO CHECK A DKIM RECORD

This one is quick and easy. You need to know the record info that was setup with the DNS Provider to do it

Go to https://MXToolBox.com/NetworkTools.aspx

Find the DKIM Box

Enter in the domain:selector info
Example – tacticalware.com:mydkim

Press the DKIM Lookup button

If it is setup properly you will see in green, the dkim information. If it is setup improperly, you will see an error, as you would see if you searched for the dkim tacticalware.com:mydkim

GODADDY – BACKUP DNS ZONE

Here is how to backup your DNS information in GoDaddy

Login into your account

Navigate to https://dcc.godaddy.com/control/portfolio

Identify the Domain name you want to backup

Click the three dots next to it “

Select Edit DNS

On the DNS MANAGEMENT page, next to the ADD button, click the Three Dots “

Select Export Zone File

Your DNS will backup to your computer.

Save it to somewhere special, and go on your merry way

CREATE SPF RECORD

This is a quick how-to on setting up the SPF record for those of us not using Microsoft 365. They have a different record type If you want a more in-depth one, there are many available elsewhere. So for now, here it is

Login into your DNS Provider
Ex – Network Solutions, Hostgator, ENOM

Navigate to the area to Manage DNS records

Create a TXT record

Name will be
@

Value will be:
v=spf1 a mx ip4:xxx.xxx.xxx.xxx ~all
Be sure to change xxx.xxx.xxx.xxx with the actual IP of your mail server

Save the record

Go to MXToolbox.com and enter your domain name

You should see a green box with your SPF record info contained inside

CREATE DMARC RECORD

This is a quick how-to on setting up the record. If you want a more in-depth one, there are many available elsewhere. So for now, here it is

Login into your Email Server

Create a new email address. Something like dns@tacticalware.com

Next, Login into your DNS Provider
Ex – Network Solutions, Hostgator, ENOM

Navigate to the area to Manage DNS records

Create a TXT record

Name will be
_dmarc

Value will be:
v=DMARC1; p=reject; rua=mailto:dns@tacticalware.com; ruf=mailto:dns@tacticalware.com; fo=1;

Make sure you change dns@tacticalware.com to whatever the email address is that you created in the first step

Save the record

Go to MXToolbox.com and enter your domain name

You should see a green checkmark next to DMARC

BLOCK TRACKERS CONTAINED IN EMAIL – MICROSOFT OUTLOOK DESKTOP APPLICATION

Most marketing emails contain a single pixel hidden in the email which tracks you. This pixel calls home, lets the marketers/spammers know that you opened the email, and begins tracking your movement through their system.

Here is how to block it within Outlook on your IOS device (ipad, iphone, etc)

Open Outlook

Click on the File

Select Options

Open Trust Center

Click on Trust Center Settings

Find Automatic Download

Place check mark in:
Don’t download pictures automatically in standard html…..
Don’t download pictures in encrypted or signed…..

Thats it! Tracking pixel disabled