Options {Directory "/ETC"; #设定工作目录, bind finds the desired file in the directory set here.};
Zone "." {Type hint;File "named.ca"; #根服务器};
Zone "0.0.127.in-addr.arpa" {Type master;File "0.0.127.in-addr.arpa.zone"; #本机端的反解文件, the file name can be defined by itself.};
Zone "localhost" {Type master;File "Localhost.zone"; #本机端的正解文件};
Zone "King.com" {Type master;File "King.com.zone"; The positive solution file #domain name};
Zone "0.168.192.in-addr.arpa" {Type master;File "0.168.192.in-addr.ar
Move Folder: mvDelete Folder: rm-rf XXX
2. Download dynamips source code "dynamips-0.2.8-RC2-amd64.bin"Http://www.ipflow.utc.fr/blog/
3.download the dynagensource code “dynagen-0.11.0.tar.gz"Http://dynagen.org/
4. Copy "dynamips-0.2.8-RC2-amd64.bin" to optCp dynamips-0.2.8-RC2-amd64.bin/opt/dynamipsLn-s/opt/dynamips/dynamips-0.2.8-RC2-amd64.bin dynamipsThis command creates a shortcut named dynamips pointing to the dynamips-0.2.8-RC2-amd64.bin, where the program path needs to be an absolute path
://ftp.rs.internic.net/domain/named.root
After downloading, change the name to named. ca in the/var/named directory.
Vi/var/named/localhost. zone
$ TTL 86400 @ in soa @ root. localhost (
1; serial
28800; refresh
7200; retry
604800; expire
86400; ttl
)
In ns localhost.
@ In a 127.0.0.1
Vi/var/named/0.0.127.in-addr. arpa. zone
$ TTL 86400 @ in soa localhost. root. localhost (
2; serial
28800; refresh
... counter = 0 while truedo sleep 5 counter = counter + 1 delete obsolete items # delete all expired entries in/etc/yfddos/web-yf-search. B if # every 5 seconds: 5s then analyze_and_insert_black "6" "10" "5" # analyze users accessed in the past 5s if their access volume is greater than or equal to 6, the system will regard it as resource abuse # then add it the service blacklist takes 10 s. After 10 s, the daemon process automatically deletes this ip blacklist entry fi if # every 5*3 seconds: 1
string auto
Undo_retention integer 900
Undo_tablespace string undotbs2
SQL> select max (maxquerylen) from V $ undostat;
Max (maxquerylen)
----------------
1785
SQL> select column_name, pctversion, retention from dba_lobs where owner = 'yxfund 'and table_name = 'mf _ nottextannouncement ';
Column_nam pctversion retention
------------------------------
Content 10
SQL> alter system set undo_retention = 7200 scope = both SID = '*';
SQL> show
create an IDE array, the overall disk performance will be n times that of a single hard disk. this depends on the number of your hard disks.
7200-to-hard drive for a long period of operation is too high, and its performance is higher than 5400-to-hard drive performance, after raid amplification is useless. the price is significantly higher than 5400. this is the reason why 7200 RPM is not used.
Using ide
tim_deinit (tim3); // provides tim_internalclockconfig (tim3) as the clock source for tim3 using an internal clock ); // The pre-division coefficient is 0, that is, no pre-division is performed. At this time, the timer frequency is 72 MHz tim_timebasestructure.tim_prescaler = 0; // you can specify tim_timebasestructure.tim_clockdivision = tim_ckd_div1; // sets the counter mode to the up-counting mode tim_timebasestructure.tim_countermode = tim_countermode_up; // sets the Count overflow size. An
Address: http://www.yankay.com/%E5%86%85%E5%AD%98%E7%A9%B6%E7% AB %9F%E6%9C%89%E5%A4%9A%E5%BF% AB %EF%BC%9F/
In general. The CPU needs 0 cycles to access its registers, 1-30 cycles to access the cache, and 50-cycles to access the primary memory.
For Intel Core i7. This value can be very specific. The Intel Core i7 clock speed is about 2-3 GHz. Can be calculated.
L1-Instruction Cache
L1-data cache
L2-Cache
L3-Cache
Memory
Access cycle
4
4
11
30-40
.
Option domain-name-servers ns1.internal.example.org; set the DNS server address
Option domain-name "internal.example.org"; set the DNS suffix for the client
Option routers 10.5.5.1; set the default gateway to 192.168.2.1
Option broadcast-address 10.5.5.31; set the DHCP broadcast address
Default-lease-time 600; set the Default Client address lease period
Max-lease-time 7200; sets the maximum client address lease period
}
Host Ubuntu {for MAC address
Solutions for LVS Server Load balancer tcp persistent connection Distribution
Although the application keepalived solves the backend server Load balancer and high availability problems, you must pay attention to many problems in specific applications. Many applications use tcp or http persistent connections. Because the overhead of establishing a tcp connection or http connection is large, the application needs to communicate frequently with the server, at this time, it is undoubtedly very appro
monitoring results indicate that disk I/O is not used in large quantities. why is MySQL?
Use disk I/O to start flushing before a problem occurs to relieve the pressure on the problem.
The reason is that MySQL has an adaptive disk flushing method to control the entire refresh process. innodb_adaptive_flushing, innodb_io_capacity, innodb_max_dirty_pages_pct, and redo log size to determine when
Start to refresh the dirty page. how can this problem be solved? in general, MySQL will judge whether th
that the network segment address in line (3) (4) is inverted. In addition, the file names can also be determined by yourself.
4. create various DNS data files
Next, create various DNS data files according to the definition in/etc/named. boot.
(1) create a forward domain name conversion data file db. my
According to the definition of/etc/named. boot, we create db. my in the/var/named Directory, which should include all host nodes in the my.com domain. However, for the convenience of debugging
number per second is also the one we are most interested in. The formula is as follows:
1 second/track addressing time + rotation delay.
Let's look at the following example:
HP 300 GB 15 k sas drive (200 knives)
Speed
15000
Average track addressing time
2.9 Ms
Average rotation Delay
1.83 Ms
We can use the formula to calculate iops:
Iops = 1/(2.9 MS + 1.83 ms)= 1/(4.73 ms)= 1/(0.00473)= 211 iop
. Many people may have used serialization frequently, but I still don't know what the serialized things are. Let's continue with the previous year's example. We will use the above bytecode to explain them one by one. Before interpreting java, it is necessary to know the process of serializing a simple object in java:
1. output class metadata related to the object instance
2. recursively output the parent class description of the class until no parent class exists.
3. After the class metadata is
the size of the listener queue for the incoming TCP/IP connection. Your operating system has its own limit on the queue size. Trying to set back_log to be higher than your operating system limit will be invalid.
When you observe the process list of your host and find a large number of 264084 | unauthenticated user | xxx. xxx. xxx. xxx | NULL | Connect | NULL | login | when a NULL process is to be connected, increase the value of back_log. The default value is 50. I will change it to 500.
(2)
Sampling frequency Hz
Inchannel: Number of input channels
Outsamplerate: Output Sampling frequency Hz
outbitrate:encoded bit rate. KHz
Quality:mp3 audio quality. 0~9. 0 of them are best, very slow, and 9 are the worst.Recommended:2:near-best quality, not too slow5:good Quality, fast7:ok Quality, really fast
PrivateStaticFinalint default_lame_mp3_quality =7;/*** Related to Default_channel_config, because it is mono single sound, so it is 1*/PrivateStaticFinalint Default_lame
must request KeepAlive control for their sockets using the setsockopt interface. There is relatively few programs implementing KeepAlive, but can easily add keepalive support for most of them follow ing the instructions explained later in this document.3.1. Configuring the KernelThere is ways to configure keepalive parameters inside the kernel via userspace commands:
Procfs Interface
Sysctl Interface
We mainly discuss how this was accomplished on the PROCFS interface because i
?grant_type=client_credentialappid=APPIDsecret=APPSECRETreturn Description
Normally, the micro-letter will return the following JSON packet to the public number:{"Access_token": "Access_token", "expires_in": 7200}
In the case of an error, the micro-letter returns information such as the error code, and the JSON packet example is as follows (the example is an AppID invalid error):{"Errcode": 40013, "errmsg": "Invalid AppID"}
Understand ◦get Request,
In this configuration, we used the Intel Z68 motherboard for the first time, it has the solid-state hard disk caching technology, can use the solid-state hard disk as the high speed large capacity cache, effectively enhances the mechanical hard disk speed. It will also use the I5 23,004 nuclear processors that are available in other small cities.
Accessories Name Accessories model Price (yuan)
C P U Intel Core i5 2300 (Loose) 1080
Radiator Kyushu Winds Ice mini flagship version 59
Motherboar
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.