Creating a Nagios Core Monitoring Server

Nagios Core (formerly known as just Nagios) is a free tool that can be used to monitor networking equipment, server equipment, and general networking infrastructure. This is a command line tutorial therefore this can be done on either the desktop or the CLI version of Linux.

  • OS Requirements
    • Ubuntu Linux 20.04
  • Install Required Packages
    • apt install wget unzip curl openssl build-essential libgd-dev libssl-dev libapache2-mod-php php-gd php apache2 -y
  • Install nagios core
  • Extract the downloaded files.
    • sudo tar -zxvf nagios-4.4.6.tar.gz
  • Navigate to the setup directory.
    • cd nagios-4.4.6
  • Run the Nagios Core configure script.
    • sudo ./configure
  • Compile the main program and CGIs.
    • sudo make all
  • Make and install group and user.
    • sudo make install-groups-users
  • Add www-data directories user to the nagios group.
    • sudo usermod -a -G nagios www-data
  • Install Nagios.
    • sudo make install
  • Initialize all the installation configuration scripts.
    • sudo make install-init
  • Install and configure permissions on the configs’ directory.
    • sudo make install-commandmode
  • Install sample config files.
    • sudo make install-config
  • Install apache files.
    • sudo make install-webconf
  • Enable apache rewrite mode.
    • sudo a2enmod rewrite
  • Enable CGI config.
    • sudo a2enmod cgi
  • Restart the Apache service.
    • sudo systemctl restart apache2
  • Create a user and set the password when prompted.
    $ sudo htpasswd -c /usr/local/nagios/etc/htpasswd.users admin

How To Create a Mirth Connect Server On Ubuntu 20.04

  1. Create an Ubuntu Desktop VM
  2. Change IP address to desired address either through DHCP or statically on the machine
  3. Update Linux
    1. apt-get update
    2. apt-get upgrade
  4. Install Java and SQL
    1. Open the terminal
      1. sudo apt install default-jre
    2. Install sql
      1. sudo apt install mysql-server
  5. Make sure java installed
    1. Open terminal
      1. Java -version
  6. Go to https://www.nextgen.com/products-and-services/mirth-connect-downloads 
    1. Download the Linux.tar.gz file for the Linux installation
    2. Install the Administrator version as well
  7. Extract the 2 downloads and move them to the /opt/ directory 
    1. tar -xvzf /path/to/filename.tar.gz
  8. Open New terminal
    1. Move downloads from desktop to /opt/ directory
      1. Cd Desktop/
      2. Sudo mv /DOWNLOAD ONE NAME/ /opt/
      3. Sudo mv /DOWNLOAD TWO NAME/ /opt/
  9. Confirm that the files are in the /opt/ directory
    1. cd /opt/
    2. ls
      1. There should be 2 files in the /opt/ directory (the two you downloaded and moved)
  10. Enter the mirth file to find the configuration file
    1. cd Mirth\ Connect/
    2. ls
    3. cd /conf
    4. ONLY DO THIS IF YOU WISH TO EDIT CONFIG FILE
      1. nano mirth.properties
      2. You will not be free to edit the configuration files.
    5. Cat mirth.properties
      1. You should now be in the server properties of mirth. Edit these files if you wish to (username, password, port numbers)
  11. Lave the configuration file
    1. Cd ..
  12. Launch the server
    1. ./mcserver
  13. Connect to the server via web browser

IF YOU DECIDE TO USE THE ADMIN PROGRAM

  1. Open a new terminal window
  2. Navigate to /opt/ directory
    1. Cd /opt/
  3. Go into the mirth admin program
    1. cd mirth-administrator-launcher/
  4. Run the launcher
    1. ./launcher
    2. You should not be loading into the admin panel where you can enter your server credentials.

Exporting a Docker Image to Docker Hub

  1. Enter the root user account
    1. sudo -i
  2. View current running docker containers to find the one you want to upload
    1. Docker ps -a
  3. You can make sure its the correct machine by interfacing with it and checking the files
    1. Docker exec -it <CONTAINER ID> (EX: 50b2e9d0dff6) bash
      1. Docker exec -it 50b2e9d0dff6 bash
      2. Here you can use it as you would a regular CMD Linux PC
      3. To exit the container, do the command: “exit”
  4. Commit Container to an Image (This turns the container into a docker image for reuse)
    1. Docker commit <CONTAINER ID> <DOCKER HUB USERNAME>/<Your_Image_Name>
      1. EX: docker commit 50b2e9d0dff6 mpeck/ubuntu-modified
  5. Log into your Docker Hub account on the docker-machine
    1. docker login
      1. You will then enter your docker hub username and password
  6. Push the docker image to Docker Hub
    1. docker push <username>/<Image_Name>
      1. EX: docker push mpeck/ubuntu-modified
  7. Check Docker Hub
    1. https://hub.docker.com/
    2. Log into the account you used to push the container
    3. Check the “repository” tab for your container.

iGame Geforce RTX 3060 Ultra W OC 12G-V

The GeForce RTX 3060 Ultra is a very good graphics card, having an OpenGL Version of 4.6, along with having DirectX 12. Manufactured by Colorful, which is China’s NO.1 computer parts manufacturer, making anything from them a highly sought-after commodity.

(Graphics Card shown below)

Colorful iGame GeForce RTX 3060 Ultra W OC 12G-V Gameplay Review - YouTube

