服务器部署软件系统
来源:互联网 发布:龙之信条身材捏脸数据 编辑:程序博客网 时间:2024/05/20 15:09
一、先将xsheel连接至服务器主机,打开dos窗口进行下面代码。
二、结束代码之后,进入tomcat界面上传war包。
Xshell 5 (Build 0788)
Copyright (c) 2002-2015 NetSarang Computer, Inc. All rights reserved.
Type `help' to learn how to use Xshell prompt.
[c:\~]$
Connecting to 10.224.11.192:22...
Connection established.
To escape to local shell, press 'Ctrl+Alt+]'.
Last login: Fri Nov 3 17:15:06 2017 from 10.224.11.30
[root@localhost ~]# cd _softapche
-bash: cd: _softapche: No such file or directory
[root@localhost ~]# cd /soft/apache-tomcat-7.0.68/ 1(进入文件夹)
[root@localhost apache-tomcat-7.0.68]#
[root@localhost apache-tomcat-7.0.68]# cd bin 2(进入BIN文件)
[root@localhost bin]# ./shutdown.sh 3 (停止服务)
Using CATALINA_BASE: /soft/apache-tomcat-7.0.68
Using CATALINA_HOME: /soft/apache-tomcat-7.0.68
Using CATALINA_TMPDIR: /soft/apache-tomcat-7.0.68/temp
Using JRE_HOME: /usr/java/jdk1.7.0_80
Using CLASSPATH: /soft/apache-tomcat-7.0.68/bin/bootstrap.jar:/soft/apache-tomcat-7.0.68/bin/tomcat-juli.jar
[root@localhost bin]#
[root@localhost bin]# cd..
-bash: cd..: command not found
[root@localhost bin]# cd .. 4(返回上一层)
[root@localhost apache-tomcat-7.0.68]# cd webapps/ 5 (进入webapp)
[root@localhost webapps]# ls 6(查看系统明细)
API_doc docs icp icp.war ROOT
DeviceServer examples icp1.0 icp.war.back timerTask
DeviceServer.war host-manager icp1.0.war manager timerTask.war
[root@localhost webapps]# ll 7(查看系统明细)
total 269564
drwxr-xr-x 8 root root 4096 Dec 27 2016 API_doc
drwxr-xr-x 6 root root 61 Sep 30 08:52 DeviceServer
-rw-r--r-- 1 root root 4951485 Sep 30 08:52 DeviceServer.war
drwxr-xr-x 14 root root 4096 Jun 23 2016 docs
drwxr-xr-x 7 root root 105 Jun 23 2016 examples
drwxr-xr-x 5 root root 82 Jun 23 2016 host-manager
drwxr-xr-x 7 root root 80 Oct 27 17:41 icp
drwxr-xr-x 29 root root 4096 Nov 22 2016 icp1.0
-rw-r--r-- 1 root root 105455422 Oct 12 2016 icp1.0.war
-rw-r--r-- 1 root root 70433633 Oct 27 17:41 icp.war
-rw-r--r-- 1 root root 69034191 Oct 10 09:59 icp.war.back
drwxr-xr-x 5 root root 97 Jun 23 2016 manager
drwxr-xr-x 3 root root 4096 Jun 23 2016 ROOT
drwxr-xr-x 4 root root 51 Sep 6 2016 timerTask
-rw-r--r-- 1 root root 26133981 Sep 6 2016 timerTask.war
[root@localhost webapps]# rm -rf icp 8(删除icp文件)
[root@localhost webapps]# ll
total 269564
drwxr-xr-x 8 root root 4096 Dec 27 2016 API_doc
drwxr-xr-x 6 root root 61 Sep 30 08:52 DeviceServer
-rw-r--r-- 1 root root 4951485 Sep 30 08:52 DeviceServer.war
drwxr-xr-x 14 root root 4096 Jun 23 2016 docs
drwxr-xr-x 7 root root 105 Jun 23 2016 examples
drwxr-xr-x 5 root root 82 Jun 23 2016 host-manager
drwxr-xr-x 29 root root 4096 Nov 22 2016 icp1.0
-rw-r--r-- 1 root root 105455422 Oct 12 2016 icp1.0.war
-rw-r--r-- 1 root root 70433633 Oct 27 17:41 icp.war
-rw-r--r-- 1 root root 69034191 Oct 10 09:59 icp.war.back
drwxr-xr-x 5 root root 97 Jun 23 2016 manager
drwxr-xr-x 3 root root 4096 Jun 23 2016 ROOT
drwxr-xr-x 4 root root 51 Sep 6 2016 timerTask
-rw-r--r-- 1 root root 26133981 Sep 6 2016 timerTask.war
[root@localhost webapps]# rm -rf icp.war 9(删除icp.war包)
[root@localhost webapps]# ll
total 200780
drwxr-xr-x 8 root root 4096 Dec 27 2016 API_doc
drwxr-xr-x 6 root root 61 Sep 30 08:52 DeviceServer
-rw-r--r-- 1 root root 4951485 Sep 30 08:52 DeviceServer.war
drwxr-xr-x 14 root root 4096 Jun 23 2016 docs
drwxr-xr-x 7 root root 105 Jun 23 2016 examples
drwxr-xr-x 5 root root 82 Jun 23 2016 host-manager
drwxr-xr-x 29 root root 4096 Nov 22 2016 icp1.0
-rw-r--r-- 1 root root 105455422 Oct 12 2016 icp1.0.war
-rw-r--r-- 1 root root 69034191 Oct 10 09:59 icp.war.back
drwxr-xr-x 5 root root 97 Jun 23 2016 manager
drwxr-xr-x 3 root root 4096 Jun 23 2016 ROOT
drwxr-xr-x 4 root root 51 Sep 6 2016 timerTask
-rw-r--r-- 1 root root 26133981 Sep 6 2016 timerTask.war
[root@localhost webapps]# cd .. 10 (退出)
[root@localhost apache-tomcat-7.0.68]# cd bin 11(进入BIN)
[root@localhost bin]# ./startup.sh 12(开启服务)
Using CATALINA_BASE: /soft/apache-tomcat-7.0.68 13(到web界面上传文件)
Using CATALINA_HOME: /soft/apache-tomcat-7.0.68
Using CATALINA_TMPDIR: /soft/apache-tomcat-7.0.68/temp
Using JRE_HOME: /usr/java/jdk1.7.0_80
Using CLASSPATH: /soft/apache-tomcat-7.0.68/bin/bootstrap.jar:/soft/apache-tomcat-7.0.68/bin/tomcat-juli.jar
Tomcat started.
[root@localhost bin]# ^C
[root@localhost bin]#
- 服务器部署软件系统
- icinga系统服务器监控部署
- Cobbler自动化系统服务器部署
- windows系统部署git服务器
- windows系统部署git服务器
- Linux系统部署FTP服务器
- 服务器监控软件monit部署实践
- 桌面和服务器系的部署系统
- CentOS系统及服务器环境部署
- 部署PHP服务器步骤记录(Centos系统)
- 如何使用Monit部署服务器监控系统
- mac系统 安装部署启动redis服务器
- 在Windows7 系统上部署DNS服务器
- 如何使用Monit部署服务器监控系统
- Centos环境下部署游戏服务器-软件安装
- 服务器系统及软件常见漏洞
- 谷歌开源SLAM地图软件Cartographer 可部署机器人等系统
- 服务器部署
- bootstrap之code&grid样式
- 初识ajax
- java enum(枚举)使用详解 + 总结
- Newstart中兴Linux系统更改启动级别
- openstack 虚拟机如何修改ip地址
- 服务器部署软件系统
- Android Doze模式使用命令启用和恢复
- ImageButton写padding不起作用
- 使用apt-mirror搭建本地apt服务器(by quqi99)
- iOS开发—使用NSThread实现多线程
- Socket通讯详解
- 第三章 字符串 向量 数组
- 横向滑动菜单Tablayout和viewpager小圆点结合滑动仿今日头条
- CSS——笑脸