Posted By

joelso on 05/21/10


Tagged


Versions (?)

yum install tomcat6 (without missing dependency on CentOS)


 / Published in: Bash
 

  1. yum install -y jpackage-utils
  2. wget http://www.jpackage.org/jpackage17.repo
  3. cat jpackage17.repo | sed 's/1\.7/5.0/' | sed 's/\[jpack/\[5jpack/' > /etc/yum.repos.d/jpackage5.repo
  4. mv jpackage17.repo /etc/yum.repos.d/
  5. yum makecache
  6. yum install tomcat6 tomcat6-webapps tomcat6-admin-webapps

Report this snippet  

You need to login to post a comment.