Upgrading and uninstalling the Linux kernel

Upgrading the Linux kernelWhen the kernel of a Linux server is older, the kernel needs to be upgraded.[Email protected] ~]# uname-r #查看当前Linux内核版本2.6.32-573.el6.x86_64[Email protected] ~]# ll/boot/vmlinuz-*-rwxr-xr-x. 1 root root 4220560 Jul

Linux Basics-Directory structure

In Linux, each hardware and software device is saved as a file, unlike Windows, where the file type is not distinguished by the file name extension in Linux.The first part of the directory structure from Linux (shown in CENTOS7) is broadly divided

linux--Learning Notes (settings for environment variables)

Table of Contents: 1, Environment variables overview2. Documents related to environment variables3. Setting Environment variables 1. Overview of Environment variablesEnvironment variables, in a nutshell, are variables that store environmental

Linux 20th day: (September 12) exercises and assignments

Linux 20th day: (September 12) exercises and assignmentsPractice1. Break root password and set protection for grub2. Destroy native grub Stage1, then fix it in rescue mode3, delete vmlinuz and Initramfs files can not start, two ways to restore4.

"Reprint" Brief introduction of Linux startup process

in the original: Brief introduction of Linux startup processThis article will give a brief introduction to the Linux startup process, I hope that those who have encountered problems in the process of installing Linux some helpDisclaimer: I have not

linux--a daily command

# View current time zone date-r# Result: "Tue, -Sep . -: +: One+0800"," +0800"It is Beijing time," said the East eight district. # Modify the Linux server time zone and follow the prompts to select the time zone tzselect# view times and dates date#

Linux self-study _shell script case

Case can be replaced with if, the only difference is that when the variable has a fixed number of values, the syntax is relatively neat.ExampleA script used by enterprises to start some programsExample One: VI apache.sh#!/bin/sh Case $ inStart |

Linux provides two functions for formatting error messages

#include "stdio.h"Void perror (__const char *__s);Where __s is where the error occurs, the function outputs to the standard error output device as follows: S: Error details.Eg.perror ("fopen");Output result: Fopen:no such file or directory.#include "

Linux Learning: Character device framework

I. system functional Framework :U-boot: Boot kernelLinux kernel: Launching appsApplication: Open,read,write are implemented through the C library, and the assembly is equivalent to Swi Val, which throws interrupts, invoking different handler

Linux Basic Knowledge VI

1. Copy the/etc/rc.d/rc.sysinit file to the/tmp directory and add # to the beginning of the line with at least one whitespace character in the/tmp/rc.sysinit file.# cp/etc/rc.d/rc.sysinit/tmp# Sed-i ' s/\ (^[[:space:]]\) '/#\1/g/tmp/rc.sysinit2.

Use top in Linux to get resource occupancy information for a process

Use top in Linux to get resource occupancy information for a process:Cpu (s): 1.0%us, 0.0%sy, 0.0%ni, 98.3%id, 0.7%wa, 0.0%hi, 0.0%si, 0.0%stmem:8057964k Total, 7938708k used, 119256k free, 132132k buffersEnter h for help informationO: Change the

Several common ways of file sharing under Linux

1. Python mode, make a simple server. The default is to turn on port 8000.> Python-m simplehttpserverAfter executing the command, enter the machine ip+8000 port on the browser2. SCP approachSCP file1 [Email protected]:/xx/file2Like transferring the

The integer operator file test character operation for bash in Linux is attached

Operator Describe Example File comparison Operators [-e file] file exists, it is true  eg:[-e/etc/passwd]   [-d file] [-f file]  

How Linux shuts down properly

In fact, most of the Linux domain is used on the server, rarely encountered the shutdown operation. After all, running a service on the server is endless, unless in exceptional circumstances, the last resort will be turned off.Linux is different

Linux Build Trust Host

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~1, first install a Sshpass installation package on this machine~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~2, Ssh-keygen-t rsa-p ""-f/root/.sshgenerate an RSA key on this computer- T: specifying the RSA algorithm-P: The

Linux VI command Daquan

Linux VI command Daquancommand to enter VIVI FileName: Opens or creates a new file and places the cursor at the beginning of the firstVI +n FileName: Opens the file and places the cursor at the beginning of nthVI + FileName: Opens the file and

Registering a custom jar package on CentOS7 as a Linux services service

On CentOS7, the custom jar package is registered as a Linux service Service1, and a shell script file Joyupx:vim JOYUPX/ETC/RC with the same name and service name is created in the/etc/rc.d/init.d/directory. The d/init.d/directory is typically a

Regular Expression, Regular Expression

Regular Expression, Regular Expression The regular expression is the pattern template you define. Linux can use it to filter text.Regular Expression type The regular expression isRegular Expression Engine. The Regular Expression Engine is a set of

URL encoding and url Decoding

URL encoding and url Decoding The original link is hereBase64 encoding Base64, that is to say, select 64 characters-lowercase letters a-z, uppercase letters A-Z, numbers 0-9, symbols "+", "/" (plus "= ", actually 65 characters) ---- as a basic

Ntp and ntp servers

Ntp and ntp servers 1. Configure ntp on server A that can connect to the Internet: Configure the/etc/ntp. conf file: Server 202.120.2.101 # local clock (LCL) // ntp server synchronized to this machine Restrict 192.168.1.0 mask 255.255.255.0 nomodify

Total Pages: 5467 1 .... 5036 5037 5038 5039 5040 .... 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.