Sei sulla pagina 1di 8

9.11.

2011
linkuri de urmat
1. Tomcat-users] how to setup HOME_PATH for Java and CATALINA_HOME
# echo $JAVA_HOME ---- vezi explicatiile ...
2. un install netestat suficient
https://github.com/twl8n/ead_fedora/blob/master/fcrepo_quick_install.txt
2.1. http://fedora-commons.org/download/2.2/userdocs/distribution/installation.h
tml
3. Advanced Configuration - Multiple Tomcat 5.5 Instances on Linux
http://bderzhavets.blogspot.com/2006/07/advanced-configuration-multiple-tomcat.h
tml
4. Running multiple Tomcat instances on one server
http://kief.com/node/23
5. tutorial tomcat
Apache Tomcat
http://www.humbug.in/docs/ubuntu-server-guide/tomcat.html

documentatie tomcat7
http://www.linbrary.com/apache-tomcat/7/ebooks/Apache_Tomcat7-User_Guide.pdf
8.11.2011 //---------------------------------------------------------------[root@apollo tomcat]# yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps
Loaded plugins: refresh-packagekit
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package tomcat6.noarch 0:6.0.20-1.fc10 set to be updated
--> Processing Dependency: tomcat6-lib = 6.0.20-1.fc10 for package: tomcat6-6.0.
20-1.fc10.noarch
--> Processing Dependency: /lib/lsb/init-functions for package: tomcat6-6.0.20-1
.fc10.noarch
--> Processing Dependency: /lib/lsb/init-functions for package: tomcat6-6.0.20-1
.fc10.noarch
--> Processing Dependency: jakarta-commons-logging for package: tomcat6-6.0.20-1
.fc10.noarch
--> Processing Dependency: procps for package: tomcat6-6.0.20-1.fc10.noarch
--> Processing Dependency: jakarta-commons-daemon for package: tomcat6-6.0.20-1.
fc10.noarch
---> Package tomcat6-admin-webapps.noarch 0:6.0.20-1.fc10 set to be updated
---> Package tomcat6-webapps.noarch 0:6.0.20-1.fc10 set to be updated
--> Processing Dependency: jakarta-taglibs-standard >= 1.1 for package: tomcat6webapps-6.0.20-1.fc10.noarch
--> Running transaction check
---> Package jakarta-commons-daemon.i386 1:1.0.1-6jpp.5.fc9 set to be updated
---> Package jakarta-commons-logging.i386 0:1.0.4-7.8.fc10 set to be updated
---> Package jakarta-taglibs-standard.i386 0:1.1.1-9.2.fc10 set to be updated
--> Processing Dependency: tomcat5-jsp-2.0-api >= 5.0.16 for package: jakarta-ta
glibs-standard-1.1.1-9.2.fc10.i386
--> Processing Dependency: servletapi5 >= 5.0.16 for package: jakarta-taglibs-st
andard-1.1.1-9.2.fc10.i386
--> Processing Dependency: xalan-j2 >= 2.6.0 for package: jakarta-taglibs-standa
rd-1.1.1-9.2.fc10.i386

---> Package procps.i386 0:3.2.7-23.fc10 set to be updated


