„Installation System“ ändern
parent
3390a1fd84
commit
82ba94d1dd
|
@ -93,12 +93,15 @@ Now you can start Tomcat server:
|
||||||
`sudo nano /opt/tomcat/conf/tomcat-users.xml`
|
`sudo nano /opt/tomcat/conf/tomcat-users.xml`
|
||||||
|
|
||||||
Add the <user tag within the <tomcat-users which should look like the one below:
|
Add the <user tag within the <tomcat-users which should look like the one below:
|
||||||
|
```
|
||||||
<tomcat-users . . .>
|
<tomcat-users . . .>
|
||||||
<user username="admin" password="xxx" roles="manager-gui,admin-gui"/>
|
<user username="admin" password="xxx" roles="manager-gui,admin-gui"/>
|
||||||
</tomcat-users>
|
</tomcat-users>
|
||||||
|
```
|
||||||
|
|
||||||
For the Manager app the file that needs be updated is:
|
For the Manager app the file that needs be updated is:
|
||||||
sudo nano /opt/tomcat/webapps/manager/META-INF/context.xml
|
`sudo nano /opt/tomcat/webapps/manager/META-INF/context.xml`
|
||||||
|
|
||||||
<Context antiResourceLocking="false" privileged="true" >
|
<Context antiResourceLocking="false" privileged="true" >
|
||||||
<!--<Valve className="org.apache.catalina.valves.RemoteAddrValve"
|
<!--<Valve className="org.apache.catalina.valves.RemoteAddrValve"
|
||||||
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />-->
|
allow="127\.\d+\.\d+\.\d+|::1|0:0:0:0:0:0:0:1" />-->
|
||||||
|
|
Loading…
Reference in New Issue
Block a user