First, the first page file / root / cas / deleted, leaving only under the following two folders
Second, create cas folder under the tomcat and root archive and copied into cas.war
[root@hostname ~]# cd /usr/local/ [root@hostname local]# mkdir cas [root@hostname cas]# cp /root/cas/cas.war ./ [root@hostname cas]# cp /root/tomcat/apache-tomcat-7.0.47.tar.gz ./
Third, unzip tomcat and renamed
Fourth, this time tomcat can not start because tomcat port number defaults to 8080, has been used before during installation, you need to change the port number here
You can change the configuration file, but relatively speaking, we can take more complex change in editPlus remote file
You need to change the port number three:
Fifth, the copied cas.war move to tomcat / webapps under
[root@hostname cas]# mv cas.war tomcat/webapps/
Sixth, after running tomcat Close cas.war deleted
[root@hostname cas]# sh tomcat/bin/startup.sh [root@hostname cas]# sh tomcat/bin/shutdown.sh [root@hostname cas]# cd tomcat/webapps/ [root@hostname webapps]# rm -rf cas.war
Seven, because the default is the need to have access to https to http
Eight, to test whether the installation is successful
tomcat
case
You need to log the default user name: casuser Password: Mellon