Summary of several methods of Linux setup for bootLike Windows, Linux can also set some services to boot, which avoids the hassle of opening a service every time you boot up! Linux boot the service is set to boot from a few ways:Ntsysv Graphical
1. Modify the host name:# hostname Bigdata-cdh01.ibeifeng.com# vi/etc/sysconfig/network2. Turn off the mail feature of the Linux system automatically prompt:echo "unset mailcheck" >>/etc/profile3.ssh Password-Free login user home directory:CD.
How Linux looks at how a port is consumed by which process:1. Lsof-i: Port number2. Netstat-tunlp|grep Port numbercan see which process is consuming the specified port"Step One" lsof-iThe lsof-i is used to display conditions that match the condition,
1. Physical protectionBIOS setup PasswordBoot grub.conf Add password2. System installation is minimized and only base services are installed3. Application data partitioning and system isolation4. Disable boot-up services that do not need to start5.
The Three Musketeers of LinuxAwk (the boss of the Three Musketeers) awk/oldboy/test.txtFilter file command to filter the content file nameSed (the third swordsman's Dick) Sed-n/oldboy/p test.txtFilter file-n Cancel default output (parameter) filter
TR Command Introduction and useDirectory:Introduction to the 1.tr command2.tr command formatThe 3TR command uses the item.4. Use of the Common TR commandTR Command Introduction Translate, compress and/or delete characters from standard input, write
What isEpollWhat is Epoll? According to the man manual, it is an improved poll for handling large batches of handles . Of course, this is not the 2.6 kernel, it is introduced in the 2.5.44 kernel (Epoll (4) is a new API introduced in Linux kernel 2.5
Common parameters:
-A: Copy the attributes of the file together
-P: Copied along with the properties of the file, not by default, similar to-a, often used for backup
-I: If the target file already exists, the action will be asked before
Command>filename redirect the standard output to a new fileCommand>>filename redirecting standard output to a file ( append )Command 1>filename redirect the standard output to a new fileCommand>filename 2>&1 redirect standard output and standard
Ask:linux through the source code to compile the installation program (Configure/make/make install role)
ConfigureThe Linux platform has various configurations, which need to be determined by configure, such as: CC or GCC, directory of
First, the concept of continuous integration1.1: A general overviewContinuous integration continuous integration continuous delivery continuous Delivery continuous deployment continuous Deployment1.2: What is continuous integration:Continuous
BZ creates a block cloud drive to add to the virtual machine, and then mounts the hard drive as usual on the USB drive:Mount-t ext4/dev/vdb/mnt/xxxxThe results reported the following error:Mount:wrong fs type, bad option, bad Superblock
HTTP://WWW.LINUXDE.NET/2013/12/15452.HTML1, modify user process can open file limitOn a Linux platform, regardless of whether you write a client or a service-side program, the highest concurrency is limited by the number of files that can be opened
1. View Linux Versioncat/etc/redhat-6.9 (Final) ———— > view version number uname-m#x86_64 ———— > View System 64-bit /32-bit uname-R #2.6. -696. el6.x86_64 —————— > Kernel version2. Close SELinux and Iptables'
In the crontab file created by the user, each line represents a task, each field of each row represents a setting, its format is divided into six fields, the first five is the time setting segment, and the sixth paragraph is the command segment to
Common commands:1. View catalog: LSLS-A contains hidden directoriesLs-l Show details,-start with file D as directoryBlue for CatalogGreen as an executable fileBlack (white): Normal file2. See Help:Man command nameQ exit3. Look at the current
Gdb debugging: gdbarm in linux pc and linux armLinuxPCApplication gdb debugging:
1. View core File ParametersYinkui @ yinkui-desktop :~ /File_unzip/cp_module $Ulimit-
Core file size(Blocks,-c) 0 // generate the number of core files without
Glibc-commons dependency parsing version error, xxx is duplicate yyy,
Glibc-commons has two versions installed. As a result, many software packages dependent on glibc-commons have been installed with two versions;
The solution is to clear 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