1.10-11-12 installation PHP5PHP official website www.php.net Current mainstream version is 5.6/7.2cd/usr/local/srcwget Http://cn2.php.net/distributions/php-5.6.34.tar.gztar ZXVF PHP-5.6.34.TAR.GZCD php-5.6.34./configure--prefix=/usr/local/php--with-apxs2=/usr/local/apache2.4/bin/apxs-- With-config-file-path=/usr/local/php/etc--with-mysql=/usr/local/mysql--with-pdo-mysql=/usr/local/mysql-- With-mysqli=/usr/local/mysql/bin/mysql_config--with-libxml-dir-
Label:The Linux system is large and complex, summarized as a DBA, some basic management, network management, advanced applications, performance diagnostics, pipeline complex applications, hardware-related sensing commands need to master, this article, specifically as a DBA, must learn the 11 basic application commands. 1. ls command The LS command is the most commonly used command in Linux, is the abbreviation of list, the missing LS command is to li
Tags: fat mkdir pre tar one command line move file name familyLinux directory structure(1) Return to parent directory: CD. 进入你的home目录:cd ~ 使用pwd获取当前路径:pwd(2) Linux file 11 selected 5 source code to build basic operation: Enterprise E: 217 1793 408① Create a new blank file Eg:touch test if you switch to your own directory ②新建目录:mkdir mydir ③使用cp命令复制一个文件到指定目录:cp test father/son/grandson,复制目录也需要加上-r或者-R ④删除文件eg:rm test,若想删除一些只有读的权限文件,rm会报错,可以使用-f参数强制删除eg
2015 days of cat Taobao activities although there is a period of time, but 2015 pairs of 110,000 shops with the celebration of red envelopes have been opened Oh, 2015 days of cat Taobao million shop with the red envelopes can only participate in the mobile phone clients Oh, if you do not know 2015 double 11 How to rob Red envelopes, The following Pepsi net small make up to everyone to bring 2015 days cat Taobao double
: D stack top elements: C stack elements: C Stacks top elements: B-Stack elements: B Stacks top elements: A stack element: a stacks no elements in the empty stackSummarizeReal life in the use of mobile phones, screen pages of the jump using the stack structure (jump page, the previous page will be stored in the stack, the fallback operation will go back to the previous page, which is the effect of the stack page out). In addition to seeking n! , it can be implemented by the recursive return of t
few CPP files bar, there are several header files in the root directory of the/common and/cpp_common directories).(g++-I.. /.. /.. /common-i. /.. /.. /cpp_common eventloop.cpp datasocket.cpp TCPServer.cpp main.cpp-std=c++0x-lrt)TODO:: There's some todo in the code that means obscure or I'm not sure it's okay ~hohoAnd I'm looking forward to the next broadcast test (like the MMO Aoi, where multiple players move simultaneously to broadcast to n players around).Currently Ping pong test (client and
Topic:given a nxn, a two-dimensional matrix represents an image. Rotate the image clockwise -degree. Note: You must rotate the image in place, which means you need to modify the input two-dimensional matrix directly. Do not use another matrix to rotate the image. Example1: Given the matrix= [ [1,2,3], [4,5,6], [7,8,9] ], rotate the input matrix in place so that it becomes: [[7,4,1], [8,5,2], [9,6,3]] Example2: Given the matrix=[ [ 5,1,9, One], [ 2,4,8,Ten], [ -,3,6,7], [ the, -, A, -] ]
can improve overall cluster memory utilization. When relying on the OS buffer cache at each DataNode, repeated reads of a block would result in all nreplicas of T He block being pulled into buffer cache. With centralized cache management, a user can explicitly pin only m of the n replicas, saving n-m memory. Reduce the use of repeated readsSource: http://hadoop.apache.org/docs/r2.6.4/hadoop-project-dist/hadoop-hdfs/CentralizedCacheManagement.html
Applicable situation: often need to read the fi
.tar.bz2Viewing the contents of a compressed packageYou can 解压缩命令 add the -C 指定目录 extracted files to a different directory after adding them.You can 压缩命令 compress multiple files together in a space at the source file, such astar -zcvf jp.tar.gz japan install.log9. User Login View command to view user login informationw 用户名(You can do this without adding a user name)Command output:
User: Username for login
TTY: Login Terminal
From: Which IP address to log on from
[Email prote
for the CPU to do serious work, and the CPU not being fully utilized, is undesirable.US user CPU time, I used to do encryption and decryption very frequently on the server, you can see us approaching 100,r running queue reached 80 (the machine is doing a stress test, poor performance).sy System CPU time, if too high, indicates a long system call time, for example, the IO operation is frequent.ID Idle CPU time, in general, ID + US + sy = 100, generally I think ID is idle CPU usage, US is the use
=" 36020170502222241343.jpg "alt=" Wkiol1killixkmegaaaef9jnpws136.jpg "/>Open Initialization Process systemd ( start screen press E, delete to Ro,ro to RW, and then add Rd.break,ctrl+x exit )Start SELinuxLoad Kernel parametersInitialize the system clock, keyboard, host namere-read/write mount /deviceactivating RAID,LVMActivate quotasstart All services in the multi-user.target.wantsTurn on the Virtual ConsoleStart graphics650) this.width=650; "src=" https://s2.51cto.com/wyfs02/M01/93/2B/wKiom1kIl
shared users and groups:The user and group information is then converted into a format that can be placed on the Ldapserver:Convert users:Conversion Group:Import the basic template first, and then import the user and group information:After completion, restart the SLAPD service and refresh the firewall.So far. The LDAP server without the security key is configured, and we use the server side of the other machine to access it, and switch users:Write IP to the service side:All right!。 The most ex
Today was originally used Xshell link local linux, but the link did not actively pop-up input user name and Password dialog box, Google searched, encountered the above problem.The solution is as follows:1. Terminal input PS aux, list process. Find the process containing the apt-get, and directly sudo kill PID.2. Forced unlock, commandsudo rm/var/cache/apt/archives/locksudo rm/var/lib/dpkg/lock2. Also prompts to install the Yum command:Apt Install yum3. Because I want to use the service sshd Star
through the physical network card implementation and external network communication, the virtual machine will also communicate with each other;4.2host-only NetworkingGuset between the virtual Switch between the communication between each other, not with the external host communication, if necessary and host communication between the need to use software to virtual a virtual network card, so that the virtual machine and the host through the virtual Switch to achieve communication, VMnet1 is the
;!string: The most recent command in the command history that starts with a specified string!$: References the last parameter of the previous command;Esc.ALT +.Command completion, PATH completionCommand completion: Search the PATH environment variable specified by each of the paths with the string we give the beginning of the executable file, if the extra one, two times tab, you can give a list; otherwise it will be directly complete;Path completion: Search for each filename under the starting p
:04,1536397384.349605:main 3604,2692,103:04,1536397384.350838:sub begin 360403:04,1536397384.350939:main Threads03:04,1536397384.351009:sub 3604,2692,203:04,1536397384.351310:main 3604,2692,203:04,1536397384.352097:main End03:09,1536397389.357353:sub 3604,2692,203:09,1536397389.358372:sub End 3604----------------------------------------------------------Output Interpretation:
The middle output portion of the yellow mark, which is very fast during the start of the sub-thread, indicates t
(1) = 1;).The idea of recursion is the recursive thought in mathematics. For example: Factorial 4! = 4*3*2*1, 3! = 3*2*1, 2! = 2*1, 1! = 1; Must have a terminating value.The recursive hierarchy cannot be too deep. In short: Use recursion with caution!
Case 40:650) this.width=650; "title=" Clipboard.png "src=" http://s3.51cto.com/wyfs02/M02/6D/2C/ Wkiol1vdxe6hleynaahmrwdzzmk841.jpg "alt=" Wkiol1vdxe6hleynaahmrwdzzmk841.jpg "/>
Case:650) this.width=650; "title=" Clipboard.png "src=" h
Srand (Time (NULL)); we are familiar with C + + random functions, using time to do the seed. However, the random seed is different in the multithreaded environment if you want to randomly make different random numbers in the sub-threads. But time in seconds, slightly insufficient, so refer to this article to solve this problem:/*Initialize random seed*/voidInitrand () {//if high-performance precision counters are supported, use them to initialize random seeds (microsecond level)Large_integer nfr
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.