Skip to content

INSTALL AND RUN CISA SCUBAGEAR

Quick How-To on installing and running the app

First – Get Global Administrator permissions to the M365 Tenant

Second – Open a browser and login into it using the newly created Global Administrator Account

Next Download SCuBAGear version 1.0 from – https://github.com/cisagov/ScubaGear
Only use 1.0 because the other versions are buggy

Open PowerShell as an Administrator (right click and select this) on the computer that you will run SCuBAGear from

cd C:\directory\ScubaGear-main\
To the directory you installed SCuBAGear

Type
Set-ExecutionPolicy Bypass

Type
.\SetUp.ps1

Type
cd PowerShell\ScubaGear

Type
Import-Module -Name .\ScubaGear.psd1

Type:
Disconnect-SCuBATenant

Type:
cd ..\..\utils

Type:
Invoke-Scuba


Login as your Global Admin account

The report will run!

[FIXED] PARROT OS NTP TIME INACTIVE

When you run timedatectl it will show you the current date and time on your Parrot box. You will also see that NTP in inactive. To fix it

sudo timedatectl set-ntp true

Then run

timedatectl

and the correct time will now show

INSTALL ESXI 8 ON INTEL NUC 12

Here is how I was able to install ESXi 8 onto my Intel NUC 12 Wall Street Canyon

Press Power Button

Press F2 to get into the BIOS

Navigate to the Power, Performance and Cooling tab

Select External Ambient Temperature

Set to User Defined

Mouse over to Performance and click on it

Set the number of E-Cores to 0

F10 to save and Exit BIOS

Now you can reboot and install ESXi

[FIXED] VIRTUALMIN HTTP TO HTTPS REDIRECT

By default virtualmin creates sites in both http and https. Here is how to force all your traffic to your HTTPS site only

Log into Virtualmin

Select the Domain

Choose Server Configuration

Select Website Options

Place a dot next to Redirect HTTP to HTTPS by default

Save

And you are done. Your traffic now redirects

{FIXED} VIRTUALMIN PROFTPD ERROR AFTER UPGRADE TO UBUNTU 22.04

If you are receiving the following error after the upgrade:

UBUNTU 22.04 Upgrade Error with proftpd

Then you must do the following
sudo apt remove proftpd*
sudo apt purge proftpd*

Now you can run updates normally
sudo apt-get update
sudo apt-get upgrade

and you will not see the error anymore

And with that, you are welcome


(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