Reverse Proxy Using Jetty/Undertow

Undertow is an extremely lightweight flexible performant web server written in java, providing both blocking and non-blocking API’s based on NIO. Jetty is another lightweight embeddable web server and servlet container. Any of these servers can be embedded in your java application easily. Both these servers provide proxy implementation which you can use to build a reverse proxy…

Read more Reverse Proxy Using Jetty/Undertow

Download artifacts from Jenkins using Shell script

Recently, I had to download files from a Jenkins server using shell scripts. Since Jenkins offers permanent urls to the latest stable artifacts along with a nice XML/JSON API, this can be done pretty easily and automated. Lets assume that your Jenkins server url is http://yourjenkins:8080 The details of the last successful build of your…

Read more Download artifacts from Jenkins using Shell script

Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X

An Apache, MySQL, PHP stack is really easy to setup on a Mac. MAMP is a very easy solution to achieve this. Apache can be replaced with the lightweight Nginx server and an NMP stack can be created, but may take a little more time to set it up. Following configuration is tested with Mac OS…

Read more Install Nginx, PHP-FPM, MySQL and phpMyAdmin on OS X

Nginx based streaming server on Raspberry Pi

The Raspberry Pi is a credit-card sized computer that plugs into your TV and a keyboard. Several web server softwares are available for Linux-based operating systems including Raspibian, a free operating system based on Debian optimized for the Raspberry Pi hardware. Its very easy to use any of these softwares to turn the Pi to a 24/7 portable…

Read more Nginx based streaming server on Raspberry Pi