ssh secure shell使用
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.目录结构(图形界面)
?
?2./usr/apache2/conf 修改httpd.conf
? 增加一个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工程为例。