1 ssh-server
2 vim
3 解决root登陆问题
vi /etc/ssh/sshd_config
Ciphers aes128-cbc,aes192-cbc,aes256-cbc,aes128-ctr,aes192-ctr,aes256-ctr,3des-cbc,arcfour128,arcfour256,arcfour,blowfish-cbc,cast128-cbc
MACs hmac-md5,hmac-sha1,umac-64@openssh.com,hmac-ripemd160,hmac-sha1-96,hmac-md5-96
KexAlgorithms diffie-hellman-group1-sha1,diffie-hellman-group14-sha1,diffie-hellman-group-exchange-sha1,diffie-hellman-group-exchange-sha256,ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group1-sha1,curve25519-sha256@libssh.org
4 安装mysql
导入数据库
5 安装jdk
6 安装tomcat
7 配置tomcat 虚拟主机
8 测试失败。。。
分析原因(web.xml 配置应该有问题!)
9 更换,测试 windows服务器
更改web.xml文件
<Host name="app.cheshijie.com" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="app.cheshijie.com_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
<Context path="/" docBase="/data/cc_apps/tomcat-6.0.39/webapps/CarWorld/" debug="0" reloadable="true"/>
<Context path="/cwimg" docBase="/data/CarWorld_DATA/cwimg/" debug="0" reloadable="false"/>
<Context path="/cwimg/tempdir" docBase="/data/CarWorld_DATA/tempdir/" debug="0" reloadable="false"/>
</Host>
<Host name="magazine" appBase="webapps"
unpackWARs="true" autoDeploy="true"
xmlValidation="false" xmlNamespaceAware="false">
<!-- <Context path="/" docBase="/data/cc_apps/tomcat-6.0.39/webapps/magazine/" debug="0" reloadable="true"/> -->
<Context path="/mzimg" docBase="/data/CarWorld_DATA/mzimg/" debug="0" reloadable="false"/>
<Context path="/mzimg/tempdir" docBase="/data/CarWorld_DATA/tempdir/" debug="0" reloadable="false"/>
<Valve className="org.apache.catalina.valves.AccessLogValve" directory="logs"
prefix="magazine_access_log." suffix=".txt" pattern="common" resolveHosts="false"/>
</Host>
解决,可以使用!!
0则评论给“一次维护实例(继续ubuntu测试)”