These steps got Vagrant up and running after much gnashing of teeth over longer than I’d like to admit. Hopefully it helps you avoid my mistakes.
- Download and install VirtualBox
- VirtualBox 5.0.x for Windows hosts
- Virtualbox 5.0.x Oracle VM Virtualbox Extension Pack (All supported platforms)
- Download and install Vagrant
- Windows Universal (32 and 64-bit)
Avoid box issues by installing vcredist_x86
- Kept running into a build error. Originally thought it was a login issue on Vagrant’s end. Turns out it was due to Visual C++ 2010 Redistributable not being installed. This was the error:
The box ‘bento/centos-7.1’ could not be found or
could not be accessed in the remote catalog. If this is a private
box on HashiCorp’s Atlas, please verify you’re logged in via
vagrant login. Also, please double-check the name. The expanded
URL and error message are shown below:
- Download vcredist_x86
- Download Microsoft Visual C++ 2010 Redistributable Package (x86)
Vim commenting is a nightmare. Add Atom.io to Windows environment variables
- Download and install Atom
- Setup environment variables
- Control Panel > System > Advanced system settings > Environment Variables… > System Variables
- Path > Edit…
- OK (3x)
- It’s now possible to edit text files in Atom from the command prompt via “atom Vagrantfile”
Now I can get back to studying for the RHCSA via a local version of CentOS 7.
Last month, Pocket was integrated into Firefox and subsequently removed their add-on from Firefox’s official repository.
I prefer the old add-on for a variety of reasons including:
- Dropdown menu from toolbar (i.e., one-click access to saved websites.)
- Easy tagging, archiving, and search from said menu.
- Opened original websites instead of assuming the reading-format was what was requested.
- Meaningful customization (e.g., dozens of parameters to make sure Pocket fits end-user’s needs.)
To be fair, Pocket may be updated in the near future and all of this could be addressed. As of right now, I feel they broke an essential tool in the name of streamlining one version across browsers.
The screenshots and folder locations are all from Windows, but I have successfully done the exact same process across both Fedora and Ubuntu. All that’s different is the file system locations (e.g.,
AppData is substituted with
/home/[username]/.mozilla/firefox/.) The files and folders themselves are identical.
I obtained the add-on from another PC where the add-on was still installed. The article assumes you are able to get a hold of the add-on in this fashion.
How to get the legacy add-on back
- Locate profile folder on your computer where the legacy add-on is currently installed
Settings > Help Menu > Troubleshooting Information
Profile Folder > Show Folder
- Copy extension from profile to a flash drive / Dropbox / whatever external medium.
- Install Nightly Tester Tools Add-On on PC without the extension
- Enable “Force addon compatibility” mode
Tools > Nightly Tester Tools > Force Addon Compatibility
- Exit Firefox
- Paste ReadItLater folder into:
- Paste isreaditlater… folder into:
- Open Firefox
- It will prompt you to install the add-on with a warning about possible incompatibility
That is everything! Now the late, great add-on is restored! For how long it will work we’ll just have to find out. Until that fateful day of lost productivity comes, I’ll be thoroughly enjoying Pocket the way it should be.
VMware shared folders fail to mount in Ubuntu guest
A number of my virtual machines are Ubuntu 14.04 and on occasion, I like to share content from my host to the guest VM. In order to get VMware’s shared folders to see content from a host machine (e.g., Downloads folder), I had to do the following:
- Revert to the last known good Linux kernel
- Edit default GRUB kernel to boot
- Reinstall VMware tools
- Optional: Make a symbolic link to directory to have easier access
Last known good Linux kernel 1
sudo apt-get install linux-image-3.13.0-45-generic linux-headers-3.13.0-45-generic
Edit default GRUB kernel to boot 2
sudo nano /etc/default/grub
Comment out default GRUB entry
Add a new default GRUB entry to boot the Linux kernel 3.13.0-45
GRUB_DEFAULT="Advanced options for Ubuntu>Ubuntu, with Linux 3.13.0-45-generic"
CTRL-X then Y to write changes.
Check kernel currently in use
Reinstall VMware tools 3 4
sudo mkdir /media/cdrom # May be optional if already present
sudo mount /dev/cdrom /media/cdrom
sudo cp /media/cdrom/VMwareTools.tar.gz ~
tar -xvf VMwareTools.tar.gz
sudo ./vmware-install.pl -d
Open shared directory
Make a symbolic link to directory to have easier access 5
ln -s /mnt/hgfs/folder-name/ /home/user-name/
Make sure to spell out the whole file path or it will treat the link as a file that can’t be opened (a simple “rm folder_name” will remove the faulty link.)