Download Jenkins Plugins


Download Jenkins Plugins without compiling source code

I have recently started working on Jenkins and faced many difficulties to download source code from Git and compile them using Maven.

Due to Internet Connection restriction, It was difficult to download source code and run mvn package command that download many jar files from remote repository to your local repository to run source files and create .hpi file in target folder.

To download ready made .hpi file of Jenkins Plugin use https://updates.jenkins-ci.org/download/plugins/

Happy Downloading and Happy Jenkinsing!

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers
Advertisements

How to Install Jenkins on Windows 8 and Linux


To Install Jenkins on Windows 8 and Linux, CentOS, Ubuntu and Other Linux Distribution follow the below steps

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Download Jenkins from http://jenkins-ci.org/

Download Link is – http://mirrors.jenkins-ci.org/war/latest/jenkins.war

Install Java

Set JAVA_HOME in Environment Variable

Execute java –jar Jenkins.war

C:>java -jar jenkins.war
Running from: C:jenkins.war
webroot: $user.home/.jenkins
21 May, 2014 12:55:22 AM winstone.Logger logInternal
INFO: Beginning extraction from war file
21 May, 2014 12:55:27 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: jetty-8.y.z-SNAPSHOT
21 May, 2014 12:55:39 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: NO JSP Support for , did not find org.apache.jasper.servlet.JspServlet
Jenkins home directory: C:Usersmitesh.jenkins found at: $user.home/.jenkins
21 May, 2014 12:55:41 AM org.eclipse.jetty.util.log.JavaUtilLog info
INFO: Started SelectChannelConnector@0.0.0.0:8080
21 May, 2014 12:55:41 AM winstone.Logger logInternal
INFO: Winstone Servlet Engine v2.0 running: controlPort=disabled
21 May, 2014 12:55:41 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started initialization
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Listed all plugins
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Prepared all plugins
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Started all plugins
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Augmented all extensions
21 May, 2014 12:56:13 AM jenkins.InitReactorRunner$1 onAttained
INFO: Loaded all jobs
21 May, 2014 12:56:19 AM org.jenkinsci.main.modules.sshd.SSHD start
INFO: Started SSHD at port 53167
21 May, 2014 12:56:19 AM jenkins.InitReactorRunner$1 onAttained
INFO: Completed initialization
21 May, 2014 12:56:19 AM hudson.TcpSlaveAgentListener <init>
INFO: JNLP slave agent listener started on TCP port 53168
21 May, 2014 12:56:19 AM hudson.WebAppMain$3 run
INFO: Jenkins is fully up and running
Effective SlaveRestarter on master: null

Visit http://localhost:8080/manage

jenkins Dashboard

Done!

Install Maven on Windows 8


Maven on Windows 8

Download Apache Maven from http://maven.apache.org/download.cgi. Different versions are available so user can select the version as per need.

Extract the files from the compressed file of apache-maven-3.2.1-bin.zip

Add Two Environment Variables, M2 and M2_HOME

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Right Click on My Computer and select Properties

My Computer Properties

Click on Advance System Settings

Advance System Settings

It will open System Properties Dialogue box; click on Environment Variables

System Properties

Click on New and set M2_HOME

M2_HOME

Set M2

M2

M2 and M2_HOME

Edit PATH by appending C:apache-maven-3.2.1bin

Path Variable

Open the Command Prompt again and execute mvn –version command

mvn version command

Done!

 

How to remove Empty Packages from Package Explorer in Eclipse


remove Empty Packages from Package Explorer in Eclipse

Open Eclipse -> Go to Package Explorer View

Empty Packages in Project Explorer in Eclipse
Empty Packages in Project Explorer in Eclipse
Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

Select Filters

Filters for Packages in Eclipse
Filters for Packages in Eclipse

Java Element Filters in Eclipse…

Select the Empty Packages Element to From the View
Select the Empty Packages Element to From the View

Done!!!

Install Tomcat 6 in CentOS 6.3


1) Install CentOS 6.3 -> How to install CentOS 6.3 ;

2) Create a Local Yum Repository in CentOS 6.3 -> Create a Local Yum Repository in CentOS 6.3 in 5 steps

