Skip to content

Operating System

Operating System / OS Information, How-To’s, Tips, Tools, and Guides for a variety of systems

CHANGE VIRTUALMIN USER.DOMAIN TO USER@DOMAIN


VirtualMin has some pesky things. Here is a simple way to revert back to the older, better way of doing things

To change from user.domain logins back to user@domain logins

Login into VirtualMin

Click System Settings

Then Server Templates

Now select the Mail for Domain template

Scroll to the bottom and change the section Format for usernames that include domain

From user.domain

to user@domain

Now you are back to normal

[SOLVED] MAUTIC ERROR: The site is currently offline due to encountering an error. If the problem persists, please contact the system administrator. System administrators, check server logs for errors

In performing an upgrade for mautic, you can run into this error. To fix it do the following

Type:
sudo su –
cd /home/user
chown -R www-data ./public-html/
systemctl restart apache2.service

Now close and reopen your browser. Nagigate back to mautic and it will be fine

HOW TO UPDATE FIREFOX TO THE LATEST VERSION

Quick how-to for updating Firefox with screenshots included.

Open Firefox

Click the hamburger icon (shown below) which is in the top right of your computer screen

Click Help (shown below) then select About

If there is an update, it will show here, if the update is installed you will need to restart the browser as shown. And that is it!

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 from – https://github.com/cisagov/ScubaGear

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

Type:
Disconnect-SCuBATenant

Type:
cd ..\..\utils

Type:
Invoke-Scuba

Type:
.\RunSCuBA.ps1

Login as your Global Admin account

The report will run!

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

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