Inittab analysis in CentOS

After Linux completes Kernel boot, the init initialization process will call the/etc/inittab configuration file (ps-aux | less, the init process number is always 1, is the starting point of all system processes. the init process also has a parent

Modify the default startup level in Linux

In Linux, 0 to 6 are used to indicate different startup modes. each number indicates the following meaning: 0: The system starts normally and then shuts down. 1: Single-user mode. 2: Multi-user mode, no NFS3: Multi-user mode; NFS4: for use by the

Change centos Nic eth1 to eth0

In virtualization, the virtual machine NICs cloned from the template are named eth1, and some programs or scripts that involve NICs are written with eth0 by default, in this case, you need to change eth1 to eth0 by using the following method: #

Centos repair grub boot tutorial

Sometimes we use a USB flash drive to install centos, and accidentally install grub to the USB flash drive. as a result, the boot needs to be inserted into the USB flash drive to start the server, or grub is damaged. in this case, we need to

Create SoftwareRAID10 on CentOS

When I reinstall an old server yesterday, I found that the IntelhardwareRAID controller has a problem and cannot identify all hard disks. However, during operating system installation, I can identify all hard disks. Another problem is that the

ACL permission control in CentOS

ACL permission control settings ACL permission: setfacl view ACL permission: getfaclACL permission control is designed to provide specific permission settings beyond the read, wirte, and execute permissions of traditional owners, groups, and other,

CentOS disk partitioning, formatting, and validation

Disk Partition, format and check disk partition: fdisk disk format: mkfs, mke2fs disk detection: fsck large capacity disk partition: parted disk partition syntax: fdisk [-l] device name-l: example of all partitions in the output system: [root @ loca

How to change the user name in CentOS

1. modify the user name, user group, and home directory in the/etc/passwd file. 2. modify the user name and user group in the/etc/group file; at the same time, rewrite the/etc/gshadow file. 3. modify the username section in the/etc/shadow file. if

10 super-practical CentOS networks and monitoring commands

This article lists the network and monitoring commands that every Linux user should know about. The network and monitoring commands are similar to the hostname, ping, ifconfig, iwconfig, netstat, nslookup, traceroute, finger, telnet, and ethtool

CentOS modifies the system's default language and encoding.

Sometimes, when CentOS is installed, the default language is set to Chinese, while some SSH software does not support Chinese encoding, so some garbled characters may occur during remote management. How can I modify the default CentOS language? Use

Set system-level proxy in CentOS.

YUM proxy settings: OK edit/etc/yum. conf, add # Proxyproxy = http: // username: password @ proxy_ip: port at the end. you can also use proxy_username and proxy_password to configure the YUM proxy settings for the proxy user name and password: OK

How does CentOS lock users who fail to log on multiple times?

CentOS has a pam_tally2.so PAM module to limit the number of logon failures. if the number of logon failures reaches the set threshold, the user is locked. Compile the PAM configuration file # vim/etc/pam. d/login # % PAM-1.0authrequired CentOS has

View the file and folder size in CentOS

When the disk size exceeds the standard, an alarm is triggered. it is wise to master the df and du commands. Df allows you to view the size, usage ratio, file system, and its Mount point of a level-1 folder, but there is nothing to do with files.

CentOS6.3 mount the WindowsNTFS partition.

CentOS6.3 Mount WindowsNTFS partition with NTFS-3G. First, you need to load the local physical disk to the virtual machine, click virtual machine-> Settings, add disk. By default, CentOS 6.3 does not support reading and writing Widows NTFS hard disk

Centos6.x configure yum to use the source of NetEase 163

First, go to the yum source configuration directory cd/etc/yum. repos. d The yum source mvCentOS-Base.repoCentOS-Base.repo.save that comes with the backup system # cd/etc/yum. repos. d/# wgethttp: // mirrors.163.com/.help/CentOS-Base-163.repo&n

CentOScrontab (scheduled task)

1. the crontab command is used to schedule the execution of some commands at a certain interval. After the operating system is installed, the task scheduling command is started by default. The crond command periodically checks whether there is any

View the CPU cores of a specified process in CentOS

Multiple multi-core CPUs are now the mainstream servers. many applications, such as Squid and nginx, have the ability to distribute processes or threads to different CPU cores. How can we view the distribution of different processes in the CPU core.

Remove online linux users

1. query online users: [plain] viewplaincopy [root @ leekwen ~] # W09: 18: 37up22: 30,4 users, 1. query online users: [Plain]View plaincopy [Root @ leekwen ~] # W 09:18:37 up, 4 users, load average: 0.00, 0.02, 0.00 User tty from login @ IDLE

Operations after Cenotminimal installation

The latest CentOS version is 6.5, which provides the iso image for minimal installation (32-bit 285 M, 64-bit 322 M), the previous 5. version x is not provided separately. it is a good news for us to develop these products. whether it is download or

Very good 12 shell command classic interview questions

Shell interview questions have been summarized. let's take a look at it. there are 12 excellent shell command classic interview questions. Shell interview questions are summarized. let's take a look. 1. text analysisRetrieve the number of times the

Total Pages: 2732 1 .... 1929 1930 1931 1932 1933 .... 2732 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.