How Do You Download a File With PowerShell When You Get the Error “Not enough space on disk”?

Problem scenario
You are using PowerShell 3.0 on Windows 7 and you try to run the PowerShell command start-bitstransfer to download a large file.  Running start-bitstransfer results in an error that says “Not Enough space on disk.” 

Solution
Verify the size of the file.  See if the destination directory/drive has sufficient space.  If this error happens despite there being ample space available in the destination drive and destination directory compared to the size of the source media, 

Oracle VirtualBox Client (or VM or virtual Linux server) Has No Internet Access

Problem scenario:  You are running Linux 7.x in Oracle VirtualBox on a Windows Professional 7 laptop.  In the Linux server, you try to ping an IP address.  You get “connect: Network is unreachable.”

Solution

1.  In the Oracle VirtualBox window of the server, go to Devices -> Network Settings -> Adapter 1

     a) Go to Attached To: and choose “NAT”

b) Check the box for “Cable Connected”

2.

How Do You Create Bootable Media with an .iso File That Is over 7 GB?

Problem scenario:  You want to install Linux on a laptop or workstation.  You need to create bootable media with an .iso file that is over 7 GB.  CDs and DVDs cannot support 7 GB.  What do you create a bootable USB stick?

Solution
This assumes you have downloaded the installation media (the .iso file) to your computer.  For .iso files that are over 8 GB,

How Do You Convert A Windows File System On One Drive To Be NTFS?

Problem scenario:  You have a drive “H:” that is using FAT32.  You want to conver it to NTFS.  You open PowerShell as Administrator.  You delete the files on drive H:.   You run this command:

convert h: /fs:ntfs

You see this message “File and folder verification is complete.”  It hangs and never completes.

Solution
Do not use PowerShell. 

How Do You Set Up a Shared Drive or Folder Using Oracle VirtualBox?

Problem scenario:  You want to transfer files between a host machine running Oracle VirtualBox and a guest server.  By sharing media, your Oracle VirtualBox is much more useful.  How do you configure a folder to be shared between the host machine that runs Oracle VirtualBox and a virtual guest OS?   

Solution
These directions are for Oracle VirtualBox running on a Windows 7 Professional host with a guest virtual server running Linux,

How Do You Install VirtualBox Guest Additions on a Linux Guest Server when the Files Are All Missing From the .iso?

Problem scenario:  You are trying to install Guest Additions on a Linux server.  You mount the CD/DVD/.iso through Oracle VirtualBox to /media/VirtualBoxGuestAdditions.  On the host virtual server the /media/VirtualBoxGuestAdditions (the directory where the CD/DVD/.iso was mounted) has no files.  You try to unmount the device and remount the device.  But you see no files. You are unable to run “./VBoxLinuxAdditions.run” because the file is not where it should be.  What do you do to solve this problem?

How Do You Troubleshoot yum Command Failures with the Error “File /var/cache/yum/i386/7/epel/metalink.xml does not exist”?

Problem scenario:  yum commands are failing.  You get this error after running a yum command:  “File /var/cache/yum/i386/7/epel/metalink.xml does not exist”

Solution
Remove EPEL. Use this command: “yum remove epel-release”

How Do You Fix an Error “no repomd file” When Trying To Run a Yum Command?

Problem scenario:  You try to use yum commands.  You get an error about “no repomd file” and the desired yum command does not work.  What should you do?

Solution

If you are using Fedora Linux, run this command:

cat /etc/*-release

Look at the output of the above command to find the version of Fedora.  Verify you are using a recent version of Fedora (released within the past two years).

How do you handle a “ENOMEM” error when trying to run a Chef command?

Problem scenario:  You recently installed Chef server on a Linux t2.micro instance (an AWS virtual server with 1 vCPU and 1 GB of RAM).  You ran this command “chef-server-ctl reconfigure” and received this error:

“Errno::ENOMEM occurred in delayed notification: runit_service[opscode-solr4] ( private-chef::opscode-solr4 line 37) had an error: Errno::ENOMEM: Cannot allocate memory – fork(2)”

What should you do?

Solution
Root cause:  A t2.micro instance has insufficient RAM.