
source /etc/profile
 
4、验证配置信息
echo $JAVA_HOME
echo $PATH
echo $CLASSPATH

![安装JDK完成](http://upload-images.jianshu.io/upload_images/2787821-38f741e06477634a.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

#安装tomcat
    [root@single src]# ls
    apache-tomcat-7.0.77.tar.gz  jdk-8u131-linux-x64.rpm
    [root@single src]# tar zxvf apache-tomcat-7.0.77.tar.gz 

    [root@single src]# cd apache-tomcat-7.0.77
    [root@single apache-tomcat-7.0.77]# ls
    bin  conf  lib  LICENSE  logs  NOTICE  RELEASE-NOTES  RUNNING.txt     temp  webapps  work
    [root@single apache-tomcat-7.0.77]# cd conf/
    [root@single conf]# vim server.xml 


![修改端口](http://upload-images.jianshu.io/upload_images/2787821-28efe7ce43f79a4d.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

修改管理用户，添加管理员：

  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <role rolename="manager-gui"/>
  <user username="tomcat" password="<PASSWORD>" roles="tomcat,rolel,manager-gui"/>


![添加manager-gui就可以](http://upload-images.jianshu.io/upload_images/2787821-a5ae6c2f127deea2.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)


复制一份tomcat到 /home/tomcat

    [root@single src]# cp -Rf apache-tomcat-7.0.77 /home/tomcat
   [root@single src]# 

启动tomcat：


![测试没问题](http://upload-images.jianshu.io/upload_images/2787821-5c0a3001c4daf0b8.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)



![manager也可以管理了](http://upload-images.jianshu.io/upload_images/2787821-5c2e037e9d44a3ea.png?imageMogr2/auto-orient/strip%7CimageView2/2/w/1240)

===========================================================

#tomcat 开启最高权限

  <role rolename="tomcat"/>
  <role rolename="role1"/>
  <role rolename="manager-gui"/>
  <role rolename="admin-gui"/>
  <role rolename="admin-script"/>
  <user username="tomcat" password="<PASSWORD>" roles="tomcat,rolel,manager-gui,admin-gui,admin-script"/>
An equation that can be turned into a differential equal to zero is called exact differential equation. It is quite clear that when an equation can be turned into an exact equation, then the solution is immediately given through the implicit form: f (x, y) = k (2) with k a constant. Thus the solution is found once f (x, y) is found. There is an easy criterion to check whether an equation is... ode15i is designed to be used with fully implicit differential equations and index-1 differential algebraic equations (DAEs). The helper function decic computes consistent initial conditions that are suitable to be used with ode15i .
So, xy is an implicit solution of differen tial equation (1). Let’s look at the detail procedure to find the solution for exact differential equation from the following examples.
In mathematics, an Exact Differential Equation or total differential equation is a certain kind of ordinary differential equation which is widely used in physics and engineering. Exact equations are those where you can find a function whose partial derivatives correspond to the terms in a given differential equation.Having caught the train from Bilbao to Madrid to make the 5 hour journey we travelled on Line 10 on the Madrid Metro to the end of the line at Puerto del Sur whence we caught a taxi for the 10 minute journey to the satellite city just outside the Madrid metropolitan area - cost 10 euros.What a contrast to the previous night! Leganes have done brilliantly to stabilise at the top level having moved steadily upwards in their history, especially with a ground which only has a capacity of 12450 and which they very rarely sell out. The ground has the look of League One or Two about it, with three sides of the single tier stadium open to the elements, and the fourth which houses almost all the facilities having a roof which only stretches less than halfway over the approximately 15 rows of blue and white seats. These stands all look to be of fairly recent construction and with the average crowds that they have is adequate for their needs. There are some hospitality facilities on the west side of the stadium with some fairly rudimentary media facilities at the rear of the Tribuna Baja where we sat. CD Leganes is picked out in the seats on the west side with 1928 similarly inscribed at the south end and 2018 at the north end. There is a floodlight pylon at each corner of the ground and the seats are very tight to the pitch with hardly any track between the wall and the pitch. The first half was fairly awful and the second half little better as the visitors went deeper and deeper in an attempt to dig out a point from a goalless draw. However, in the additional 30 seconds added on to added time after Valladolid made their third substitution deep into stoppage time so it was poetic justice when, with three seconds left on my watch a wonderful cross from the right was finished by a magnificent header from the far side of the box.Maple Wood Marina is a minor waterways place minor waterways place place on the waterways major waterways place village town city on the Staffordshire and Worcestershire Canal (Main Line: Autherley to Great Haywood) between Acton Moat Bridge No 92 (Acton Trussell) (1 mile and 5¼ furlongs and 1 lock to the south) and Staffordshire and Worcestershire - Stafford Branch Junction (Junction of the Staffordshire and Worcestershire Canal with the Stafford Branch.) (1 mile and 3¼ furlongs to the north).
The nearest place in the direction of Acton Moat Bridge No 92 is Hazelstrine Bridge No 96; ½ furlongs away.
The nearest place in the direction of Staffordshire and Worcestershire - Stafford Branch Junction is Radford Bridge No 98; 5¾ furlongs away.
Mooring here is ok (a perfectly adequate mooring), no information available. Moorings are available at Maple Wood (Stafford Boat Club). Free good moorings opposite club and up and beyond Deptmore Lock.
Facilities: diesel for sale, chemical toilet disposal, gas for sale, boatyard pump-out, telephone, water point and laundrette.
The place is a Marina and a Visitors Mooring.
Information last edited Wednesday the 17th of January, 2018 at 10:34 PM by Shultzy.
Radford Bank, Stafford, ST17 4PG — 1433 yards to the north.
Wildwood Shopping Centre, Stafford, ST17 4RA — 753 yards to the northeast.
57 – 59 Bodmin Avenue, Stafford, ST17 0EF — 1551 yards to the northeast.
Mospit, Stafford, ST174HJ — 1368 yards to the west.
34 Silkmore Crescent, Stafford, ST17 4JL — 1343 yards to the northwest.
Baswich Library, Lynton avenue, Stafford, ST17 0EA — 1485 yards to the northeast.
Stafford — 1115 yards to the north.
Stafford, WS11 8LA — 1211 yards to the west.
Maple Wood, Stafford, ST17 4SG — 37 yards to the east.
13 firbeck gardens, Stafford, ST174QQ — 1031 yards to the north.
Stafford — 1449 yards to the west.
Stafford — 1585 yards to the north.
55 Bodmin Ave, Stafford, ST17 0 — 1562 yards to the northeast.
Manchester — 1308 yards to the north.
5 The Bramblings, Stafford, ST17 4RL — 698 yards to the east.
Stafford — 1395 yards to the east.
Within Francesco Group, Weeping Cross. 45 Bodmin Avenue, Stafford, ST17 0EF — 1339 yards to the northeast.
Wildwood Shopping Centre, Stafford, ST17 4RA — 755 yards to the northeast.
Stafford — 1558 yards to the north