Blogspot - geturcodes.blogspot.in - Velvet Tools
General Information:
Latest News:
Shell Script to check tomcat status and restart 10 Jul 2013 | 10:58 pm
The below script checks the status of a particular tomcat status and restarts it if the tomcat does not respond.... TOMCAT_HOME=/usr/local/tomcat-folder/ is_Running () { wget -O - http://yo...
How to search and replace string in all files in folders recursively in linux 1 May 2013 | 10:39 pm
Just use this command.... rpl -x'.php' -x'.html' -pR "old_tring" "new_string" * To install rpl in linux use... apt-get install rpl (For debian users) or yum install rpl (For Cent OS or RED HAT)
How to search and replace string in VI editor Linux 1 May 2013 | 10:38 pm
:%s/old_string/new_string/g Find each occurrence of 'old_string' (in all lines), and replace it with 'new_string'. :s/old_string/new_string/g Find each occurrence of 'old_string' (in the current line...
Getting access to menu from portlet in liferay 20 Feb 2013 | 02:05 am
The below code describes the way of accessing menu items from the portlet. Here i have called it from jsp. The best thing about this is you can use the beautiful permission management of menu items of...
Inter-portlet communication in liferay 18 Feb 2013 | 11:04 pm
In this article we will discuss about the Client-side Inter-Portlet Communication...... The JSR-286 (Portlet 2.0) specification gives a mechanism for inter-portlet communication (IPC). it is mainly s...
How To Enable Remote Access To MySQL Server? 18 Feb 2013 | 10:32 pm
Mysql server by default disables the remote access of the server... To access it from a remote host follow the below steps..... Step # 1: Login to your mysql server with SSH. Step # 2: Enable the ne...
Virus f Opyum Team 8 Jan 2013 | 11:13 pm
Symptoms :: Several processes running named f or i. Network choked Apache Dead Unknown entry * * * * * root f Opyum Team in crontab Investigate :: Try to kill the f process and even root will be una...
Virus f Opyum Team 8 Jan 2013 | 11:13 pm
Symptoms :: Several processes running named f or i. Network choked Apache Dead Unknown entry * * * * * root f Opyum Team in crontab Investigate :: Try to kill the f process and even root will be una...
Java Send Mail Using Gmail with Multiple Attachments 16 Nov 2012 | 12:48 am
Java Send Mail Using Gmail with Multiple Attachments
Java Send Mail Using Gmail with Multiple Attachments 16 Nov 2012 | 12:48 am
Java Send Mail Using Gmail with Multiple Attachments