3) Run yum install tomcat6 and Tomcat will be installed!!! Done!!!

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

[root@localhost ~]# yum install tomcat6

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds
from cached hostfile

Setting up Install Process

Resolving Dependencies

–> Running transaction check

—> Package
tomcat6.noarch 0:6.0.24-45.el6 will be installed

base/filelists
| 4.4 MB00:01

–> Processing Dependency: tomcat6-lib = 6.0.24-45.el6 for package:tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: mx4j for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: log4j for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: log4j for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-pool for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-logging for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-dbcp for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-daemon for package: tomcat6-6.0.24-45.el6.noarch

–> Processing Dependency: jakarta-commons-collections for package: tomcat6-6.0.24-45.el6.noarch

–> Running transaction check

—> Package jakarta-commons-collections.noarch 0:3.2.1-3.4.el6 will be installed

—> Package jakarta-commons-daemon.i686 1:1.0.1-8.9.el6 will be installed

–> Processing Dependency: libgcj_bc.so.1 for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

–> Processing Dependency: java-gcjcompat for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

–> Processing Dependency: java-gcjcompat for package: 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

—> Package jakarta-commons-dbcp.noarch 0:1.2.1-13.8.el6 will be installed

—> Package jakarta-commons-logging.noarch 0:1.0.4-10.el6 will be installed

—> Package jakarta-commons-pool.i686 0:1.3-12.7.el6 will be installed

—> Package log4j.i686 0:1.2.14-6.4.el6 will be installed

–> Processing Dependency: xml-commons-apis for package: log4j-1.2.14-6.4.el6.i686

—> Package mx4j.noarch 1:3.0.1-9.13.el6 will be installed

–> Processing Dependency: javamail >= 1.2-5jpp for package: 1:mx4j-3.0.1-9.13.el6.noarch

–> Processing Dependency: bcel >= 5.0 for package: 1:mx4j-3.0.1-9.13.el6.noarch

–> Processing Dependency: axis >= 1.1 for package: 1:mx4j-3.0.1-9.13.el6.noarch

–> Processing Dependency: xml-commons-resolver for package: 1:mx4j-3.0.1-9.13.el6.noarch

–> Processing Dependency: jaf for package: 1:mx4j-3.0.1-9.13.el6.noarch

—> Package tomcat6-lib.noarch 0:6.0.24-45.el6 will be installed

–> Processing Dependency: tomcat6-servlet-2.5-api = 6.0.24-45.el6 for package: tomcat6-lib-6.0.24-45.el6.noarch

–> Processing Dependency: tomcat6-jsp-2.1-api = 6.0.24-45.el6 for package: tomcat6-lib-6.0.24-45.el6.noarch

–> Processing Dependency: tomcat6-el-2.1-api = 6.0.24-45.el6 for package: tomcat6-lib-6.0.24-45.el6.noarch

–> Processing Dependency: ecj for package: tomcat6-lib-6.0.24-45.el6.noarch

–> Running transaction check

—> Package axis.noarch 0:1.2.1-7.2.el6 will be installed

–> Processing Dependency: wsdl4j for package: axis-1.2.1-7.2.el6.noarch

–> Processing Dependency: jakarta-commons-httpclient for package: axis-1.2.1-7.2.el6.noarch

–> Processing Dependency: jakarta-commons-discovery for package: axis-1.2.1-7.2.el6.noarch

—> Package bcel.i686 0:5.2-7.2.el6 will be installed

–> Processing Dependency: regexp for package: bcel-5.2-7.2.el6.i686

—> Package classpathx-jaf.i686 0:1.0-15.4.el6 will be installed

—> Package classpathx-mail.noarch 0:1.1.1-9.4.el6 will be installed

—> Package ecj.i686 1:3.4.2-6.el6 will be installed

—> Package java-1.5.0-gcj.i686 0:1.5.0.0-29.1.el6 will be installed

–> Processing Dependency: sinjdoc for package: java-1.5.0-gcj-1.5.0.0-29.1.el6.i686

—> Package libgcj.i686 0:4.4.6-4.el6 will be installed

—> Package tomcat6-el-2.1-api.noarch 0:6.0.24-45.el6 will be installed

