Bash on VNC session – Tabs do not auto complete

Problem : Pressing Tab keys not auto-completing when using Bash within a VNC session (to guest VM running on Ubuntu and XFCE.) Reason : Unknown, possibly tabs are caught and consumed by the window switch handler. Fix: vi ~/.config/xfce4/xfconf/xfce-perchannel-xml/xfce4-keyboard-shortcuts.xml search for <property name=”&lt;Super&gt;Tab” type=”string” value=”switch_window_key”/> Change the above line to – <property name=”&lt;Super&gt;Tab” type=”empty”/> Reboot […]

Continue reading →

Fix: Unable to connect to RabbitMQ server from remote clients

Problem : When connected from a remote client, this error is thrown (at client) – An unexpected connection driver error occured (Exception message: Socket closed) Reason : As per default settings, the default user (“guest”) can access only from localhost (or Loop back IP). Fix: Remove “guest” user from “loopback_users”. This is how – Should […]

Continue reading →

MySQL Data migration from one server box to another

  Here’s a quick way to move data from one MySQL server to another Let source box be ServerOne, and the target box be ServerTwo. (user-names and schema names are indicative) – On ServerOne, mysqldump -u username -p db_name > data-dump.sql  (provide password when asked) scp data-dump.sql serverTwoUsername@ServerTwo:~/ On ServerTwo mysql -u username -p create […]

Continue reading →

Install Artefactory Maven repository on Ubuntu 16.04

  Follow these steps to install Artifactory Maven repository on Ubuntu 16.04 ( terminal commands, mostly )- wget -c -O- “https://bintray.com/user/downloadSubjectPublicKey?username=jfrog” | sudo apt-key add – echo “deb https://bintray.com/artifact/download/jfrog/artifactory-debs xenial main” | sudo tee -a /etc/apt/sources.list.d/artifactory-oss.list sudo apt-get update sudo apt-get -y install jfrog-artifactory-oss Set credentials of DB accounts after running – sudo /opt/jfrog/artifactory/bin/configure.mysql.sh Refer […]

Continue reading →

Spring boot and Open UI5 error : JSON.parse: unexpected end of data – when setting resourceroots

Problem : After setting the tag data-sap-ui-resourceroots the UI5 loading stops with the error “JSON.parse: unexpected end of data …” Reason : Spring boot thymeleaf view formatter changes single quotes to double quotes, thus braking the valid JSON format of the tag. Fix :   Make the landing page a static HTML instead of a view template […]

Continue reading →