SSH is an important way for Linux remote connection, how to configure the SSH service to install Linux system, how to open ssh? Let's take a look at it below (this example shows how to open the SSH service for the CentOS system)1. Log in to the
First, ask for no more framing netfilter!. Although it has some inherent performance loss, but please do not equate iptables and netfilter, if you want to catch the culprit, please speak directly iptables, and not to say netfilter!Iptables really is
Debian7 configuring Broadcom NIC Driver1. Add a source for "non-open source software"# deb Http://http.debian.net/debian/wheezy main contrib Non-free2. Update the list of available packages# Apt-get Update3. Then download the linux-headers and
Linux network protocol stack is very independent, up and down through two interfaces, respectively, and the user state and device connected, can also be considered as the North and South interface ... North through the socket interface, south
User management: Useradd userdel usermod passwd chsh chfn finger ID chage
Useradd:-u:uid-g:gid-g: Additional groups (can have multiple)-C: Comment Information-D: Specify a directory as home directory-S: Specify the path to the shell (a row in
First, open the network communication port, choose the TCP protocol
LISTENFD = socket (af_inet,sock_stream,0);
Second, initialize the SERVADDR, and make the network byte sequence conversion
Bzero (&servaddr,sizeof (SERVADDR));
A. Select model (common for Apache)1. maximum concurrency limit , because the FD (file descriptor) opened by a process is limited, set by Fd_setsize, and the default value is 1024/2048, so the maximum number of concurrent Select models is limited.
We have had a special performance problem on a server where disk writes continue to be busy. Every 30 seconds, the server encounters a disk write activity spike that causes the request processing latency to be very large (more than 3 seconds). Later
Summary two: Linux common releases of the system ( distributor )Three major branches: 1 , slackware Slackware Linux is by Patrick volkerding developed by Gnu/linux The release version. Unlike many other distributions, it adheres to the
Linux Source Learning (7) 2013-3-1
Space
Memory Management MEMORY.CMainly used for memory paging management. Enables dynamic allocation and recycling of main memory pagesLinux manages all of the physical pages through a single byte array.
Liunx DeleteDelete Folder instance: Rm-rf/var/log/httpd/access will delete the/var/log/httpd/access directory and all files and folders under it2 Delete File Usage instance: Rm-f/var/log/httpd/access.log will force the deletion
System work
Applications (direct programming of system hardware, high efficiency of application operation)Hardware--Kernel (kernel) applications| Library Call API Interface| Shell (graphical interface or text window)Coordinate, allocate
Test pressure when using a simple Linux monitoring tool Nmon, not only real-time monitoring, can also generate files with icon style display, small and practicalInstalling NmonNmon is actually a tarball directly extracted to the directory to be
12.5.2 synchronizing with mutexes Another way of synchronizing access in a multithreaded program is to useMutex Amount. itallows the programmer to lock an object so that only one thread can access it at a time. To control access to critical code,
Groups viewing the members of the currently logged on user groupGroups Gliethttp View the group that the Gliethttp user is in, and the members in the groupWHOAMI View the currently logged in user nameInformation about groups within the system is
12th. POSIX threads in chapter 11th, describes how to process processes in Linux. But sometimes it's considered too expensive to use fork to create a new process. In this case, it would be useful to have a process do two things at the same time or
Rotten mud: learning how to quickly build LNMP environment for ubuntu, ubuntulnmp
This article is written by Xiuyi Lin FengProviding friendship sponsorship, first launched in the dark world
Currently, the company uses the ubuntu system. In the past
How to view the hard drive brand model and other details of CentOS
First, use the smartctl -- all/dev/sda command to check the hard disk information. This command comes with CentOS. The result may be as follows:
Smartctl 5.43 2012-06-30 r3573 [x86_64
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