—> Package tomcat6-jsp-2.1-api.noarch 0:6.0.24-45.el6 will be installed

—> Package tomcat6-servlet-2.5-api.noarch 0:6.0.24-45.el6 will be installed

—> Package xml-commons-apis.i686 0:1.3.04-3.6.el6 will be installed

—> Package xml-commons-resolver.i686 0:1.1-4.18.el6 will be installed

–> Running transaction check

—> Package jakarta-commons-discovery.noarch

1:0.4-5.4.el6 will be installed

—> Package jakarta-commons-httpclient.i686 1:3.1-0.6.el6 will be installed

—> Package regexp.i686 0:1.5-4.4.el6 will be installed

—> Package sinjdoc.i686 0:0.5-9.1.el6 will be installed

–> Processing Dependency: java_cup >= 0.10 for package: sinjdoc-0.5-9.1.el6.i686

—> Package wsdl4j.noarch 0:1.5.2-7.8.el6 will be installed

–> Running transaction check

—> Package java_cup.i686 1:0.10k-5.el6 will be installed

–> Finished
Dependency Resolution

Dependencies Resolved

 

=================================================================================

PackageArchVersionRepositorySize

=================================================================================

Installing:

tomcat6noarch 6.0.24-45.el6 base87 k

Installing for dependencies:

axisnoarch 1.2.1-7.2.el6 base1.5 M

bceli6865.2-7.2.el6 base1.2 M

classpathxjafi6861.0-15.4.el6base92 k

classpathx-mailnoarch1.1.1-9.4.el6base479 k

ecj i6861:3.4.2-6.el6 base2.5 M

jakarta-commons-collections noarch3.2.1-3.4.el6base523 k

jakarta-commons-daemoni6861:1.0.1-8.9.el6base43 k

jakarta-commons-dbcpnoarch1.2.1-13.8.el6base116 k

jakarta-commons-discoverynoarch1:0.4-5.4.el6base73 k

jakarta-commons-httpclienti6861:3.1-0.6.el6base519 k

jakarta-commons-loggingnoarch1.0.4-10.el6base52 k

jakarta-commons-pooli6861.3-12.7.el6base110 k

java-1.5.0-gcji6861.5.0.0-29.1.el6base138 k

java_cupi6861:0.10k-5.el6base178 k

libgcji6864.4.6-4.el6base17 M

log4ji6861.2.14-6.4.el6base603 k

mx4jnoarch 1:3.0.1-9.13.el6 base1.1 M

regexpi6861.5-4.4.el6base97 k

sinjdoci6860.5-9.1.el6base646 k

tomcat6-el-2.1-apinoarch6.0.24-45.el6base43 k

tomcat6-jsp-2.1-apinoarch6.0.24-45.el6base80 k

tomcat6-libnoarch6.0.24-45.el6base2.8 M

tomcat6-servlet-2.5-apinoarch6.0.24-45.el6base94 k

wsdl4jnoarch1.5.2-7.8.el6base157 k

xml-commons-apisi6861.3.04-3.6.el6base388 k

xml-commons-resolveri6861.1-4.18.el6base128 k

 

Transaction Summary

==================================================================================

Install27 Package(s)

 

Total download size: 31 M

Installed size: 84 M

Is this ok [y/N]: y

Downloading Packages:

(1/27):axis-1.2.1-7.2.el6.noarch.rpm | 1.5 MB00:00

(2/27): bcel-5.2-7.2.el6.i686.rpm| 1.2 MB00:00

(3/27): classpathx-jaf-1.0-15.4.el6.i686.rpm |92 kB00:00

(4/27): classpathx-mail-1.1.1-9.4.el6.noarch.rpm| 479 kB00:00

(5/27): ecj-3.4.2-6.el6.i686.rpm | 2.5 MB00:04

(6/27): jakarta-commons-collections-3.2.1-3.4.el6.noarch.rpm| 523 kB 00:00

(7/27):jakarta-commons-daemon-1.0.1-8.9.el6.i686.rpm|43 kB00:00

(8/27): jakarta-commons-dbcp-1.2.1-13.8.el6.noarch.rpm | 116 kB 00:00

(9/27): jakarta-commons-discovery-0.4-5.4.el6.noarch.rpm|73 kB00:00

