Friday, July 28, 2017

Uninstall git which is installed from source

I installed git 2.9.4 from source code via 'configure' and 'make install'. For some reason I need to uninstall it, but it could not be uninstalled with 'make uninstall'.

sudo find /usr/local -depth -iname 'git*' -exec rm -rf {} \;

The above command would delete all git related files.

Failed to start CentOS with GUI

When I came back from vacation, I could not start up my Cloudera Sandbox. It failed with the error message:

problem with the configuration server (/usr/libexec/gconf-sanity-check-2 exited with status 256

To fix it, press CTRL+ALT+F2 to switch to a Linux Terminal and then login with root,  then change the permission of /tmp to 777.

Restart it. All good to go.