部署项目到CentOS6

一、 环境

服务商:Vultr

Linux操作系统: centos6.0

tomcat版本: tomcat7.0+

二、 安装Tomcat

1、 更新yum源

[root@vultr ~]# yum update

2、 查询yum中的tomcat版本信息

[root@vultr ~]# yum info tomcat
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
 * base: mirror.0x.sg
 * epel: d2lzkl7pfhq30w.cloudfront.net
 * extras: mirror.0x.sg
 * updates: mirror.0x.sg
Available Packages
Name        : tomcat
Arch        : noarch
Version     : 7.0.90
Release     : 1.el6
Size        : 93 k
Repo        : epel
Summary     : Apache Servlet/JSP Engine, RI for Servlet 3.0/JSP 2.2 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.

3、 yum安装tomcat7

[root@vultr ~]# yum install tomcat

4、 安装管理界面

[root@vultr ~]# yum install tomcat-webapps tomcat-admin-webapps

5、 启动tomcat服务,浏览器访问

[root@vultr ~]# service tomcat start
Starting tomcat:                                           [  OK  ]

三、部署项目

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值