How Do You Get the VNC Viewer Application to Show the Full Screen of the Linux Desktop That You Have Connected To?

Problem scenario
On Windows (e.g., 7 or 10) you have a VNC viewer application installed.  You are trying to use the VNC application to remotely connect to a Linux desktop.  You can connect to the Linux server (or computer or Raspberry Pi).  The problem is that the VNC viewer is not showing the full screen of the Linux desktop.  You know there is more to the screen horizontally and/or vertically. 

How Do You Install the Go Programming Language on an Ubuntu Linux Server?

Problem scenario
You want to use the Go programming language.  There are various directions online that involve downloading files and modifying configuration files.  You just want simple directions to install Go to an Ubuntu Linux server.  What do you do?

Solution
Run these two commands:
sudo apt-get -y update
sudo apt -y install golang-go

How Do You Troubleshoot the Error “ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)”?

Problem scenario
You install mysql on a RedHat (RHEL) Linux server in AWS.  You run this command: mysql -u root -p

But you get this message:
ERROR 2002 (HY000): Can’t connect to local MySQL server through socket ‘/var/lib/mysql/mysql.sock’ (2)

How can you get around this problem and get to a SQL interface?

Solution
sudo systemctl start mariadb.service

How Do You Get a Docker Container to Run That Was Made for Graylog?

Problem scenario
You are trying to follow the directions for installing Graylog from Docker hub.  You run these commands:

docker pull graylog2/server

docker run –name contint-mongo -d mongo:2

docker run –name contint-elasticsearch -d elasticsearch:2 elasticsearch -Des.cluster.name=”graylog”

docker run –link contint-mongo:mongo –link contint-elasticsearch:elasticsearch -p 9000:9000 -e GRAYLOG_WEB_ENDPOINT_URI=”http://127.0.0.1:9000/api” -d graylog2/server

The first two containers (for MongoDB and ElasticSearch) work and run.  The third for Graylog will not start.  It says it has “Exited 1 second ago.” 

List of Cryptocurrency Accessories

List of Cryptocurrency Accessories
Ethereum – Gold Plated “Cryptocurrencies You Hold”
Gold Ripple – “Cryptocurrencies You Hold”
KeepKey: the Simple Cryptocurrency Hardware Wallet
Ledger Nano S Bitcoin Wallet Bundle With VUVIV Micro-USB Adapter and USB-C Adapter for MacBook (3 Items)
Ledger Nano S Cryptocurrency Hardware Wallet
Ledger Nano S – Cryptocurrency Hardware Wallet With MintCell Magnetic USB Cable and Cable Tie
Trezor Bitcoin Wallet black *
Trezor bitcoin wallet white *

* The Trezor wallet has the highest rating on CryptoCompare.com.

How Do You Use Flask as a RESTful Endpoint on an Ubuntu Server?

Problem scenario
You want to deploy Flask to test it out.  You also want a RESTful endpoint on an Ubuntu Linux server.  How do you do this?

Solution
1.  Install Flask.  Run these five commands:

sudo apt-get -y update
sudo apt-get -y install python python-pip 
sudo pip install –upgrade pip setuptools
sudo apt-get -y install python3-dev virtualenv python3-venv
pip install flask

2. 

List of Bitcoin and Other Cryptocurrency Books

Sic Itur Ad Astra (on pages 390 and 391) discusses fiat currency and how non-governmental entities can create valuable currency. The author was an astrophysicist; he seems to have almost predicted bitcoin.

List of Bitcoin and Other Cryptocurrency Books

The Age of Cryptocurrency: How Bitcoin and the Blockchain Are Challenging the Global Economic Order
The Bitcoin Big Bang: How Alternative Currencies Are About to Change the World
Bitcoin: Everything That You Need to Know About Bitcoin and Blockchain
Bitcoin for Dummies
Bitcoin From Beginner To Expert: The Ultimate Guide To Cryptocurrency And Blockchain Technology
Bitcoin Rebellion – the Beginning
Bitcoin: The Ultimate Guide from Beginner to Expert: Bitcoin and Cryptocurrency
Bitcoin: The Ultimate Guide to the World of Bitcoin,

How Do You Get Jenkins to Push Files to Other Servers in AWS?

Problem scenario
You have Jenkins set up on Linux.  You want it to deploy files to other Linux servers, how do you do this as a proof of concept?

Solution
There are many different ways of accomplishing this task.  These directions do not cover the production-recommended best practices associated with security.  For such a solution, you may want to see this external site.  (These directions could be adapted for non-AWS environments. 

How Do You Deploy Jenkins 2.X to Ubuntu Linux in AWS?

Problem scenario
You have an Ubuntu server in AWS with 0.5 GB of RAM.  You want to install Jenkins on it without installing an “apt-transport-http” package.  (You are ok with using an “apt-get upgrade” command on the Linux server.)  How do you do this?

Solution
(If you do not want to run “apt-get upgrade”, and you can install “apt-transport-http”, then see this posting

How Do You Determine the Port Number That a Web Service Is Listening On?

Problem scenario
You have access to the backend of a Linux server.  You want to know if a port is in use (e.g., if there is activity on it).  You believe that an active service is listening an a TCP port.  How do you determine the port number of that service?

Solution
To be diligent, do these three things:

1.  Run this command to find a list of listening services:
sudo netstat -anlp | grep -i listen

The output may be associated with a specific service,