If your trying out docker on Centos/Rhel7 and are behind a proxy and cant access the images repo.
Just add the http_proxy environment settings to /etc/sysconfig/docker.
To mount an ISO to linux.
Run the below
mount -o loop /pathto/something.iso /folder
If you have the issue when trying to add a vagrant box with vagrant 1.5 then simply run the command from the windows cmd prompt.
Initially when trying to do this command via cygwin it was bringing back the “(URI::InvalidURIError)” error.
To create a java dump file on java if the app fails.
Add the below to the java startup configuration
If you need to mount Virtual Box Guest additions on your linux VM to install vb guest additions.
You may need to mount the CD Drive manually if the Install guest additions does not work.
mount /dev/cdrom /media/cdrom
To ignore any specific mounts that are being monitored when using collectd df plugin.
Add the below to the /etc/collectd.conf file
If you find you need to increase the swapsize on linux, simply run the below.
Create a swap file – example below creates 2GB file (1024 x 2072 = 2097152 blocksize) to change the size simply times the swap you need by 1024 and append the number to the count option.
dd if=/dev/zero of=/swapfile1 bs=1024 count=2097152
mkswap /swapfile1 ; chmod 600 /swapfile1
Then enable the swap by running the below
To confirm the swap has been added use free -m to check.
total used free shared buffers cached
Mem: 5963 4371 1592 0 23 2140
-/+ buffers/cache: 2207 3755
Swap: 3071 0 3071