Skip to content

(FIXED) – WORDPRESS ERROR FTP USER

  • Ubuntu

If your wordpress is asking for an FTP user to install plugins or themes, you have a permissions error
The specific error is as follows:
“To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.”

SSH into the server

View the .conf file located in the sites-available folder

find the SUSEXEC id numbers

then cat /etc/passwd

This will show you all the usernames

Find the SUSEXEC id number (This will be your apache user)

Then Type:
sudo chown -R apacheuserhere:apacheuserhere /home/name/public_html/

LG TV AS A MONITOR / DISPLAY

If you just setup your LG TV as a monitor, you will notice the edges are cut off. Here is how to fix it

Use the LG TV Remote

Select Settings button on the Remote

Select ALL Settings

Click Picture

Click Aspect Ration Settings

Set JUST SCAN to On

Now it will work fine!

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

MAUTIC – VIEW ALL CONTACTS IN A SEGMENT

  • Mautic

Here is a quick and easy way to view all the contacts in a segment. Lets use the Bounced Emails segment.

Navigate to Contacts

In the filter box at the top, write:
segment:bounced-emails

Press Enter

All of your bounced emails will show. Now you can select the person, and Add them to another segment, or remove them completely from a segment.

MAUTIC – RESET BOUNCED EMAIL FLAG

Mautic has a feature where not only is a bounced email added to the bounced-emails segment, it also has a Bounced Flag, that has to be reset for you to email a user again. You can remove it one by one for each user, however if you have hundreds of thousands of users, you will need a more efficient way.

Here is that way

Log into your Mautic Server

Log into your Webmin Server

Click Servers

Click MariaDB Database Server

Select the Database

Click the Execute SQL button at the bottom

Execute:
DELETE FROM lead_donotcontact WHERE reason = 2

The flag will be reset

Back in Mautic..

Go into Contacts

In the Filter box enter in:
segment:bounced-emails

Press Enter

Select All contacts and remove them from the segment (DO NOT DELETE THEM)

and you can now email them again….

HOW TO UPDATE PI-HOLE

Quick How-To for updating pihole on Ubuntu

Open a terminal

Type:
sudo apt-get update
Enter in your password

Type
sudo apt-get dist-upgrade
Enter in your password

Type
pihole -up
Enter in your password

Pihole updates

That is it!

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.