1.通常情况下开发的web系统在apache + tomcat Linux环境中测试,使用客户端操作工具:SSH Secure Shell
首先是安装:SSHSecureShellClient-3.2.9.exe
安装完成后,打开Secure Shell Client -> Quick Connect
Host Name: 192.168.0.23
User Name: root
Port 22
Authentication <Profile Settings> 默认值
Connect -> Enter your Password -> OK
命令行界面定位到:[root@localhost root]#
同理打开:Secure File Transfer Client,用于文件传输。
2.目录结构(图形界面)
/
...
usr
apache2
...
conf
...
httpd.conf
bin
...
apachectl
tomcat5
...
conf
...
server.xml
bin
...
shutdown.sh
startup.sh
webapps
...
eWebEditor
3.命令界面
cd /usr/tomcat5/bin 转入到tomcat5 bin文件夹
./shutdown.sh 关闭tomcat服务
./startup.sh 启动tomcat服务
cd /usr/apache2/bin 转入到apache2 bin文件夹
./apachectl start|stop|restart|graceful 启动|关闭|重启|优化apache服务
ls 查看目录文件命令
move 文件夹 .. 移动文件夹到上一目录
rm -rf eWebEditor/ 删除文件夹eWebEditor
ps -ef|grep java 查看tomcat启动进程信息,进程ID
kill -9 进程ID 强制关闭tomcat服务进程
缓存清理
/usr/tomcat5/work/Catalina/eWebEditor 直接删掉eWebEditor文件夹清理缓存
4.配置文件
1./usr/tomcat5/conf 修改server.xml
增加一个Host节点 如下:
<Host name="eWebEditor.7234.com.cn"
debug="0"
appBase=""
unpackWARs="true"
autoDeploy="true">
<Context path=""
docBase="/usr/webapps/eWebEditor/"
debug="0"
privileged="true"
reloadable="true"/>
</Host>
2./usr/apache2/conf 修改httpd.conf
增加一个VirtualHost节点 如下:
<VirtualHost *>
<LocationMatch "/WEB-INF/">
AllowOverride None
deny from all
</LocationMatch>
<LocationMatch "/META-INF/">
AllowOverride None
deny from all
</LocationMatch>
RewriteEngine on
RewriteCond %{REQUEST_METHOD} ^(TRACE|TRACK)
Rewriterule .* - [F]
ServerAdmin aaa@7234.com
DocumentRoot /usr/webapps/eWebEditor/
ServerName eWebEditor.7234.com.cn
ErrorLog logs/eWebEditor.7234.com.cn-error_log
CustomLog "|/usr/local/sbin/cronolog /usr/logs/apache_logs/eWebEditor.7234.com.cn_access_log.%Y%m%d" combined
</VirtualHost>
5.本地hosts配置:C:\WINDOWS\system32\drivers\etc\hosts
192.168.0.23 eWebEditor.7234.com.cn
6.拼是否成功:开始->运行->cmd
ping eWebEditor.7234.com.cn
#查看域名对应的IP地址:是内网还是外网的方法或是否连接成功。
7.最后在浏览器中输入:http://ewebeditor.7234.com.cn/ 请求页面,查看页面显示效果。
备注:eWebEditor或eWebEditor.7234.com.cn或红色字体部分为变量,在实际使用过程中修改过来,本文以eWebEditor工程为例。
分享到:
相关推荐
SSH SecureSSH Secure Shell Client中文乱码, Shell Client中文乱码,SSH Secure Shell Client中文乱码,SSH Secure Shell Client中文乱码,SSH Secure Shell Client中文乱码
该文件不涉及版权,只是使其合适在WIN10下...SSH Secure Shell Client 软件在WIN10下运行时候窗口不兼容变形,导致设置的OK和cancel按键不出现,无法操作使用的问题。本资源里提供对应版本覆盖即可如XP系统下的使用。
Windows中SSH Secure Shell Client 的使用方法doc Windows中SSH Secure Shell Client 的使用方法doc
SSH SecureShell Client 3,2,9版本,可安全连接Linux服务器
SSH 为 Secure Shell 的缩写,由 IETF 的网络工作小组(Network Working Group)所制定;SSH 为建立在应用层和传输层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性的协议。利用 ...
SSH Secure Shell Client(带sftp)客户端,既可SSH远程主机,又可FTP上传文件到主机。非常好用的SSH
ssh secure shell client是一个用来替代TELNET、FTP以及R命令的工具包,主要是想解决口令在网上明文传输的问题。为了系统安全和用户自身的权益,推广SSH是必要的。 SSH是英文Secure Shell的简写形式。通过使用SSH,...
SSH Secure Shell Client可作为连接Linux服务器的工具类使用,通过Linux服务器IP地址进行连接,可实现web应用在Linux服务器上的基本部署及维护工作。
SSH Secure Shell Client是一款不错的远程linux的工具, 支持命令行方式(与Secure CRT 相同), 同时也支持图形化界面操作,如同(WinSCP), 英文版,但都是常见单词,一看就懂,实在想汉化的也自行百度汉化包!
SSH 为 Secure Shell 的缩写,由 IETF 的网络小组(Network Working Group)所制定;SSH 为建立在应用层基础上的安全协议。SSH 是目前较可靠,专为远程登录会话和其他网络服务提供安全性的协议。利用 SSH 协议可以...
SSH Secure Shell免安装版,解压后,直接运行SshClient SSH Secure Shell免安装版,解压后,直接运行SshClient
远程登陆Linux服务器。
一款用于Windows和ubuntu之间远程操作的软件
在windows系统中SSH Secure Shell Client的使用方法和软件
SSH Secure Shell Client是一个用来替代TELNET、FTP以及R命令的数据加密工具,进行ssh 下载主要是想解决口令在网上明文传输的问题。为了系统安全和用户自身的权益,推广SSH是必要的。 SSH是英文Secure Shell的简写...
SSH(Secure Shell)是一种通用的、功能强大的、基于软件的网络安全解决方案。计算机每次向网络发送数据时,SSH都会自动对其进行加密。数据到达目的地时,SSH自动对加密数据进行解密。整个过程都是透明的,使用...
SSH Secure Shell Client是一款连接远程linux系统的工具,简称ssh客户端,操作简单方便