(10/27): jakarta-commons-httpclient-3.1-0.6.el6.i686.rpm| 519 kB 00:00

(11/27): jakarta-commons-logging-1.0.4-10.el6.noarch.rpm|52 kB00:00

(12/27): jakarta-commons-pool-1.3-12.7.el6.i686.rpm| 110 kB 00:00

(13/27): java-1.5.0-gcj-1.5.0.0-29.1.el6.i686.rpm| 138 kB 00:00

(14/27): java_cup-0.10k-5.el6.i686.rpm | 178 kB 00:00

(15/27): libgcj-4.4.6-4.el6.i686.rpm|17 MB00:10

(16/27): log4j-1.2.14-6.4.el6.i686.rpm| 603 kB 00:00

(17/27): mx4j-3.0.1-9.13.el6.noarch.rpm | 1.1 MB00:00

(18/27): regexp-1.5-4.4.el6.i686.rpm |97 kB00:00

(19/27): sinjdoc-0.5-9.1.el6.i686.rpm | 646 kB 00:00

(20/27): tomcat6-6.0.24-45.el6.noarch.rpm |87 kB00:00

(21/27): tomcat6-el-2.1-api-6.0.24-45.el6.noarch.rpm |43 kB00:00

(22/27): tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch.rpm |80 kB00:00

(23/27): tomcat6-lib-6.0.24-45.el6.noarch.rpm | 2.8 MB00:02

(24/27): tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch.rpm|94 kB00:00

(25/27): wsdl4j-1.5.2-7.8.el6.noarch.rpm| 157 kB 00:00

(26/27): xml-commons-apis-1.3.04-3.6.el6.i686.rpm| 388 kB 00:00

(27/27): xml-commons-resolver-1.1-4.18.el6.i686.rpm| 128 kB 00:00

—————————————————————————————————————————–

Total
1.4 MB/s |31

MB00:21

warning: rpmts_HdrFromFdno: Header V3 RSA/SHA1 Signature,
key ID c105b9de: NOKEY

Retrieving key from file:///etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

Importing GPG key 0xC105B9DE:

Userid : CentOS-6 Key (CentOS 6 Official Signing Key)
<centos-6-key@centos.org>

Package:
centos-release-6-3.el6.centos.9.i686 (@anaconda-CentOS-201207051201.i386/6.3)

From: /etc/pki/rpm-gpg/RPM-GPG-KEY-CentOS-6

 

Is this ok [y/N]: y

Running rpm_check_debug

Running Transaction Test

Transaction Test Succeeded

Running Transaction

Warning: RPMDB altered outside of yum.

Installing : jakarta-commons-logging-1.0.4-10.el6.noarch

1/27

Installing : jakarta-commons-collections-3.2.1-3.4.el6.noarch

2/27

Installing : tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch

3/27

Installing : tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch

4/27

Installing : 1:jakarta-commons-discovery-0.4-5.4.el6.noarch

5/27

Installing : tomcat6-el-2.1-api-6.0.24-45.el6.noarch
6/27

Installing : libgcj-4.4.6-4.el6.i686

7/27

Installing : java-1.5.0-gcj-1.5.0.0-29.1.el6.i686

8/27

Installing : 1:java_cup-0.10k-5.el6.i686

9/27

Installing : sinjdoc-0.5-9.1.el6.i686
10/27

Installing : jakarta-commons-pool-1.3-12.7.el6.i686

11/27

Installing : xml-commons-apis-1.3.04-3.6.el6.i686
12/27

Installing : log4j-1.2.14-6.4.el6.i686


13/27

Installing : classpathx-jaf-1.0-15.4.el6.i686
14/27

Installing : classpathx-mail-1.1.1-9.4.el6.noarch

15/27

Installing : jakarta-commons-dbcp-1.2.1-13.8.el6.noarch

16/27

Installing : wsdl4j-1.5.2-7.8.el6.noarch

17/27

Installing : xml-commons-resolver-1.1-4.18.el6.i686

18/27

Installing : 1:jakarta-commons-httpclient-3.1-0.6.el6.i686


19/27

Installing : axis-1.2.1-7.2.el6.noarch

20/27

Installing : 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

