1) By default without parameters, the LN command creates a hard link, and the ln command with the-s parameter creates a soft link.2) The hard link file is the same as the Inode node number of the source file, and the Inode node number of the soft
First you need to install MAILX this RPM package, execute yum install MAILX.To edit the/etc/mail.rc, fill in the following 3 lines:Set [email protected] smtp=smtp.qq.comset [email protected] Smtp-auth-password=654321set Smtp-auth=login save exit.
/******************************************************************* * Linux Read input device demo * Description: * This article is mainly to understand the previous colleague wrote input device a demo program. * 2016-3-24 Shenzhen Nanshan Ping
Tar-C: Create compressed archives-X: Unzip-T: View content-r: Append files to the end of a compressed archive file-U: Update files in original compressed packageThese five are stand-alone commands, which use one of the compression decompression, and
File system (System directory)Go to the Linux root (i.e. "/", the entry for the Linux filesystem, and the directory at the top level), run the "ls–l" command and you can see that the Linux system contains the following directories.1. /binContains
Application Examples:1. Add Newuser2 to the group staff# Usermod- g staff newuser22, modify the NewUser user name is Newuser1# Usermod- l newuser1 newuser3. Lock Account Newuser1# Usermod- L Newuser14, release the lock on the Newuser1# Usermod- u
Command: MKE2FS, Mkfs.ext2, MKFS.EXT3, MKFS.EXT4When you query the Help documentation for these four commands with man, you will find that we see the same help document, which means that four commands are the same. MKE2FS Common options are:The '-B '
#boot =/dev/SDA--Comment line default=0--Indicates that the kernel is the kernel that is loaded by defaultTimeout=5---Timeout value indicating how many seconds grub waits for the default kernel to loadSplashimage= (hd0,0)/boot/grub/splash.xpm.gz-The
Linux Hardware resource Management
(1) View System PCI DeviceThe command is: LSPCIIn addition, LSPCI-V view more detailed PCI device information.(2) View CPU informationYou can use More/proc/cpuinfo (view CPU details), where cached file cache
Fifth Chapter system call20135307 together
5.1 Communication with the kernel
The system call adds a middle layer between the user space process and the hardware device, which has a primary role of three:
It provides a
Since entering the pit of node. js, it is unavoidable to deploy some applications on the Linux server. So I'm going to start learning the basics of Linux and sort it out for you when you need it.1. Query the contents of the directory: LSls Options
Linux partition scheme
Linux hard disk space: 500 GB.The following linux partitions are required:The/var partition must be large (whether it is a postfix email or a lamp web Server ).Preferably GB or above. The specific/boot only needs
Process Communication between linux and linux
Prerequisites:Fork () creates a process that is exactly the same as before. The execution of these two processes is not in a fixed sequence. Which process is executed first depends on the system's
Enable Nic for CentOS minimal installation system
Edit the configuration file:
# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
Change ONBOOT = no to yes
Exit save
#: Wq
Restart Nic
#/Etc/init. d/network restart
Vmvm clone. The MAC and UUID
Use the NTP service in Linux to manage/synchronize server time
When there are multiple Web servers and the time of each Server must be consistent, you can consider using the NTP service.
1. Use ntpstat to check the current state of the NTP service.
#
CentOS7 compile and install Nginx-1.8.1 and compile Parameters
Web Server NginxLNMP is a group of well-known Web Site Server architecture environments, namely, Linux + Nginx + MySQL + PHP (MySQL sometimes refers to Mariadb) A high-performance,
Use flume + kafka + storm to build a real-time Log Analysis System
This article only involves the combination of flume and kafka. For details about the combination of kafka and storm, refer to other articles.
Kafka-Storm integrated deployment
1.
Nginx service status monitoring
In the Nginx plug-in module, stub_status can be used to monitor the status information of Nginx. This module may not be installed by default. You can simply add it during manual compilation.
1. Module Installation
Run
Nginx Server Load balancer Configuration
There are many Load Balancing Methods for WEB Services, but using Nginx for load balancing deployment is undoubtedly very efficient and very popular.
I do most of it myself.. NET development, but the
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