By Pankaj, on October 5th, 2011% If you are tech and gadget savvy, then you must be aware of QR codes. You will find it everywhere these days – in blogs, websites and even in some public places. This is very popular in mobile apps, where you scan the QR code using a QR Code scanner app and it will show . . . → Read More: Generate QR Code image from Java Program
By Pankaj, on February 11th, 2011% Recently in one of my project I had to connect to a remote database that was setup on SSH enabled server. Since it was on SSH enabled server, we can’t connect it directly using JDBC connection API. To achieve this, we first need to create SSH session and then using Port Forwarding we can forward the request to server and connect to database. I achieved this using JSch Port Forwarding and then connecting to database. . . . → Read More: Java Program to Connect to Remote database through SSH using Port Forwarding
By Pankaj, on December 18th, 2010% In unix environment, mv is the command to move files and we can use it to change file extension also. But it works with a single file only and it doesn’t take wild characters also. Here I am providing a simple script that you can use to change extension of multiple files in a directory. . . . → Read More: Shell Script to change extension of multiple files in Unix
By Pankaj, on December 14th, 2010% In my earlier posts, I explained how to install memcached server on *nix and Mac OS systems. Today I will explain how to install memcached server on Windows operating system. To install Memcached Server on Windows, we need to have its exe or batch process but memcached server was written for *nix operating system and you can’t get a Windows version from memcached server official website. The problem is solved by Jellycan Code and they provide the Win32 version in binary format that can be used to install memcached server on Windows. . . . → Read More: How to install Memcached Server on Windows as Service
By Pankaj, on December 13th, 2010% In earlier posts, we saw how to install memcached server on Mac OS and Unix systems. After that we worked on it to start at boot time as a daemon process in Mac OS. Today, we will go through some of the basic memcached telnet commands that we can use to check the health of memcached server. These commands are very helpful in debugging purpose and can be used from any operating system with telnet installed. If you are on unix system, then using “ps -eaf | grep memcached” command you can check the port on which its running. . . . → Read More: Memcached Telnet Commands with example
By Pankaj, on December 12th, 2010% If you want to run memcache when system boots for Mac OS, then you have to put the PList configuration file in /Library/LaunchDaemons/ directory and set the owner to root user. Create a file in the /Library/LaunchDaemons/ directory with name memcached.plist having below content. . . . → Read More: How to setup Memcached Server to run at boot time in Mac OS
By Pankaj, on December 9th, 2010% Memcached is an open source high performance distributed memory object caching system. It is one of the most widely used cache mechanism used by some of the biggest websites like Wordpress.com and LiveJournal.com. It is also used by VBulletin software, for faster performance, that is one of the best software for Forums. Its easy to install and there are so many client programs available on Internet in different languages. Memcached is a memory based caching mechanism and build using C language. To install memcached server on Mac OS or Linux we need C library. Here I am assuming that C library is already present in the system. If its not, then you can download C compiler and install it or install XCode that installs gcc compiler with it. . . . → Read More: How to install Memcached Server on Mac OS/Linux
|
Stay Tuned by RSS & Email
My Resolution To Post Java Tutorials to help you from being Novice to Pro Java Developer. So stay tuned and subscribe to keep yourself updated about everything on Java.
|
New Comments