What Database Does Elastic Search Use?

Question
What SQL database underlies Elastic Search?

Answer
There is no relational database for Elastic Search.

Elastic Search will have a cluster that is composed of nodes. Nodes are composed of indexes. Indexes are supported by shards. Shards have primary and replica copies. The replica copies vary. The shards are essentially Lucene indexes (according to this site).

In the Context of Linux, what is a System Call?

Question
In the context of Linux, what is a system call?

Answer
A system call is a special OS function with a human-readable name (according to page 11 of Sobell’s A Practical Guide to Fedora and RedHat Enterprise Linux). Such a function allows for programs to interact with the kernel (according to page 11 of Sobell’s A Practical Guide to Fedora and RedHat Enterprise Linux).

How Do You Troubleshoot the boto Message “NoRegionError”?

Problem scenarios (one or both of the following are happening)
#1 You are getting “botocore.exceptions.NoRegionError: You must specify a region” when you run a Python program (that involves boto and AWS).

#2 You are trying to create a session with a Python/boto program. You are printing out the Session information in your Python program using boto but you see this:

Session(region_name=None)

What should you do?

How Do You Install and Configure the rdf4j Server and Workbench GUI?

Problem scenario
You want to use the rdf4j (Resource Description Framework for Java). You want to install the rdf4j server and workbench. You are using Debian 9 Linux. What should you do?

Solution
Prerequisites
i. We recommend having a 30 GB of hard disk free.

ii. We recommend having 5.75 GB of RAM (it can be a combination of RAM and swap space).

Why Does Your Python Program Return “function at” with a Hexadecimal?

Problem scenario
You run a Python program. A value of a variable is printing “function at” with a hexadecimal. How can the variable be the intended value of the function and not this meta data of the Python interpreter or just-in-time compiler?

Solution
Use “()” at the end of the function invocation. This syntax is necessary. Here is an example that will cause the problem:

def cool():
a = “foobar”
return a

q = cool
print(q)

Here is an example that will not cause the problem:

def cool():
a = “foobar”
return a

q = cool()
print(q) …

What Utility Can Provide Encryption and High Compression for Files on Linux and How Would You Use It?

Problem scenario
You want to use the same command for encryption and compression. You want the compression to be high (for maximum data density for backups and storage purposes). You can install a new package. What should you do?

Solution
Use 7zip.

Prerequisite
Try whereis 7z to see if 7zip is installed. If it is not,

How Do You Create a Windows VM in Google Cloud Platform with the Console?

Problem scenario
You want to create a Windows server in Google Cloud Platform. How do you do this?

Solution
1. Log into Google Cloud Platform.
2. Click the hamburger icon in the upper left hand corner (the icon with three horizontal bars stacked onto each other).
3. Go to Compute Engine -VM Instances
4. Click “Create Instance”
5.