Yes its out
Setting up Tomcat 6 in Ubuntu 10.04
In Uncategorized on February 15, 2012 at 3:55 pmStep 1: Download apache-tomcat-6.0.29.tar.gz from http://tomcat.apache.org/
$ wget
download url – http://apache.technocozy.com//tomcat/tomcat-6/v6.0.29/bin/apache-tomcat-6.0.29.tar.gz
Step 2: Extract the tar file
$ tar xvf apache-tomcat-6.0.29.tar.gz
Step 3: Copy the extracted contents to /usr/local
$ sudo cp apache-tomcat-6.0.29.tar.gz /usr/local
Step 4: Create a softlink as tomcat
$ sudo ln -s apache-tomcat-6.0.29.tar.gz tomcat
Step 5: Add tomcat user
useradd -d /home/tomcat -s /bin/bash -m tomcat
Step 6: Change permissions to tomcat
$ sudo chown -R tomcat:tomcat /usr/local/apache-tomcat-6.0.29.tar.gz
$ sudo chown -R tomcat:tomcat /usr/local/tomcat
Step 7: Setup users in tomcat
$ cd /usr/local/tomcat
$ sudo vi conf/tomcat-users.xml
Add the following
Step 8: Setup start/stop scripts
$ sudo vi /home/tomcat/tomcat
Add the following
case $1 in
start)
sh /usr/local/tomcat/bin/startup.sh
;;
stop)
sh /usr/local/tomcat/bin/shutdown.sh
;;
restart)
sh /usr/local/tomcat/bin/shutdown.sh
sh /usr/local/tomcat/bin/startup.sh
;;
*)
echo “Usage: $0 {start|stop|restart}”
esac
exit 0
Change permissions on tomcat script
$ chmod ug+x tomcat
Step 9: Start/Stop/Restart Tomcat
To start
$ ./tomcat start
To stop
$ ./tomcat stop
To restart
$ ./tomcat restart
Step 10: Test setup
After starting tomcat, go to Internet browser and type in
http://:8080
tomcatmachine – servername or ip address of the machine where the tomcat was just setup.
My learnings with emacs & org-mode
In Uncategorized on January 3, 2010 at 9:54 amThe journey that started with GTD (David Allen), and didn’t end in last 3 years seems to end now.
Yes it is EMACS & it is ORG MODE ! There can’t be anything else, now way, no question. period.
I had been looking for a todo, task management, day planning, organizing, reminding, planning, taking care of my life system.
The criteria was following:
1) The system needed to manage contacts, tasks, schedules, appointments & anything that concerns me so much to make me useless.
2) It had to be platform & OS independent, should sync with almost anything that ask for, including my brain !
3) Has to be free.
– sanjaybhai asked to check