How Do You Keep a User from Logging off Unexpectedly?

Problem scenario
You have a Bash script that keeps logging out the user unexpectedly.  You have done research and nothing seems to work.  Your script does not use the reboot command.  Your script does use the exit command.

What do you do to keep the user from logging off while still using this script with the exit command?

Solution
This solution below is for one specific root cause. 

How Do You Set up an FTP Server on an RHEL Server Running in AWS?

Problem scenario
You want to use a Red Hat Enterprise Linux server to be an FTP server.  You have a RHEL instance in AWS.  How do you configure this server to serve as an FTP server?

Solution
1.  Run this command: sudo yum -y install vsftpd

2.  Run the commands below but replace contint with the username of your choice.  You will need to respond to a password prompt too.

How Do You Connect to an Amazon RDS Instance?

Problem scenario
You created an Amazon RDS instance that uses PostgreSQL.  How do you connect to it without using the AWS CLI or AWS API from a Windows workstation?

Solution

Prerequisites

  • Install HeidiSQL on your Windows machine.  (Toad or other SQL front-end applications can work too.)
  • You need a username and password for the PostgreSQL instance. 

Reputations of Cryptocurrency Exchange Companies in the U.S.

Question
What ratings do U.S. based cryptocurrency exchange companies have with the Better Business Bureau?

Answer
Updated on 3/6/24.
Updated on 12/4/20.
Some bitcoin and altcoin enthusiasts are not interested in purchasing cryptocurrencies from non-American companies.  Some people argue that the Better Business Bureau is run by the businesses themselves, and thus protector of businesses. 

How Do You Create an Amazon RDS Database Instance?

Problem scenario
You want to test out an Amazon RDS database instance.  (You want to use a database PaaS offering and VPC as opposed to EC-2.)  What do you do?

Solution
1.  Log into the AWS console.  
2.  Click “Launch a DB instance”
3.  Choose the database engine you want (e.g., PostgreSQL). Click “Next”.
4.  Click the option for “Dev/Test” and click “Next”.

What is Amazon VPC?

Question
What is Amazon VPC?

Answer
VPC stands for Virtual Private Cloud.  For a typical VM in AWS, there are restrictions on IP address assignments.  VPC allows you to configure servers and network access points without restrictions.  It allows you to leverage AWS with your own network in a separate data center.  It is ideal for hybrid clouds or situations where you need full control of networking without the constraints of typical AWS deployments.

Interested in Buying Cryptocurrency besides Bitcoin (aka Altcoins)?

With U.S. dollars you can buy over 30 different cryptocurrencies directly!  You no longer need to first buy Bitcoin then transfer it to another exchange as an intermediate step.  Just change the drop down menu for “PAY WITH” to USD, and you can proceed to invest in alternative cryptocurrencies (or buy Bitcoin itself) directly!  Changelly is user-friendly, and a great way to buy altcoins with Euros or U.S. Dollars.

Can’t load widget

If you want to receive free cryptocurrency by just learning more,

Will the Market for Application Servers Grow?

The perceived usefulness of application servers seems unquestioned in many corners of the I.T. world.  The conditions that facilitate the deployment of application servers in architectural planning persist. However some people think that code can be written to function on a server that interacts with a web and/or database server without a typical application server being deployed in the middle of the customized code and the OS itself.  Some professionals do not think that application servers are necessary.

How Do You Create a Router in OpenShift When You Get an Error about a User Being Forbidden?

Problem scenario
You are trying to create a virtual router in OpenShift.  When you run the command “oc adm router goodname” you get this error:

“error: router could not be created; could not retrieve list of security constraints to verify service account “router”: securitycontextconstraints.security.openshift.io is forbidden: User “jdoe” cannot list securitycontextconstraints.security.openshift.io at the cluster scope: User “jdoe” cannot list all securitycontextconstraints.security.openshift.io in the cluster”

What should you do?

What Are the Differences between Kubernetes and OpenShift?

Question
What are the differences between Kubernetes and OpenShift?

Answer

  • OpenShift was built by Red Hat.  OpenShift did not originally use Kubernetes (OpenShift blog).  Kubernetes was built at Google.
  • Kubernetes is open source whereas OpenShift usually costs money.  There are different types of OpenShift (e.g., OpenShift Online, OpenShift Enterprise etc.).
  • You use “oc” (OpenShift Client) commands with OpenShift that are often identical to “kubectl” commands in the options that they support.