How Do You Place a Postgres Database on a Flash Drive on a Windows Host Running Oracle VirtualBox with a Linux Guest VM?

Problem scenario
You have Postgres installed on the Linux guest of Oracle VirtualBox.  You have storage capacity on the Windows host.  You can interactively work with smbclient to share files between the Linux guest and the Windows host.   You want to share files between the two servers without the interactive smb commands.  You want the Postgres database to reside on the Windows host.  This way your Linux guest hard disk does not have to be expanded but can run Postgres commands from your Linux guest.

How Do You Install and Configure Postgresql on a Linux CentOS 7 Server?

Problem scenario:  You have a Linux Centos 7.3 server.  You want to get Postgresql to work on it.  What do you do?

Solution
To get Postgresql working on a CentOS 7.3 server, do the following four commands as the root user:

yum -y install postgresql-server postgresql-contrib

postgresql-setup initdb

systemctl start postgresql

systemctl enable postgresql

How Do You Troubleshoot Desired State Configuration Problems where Actions Are Not Working or Software Is Not Installing?

Problem scenario

You run a Start-DscConfiguration command in PowerShell like this:

Start-DscConfiguration -Path . -Wait -Verbose

You get an error message that the installation failed. The message may say something like this:

Start-DscConfiguration : The computer name was not specified and the configuration directory does not have any configuration files.

CategoryInfo : NotSpecified … ArgumentException
FullyQualifiedErrorId : System.ArgumentException,