Read a file from resources folder in Java

References https://www.mkyong.com/java/java-read-a-file-from-resources-folder/

Continue reading »

Chrome extension

References https://robots.thoughtbot.com/how-to-make-a-chrome-extension https://developer.chrome.com/extensions/getstarted http://stackoverflow.com/questions/11553600/how-to-inject-css-using-content-script-file-in-chrome-extension http://stackoverflow.com/questions/9721344/my-css-is-not-getting-injected-through-my-content-script

Continue reading »

Use Spring Boot behind Apache front-end proxy server

Apache

Spring Boot set server.use-forward-headers to server.use-forward-headers in Spring Boot application.properties Java

References https://docs.spring.io/spring-boot/docs/current/reference/html/howto-embedded-servlet-containers.html#howto-use-tomcat-behind-a-proxy-server https://www.mkyong.com/java/how-to-get-client-ip-address-in-java/ http://serverfault.com/questions/130925/passing-ip-address-with-mod-proxy https://www.leaseweb.com/labs/2014/12/tutorial-apache-2-4-transparent-reverse-proxy/ http://www.thegeekstuff.com/2011/07/Apache-Virtual-Host/ https://devops.profitbricks.com/tutorials/configure-apache-as-a-reverse-proxy-using-mod_proxy-on-ubuntu/ https://www.digitalocean.com/community/tutorials/how-to-use-apache-http-server-as-reverse-proxy-using-mod_proxy-extension

Continue reading »

Installing Spring Boot applications

Installation as a systemd service

Keywords deploy , jar References http://docs.spring.io/spring-boot/docs/current/reference/html/deployment-install.html

Continue reading »

Using Virtual_host and mod_proxy together in Apache

first configure DNS :

Keywords apache , virtual host , VirtualHost , reverse , proxy References http://stackoverflow.com/questions/956361/apache-tomcat-using-mod-proxy-instead-of-ajp https://httpd.apache.org/docs/2.4/vhosts/examples.html http://askubuntu.com/questions/58179/install-mod-proxy-to-get-proxypass-to-work http://www.thegeekstuff.com/2011/07/Apache-Virtual-Host/

Continue reading »

How to configure proxy authentication to work with Ubuntu Software Center

Go to /etc/apt. Create the file apt.conf if you don’t have it there. Write the following lines there.

Save it. You are done. Keywords […]

Continue reading »
1 2