the service is open successfullyOpen your browser and type: localhost:8180.Tomcat Port default is 8180, you can put the conf/server.xml inside theRevision changed toThis will allow you to access localhost directly in the future.When the service is open, you will see Tomcat's Navigation home page.5. Close the serviceRun the shutdown.sh on the bin/.?1$./shutdown.shNormally, the following results will appear:
catalina_base:/usr/share/tomcat5.5
using catalina_home:/usr/share/tomcat5.5
using Catalina_tmpdir:/ Usr/share/tomcat5.5/temp
Using jre_home:/usr/lib/jvm/java-6-sun
3.2 Run./startup.sh you may have the following problems:
Touch:cannot Touch '/usr/share/tomcat5.5/logs/catalina.out ': Permission denied./catalina.sh:323:cannot create/usr/ Share/tomcat5.5/logs/catalina.out
The reason is that there is not enough permissions to logs this directory after installation, so you can cha
I've only done two tomcat clusters.
First, install Apache for load Balancing.
Second, the installation of Apache Tomcatconnector as a request for distribution.
Third, install Tomcat:
1, download the Linux under the Tomcat installation package:
2, download the installation package online: Click to open the link
can also go to my upload of resources to download, but now can only use points, I do not need points. Address: Click on the Open link.
3, two times to extract the downloaded apache-tomcat-
It used to be a mock simulation of the data to develop, but sometimes it is not convenient, the best way is the agent to the local access.
First step: Modify the Config/index.js fileFind the proxytable: {}
Modified to:
Proxytable: {
'/go-nifty/** ': {
target: ' http://192.168.1.1:8180 ',//the domain name of your interface
Secure:false,
Changeorigin:false,
}
},
In fact, the/go-nifty begins the API proxy to
"]; thenEcho "Blocking: $1"Ipchains-I input 1-p tcp-s "$1"-d 0/0 http-y-j REJECTElseEcho "which ip to block? "
FiSave, and then:Chmod 700 blockitUsage:./Blockit 218.202.8.151./Blockit 218.202.8.0/255.255.255.0
The rules created by the preceding command line method will expire after the restart. You can use the ipchains-save command to print the rules:Ipchains-saveOutput:: Input ACCEPT: Forward ACCEPTUtput ACCEPTSaving 'input.-A input-s 0.0.0.0/0.0.0.0-d 0.0.0.0/0.0.0.0-I lo-j ACCEPT-A input-s 0.
The first day of work in the morning to solve the problem, it is really the first time to meet. Using the domain name Proxy Web project, when requested, I do not know why the domain name is not used, but the direct IP port as the path, causing the Web page crashes unusable.
Because Nginx is used as the front-end server, a little bit of modification is made, and the following are the pre-and post-modification comparisons:
Before modification:
server {Listen 80;server_name xxx.aaaaa.com;Location/
Service
3.1 go to/usr/share/tomcat5.5/bin. You can see several bash scripts in it.
$./Startup. sh
You can start the service.
Note that you can use tomcat directly as a web server without installing apache.
Run. /Startup. sh:
Using CATALINA_BASE:/usr/share/tomcat5.5
Using CATALINA_HOME:/usr/share/tomcat5.5
Using CATALINA_TMPDIR:/usr/share/tomcat5.5/temp
Using JRE_HOME:/usr/lib/jvm/java-6-sun
3.2 run. /Startup. sh may cause the following problems:
Touch: cannot touch '/usr/share/tomcat5.5/logs/ca
Use the Tomcat console default password vulnerability, upload Trojan file, get target host Webshell.When the Tomcat console is installed, you need to modify the default management account in a timely manner and eliminate the weak password, and successful users can deploy any Web application, including Webshell.First, using the Nmap tool to scan the target hostThe 1.1 uses the Nmap command to scan the target host. Click on the left side of the desktop and select "Open in Terminal" in the context
IntroductionI've been using nginx1.5.7 as a Web server and a proxy server, and it's always been an application. A tomcat is also a port, and only one domain name is appropriate.Today, the Tomcat on the server was consolidated, with 5 apps sharing a tomcat.The first problem is that users, such as entering the background when the exception, unable to find the login user information!Debugging found that the request has become multiple, and the session is inconsistent, it feels like another browser
is as follows:VI blockitContent:#! /Bin/shIf [! -Z "$1"]; thenEcho "Blocking: $1"Ipchains-I input 1-P TCP-s "$1"-D 0/0 http-y-J rejectElseEcho "which IP to block? "
FiSave, and then:Chmod 700 blockitUsage:./Blockit 218.202.8.151./Blockit 218.202.8.0/255.255.255.0
The rules created by the preceding command line method expire after the restart. You can use the ipchains-save command to print the rules:Ipchains-saveOutput:: Input accept: Forward acceptUtput acceptSaving 'input '.-A input-s 0.0.0
Jre_home:/usr/local/jdk1.6.0_04(6) Enter http://localhost:8080/in the browser to see Tomcat's log.The installation of Tomcat ends here.(7) If you encounter problems, refer to: http://forum.ubuntu.org.cn/viewtopic.php?t=183813(8) Subsequent configuration:--Stop the Tomcat service$sudo/opt/tomcat/bin/shutdown.sh--Get MySQL JDBC and enter HTTP in the address bar of the Firefox browser://dev.mysql.com/get/downloads/connector-j/ Mysql-connector-java-3.1.10.tar.gz/from/http://mysql.cbn.net.id/to get
Reference: Http://hao.jser.com/archive/10394/?utm_source=tuicoolutm_medium=referral
4. Below is my own actual operation
Project preparation
1. NPM Initialization
NPM Init
2. Install Node-http-proxy module
NPM Install Http-proxy--save-dev
3. Project Structure
In the following example, we place the HTML file directly in the root directory './', or you can specify a site directory that can be customized in proxy.js
Configure HTTP server and proxy forwarding
va
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.