Non-blocking IO is relative to the traditional blocking IO. The first thing we need to figure out is what is blocking IO. Apue points out that system calls fall into two categories, low-speed system calls and others, where low-speed system calls are
Not much to say, directly online on the server's sysctl.conf file, of course, this is the credit of the predecessor Daniel:#---kernel optimization started--------# Auto-Restart after 1 seconds when kernel panicKernel.panic = 1# Allow more PIDs (to
At first I have a small misunderstanding, a moment not figured out now, hope will not be repeated.Before practicing, I first added a piece of 10G hard disk and then partitioned the disk: the followingFdisk/dev/sdb N P 4 t 8e
1. command line Vim CTRL + S, CTRL +q: This function can be used for a long time to compile the screen output at any time to stop, but the compilation will still continue, so that the compilation time will not be affected.S: Is the lock screen Q: is
(1): Prepare the Linux host environment, install the development toolchain (description of the installation process of the low version of GCC):In this experiment, I used the host environment is Ubuntu10.04, its own kernel is 2.6.26. The tools needed
$SHELL gives the full path to your default SHELL.$ gives the name of the your current shell.DirName is a command that gets the path to the specified fileThe result of DirName voctrals/test.sh is voctrals.Now it's time to explain the CD '
After installing the CENGOS7, follow the bird Brother's book, go to a place, in the shell input man-f man Use the keyword to find more data, if not, first to create a Whatis database under root privileges.Well, I entered Man-f man, and the result is
The purpose of the experiment is to bind the two NICs, and solve the load balancing and automatic switching.
Linux operating system 6.5,bond0,eth1,eth2.
Bond0 10.10.9.126 eth1 no eth2.
The configuration is as follows:
One, view and modify the time zone of Linux 1. View current time zoneCommand: "Date-r"2. Modify the setup Linux Server time zone method ACommand: "Tzselect"Method B is limited to Redhat Linux and CentOSCommand: "Timeconfig"Method C applies to
1. The new opening times the wrong e:dpkg is interrupted, you must manually run sudo dpkg--configure-a to resolve this issueSolution: http://forum.ubuntu.org.cn/viewtopic.php?t=386943The file in the ##/var/lib/dpkg/updates folder has a problem
I recently learned Linux, want to clone more than one CentOS to practice installing software under Linux, configure the environment. Because the system is not very familiar with, want to maintain a pure version, if the system play bad, delete and
Apache or Nginx have the switch default log, one is the normal access log, one is the wrong log,Directory in/www/wdlinux/nginx-1.0.15/logs/www/wdlinux/httpd-2.2.22/logsBoth logs will log all normal and unhealthy access log information.and is the
ULIMIT-A displays various restrictions for the current user.The numeric value of ULIMIT-N indicates the number of files each process can open.In general, the value of Ulimit-n is 1024.When the number of files opened by a process exceeds this limit,
Linux under chkconfig command detailedThe Chkconfig command is primarily used to update (start or stop) and query run-level information for system services. Keep in mind that Chkconfig does not immediately automatically disable or activate a service,
1 What is TMPFS?TMPFS is a memory-based file system on the Linux/unix system. TMPFS can use your memory or swap partition to store files. Thus, TMPFS primarily stores staged files.Advantage:1, the size of the dynamic file system.2. Another major
In linux, ping is disabled and ping is allowed. In linux, ping is disabled.Linux: ping prohibited and allowed methods system environment Centos5 1. ping prohibited [root @ linuxzgf ~] # Echo 1 In centos, how does one disable or allow ping?
[Root @
Inode, soft link, hard link, and linuxinode link in linux1 soft link
Linux soft links are considered shortcuts in windows. Create soft link command
Ln-s source file or directory target file or directoryLn source file or directory target file or
CentOS backup policyBackup pointsBackup Data considerationsProblems that cause system damage:Hardware problems: Hard Disk destructionSoftware problems: accidental deletion, security attacks,Different host roles and different backup tasksBackup
View the running level of the CentOS Server
Restart the test server using the command: shutdown now (forgot to add-h) causes Automatic restart and enters single-user mode. view the current system mode command: runlevel
Centos system:[Root @
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service