How to sync your date when you restore a VirtualBox snapshot?

This article focuses on synchronizing/updating the clock in your guest linux VM after you restore a VirtualBox snapshot. When you create a VirtualBox snapshot, it’s essentially a photo taken and frozen in time. All bits including the date and time are frozen to that instant. When you restore a snapshot, the Linux guest VM system is restored back to that snapshot including the date and time. This may not be desired all the time especially if the purpose is to restore the configuration and settings to an earlier time but your want to roll forward the clock on the VM to the present instance.

How to configure and install ZeroMQ (libsodium) on CentOS 6.7?

When getting started on ZeroMQ (version 4.2.0 or above) can be quite challenging especially with all the prerequisites. I’ve spent a good two days to get the process ironed out. So I’m sharing this so that others can avoid the same pitfalls and can have a good head-start with setting up their environment. Pitfall #1: Develop for your platform. I’m accustomed to developing in Ubuntu 14.04.3 LTE but in this case my deployment environment happens to be CentOS 6.

[Solved] configure: error: cannot run C compiled programs.

Common error when you run configure before make && make install: checking whether the C compiler works… configure: error: in /root/downloads/libzmq-master': configure: error: cannot run C compiled programs. If you meant to cross compile, use–host’. Add the following into your /root/.bashrc or /home/{username}/.bashrc [sourcecode language=“jscript”] export CPATH=/usr/local/include export LIBRARY_PATH=/usr/local/lib export LD_LIBRARY_PATH=/usr/local/lib export LD_RUN_PATH=/usr/local/lib [/sourcecode] Logout and login to reinitialize .bashrc or do the following: [sourcecode language=“jscript”] source /root/.bashrc or source /home/{username}/.