Skip to content
Home » Ubuntu » Page 3


Ubuntu Linux Technology, Related Information, How-To’s, Tips, Tools, and Guides


From time to time you will need to update your Mongo pgp key so you can run normal updates. Below is the procedure

When running
sudo apt-get update

You will receive an error such as this when the pgp keys for Mongo are out of date
W: GPG error: . and so on
E: The repository ‘……..’ is not signed

To fix this run the following:
wget -qO – | sudo apt-key add –

You will want to change the 5.0 above to the version listed in the error like this:
wget -qO – | sudo apt-key add –

Press Enter
Mongo will get the new keys

Now you can run
sudo apt-get update
and you will not receive the errors


To quickly get all the data from this page and all the sub pages:

You will need to run the following on a UBUNTU box

Open a terminal

mkdir finra-historical && mkdir all-years && mkdir downloads && cd finra-historical/downloads

wget -r -np -c -H

after the scrape completes type

mv ../allyears

cd ../

rm -R downloads

This will move only the downloads you want, over to the directory called all-years, and it will delete all the data that is extra


Here is a quick how-to on getting the daily short data. From this I look to see if the short volume has increased or decreased on a particular stock by leveraging a Power BI Dashboard that I had created. This guide is to show the simple command I run to initially scrape all the data

From a Linux box

Open a terminal

mkdir FINRA
wget -r -np

After it downloads the data I run
rm *.html

To remove the additional files that are not relevant, and then I move the data to where I need it

ERROR: Can’t start miner, cuda exception in [check_if_cuda_really_exists, 248], invalid argument

I just rebooted my miner, had not run any updates, had not run anything, just rebooted my miner, tried turning t-rex back on, and received the following error: ERROR: Can’t start miner, cuda exception in [check_if_cuda_really_exists, 248], invalid argument

To fix this I had to perform the following
Login to the miner
sudo bash
apt-get update
apt-get upgrade
ubuntu-drivers devices
Check to see if the 450 driver is available:

vendor : NVIDIA Corporation
model : GP102 [GeForce GTX 1080 Ti]
driver : nvidia-driver-390 – distro non-free
driver : nvidia-driver-460-server – distro non-free
driver : nvidia-driver-450-server – distro non-free
driver : nvidia-driver-460 – distro non-free recommended
driver : nvidia-driver-418-server – distro non-free
driver : nvidia-driver-450 – distro non-free
driver : xserver-xorg-video-nouveau – distro free builtin

Now run the following command
apt purge nvidia-driver-460-server
apt install nvidia-driver-450-server

Once your miner comes back online, you can now run t-rex fine.

The hardware that I used in this guide:
Gigabyte AORUS GeForce GTX 1080 Ti (QTY 6):

Motherboard (QTY 1):

CPU (QTY 1):

Memory (QTY 1):

Hard Drive (QTY 1):

Risers (QTY 6):

Power Supplies (QTY 2):

Add2PSU (QTY 1):

Power Switch (QTY 1):


By far the best guide I have found, in starting this journey, was written by Mark Smith on

If you want to see why things work the way they do, please visit his guide. My guide below is just the commands, and how I am connecting into the database once it is setup.

To begin, first you will want to install Ubuntu Server 20.10 as described here:

Once you are up and running, ssh into the Raspberry Pi

From the terminal run the following:
sudo bash

wget -qO – | sudo apt-key add –

echo “deb [ arch=amd64,arm64 ] focal/mongodb-org/4.4 multiverse” | tee /etc/apt/sources.list.d/mongodb-org-4.4.list

apt-get update

apt-get install -y mongodb-org

systemctl daemon-reload

systemctl enable mongod

systemctl start mongod

systemctl status mongod

CTRL button +c to exit

use admin

db.createUser( { user: "admin",
        pwd: "SuperSecretPassword",

        roles: [ "userAdminAnyDatabase",


                 "readWriteAnyDatabase"] } )


nano /etc/mongod.conf

Add these lines to the end of the file


   authorization: enabled

CTRL +x to Exit
Y to Save

systemctl restart mongod


db.adminCommand({listDatabases: 1})

Make sure you had no errors


mongo -u “admin” -p

Enter your admin password for mongo, aks your SuperSecretPassword

db.adminCommand({listDatabases: 1})
This will list out your databases and ensure you created it properly


nano /etc/mongod.conf
and Change the bind ip from to

   port: 27017

CTRL +x to Exit
Y to Save

systemctl restart mongod

ufw allow 27017/tcp

MongoDB is now successfully setup and running. On to configuring the Windows 10 system

To connect to the MongoDB from a Windows 10 computer

Open an Internet Browser on your Windows 10 computer
Navigate to
Download the Robomongo Robo 3T Client
Once you install it, add these settings to connect to your system
Click Create
Connection Tab
Type – Direct Connection
Address – The IP of your Raspberry Pi
Port 27017
Authentication Tab
Check mark Perform Authentication
Database is admin
User Name is admin
Password is your SuperSecretPassword
Auth is SCRAM
Click Save
Click Connect

You are now connected and ready to run with your MongoDB environment

Hardware that I used:
Raspberry Pi 4 (4gb)

CanaKit 3.5A Raspberry Pi 4 Power Supply (USB-C)

CanaKit Raspberry Pi 4 Micro HDMI Cable – 6 Feet

Western Digital 500GB WD_Black SN750 NVMe

Plugable USB C to M.2 NVMe Tool-free Enclosure


While TOR is the recommended way to access the dark web, everyone and anyone can still visit without the same level of anonymity. I certainly would suggest using TOR always, however if you need to get to any .onion site from a computer without tor, you can do so by following this:

Open an internet browser (Edge, Firefox, Chrome, etc)
Type in the .onion site (ex. https://protonirockerxow.onion/rc/)
After the .onion portion of the address, add .dog (ex
Press Enter
You are now viewing RISEUP’s website on the darkweb, using a regular browser


Most of my systems are built on linux, and linux does not have the ability to install the RGB Fusion software. For me to disable the lights on the motherboard, I have to do that from the BIOS. Here are the steps I use on my Gigabyte Motherboards:

Boot the computer
Press DEL during the boot to enter the BIOS
Scroll over to the Peripherals tab
Select RGB Fusion
Click OFF
Save & Exit
Reboot and your lights are off

Thanks for reading!