Showing posts with label technology. Show all posts
Showing posts with label technology. Show all posts

Monday, January 7, 2008

Introducing CodeMunch

We have indroduced the web based application http://www.codemunch.com. CodeMunch is the innovative way to manage one's profile cum resume. In short CodeMunch is a resume builder. Our main targeted audiences are freshers from colleges of various streams, who struggle a lot to create their professional looking resume. In CodeMunch they can import their resume in different formats including PDF and doc.

Thursday, June 14, 2007

Setting a Crontab

Syntax:

* * * * * command

# Use the hash sign to prefix a comment
# +---------------- minute (0 - 59)
# | +------------- hour (0 - 23)
# | | +---------- day of month (1 - 31)
# | | | +------- month (1 - 12)
# | | | | +---- day of week (0 - 7) (Sunday=0 or 7)
# | | | | |
# * * * * * command to be executed


Crontab Example
_______

A line in crontab file like below removes the tmp files from /home/someuser/tmp each day at 6:30 PM.

30 18 * * * rm /home/someuser/tmp/*

Changing the parameter values as below will cause this command to run at different time schedule below :

min hour day/month month day/week Execution time
30 0 1 1,6,12 * -- 00:30 Hrs on 1st of Jan, June & Dec.

:

0 20 * 10 1-5 --8.00 PM every weekday (Mon-Fri) only in Oct.

:

0 0 1,10,15 * * -- midnight on 1st ,10th & 15th of month

:

5,10 0 10 * 1 -- At 12.05,12.10 every Monday & on 10th of every month
:

By default cron jobs sends a email to the user account executing the cronjob. If this is not needed put the following command At the end of the cron job line .

>/dev/null 2>&1

Monday, April 23, 2007

Install Alfresco from the Source Code in Fedoras

1. Install Java 1.5x
If you dont have the java downlaod it from
here

2. Install Tomcat 5.2x
Take tomcat 5 from
here

3. Install Ant 1.6x
Download latest Ant from
here

4. Set these Environment Variables: In Redhat/Fedora linux these vales can be
set in .bash_profile file
JAVA_HOME
TOMCAT_HOME
VIRTUAL_TOMCAT_HOME
(For virtual tomcat you need to install one more tomcat 5.2x)

5. Checkout Source Code from here:
$svn co svn://svn.alfresco.com/alfresco/HEAD
$cd HEAD/root/projects/installer/HEAD
(delete 3 files custom*)

6. $cd HEAD/root/
ant build-tomcat
This will create one alfresco.war file and copy it to the
TOMCAT_HOME/webapps/

7. copy mysql-java connector jar file form
HEAD/root/projects/3rd-party/lib/devenv/mysql-connector-java-5.0.3-bin.jar
to TOMCAT_HOME/common/lib

8. Create one alfresco database and grant all to alfresco user
Connect to mysql as root
mysql>create database alfresco;
mysql>grant all on alfresco.* to alfresco@localhost identified by 'alfresco';
mysql>grant all on alfresco.* to alfresco@localhost.localdomain identified by 'alfresco';

9. As default memory (heap size) allocated by tomcat for java is less than required to run the alfresco sp increase the heap size.Edit the tomcat/catalina.sh file and make

$_RUNJAVA.... line like this
$_RUNJAVA -Xmx512M $JAVA_OPTS $CATALINA_OPTS

10. Start Tomcat
$./catalina.sh run &

11. Point Browser to:
http://localhost:8080/alfresco

Wednesday, April 18, 2007

Install Java on Linux Machine

Download the latest JDK from http://java.sun.com/javase/downloads/index.jsp
Select jdk-xxx.xx.Linux.xxx.bin to download for Linux machine

This is a binary file so execute this file.

$ cd /usr
$ ./jdk-xxx.x-linux-i586.bin

Edit your bash profile file to set the Java home.

$cd
$vi .bash_profile
Add/edit these lines
PATH=/usr/jdk-xxx-x.x/bin

JAVA_HOME=/usr/jdk-xxx-x.x/
export JAVA_HOME

#Save and Exit from the vi

$source .bash_profile

Check the java version
$ java -version

Whats new in Ajuby 0.5