Linux-Modify kernel boot order and delete useless kernel

Phenomenon:CentOS7 boot screen displays multiple kernel optionsReason:Under normal circumstances, there are two startup items, one is "Normal startup" and the other is "Rescue mode Startup" (rescue).If there are more than 2 startup items, the old

Install 7z under Linux Centeros

bz2

Install prerequisite Environments Yum Install kernel-devel kernel-headers gcc-c++ make Download source code (version 16.02, 2016.10.04 publish) wget

Linux GCC link Dynamic library error: Difference between Library_path and Ld_library_path

When I wrote makefile on my CentOs7.1 yesterday, I found that a C program made an error when compiling and linking a generated LIB dynamic library. The link command is probably like this:[[email protected] tcpmsg]# gcc -o hello main.c

Linux File Search

File Lookup:LocateNon-real-time, fuzzy matching, lookup is based on the system-wide file database; Fast!#updatedb: Generate Database files manuallyFindRealtimeAccurateSupport for many search criteriaTraverse all files in the specified directory to

Installing Nginx under Linux

Install the required environmentNginx is a C language development, it is recommended to run on Linux, of course, you can also install the Windows version, this article uses CentOS 7 as the installation environment.I. GCC installationInstallation

Linux Samba server Configuration

Note To turn off SELinux and firewalls firstTo create a mount pointMkdir/opt/guaMounting discsmount/dev/cdrom/opt/gua/Go to Catalogcd/opt/gua/centos/Installing Samba ServicesRPM-IVH samba-3.0.33-3.28.el5.i386.rpm-f--nodeps #注-F--nodeps plus this is

Modify the maximum number of Linux file handles

---View the default maximum number of file handles, the system defaults to 1024# Ulimit-n1024----See how many handles the current process has opened# Lsof-n|awk ' {print $} ' |sort|uniq-c|sort-nr|more131 2420457 2424457 24231 .....Where the first

environment variable settings under Linux

environment variable settings under Linux1, under the Windows system, many software installations need to configure environment variables, such as installing the JDK, if you do not configure environment variables, run the JAVAC command in a

Linux common commands: Creating files and folders

1. First of all, touch to create a file, touch can be used to create a binary file, the use is very simple. Usage: touch+ file name, there must be a space between touch and the file name. The diagram first uses the previously shared commands to see

2017-2018-1 20179219 "Linux kernel Fundamentals and Analysis" Nineth Week assignment

First, study notes:1. Interrupt processing: Includes clock interrupts, I/O interrupts, system calls, and exceptions. Call the schedule () function directly, call Schedule () based on the need_resched tag when the process is found in the queue and

Linux du view file size

The Linux du command also looks at the space used, but unlike the DF command, the Linux du command is a view of the space used by the file and directory disks, or some difference from the DF command.1. Command format:du [Options] [file]2. Command

Linux Installation svn

1. InstallationYum Install Subversion2. MigrationThe original server moved out (can also be backed up after generating the command)Svnadmin Dump/opt/svn/repos > DumpFileThe destination server creates a warehouse for the heartSvnadmin

Linux Bash command redirection and multi-command execution

Transferred from: http://blog.csdn.net/qq_16811963/article/details/52997178Output redirectionThe > representative outputs the correct output of the command to the specified file or device in a overwritten manner.The >> representative outputs it in

Linux system startup process

First, start the general flowchartKernel and INITRD: Probe hardware-load driver (INITRD, Micro Linux), mount root file system->rootfs (/sbin/init). INITRD is not a must.Two or three the main initNarrated three major Init systems: Sysvinit,upstart

No.0 Linux System Introduction

linux= kernel + Peripheral programUNIX Birth: Ken Thompson 1970-1-1 (Start time of Linux, Ken Thompson birthday).Dennis Ritchie uses C to rewrite UNIX.Linus the father of Torwalds--linux.--1991-10, Release version 0.02 (first public version) kernel.-

Linux file and directory Management related commands (top)

Learn about Linux file and directory management related commandsPwd,cd,ls,touch,stat,basename,dirname,cp,mv,rm,tree,mkdir,rmdir,ln,filePwd:print working directory, showing the current directory-P: Show Real physical path-L: Show link path

Batch add users under Linux

First to create a file containing all the user names, I use the user this file, the file contains 6 users,Script Content#!/bin/bashread -p "输入用户密码:" PASSWDfor UNAME in `cat user`doid $UNAME &> /dev/nullif [ $? -eq 0 ]thenecho

Linux Command----directory contents

Show Directory Contents:ls [option] ... [File] ...LS is a shorthand for English words, its function is to display the contents of the directory;By default, the output entries are sorted alphabetically;When a directory name or file name is not given,

Win7 installation of Linux (centos6.5) dual system detailed small white tutorial

Before the introduction of the Linux installation tutorial, the first to declare that I was just beginning to contact Linux, so the tutorial only to successfully install Linux as the goal, the specific steps inside I have to refer to the online

Use ssh to transfer files,

Use ssh to transfer files, Prerequisites: The server must enable the write permission; Scp packages must be installed both locally and on the server;   How to transmit: 1. download files from the server; Scp username @ servername: remote

Total Pages: 5467 1 .... 2493 2494 2495 2496 2497 .... 5467 Go to: GO

Contact Us

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

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.