Transferred from: forum.ubuntu.org.cn Author:Vstar
First, check that jdk has been installed in the Installation Guide (wiki.ubuntu.org.cn ), and then add the JAVA environment variable to the system.Sudo gedit/etc/bash. bashrcAdd at the endExport JAVA_HOME =/usr/jvm/java-1.5.0-sunExport JRE = $ JAVA_HOME/jre
I. Tomcat1. InstallationSudo aptitude install tomcat5 tomcat5-admin tomcat5-webapps2. SettingsTomcat default admin and manager accounts are not enabled, You can edit/usr/share/tomcat5/conf/to
Description of the examples in this article
A. In all examples, the db_block_size of Oracle is 8 K.
B./oradata is a file system directory.
C./dev/rlv_data,/dev/rlv_redo and/dev/rlv_ctrl are three raw devices, both of which are 8 MB (8192 K) in size)
D. If the operating system is not mentioned, the default value is AIX and OS _reserved_size = 4 K.
2. datafile)
2.1 create data files on bare Devices
Run the following command to create a tablespace:
SQL> Create tablespace ts_test datafile '/dev/rl
Getshell can be used if the jboss of Debon logistics is improperly configured.
Http: // 180.153.24.6: 8180/invoker/JMXInvokerServletHttp: // 180.153.24.6: 8180/invoker/EJBInvokerHAServletBoth servlets can be deployed with shell.Http://www.exploit-db.com/exploits/28713/Http://www.exploit-db.com/exploits/21080/
After going up, you will find someone else getshell:Http: // 180.153.24.6:
Unix user manual or use the man dd command.Dd [operand = value...]If = file specifies the input file. The default value is standard input.Of = file specifies the output file. The default value is standard output.BS = N set the size of the input and output blocks to n Bytes. You can also use "K" as the unit.Skip = n skip N input blocks before copying. The default value is 0.Seek = n skip n blocks from the output file header before copying. The default value is 0.Count = n indicates the number of
management features ), in gdt, four entries are retained. Therefore, the number of entries in gdt is 8192-14, that is, 8180.
In any case, the number of entries in gdt is 8180, so:
2 *NR_TASKS= 8180NR_TASKS= 8180/2 = 4090
(Why?2 *NR_TASKS? For each created process, a TSS descriptor must be loaded to maintain context switching and an LDT descriptor .)
In this X86
the solr decompressed Directory:/usr/java/solr/solr-6.6.2/server/scripts/cloud-scripts
Run the following command:
./zkcli.sh -zkhost 192.168.0.102:2181,192.168.0.102:2182,192.168.0.102:2183 -cmd upconfig -confdir /usr/java/solr-cloud/solrhome1/core1/conf -confname myconf
After executing this command, you can go to the zookeeper directory to verify whether the command is successful.
Run the./zkCli. sh command in the zookeeper1/bin directory to view the configuration file information on zookeeper
For cross-origin access, the JSONP method has been used in the previous demo. For details, see pipeline:
We still follow the same settings as above, assuming we have 2 Domain
Domain1: http: // localhost: 8080 contains an application named htmldomain1 and a page named sender.html.
Domain2: http: // localhost: 8180. Some applications are htmldomain2 and some are called receiver.html.
My current requirement is that, assuming that we have a json data in D
======== worker.controller.type=lb WORKER.CONTROLLER.BALANCED_WORKERS=TOMCAT1,TOMCAT2 # Specify the tomcat worker.controller.sticky_session=1 to share the request
5. Modify the Tomcat configuration file Server.xml If you are a horizontal cluster, that is, install Tomcat,tomcat on a different computer with a number of installations, you do not have to modify the Tomcat configuration file. I'm here to install two Tomcat on the same computer, The implementation of the vertical cluster mode, so
local:logd//PC All 6100-port communication data will be redirected to the phone-side/simulator UNIX type socket-ADB forward--no-rebind -Same as ' adb forward If you specify--no-rebind, the same adb forward -If ADB forward--remove ADB forward--remove-all-remove all forward socket connectionsADB jdwp-list PIDs of processes hosting a JDWP transportADB install [-l] [-r] [-d] [-S] [--algo y>--iv -Push this package file to the device and install it('-l ' m
[tables]Make install
3. Use iptables to set application-layer filter rulesExample 1: Use layer7 to display the matching policy and access data packets from the application layer, such as qq, msn, and edonkey.Iptables-a forward-m layer7 -- l7proto qq-j DROPIptables-a forward-m layer7 -- l7proto msn-filetrandfer-j DROPIptables-a forward-m layer7 -- l7proto msnessenger-j DROPExample 2: Use "connlimit" to display matching to control concurrent data connections. If more than 100 concurrent connectio
modules matches a given string by using some pattern matching strategy.
Ü it requires a Linux Kernel gt; = 2.6.14.
Ü [!] -- String pattern
? Matches the given pattern.
U -- algo {BM | KMP}
? Select the pattern matching strategy. (Bm = Boyer-Moore, KMP = knuth-Pratt-Morris)
Ü examples:
? Iptables-A output-p udp -- dport 53-M string -- string "verycd" -- algo BM-J Drop
? Iptables-A output-p tcp -- dport 80-
source code path../Configure -- prefix =/-- with-ksource =/usr/src/linux-2.6.28.8MakeMake install(4) install the L7-protocol Protocol definition packageTar zxvf L7-protocol [tables]Cd L7-protocol [tables]Make install
3. use iptables to set application-layer filter rulesExample 1: Use layer7 to display the matching policy and access data packets from the application layer, such as qq, msn, and edonkey.Iptables-a forward-m layer7 -- l7proto qq-j DROPIptables-a forward-m layer7 -- l7proto msn-file
tcp: 7100 // All port 6100 communication data on the PC will be redirected to the mobile phone end/simulator port 7100 server2. eg:Adb forward tcp: 6100 local: logd // All port 6100 communication data on the PC will be redirected to the mobile phone/simulator UNIX socket
-->
Adb forward -- no-rebind -Same as 'adb forward
If -- no-rebind is specified, the same adb forward -->
If
Adb forward -- remove
Adb forward -- remove-all-remove all forward socket connections
Adb jdwp-list PIDs of proc
Recently found that more and more office hours in the misuse of video sites, may be due to the impact of the brain, but must be working time, should not do things unrelated to the work, but also too much impact on office bandwidth. I tested a rule on routing to block video site access requests, found to be very effective:
Iptables-a forward-m string–string "ku6.com" –algo bm-j DROP
Iptables-a forward-m string–string "tudou.com" –
", "usages": [ "signing", "key encipherment", "server auth", "client auth" ] } } }}Field Description:
Ca-config.json: You can define multiple profiles, specify different expiration times, use scenarios and so on, and then use a profile when signing a certificate. There are two profiles defined, one for kubernetes and one for ETCD. However, because this document
Author: Zhu Jinchan
Source: http://blog.csdn.net/clever101
A software system must be involved in a lot of error messages. For example, if a user performs an error, the software needs to return the error message to the user. So how do you design error codes and error messages? How the error message is returned. Here's a simple scenario to illustrate. For example, now we have a UI module (interface module) and a Algo module (algorithmic module) whose c
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
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.