Quickly modify the MAC address of the Centos Nic

Method 1: # ifconfigeth0down # ifconfigeth0hwether00: AA: BB: CC: DD: EE # ifconfigeht0up Method 2: # iplinkseteth1down # iplinkseteth1address00: AA: BB: CC: DD: EE # iplinkseteth1up Method 1: # Ifconfig eth0 down # Ifconfig eth0 hw ether 00: AA:

Basic Centos performance tuning policy settings

Ulimitulimit-a is used to display various current user process restrictions. Linux limits the maximum number of processes for each user. To improve performance, you can set the maximum number of processes for each linux user based on the device

Centos command to correctly identify the number of CPUs and cores

Judgment basis: 1. the cpu with the same coreid is hyper-threading of the same core. 2. a cpu with the same physicalid is a thread or cores encapsulated by the same cpu. Taking HP dlw.g6 as an example: ① number of physical CPUs: [root @ localhost ~]

View gateway commands in Centos

There are still a lot of commands to check the gateway in Linux. However, if the IP address is obtained through DHCP, some commands are not applicable. of course, there are also common query gateway commands. 1.cat/ etc/resolv. conf (see DNS) 2.

Enable remote boot of your Centos server

If our servers are not deployed locally (usually hosted in the IDC), and there are more than one server in the IDC, when one of them is disabled, then we can remotely connect to a server that has not been shut down and start the instance remotely.

Centos command for creating and modifying users and passwords

Create a user in linux 1. add an ftp user useraddftpname-d/home/ftppasswdftppwd and perform the following operations with the root permission: servicevsftpdstart to start the FTP service in Linux 2. add a common user useraddnagios?

Use of the screen command in Centos

Screen is a good thing. it has been used for a few days. If you encounter some time-consuming programs, but you can't keep on the computer to observe him, you always have to close the computer after work, then screen will come in handy. 1. if you

Detailed explanation of Centosvmstat commands

The vmstat command is the most common Linux/Unix monitoring tool that displays the status values of servers at a given interval, including CPU usage, memory usage, and virtual memory switching, IO read/write status. This command is my favorite Linux/

Common CentOS user management commands

User management commands! 1. A very important part of linux user name and password management is to manage users. Not everyone can log on to the server. if someone wants to log on to the server, they must apply for relevant permissions, you can log

CentOS6.4 common file management commands

File management commands: ls, cd, pwd, mkdir, rmdir, cp, rm, mv, touch, cat, more, less, head, tail and so on. let's talk about it in detail (only common, not all commands) (1 ). ls command-a: All files, together with hidden files (starting. files)

Use the VIM editor in centos

1. start and exit the VI editor # vifile1 creates a new text file named file1 ~~ : Q! Exit in last line mode 2. text operations ~ : E! File1: edit the new file in the current file: r/etc/passwd to implement the file reading function: wq keep and

Bind a Centos dual-Nic bonding to achieve load balancing

To improve the high availability of the system, we can bind two or more NICs to a virtual Nic and use the same IP address to ensure that a link is disconnected, another link can be started at any time to improve system stability. When you enable the

View the compilation parameters of Nginx, Apache, lighttpd, Mysql, and Php.

View the parameters of some common services during compilation and installation: 1. Nginx compilation and installation parameters [root @ test ~] #/Usr/local/nginx/sbin/nginx-Vnginxversion: nginx/0.7.65builtbygcc4.1.220080704 (RedHat4.1.2-48)

Run the CentOSnetstat command to view the number of TCP connections.

The netstat command displays network connection, route table, and network interface information, allowing you to know which network connections are in operation. In daily work, we usually use two parameters: netstat? An, as shown below: [root @

Rename command in CentOS

In Dos/Windows, rename the file. The book says that the mv should be used for renaming files or directories in Linux. I have been doing this all the time, but ignored that there is also a command named rename in Linux. All are rename, but the

Use GPG to encrypt information in CentOS

I. INTRODUCTION we all know that the Internet is insecure, but most of the applications used on it, for example, Web and Email are generally provided only in plaintext transmission mode (with exceptions such as https and smtps ). Therefore, when we

Detailed description of CentOS running-level init

This article describes in detail the roles of different running levels in startup. Linux seems to be a monster for advanced users on the DOS/Win9x/NT platform. No config. sys, no autoexec. bat, and machine configurations with personal

Badblocks command in CentOS

A hard disk is a consumable device. when used for a period of time, physical faults such as Bad Channels may occur. If a bad track occurs on the hard disk of a computer, if it is not replaced or processed in time, the number of bad tracks will

Macro in crontab in CentOS

1. define the time bar using crontab-e to compile the scheduled task. the format is: reference the first five digits of the *** command, the minimum interval between minute, hour, day, month, and week cron is one minute. that is, the cron service

How to replace vi in CentOS

You can use commands to quickly replace text when editing files using vi. The following describes how to replace the first OLD of the current row with NEW: s/OLD/NEW, so the OLD is NEW: s/OLD/NEW returns all OLD values in the current file as NEW: %

Total Pages: 2732 1 .... 1452 1453 1454 1455 1456 .... 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.