Guide for developtment on Ubuntu

Posted: 23 March, 2008 in Technical

1. Install tomcat

install tomcat5.5.26
sudo wget http://ftp.kddilabs.jp/infosystems/apache/tomcat/tomcat-5/v5.5.26/bin/apache-tomcat-5.5.26.tar.gz
tar zxfv apache-tomcat-5.5.26.tar.gz -C /opt
cd /opt
mv apache-tomcat-5.5.26 tomcat
cd tomcat/bin
./startup.sh

2. install SVN (subversion)

using install manager of ubuntu for install it

3. Using Subversion

a. help (type: svn help for main help and type: svn subcommand help for sub command help)

b. some commom commands

– checkout: svn checkout path-to-server-repository –username –password

– commit: svn commit path-to-commited-part

– update: svn update path-to-updated-part

4. Install Java

a. using Internet browser (ex: firefox), connect to java.com and using verify function on this website for automatic install Java (ver5 or ver6).

5. Some other notes.

1. $VARIABLE (ex: cd $JAVA_HOME for changing directory to JAVA_HOME)

2. export $VARIABLE for creating a variable

ex:

export ANT_HOME=/usr/local/ant
export JAVA_HOME=/usr/local/jdk-1.5.0.05
export PATH=${PATH}:${ANT_HOME}/bin )

3. echo $VARIABLE for viewing a variable.

6. Activities as admin

Press Alt + F2 , then type:

gksudo nautilus
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s