21/27

Installing : 1:ecj-3.4.2-6.el6.i686

22/27

Installing : regexp-1.5-4.4.el6.i686

23/27

Installing : bcel-5.2-7.2.el6.i686

24/27

Installing : 1:mx4j-3.0.1-9.13.el6.noarch

25/27

Installing : tomcat6-lib-6.0.24-45.el6.noarch

26/27

Installing : tomcat6-6.0.24-45.el6.noarch

27/27

Verifying: tomcat6-el-2.1-api-6.0.24-45.el6.noarch

1/27

Verifying: classpathx-mail-1.1.1-9.4.el6.noarch

2/27

Verifying: 1:jakarta-commons-httpclient-3.1-0.6.el6.i686

3/27

Verifying: 1:jakarta-commons-discovery-0.4-5.4.el6.noarch

4/27

Verifying: tomcat6-lib-6.0.24-45.el6.noarch

5/27

Verifying: jakarta-commons-pool-1.3-12.7.el6.i686

6/27

Verifying: jakarta-commons-collections-3.2.1-3.4.el6.noarch

7/27

Verifying: xml-commons-resolver-1.1-4.18.el6.i686

8/27

Verifying: tomcat6-servlet-2.5-api-6.0.24-45.el6.noarch

9/27

Verifying: tomcat6-6.0.24-45.el6.noarch

10/27

Verifying: 1:java_cup-0.10k-5.el6.i686

11/27

Verifying: sinjdoc-0.5-9.1.el6.i686

12/27

Verifying: libgcj-4.4.6-4.el6.i686

13/27

Verifying: jakarta-commons-logging-1.0.4-10.el6.noarch

14/27

Verifying: wsdl4j-1.5.2-7.8.el6.noarch

15/27

Verifying: axis-1.2.1-7.2.el6.noarch

16/27

Verifying: 1:jakarta-commons-daemon-1.0.1-8.9.el6.i686

17/27

Verifying: java-1.5.0-gcj-1.5.0.0-29.1.el6.i686
18/27

Verifying: bcel-5.2-7.2.el6.i686

19/27

Verifying: xml-commons-apis-1.3.04-3.6.el6.i686
20/27

Verifying: tomcat6-jsp-2.1-api-6.0.24-45.el6.noarch

21/27

Verifying: log4j-1.2.14-6.4.el6.i686

22/27

Verifying: 1:ecj-3.4.2-6.el6.i686

23/27

Verifying : 1:mx4j-3.0.1-9.13.el6.noarch

24/27

Verifying: jakarta-commons-dbcp-1.2.1-13.8.el6.noarch

25/27

Verifying: classpathx-jaf-1.0-15.4.el6.i686

26/27

Verifying: regexp-1.5-4.4.el6.i686

27/27

Installed:

tomcat6.noarch 0:6.0.24-45.el6

 

Dependency Installed:

axis.noarch 0:1.2.1-7.2.el6

bcel.i686 0:5.2-7.2.el6

classpathx-jaf.i686 0:1.0-15.4.el6classpathx-mail.noarch 0:1.1.1-9.4.el6

ecj.i686 1:3.4.2-6.el6jakarta-commons-collections.noarch

0:3.2.1-3.4.el6

jakarta-commons-daemon.i686
1:1.0.1-8.9.el6jakarta-commons-dbcp.noarch
0:1.2.1-13.8.el6

jakarta-commons-discovery.noarch 1:0.4-5.4.el6
jakarta-commons-httpclient.i686 1:3.1-0.6.el6

jakarta-commons-logging.noarch

0:1.0.4-10.el6
jakarta-commons-pool.i686 0:1.3-12.7.el6

java-1.5.0-gcj.i686
0:1.5.0.0-29.1.el6
java_cup.i686 1:0.10k-5.el6

libgcj.i686 0:4.4.6-4.el6log4j.i686
0:1.2.14-6.4.el6

mx4j.noarch 1:3.0.1-9.13.el6regexp.i686 0:1.5-4.4.el6

sinjdoc.i686 0:0.5-9.1.el6
tomcat6-el-2.1-api.noarch 0:6.0.24-45.el6

tomcat6-jsp-2.1-api.noarch