---> Package redhat-lsb.i386 0:3.2-6.fc10.1 set to be updated
--> Processing Dependency: /bin/stty for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/csplit for package: redhat-lsb-3.2-6.fc10.1.
i386
--> Processing Dependency: /usr/bin/chfn for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /usr/bin/cksum for package: redhat-lsb-3.2-6.fc10.1.i
386
--> Processing Dependency: /usr/bin/uniq for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /usr/bin/head for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /bin/cp for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/du for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/logname for package: redhat-lsb-3.2-6.fc10.1
.i386
--> Processing Dependency: /bin/touch for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/nl for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/pr for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/fold for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /bin/nice for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/chown for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/wc for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/groups for package: redhat-lsb-3.2-6.fc10.1.
i386
--> Processing Dependency: /usr/bin/tty for package: redhat-lsb-3.2-6.fc10.1.i38
6
--> Processing Dependency: /usr/bin/[ for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/id for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/sync for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/chmod for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/test for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /usr/bin/comm for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /bin/true for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/su for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/logger for package: redhat-lsb-3.2-6.fc10.1.
i386
--> Processing Dependency: /usr/bin/pathchk for package: redhat-lsb-3.2-6.fc10.1
.i386
--> Processing Dependency: /bin/dmesg for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/cat for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/ls for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/tr for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/paste for package: redhat-lsb-3.2-6.fc10.1.i
386
--> Processing Dependency: /bin/df for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/uname for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/dirname for package: redhat-lsb-3.2-6.fc10.1
.i386
--> Processing Dependency: /usr/bin/tsort for package: redhat-lsb-3.2-6.fc10.1.i
386
--> Processing Dependency: /usr/bin/expand for package: redhat-lsb-3.2-6.fc10.1.
i386
--> Processing Dependency: /usr/bin/mkfifo for package: redhat-lsb-3.2-6.fc10.1.
i386
--> Processing Dependency: /bin/date for package: redhat-lsb-3.2-6.fc10.1.i386

--> Processing Dependency: /usr/bin/join for package: redhat-lsb-3.2-6.fc10.1.i3


86
--> Processing Dependency: /usr/bin/renice for package: redhat-lsb-3.2-6.fc10.1.
i386
--> Processing Dependency: /bin/sleep for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/expr for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /bin/ln for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/umount for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/nohup for package: redhat-lsb-3.2-6.fc10.1.i
386
--> Processing Dependency: /bin/mount for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/ipcs for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /usr/bin/chsh for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /bin/rm for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/basename for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /bin/echo for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/ipcrm for package: redhat-lsb-3.2-6.fc10.1.i
386
--> Processing Dependency: /bin/sort for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/false for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/dd for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/od for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/tee for package: redhat-lsb-3.2-6.fc10.1.i38
6
--> Processing Dependency: /bin/mv for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /sbin/shutdown for package: redhat-lsb-3.2-6.fc10.1.i
386
--> Processing Dependency: /bin/mkdir for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/mknod for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/unexpand for package: redhat-lsb-3.2-6.fc10.
1.i386
--> Processing Dependency: /bin/more for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/printf for package: redhat-lsb-3.2-6.fc10.1.
i386
--> Processing Dependency: /usr/bin/md5sum for package: redhat-lsb-3.2-6.fc10.1.
i386
--> Processing Dependency: /usr/bin/tail for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /bin/env for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/cut for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/pwd for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/kill for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /bin/hostname for package: redhat-lsb-3.2-6.fc10.1.i3
86
--> Processing Dependency: /bin/rmdir for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/col for package: redhat-lsb-3.2-6.fc10.1.i38
6
--> Processing Dependency: /bin/mktemp for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/split for package: redhat-lsb-3.2-6.fc10.1.i
386
--> Processing Dependency: /bin/chgrp for package: redhat-lsb-3.2-6.fc10.1.i386
--> Processing Dependency: /usr/bin/install for package: redhat-lsb-3.2-6.fc10.1
.i386
---> Package tomcat6-lib.noarch 0:6.0.20-1.fc10 set to be updated
--> Processing Dependency: tomcat6-jsp-2.1-api = 6.0.20-1.fc10 for package: tomc
at6-lib-6.0.20-1.fc10.noarch

--> Processing Dependency: tomcat6-servlet-2.5-api = 6.0.20-1.fc10 for package:


tomcat6-lib-6.0.20-1.fc10.noarch
--> Processing Dependency: jakarta-commons-dbcp-tomcat5 for package: tomcat6-lib
-6.0.20-1.fc10.noarch
--> Processing Dependency: jakarta-commons-collections-tomcat5 for package: tomc
at6-lib-6.0.20-1.fc10.noarch
--> Processing Dependency: jakarta-commons-pool-tomcat5 for package: tomcat6-lib
-6.0.20-1.fc10.noarch
--> Running transaction check
---> Package coreutils.i386 0:6.12-20.fc10 set to be updated
---> Package jakarta-commons-collections-tomcat5.i386 0:3.2-2.3.fc10 set to be u
pdated
---> Package jakarta-commons-dbcp-tomcat5.i386 0:1.2.1-11jpp.4.fc10 set to be up
dated
---> Package jakarta-commons-pool-tomcat5.i386 0:1.3-10.5.fc10 set to be updated
---> Package net-tools.i386 0:1.60-92.fc10 set to be updated
--> Processing Dependency: /sbin/service for package: net-tools-1.60-92.fc10.i38
6
---> Package tomcat5-jsp-2.0-api.noarch 0:5.5.27-6.1.fc10 set to be updated
---> Package tomcat5-servlet-2.4-api.noarch 0:5.5.27-6.1.fc10 set to be updated
---> Package tomcat6-jsp-2.1-api.noarch 0:6.0.20-1.fc10 set to be updated
---> Package tomcat6-servlet-2.5-api.noarch 0:6.0.20-1.fc10 set to be updated
---> Package upstart.i386 0:0.3.9-22.fc10 set to be updated
---> Package util-linux-ng.i386 0:2.14.1-3.3.fc10 set to be updated
---> Package xalan-j2.i386 0:2.7.0-7.4.fc10 set to be updated
--> Running transaction check
---> Package initscripts.i386 0:8.86.3-1 set to be updated
--> Processing Dependency: module-init-tools for package: initscripts-8.86.3-1.i
386
--> Running transaction check
---> Package module-init-tools.i386 0:3.5-3.fc10 set to be updated
--> Finished Dependency Resolution
Dependencies Resolved
================================================================================
====================================================================
Package
Arch
Ve
rsion
Repository
Size
================================================================================
====================================================================
Installing:
tomcat6
noarch
6.
0.20-1.fc10
updates
73 k
tomcat6-admin-webapps
noarch
6.
0.20-1.fc10
updates
28 k
tomcat6-webapps
noarch
6.
0.20-1.fc10
updates
249 k
Installing for dependencies:
coreutils
i386
6.
12-20.fc10
updates
4.5 M
initscripts
i386
8.
86.3-1
updates
1.9 M
jakarta-commons-collections-tomcat5
i386
3.
2-2.3.fc10
fedora
64 k
jakarta-commons-daemon
i386
1:
1.0.1-6jpp.5.fc9
fedora
44 k
jakarta-commons-dbcp-tomcat5
i386
1.
2.1-11jpp.4.fc10
fedora
216 k
jakarta-commons-logging
i386
1.

0.4-7.8.fc10
jakarta-commons-pool-tomcat5
3-10.5.fc10
jakarta-taglibs-standard
1.1-9.2.fc10
module-init-tools
5-3.fc10
net-tools
60-92.fc10
procps
2.7-23.fc10
redhat-lsb
2-6.fc10.1
tomcat5-jsp-2.0-api
5.27-6.1.fc10
tomcat5-servlet-2.4-api
5.27-6.1.fc10
tomcat6-jsp-2.1-api
0.20-1.fc10
tomcat6-lib
0.20-1.fc10
tomcat6-servlet-2.5-api
0.20-1.fc10
upstart
3.9-22.fc10
util-linux-ng
14.1-3.3.fc10
xalan-j2
7.0-7.4.fc10

fedora

101 k
i386

1.

fedora

96 k
i386

1.

fedora

619 k
i386

3.

fedora

460 k
i386

1.

updates

360 k
i386

3.

updates

212 k
i386

3.

updates

279 k
noarch

5.

updates

73 k
noarch

updates

5.
115 k

noarch

6.

updates

73 k
noarch

updates

6.
2.8 M

noarch

6.

updates

87 k
i386

0.

updates

245 k
i386

2.

updates

2.0 M
i386

fedora

2.
3.7 M

Transaction Summary
================================================================================
====================================================================
Install
23 Package(s)
Upgrade
0 Package(s)
Total download size: 18 M
Is this ok [y/N]: y
Downloading Packages:
(1/23): coreutils-6.12-20.fc10.i386.rpm
| 4.5 MB

00:04

(2/23): initscripts-8.86.3-1.i386.rpm
| 1.9 MB
00:01
(3/23): jakarta-commons-collections-tomcat5-3.2-2.3.fc10.i386.rpm
| 64 kB
00:00
(4/23): jakarta-commons-daemon-1.0.1-6jpp.5.fc9.i386.rpm
| 44 kB
00:00
(5/23): jakarta-commons-dbcp-tomcat5-1.2.1-11jpp.4.fc10.i386.rpm
| 216 kB
00:00
(6/23): jakarta-commons-logging-1.0.4-7.8.fc10.i386.rpm
| 101 kB
00:00
(7/23): jakarta-commons-pool-tomcat5-1.3-10.5.fc10.i386.rpm
| 96 kB
00:00
(8/23): jakarta-taglibs-standard-1.1.1-9.2.fc10.i386.rpm
| 619 kB
00:00
(9/23): module-init-tools-3.5-3.fc10.i386.rpm
| 460 kB
00:00
(10/23): net-tools-1.60-92.fc10.i386.rpm
| 360 kB
00:00
(11/23): procps-3.2.7-23.fc10.i386.rpm

| 212 kB

00:00

(12/23): redhat-lsb-3.2-6.fc10.1.i386.rpm
| 279 kB
00:00
(13/23): tomcat5-jsp-2.0-api-5.5.27-6.1.fc10.noarch.rpm
| 73 kB
00:00
(14/23): tomcat5-servlet-2.4-api-5.5.27-6.1.fc10.noarch.rpm
| 115 kB
00:00
(15/23): tomcat6-6.0.20-1.fc10.noarch.rpm
| 73 kB
00:00
(16/23): tomcat6-admin-webapps-6.0.20-1.fc10.noarch.rpm
| 28 kB
00:00
(17/23): tomcat6-jsp-2.1-api-6.0.20-1.fc10.noarch.rpm
| 73 kB
00:00
(18/23): tomcat6-lib-6.0.20-1.fc10.noarch.rpm
| 2.8 MB
00:01
(19/23): tomcat6-servlet-2.5-api-6.0.20-1.fc10.noarch.rpm
| 87 kB
00:00
(20/23): tomcat6-webapps-6.0.20-1.fc10.noarch.rpm
| 249 kB
00:00
(21/23): upstart-0.3.9-22.fc10.i386.rpm
| 245 kB
00:00
(22/23): util-linux-ng-2.14.1-3.3.fc10.i386.rpm
| 2.0 MB
00:01
(23/23): xalan-j2-2.7.0-7.4.fc10.i386.rpm
| 3.7 MB
00:01
--------------------------------------------------------------------------------------------------------------------------------------------------Total
1.0 MB/s | 18 MB
00:18
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Installing
: procps-3.2.7-23.fc10.i386
1/23
Error unpacking rpm package procps-3.2.7-23.fc10.i386
error: unpacking of archive failed on file /bin/ps;4eb8e8e9: cpio: open
Installing
: net-tools-1.60-92.fc10.i386
2/23
Error unpacking rpm package net-tools-1.60-92.fc10.i386
error: unpacking of archive failed on file /bin/dnsdomainname;4eb8e8e9: cpio: sy
mlink
Installing
: upstart-0.3.9-22.fc10.i386
3/23
Error unpacking rpm package upstart-0.3.9-22.fc10.i386
error: unpacking of archive failed on file /sbin/halt;4eb8e8e9: cpio: symlink
Installing
: jakarta-commons-logging-1.0.4-7.8.fc10.i386
4/23
Installing
: xalan-j2-2.7.0-7.4.fc10.i386
5/23
Installing
: 1:jakarta-commons-daemon-1.0.1-6jpp.5.fc9.i386
6/23
Installing
: jakarta-commons-dbcp-tomcat5-1.2.1-11jpp.4.fc10.i386
7/23
Installing
: jakarta-commons-collections-tomcat5-3.2-2.3.fc10.i386
8/23
Installing
: jakarta-commons-pool-tomcat5-1.3-10.5.fc10.i386
9/23
Installing
: tomcat6-servlet-2.5-api-6.0.20-1.fc10.noarch

10/23
: tomcat5-servlet-2.4-api-5.5.27-6.1.fc10.noarch
11/23
Installing
: tomcat5-jsp-2.0-api-5.5.27-6.1.fc10.noarch
12/23
Installing
: tomcat6-jsp-2.1-api-6.0.20-1.fc10.noarch
13/23
Installing
: jakarta-taglibs-standard-1.1.1-9.2.fc10.i386
14/23
Installing
: tomcat6-lib-6.0.20-1.fc10.noarch
15/23
Installing
: coreutils-6.12-20.fc10.i386
16/23
Error unpacking rpm package coreutils-6.12-20.fc10.i386
error: unpacking of archive failed on file /bin/arch;4eb8e8e9: cpio: open
Installing
: util-linux-ng-2.14.1-3.3.fc10.i386
17/23
Error unpacking rpm package util-linux-ng-2.14.1-3.3.fc10.i386
error: unpacking of archive failed on file /bin/dmesg;4eb8e8e9: cpio: open
Installing
: module-init-tools-3.5-3.fc10.i386
18/23
Error unpacking rpm package module-init-tools-3.5-3.fc10.i386
error: unpacking of archive failed on file /sbin/depmod;4eb8e8e9: cpio: open
Installing
: redhat-lsb-3.2-6.fc10.1.i386
19/23
Error unpacking rpm package redhat-lsb-3.2-6.fc10.1.i386
error: unpacking of archive failed on file /bin/redhat_lsb_init;4eb8e8e9: cpio:
open
Installing
: initscripts-8.86.3-1.i386
20/23
Error unpacking rpm package initscripts-8.86.3-1.i386
error: unpacking of archive failed on file /bin/doexec;4eb8e8e9: cpio: open
Installing
: tomcat6-6.0.20-1.fc10.noarch
21/23
Installing
: tomcat6-admin-webapps-6.0.20-1.fc10.noarch
22/23
Installing
: tomcat6-webapps-6.0.20-1.fc10.noarch
23/23
Installing

Installed:
tomcat6.noarch 0:6.0.20-1.fc10
tomcat6-admin-webapps.noarch 0:6.0.20
-1.fc10
tomcat6-webapps.noarch 0:6.0.20-1.fc10
Dependency Installed:
jakarta-commons-collections-tomcat5.i386 0:3.2-2.3.fc10
akarta-commons-daemon.i386 1:1.0.1-6jpp.5.fc9
jakarta-commons-dbcp-tomcat5.i386 0:1.2.1-11jpp.4.fc10
akarta-commons-logging.i386 0:1.0.4-7.8.fc10
jakarta-commons-pool-tomcat5.i386 0:1.3-10.5.fc10
akarta-taglibs-standard.i386 0:1.1.1-9.2.fc10
tomcat5-jsp-2.0-api.noarch 0:5.5.27-6.1.fc10
omcat5-servlet-2.4-api.noarch 0:5.5.27-6.1.fc10
tomcat6-jsp-2.1-api.noarch 0:6.0.20-1.fc10
omcat6-lib.noarch 0:6.0.20-1.fc10
tomcat6-servlet-2.5-api.noarch 0:6.0.20-1.fc10
alan-j2.i386 0:2.7.0-7.4.fc10
Failed:
coreutils.i386 0:6.12-20.fc10
initscripts.i386 0:8.86.3-1
-tools.i386 0:3.5-3.fc10
net-tools.i386 0:1.60-92.fc10

j
j
j
t
t
x

module-init

procps.i386 0:3.2.7-23.fc10
redhat-lsb.i386 0:3.2-6.fc10.1
6 0:0.3.9-22.fc10
util-linux-ng.i386 0:2.14.1-3.3.fc10

upstart.i38

Complete!
<role rolename="tomcat"/>
<role rolename="manager"/>
<user username="tomcat" password="qazxsw123" roles="tomcat,manager"/>
grant all on fedora35.* to fedoraAdmin@localhost identified by '77777777';
grant all on fedora35.* to fedoraAdmin@'%' identified by '77777777';

Potrebbero piacerti anche