————————————————————————————————————————-

Specifications of Card Below

3584 CUDA Cores

12GB of Memory

GDDR6 Memory Type

DirectX 12 Ultimate/OpenGL 4.6

No SLI

————————————————————————————————————————

As you can see, this is quite the video card, and for $1145.70 (As of this post), this card is a really good option.

Video Card- ASUS TUF B360M-E GAMING

This is my gaming motherboard that I am going to be telling you about what video card you can buy to fit in this. The picture is a link to where the website to buy the motherboard.

This is my gaming video card that I am going to be advertising to you. The picture is a link to where to buy. The memory that this card can hold is 4GB and the memory type is GDDR5. The type of cooling it has is two cooling fans to cool down the things inside. The power supply inside your computer, the recommended for how much power it should have is 300W. The DirectX is a series of application programming interfaces (also known as API) that provide low-level access to hardware components. The DirectX of this video card is 12. The OpenGL is a platform that computers use to process 2D and 3D images. The OpenGL for this video card is 4.5. This video card would be great for your kids gaming need.

Note:  This review is part of a classroom project.

G.SKILL TridentZ RGB Series – Memory Review

List of Specifications:
  • Capacity – 32GB (2 x 16GB)
  • Speed – DDR4 3600
  • CAS Latency – 18
  • Access Time – 5 ns
  • Dual-Channel – Yes
  • ECC – No
Thoughts:

My first thoughts were that this is an exceptional piece of hardware.  The price of $144.99 for 32GB of memory is an exceptional value.  Couple the value with the access time of 5 ns, and you are making a great purchase.  This memory is as fast as almost every more expensive option. The memory was delivered in delicately designed and easy to open packaging.  This RAM looks fabulous inside of any machine. The RGB lighting is great quality and the lighting choices are highly customizable.  These sticks also have a sleek design, making them perfect for a minimalistic design. This is a great choice of memory for anyone looking to game or even use them for the look.

http://www.newegg.com/g-skill-32gb

Reviews of this RAM on NewEgg verify my conclusions.

Note:  This review is part of a classroom project.

VENGEANCE® RGB PRO 16GB (2 x 8GB) DDR4 DRAM 3600MHz C18 Memory Kit

The VENGEANCE® RGB PRO 16GB (2 x 8GB) DDR4 DRAM 3600MHz C18 Memory Kit comes with two 8GB sticks of ram, as it’s name suggests. The Ram sticks featured in this pack run at a speed of 3600MHz with a Cl of 18.  The sticks of RAM are best suited for making a decent gaming PC that is able to do moderately hard tasks. This RAM should be able to run average games and definitely run things like Microsoft office and Google’s equivalent. The overall price of these sticks is $105 which is a little pricy but well worth it.

 

The exact Specs for these RAM sticks are

  • DDR4
  • Dual Channel
  • 3600MHz
  • Cl 18
  • Non-Parity
  • Non-ECC
  • 28800 Mb/s  Bandwidth
  • 1.35 Volts
  • 6ns Access time

 

Link To Buy

**THIS IS PARE OF A CLASSROOM PROJECT**

Crucial Ballistix MAX – Memory Review

This is the Crucial Ballistix MAX that I bought recently. I had bought it for $1,074.04 on Newegg.com but I originally found this memory on the Crucial website. The motherboard that I used for this memory was the ASUS TUF Gaming X570-PRO.

The amount of RAM this memory has is 16GB (2 x 8GB) and the generation of the memory is DDR4. The bandwidth is 5100 and if you find the access time it is 0.000000004 nanoseconds. This memory is Non-ECC which also makes it non-Parity so it has 8 chips. This memory is dual channel and has a CAS latency of 19. The warrantee on this memory is lifetime for parts and labor. The speed is at 5100 (OC) and works fantastically for my motherboard.

Rating of Motherboard

This memory is rated a 4 out of 5 eggs on Newegg and it continues to show that it should be rated a 4 out of 5.

Works Cited:

Newegg. “Crucial Ballistix MAX 5100Newegg.com – Computer Parts, Laptops, Electronics, HDTVs, Digital Cameras and More!

Crucial. “Crucial Ballistix MAX 5100Crucial.com- The Memory & Storage experts.

Note:  This review is part of a classroom project.

XPG Spectrix D50 RGB (Kingston/HyperX) – RAM Review

First thing to note when purchasing the XPG Spectrix D50 RGB, is that it is definitely priced higher than some, but the pros outweigh the cons enough to make it worth it.

The very first thing I noticed when I put this memory into my computer was that it isn’t as tall as some of the other memory I have tested before, so it leaves some more room than most other memory would. This being said, it doesn’t effect the speed in any way, but is a bonus to have some more room for those pesky wires.

I was unable to get a picture of them, as my PC case is not clear, but I did find one to show what they look like when in a PC.img

The two lines in the middle that stand out in color is a set of the memory, which is how it comes when you purchase them.

The source for this image did mention that a custom color option would be nice, but there has to be a point to where it becomes too good for it’s cost.

Like a lot of memory I have tested, it would be a wise decision to go into BIOS and make sure that the memory and your PC are communicating properly and at one set speed to increase efficiency.

Onto some of the details other than flashy lights and general things that can be said about a lot of different memory sticks, I have the specs of the memory listed below.

This image is linked to where I got it from

 

Note:  This review is part of a classroom project.