Author Archives: sandeep

About sandeep

Passionate about sharing information on "how to".

Setting up KVM on my dev system

Wanted to create 3 VMs on my Desktop with dedicated partitions on hard disk and dedicated NIC ports. Installed Debian-9.2.1-amd64 on the base/host system. Updated to the latest kernel (optional). Verify that virtualization is enabled in BIOS root@server:~# lscpu Architecture: … Continue reading

Posted in Uncategorized | Tagged , , , , , | Comments Off on Setting up KVM on my dev system

Build Linux Kernel

Had a need to build Linux Kernel. There were multiple sites which detailed the how-to. Finally to me it boiled down to the following After installing debian in the system, install required packages for building the kernel. [ Note : … Continue reading

Posted in Uncategorized | Tagged , , , , | Comments Off on Build Linux Kernel

Quick start – First Spring Boot App in Eclipse

In eclipse start a new maven project – Sample entries I had provided Edit the pom.xml file and add the following dependency – Want to test a simple rest endpoint app <dependencies> <dependency>    <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-data-rest</artifactId> </dependency> </dependencies> Add the … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off on Quick start – First Spring Boot App in Eclipse

Tomcat 8.5.x – Eclipse plugin

In the lib folder of tomcat,  catalina.jar  includes org/apache/catalina/util/ServerInfo.properties update the contents of the line in that file server.info=Apache Tomcat/8.5.x to server.info=Apache Tomcat/8.0.0    

Posted in Uncategorized | Tagged , , , | Comments Off on Tomcat 8.5.x – Eclipse plugin

Firefox – Java – Plugin – Ubuntu 16.04

After installing Oracle java mkdir ~/.mozilla/plugins ln -s /usr/lib/jvm/java-8-oracle/jre/lib/amd64/libnpjp2.so ~/.mozilla/plugins  

Posted in Uncategorized | Tagged , , , | Comments Off on Firefox – Java – Plugin – Ubuntu 16.04

Lync / Skype for business on Ubuntu 16.04

Based on information at : https://community.skype.com/t5/Linux/Skype-for-Business/td-p/4072041 Access https://tel.red/linux.php Scroll down and click on the relevant link matching your OS version and install. Using it for some time now – No issues found till now  

Posted in Uncategorized | Tagged , , , | Comments Off on Lync / Skype for business on Ubuntu 16.04

Installing Node JS on Ubuntu 16.04 LTS

Add NodeJS PPA sudo apt-get install python-software-properties curl -sL https://deb.nodesource.com/setup_6.x | sudo -E bash – 2. Install nodejs sudo apt-get install nodejs Verify version name@host:~$node -v v6.8.0 name@host:~$npm -v 3.10.8 Optional – To test installation Create a file server.js with … Continue reading

Posted in Uncategorized | Tagged , | Comments Off on Installing Node JS on Ubuntu 16.04 LTS

Tomcat Deploy Web App takes long time

Observed that deployment of WAR files was taking a long time. On searching for info came to know it could be because of the bug http://bugs.java.com/bugdatabase/view_bug.do?bug_id=4705093 The solution was to add the following line in $CATALINA_HOME/bin/setenv.sh file (create one if … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off on Tomcat Deploy Web App takes long time

Configure Reverse Proxy – CentOS 7 – httpd

By default mod_proxy is included in http package. Had created a new VM – So installing httpd yum clean all yum -y update yum -y install httpd firewall-cmd –permanent –add-port=80/tcp firewall-cmd –permanent –add-port=8080/tcp systemctl start httpd systemctl enable httpd systemctl … Continue reading

Posted in Uncategorized | Tagged , , | Comments Off on Configure Reverse Proxy – CentOS 7 – httpd

MySQL – Disable Full Group By

Encountered the exception : java.sql.SQLSyntaxErrorException: Expression #1 of SELECT list is not in GROUP BY clause and contains nonaggregated column ‘IAM_DB.this_.ID’ which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by. Fix was to … Continue reading

Posted in Uncategorized | Comments Off on MySQL – Disable Full Group By