Ubuntu 16.04.2 LTS 安装 jdk1.6 和 tomcat6 (二)
scp apache-tomcat-6.0..tar.gz asialantao@s2.asialantao.com:/home/asialantao
asialantao@s2.asialantao.com's password:
apache-tomcat-6.0..tar.gz % 6944KB .8MB/s :
$ tar -zxv -f apache-tomcat-6.0..tar.gz
apache-tomcat-6.0./bin/catalina.sh
apache-tomcat-6.0./bin/daemon.sh
apache-tomcat-6.0./bin/digest.sh
apache-tomcat-6.0./bin/setclasspath.sh
apache-tomcat-6.0./bin/shutdown.sh
apache-tomcat-6.0./bin/startup.sh
...
$ cd apache-tomcat-6.0./bin
启动命令
$ ./startup.sh
Using CATALINA_BASE: /home/asialantao/apache-tomcat-6.0.
Using CATALINA_HOME: /home/asialantao/apache-tomcat-6.0.
Using CATALINA_TMPDIR: /home/asialantao/apache-tomcat-6.0./temp
Using JRE_HOME: /usr/local/java/jdk1..0_45
Using CLASSPATH: /home/asialantao/apache-tomcat-6.0./bin/bootstrap.jar
$ ./shutdown.sh
Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
At least one of these environment variable is needed to run this program
需要返回上一篇配置好jdk 6
2.5 检验
$ ./version.sh
Using CATALINA_BASE: /home/asialantao/apache-tomcat-6.0.
Using CATALINA_HOME: /home/asialantao/apache-tomcat-6.0.
Using CATALINA_TMPDIR: /home/asialantao/apache-tomcat-6.0./temp
Using JRE_HOME: /usr/local/java/jdk1..0_45
Using CLASSPATH: /home/asialantao/apache-tomcat-6.0./bin/bootstrap.jar
Server version: Apache Tomcat/6.0.
Server built: Apr :: UTC
Server number: 6.0.53.0
OS Name: Linux
OS Version: 4.4.--generic
Architecture: amd64
JVM Version: 1.6.0_45-b06
JVM Vendor: Sun Microsystems Inc.
也可以在浏览器访问8080端口,或者在命令行模式,可以使用curl
http://localhost:8080
Ubuntu 16.04.2 LTS 安装 jdk1.6 和 tomcat6 (二)的更多相关文章
- Ubuntu 16.04.2 LTS 安装 jdk1.6 和 tomcat6 (一)
java和tomcat环境配置已经有很多教程和文章,最近项目需要配置Ubuntu 16.04.2下的古老的java6和tomcat 6,遇到小坑,特记录和分享. 网上的教程不是太新,就是太老,还有一些 ...
- Ubuntu 16.04.3 LTS 安装 MongoDB
1.安装Ubuntu16.04 运行sudo apt-get install mongodb安装Mongodb 如果没有MongoDB库,则运行sudo apt-get update更新库. 2.运行 ...
- Ubuntu 16.04.3 LTS u盘-安裝教程(填坑)
Ubuntu 16.04.3 LTS 下载地址: https://www.ubuntu.com/download/desktop 下载u盘后文件为iso,可以选择UltraISO制作U盘启动,也可以直 ...
- Alienware-15-R3 装Ubuntu 16.04.3 LTS
前言:Alienware-15-R3默认安装的系统是win10.现在卸载win0,装Ubuntu 16.04.3 LTS. 一.下载Ubuntu 16.04.3 LTS镜像文件,下载地址:https: ...
- Ubuntu 16.04.4 LTS环境中php7.0使用mysqli失败,数据库无法访问
环境: Ubuntu 16.04.4 LTS php7.0 输入命令php -m,显示如下,发现没有mysqli模块 输入命令sudo apt install php-mysql,安装mysql模块, ...
- Ubuntu 16.04系统下安装Discuz出现“HTTP ERROR 500”目前无法处理此请求
问题:当我们在Ubuntu 16.04系统下安装Disucz X3时,修改好文件的权限,浏览器输入地址安装时出现如下图所示问题: 问题查询: 在终端输入: tail -f /var/log/apach ...
- Ubuntu 16.04下编译安装Apache2.4和PHP7结合
Ubuntu 16.04下编译安装Apache2.4和PHP7结合,并安装PDOmysql扩展. 1.编译安装apache2.4.20 1 第一步: ./configure --prefix=/usr ...
- Ubuntu 16.04.4 LTS设置root用户登陆图形界面
普通用户登陆真是太憋屈,这也不能那也不能,root用户登录就可以肆无忌惮了 本方法采用nano编辑器,ubantu版本Ubuntu 16.04.4 LTS,其他版本应该也一样,下面进入正题 1.终端登 ...
- 【Ubuntu 16.04.2_64】安装配置SVN
[Ubuntu 16.04.2_64]安装配置SVN 转载:https://www.cnblogs.com/yangchongxing/p/10190549.html 检查是否已安装svn # svn ...
随机推荐
- python之数据驱动ddt
下载ddt并安装 Pip install ddt 或者官网下载安装 http://ddt.readthedocs.io/en/latest/ https://github.com/txels/ddt ...
- leetcode28
public class Solution { public int StrStr(string haystack, string needle) { return haystack.IndexOf( ...
- linux Crontab 使用
cron 用法说明 全文如下: cron来源于希腊单词chronos(意为“时间”),是linux系统下一个自动执行指定任务的程序.例如,你想在每晚睡觉期间创建某些文件或文件夹的备份,就可以用cron ...
- 使用ES-Hadoop 6.5.4编写MR将数据索引到ES
目录 1. 开发环境 2. 下载地址 3. 使用示例 4. 参考文献 1. 开发环境 Elasticsearch 6.5.4 ES-Hadoop 6.5.4 Hadoop 2.0.0 2. 下载地址 ...
- Unpacking Argument Lists
[Unpacking Argument Lists] The reverse situation occurs when the arguments are already in a list or ...
- python实现测试报告的bug统计
背景:组内要针对每个项目生成测试报告,要对当前项目的一些bug进行统计.考虑到人工统计比较繁琐,而且是个长期的工作,所以写个脚本对bug进行自动统计.(我们用的bug平台是bugfree,直接可以导出 ...
- 16.3Sum Closest (Two-Pointers)
Given an array S of n integers, find three integers in S such that the sum is closest to a given num ...
- 12. Integer to Roman (HashTable)
Given an integer, convert it to a roman numeral. Input is guaranteed to be within the range from 1 t ...
- android Service 的简单使用(转)
1.要使用Service,首先就是在配置文件里吗添加Service,如果不填加,你的Service是不能够使用的.目前学到的方法有两种 方法一:<service android:enabl ...
- Django web 应用 http 协议 web框架
一:什么是web 应用程序 Web应用程序是一种可以通过Web访问的应用程序,程序的最大好处是用户很容易访问应用程序,用户只需要有浏览器即可,不需要再安装其他软件 应用程序有两种模式C/S.B/S. ...