It is quite convenient for Windows Server to be built on services such as FTP, WEB, and SMTP.1. Installing the Windows Server operating system2. Install IIS Click to open the link: Of course, there can be no authentication settings, just log in anonymously3, add virtual directory Click to open the link: The main purpose here is to expand the capacity of the site and so on4, remote login permission Click to open the link: Here is only for the convenien
function?All requests first enter Tomcat, which flows through the servlet, and if it does not match any of the application-specific servlets, it will flow to the default servletThe default servlet is configured in the $catalina/conf/web.xmlThe application of some static resources can be handed over to the servlet to deal with, to reduce the pressure on the server, save resources! If you use SPRINGMVC. There will be feelings when you configureWhen Org.springframework.web.servlet.DispatcherServle
write in front: If this article is fortunate enough to be seen by a friend and found wrong, I hope to criticize. If you do not understand the place, we would like to discuss together.
Overall scenario
The Platform planning topology diagram is as follows:650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M01/46/41/wKiom1Pw0X6iL00iAAFe7XKMelk102.jpg "title=" Figure 1 "alt = "Wkiom1pw0x6il00iaafe7xkmelk102.jpg"/>Overall Solutions:Two Web
1:tomcat program boot from startAt the end of the/etc/profile file configuration/tomcat6/bin/startup.shInstall MySQL database under 2:linux,Now MySQL database server side and client side, using tool leapftp upload toPub directory, RPM-IVH install MySQLThis is a dependent package that needs to be installed before the installation can continue.MySQL is self-booting by default.Chkconfig mysql off: default off MySQL Service3: Set password for MySQL user rootSet password for ' root ' @ ' localhost '
Qshell Qupload
Official Migration DocumentHttps://developer.qiniu.com/kodo/kb/1685/using-qshell-synchronize-directoriesHttps://github.com/qiniu/qshell/blob/master/docs/qupload.mdFollow the steps to execute the command. Will be in
~/.qshell/
Directory to generate the Account.json file. Cat a bit, it is clear that the login account password.Configuration file"Src_dir": "/home/deploy/luminedlighting/webapps/root/resources""Key_prefix": "resources/"" Bucket ":" Luminedlighting "}K
/wKiom1Qr9grC4-qbAAP1ZIPKE04192.jpg "title=" Figure 6 "alt = "Wkiom1qr9grc4-qbaap1zipke04192.jpg"/>Click "I agree"-click "Next"-click "Next"-based on the database authorization information, fill in "Install Database Contents" and then click "Next"-after the successful installation of the database, click on "Temporarily not open" on the displayed page to get the forum page650) this.width=650; "src=" http://s3.51cto.com/wyfs02/M00/4B/69/wKiom1Qr97ODB0QjAAGWxZRhRn4356.jpg "title=" Figure 7 "alt = "
file descriptorNew_socket, New_adress= Web_socket.accept ()#New Client link comes in to plug inFd_dict[new_socket.fileno ()] = New_socket#Store the file descriptor and corresponding socket of the new client socket in the dictionaryEpl.register (New_socket.fileno (), select. Epollin)#registering a new socket in EPL elifevent = = Select. Epollin:#when the listener event is triggered, the client sends the data Try: Data= Fd_dict[fd].recv (1024x768). Decode ('Utf-8')
connections to 100,000):
REG ADD hklm\system\currentcontrolset\services\http\parameters/v maxconnections/t reg_dword/d 100000
Registry Settings Command 2 (resolve bad request-request Too long problem):
REG ADD hkey_local_machine\system\currentcontrolset\services\http\parameters/v maxfieldlength/t reg_dword/d 32768REG ADD hkey_local_machine\system\currentcontrolset\services\http\parameters/v maxrequestbytes/t reg_dword/d 32768
(You need to run net stop HTTP net start HTTP IISReset on the
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.