One, the file descriptor A file descriptor is an identity (non-negative, int) that is returned by the kernel to the appropriate process when a file is opened or created. The corresponding process can reference the identity to manipulate the file
Dpkg is the foundation of the Debian Package Manager. The dpkg is very similar to RPM and is also used to install, unload, and supply information about the. deb package. Dpkg itself is a bottom-level tool. Upper-level tools, such as APT, are used to
The PS command is used to view the process that the system is running-A shows all processes (equivalent to-e) (utility)-a displays all processes for a terminal, except session leader-N ignores selection. -D displays all processes, but omits all
1 "Linux Program Design" Foundation is very important 2 "UNIX environment Advanced Programming" Or the basics , let's say you're doing application programming in a unix/linux environment, so look at3, "Linux kernel design and implementation"The
The method of using the certificate can solve the problem that SSH does not need to enter password.This article uses the CentOS operating system, creates the SSH key, and realizes the trust between two or more machines. So that SSH login does not
Today in two machines A and B set the password-free login, a machine is centos6.5,b machine is Centos7, I want to pass a machine password-free login to B machine, in two machines set up a public key and private key, on a machine via SSH connection B
1 Introduction and installation of LinuxLinux is a set of free-to-use and freely-propagated Unix-like operating systems. Linux and iOS, as well as Mac OS X, are all UNIX-centric design ideas.Linux is the main system: redhat and Cent OS.-unix
1. Edit the file/etc/sysconfig/networkAdd a line inside:Vlan=yes2. The configuration file ifcfg-eth1.10 and ifcfg-eth1.240 that are regenerated into the NIC deviceCd/etc/sysconfig/network-scriptsCP Ifcfg-eth1 ifcfg-eth1.10CP Ifcfg-eth1 ifcfg-eth1.240
See the tenth chapter of Apue, said Alarm,pause can achieve sleep, you can let some blocking function timeout, such as Read,write. The code is as follows:1 Static voidSIG_ALRM (intSigno)2 {3printf"I ' m just print from sig_alrm\n");4 }5 6 intMain
Through SSH access to the server, will inevitably use compression, decompression, packaging, unpacking, etc., this time the tar command is an essential tool for a powerful. The most popular tar in Linux is the perfectly formed, the most powerful.The
Transferred from: http://www.cnblogs.com/JCSU/articles/2770249.htmlDo you want to know why some programs are located under/bin, or/sbin, or/usr/bin, or/usr/sbin directories? For example, the less command is located in the/usr/bin directory. Why not
Now enterprises with free open-source system for more and more applications, can be used to do cacti, workflow, knowledge, some common open source system, so recently will share the CentOS related to the full operation of the tutorial, share to the
The Whereis command can only be used for program name searches, and only binary files (parameter-B), man description file (parameter-m), and source code file (parameter-s) are searched. If the argument is omitted, all information is returned.Whereis
1. Software Installation:Redhat using bind as the installation software by defaultInstall yum install-y bind bind-chroot bind-utils with YumBind provides the main programBind-chroot provides the configuration file mount. Objective: To improve the
The wget in a Linux system is a tool for downloading files, which is used at the command line. For Linux users is an essential tool, we often have to download some software or restore backup from a remote server to the local server. The wget
Using the tmpfs File System to quickly optimize ganglia disk I/O performance by 20151203
Recently encountered a problem,
Problem: ganglia monitors host system slow response and normal command line operations are stuck, especially when opening and
GPT partition in Linux
GPT partition in Linux. This is another partition. For MBR partition, it has many advantages:
(1) It almost broke the limit on the number of partitions.
A gpt Partition Table supports a maximum of 128 primary partitions.
(2)
Basic requirements and partitioning scheme for CentOS/RedHat System Disk Partitions
Basic Requirements for Linux system partitioning:
1. At least one root (/) partition is required to store system files and programs. It must be at least 5 GB in size.
Install and configure DRBD in CentOS 6.5
Lab environment:
(1) Use CentOS6.5
(2) Use the 163 yum source (see below for configuration methods)
(3) Add the same virtual hard disk to the two virtual machines. I use 10 GB
Operating System host name IP
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