0:6.0.24-45.el6
tomcat6-lib.noarch 0:6.0.24-45.el6

tomcat6-servlet-2.5-api.noarch
0:6.0.24-45.el6
wsdl4j.noarch 0:1.5.2-7.8.el6

xml-commons-apis.i686

0:1.3.04-3.6.el6
xml-commons-resolver.i686 0:1.1-4.18.el6

Complete!

Get Tomcat related Information
after Successful Installation!!!

[root@localhost
~]#

 

[root@localhost ~]# yum info tomcat6

Loaded plugins: fastestmirror, refresh-packagekit, security

Loading mirror speeds from cached hostfile

Installed Packages

Name: tomcat6

Arch: noarch

Version:6.0.24

Release: 45.el6

Size: 188 k

Repo:installed

From repo:base

Summary:Apache Servlet/JSP Engine, RI for Servlet 2.5/JSP 2.1 API

URL: http://tomcat.apache.org/

License: ASL 2.0

Description : Tomcat is the servlet container that is used in the official Reference :
Implementation for the Java Servlet and JavaServer Pages technologies. :
The Java Servlet and JavaServer
Pages specifications are developed by :
Sun under the Java Community Process.:: Tomcat is developed in an open and participatory environment and : released under the Apache Software License version 2.0. Tomcat is intended : to be a collaboration of the best-of-breed developers from around the world.

[root@localhost ~]#

================================================================================

Install Tomcat 6 or 6.0.35 on Ubuntu 11.10 or 11.04 or 10.10 or 10.04 LTS


While it is possible that older versions of Tomcat may not be compatible with newer JVMs, all the currently supported Apache Tomcat versions (5.5.x, 6.0.x and 7.0.x) are known to run correctly on Java 6 JVMs. (Ref-http://tomcat.apache.org/migration.html)

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

we’ll download and extract Tomcat 6 or 6.0.35 from the Apache site

Find the appropriate installation version from : http://apache.hoxt.com/tomcat/tomcat-6/, Download it manually or by wget command from the console.

Installing Tomcat 6 on Ubuntu. If you are running Ubuntu and want to use the Tomcat servlet container, you should not use the version from the repositories as it just doesn’t work correctly. Instead you’ll need to use the manual installation process that I’m outlining here. Before you install Tomcat you’ll want to make sure that you’ve installed Java. Use Synaptic Package Manager to install Java.

Use Synaptic Package Manager to install Java
Use Synaptic Package Manager to install Java
Verify Java Version
Verify Java Version
Now Extract Tomcat files with tar xvzf apache-tomcat-6.0.35.tar.gzOpen Terminal, Go to Tomcat Directory/binRun ./startup.shOpen the default page- http://localhost:8080 Done!!!

Install Tomcat 5 or 5.5.35 on Ubuntu 11.10 or 11.04 or 10.10 or 10.04 LTS


While it is possible that older versions of Tomcat may not be compatible with newer JVMs, all the currently supported Apache Tomcat versions (5.5.x, 6.0.x and 7.0.x) are known to run correctly on Java 6 JVMs. (Ref-http://tomcat.apache.org/migration.html)

Cloud Computing – Download Free EBooks and Whitepapers
Java – Download Free EBooks and Whitepapers
Windows – Download Free EBooks and Whitepapers

we’ll download and extract Tomcat 5 or 5.5.35 from the Apache site

Find the appropriate installation version from : http://apache.hoxt.com/tomcat/tomcat-5/, Download it manually or by wget command from the console.

Installing Tomcat 5 on Ubuntu. If you are running Ubuntu and want to use the Tomcat servlet container, you should not use the version from the repositories as it just doesn’t work correctly. Instead you’ll need to use the manual installation process that I’m outlining here. Before you install Tomcat you’ll want to make sure that you’ve installed Java.

Use Synaptic Package Manager to install Java.

Use Synaptic Package Manager to install Java
Use Synaptic Package Manager to install Java
Verify Java Version
Verify Java Version
Now
Extract Tomcat files with tar xvzf apache-tomcat-5.5.35.tar.gzOpen Terminal, Go to Tomcat Directory/binRun ./startup.shOpen the default page- http://localhost:8080

Done!!!