yum install tomcat6 (without missing dependency on CentOS)


/ Published in: Bash
Save to your folder(s)



Copy this code and paste it in your HTML
  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


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.