Bind a single IP address to a dual-nic in linux

To provide high network availability, we may need to bind multiple NICs to a virtual Nic to provide external services, so that even if one of the physical NICs fails, the connection will not be interrupted. In Linux, it is called bonding, IBM is

View the distribution and kernel version of CentOS

Before installing the environment or helping others handle the Centos system, to "seat the check", reduce problems caused by incompatibility between the Linux system version and the software, taking a proper look at the Linux release version and

View disk read/write status in centos

When the system slows down, we may first focus on the cpu metrics. Sometimes we find that the cpu usage is not high at all, but the system is still stuck, in this case, you may need to consider another thing that affects performance-the disk's IO

In both systems, Centos automatically mounts disks in windows.

First, install the ntfs-3g package on linux, so that the linux system can recognize the ntfs format Disk Create the directory to be mounted Mkdir/sda Run the following command to start mounting: 1 mount -t ntfs-3g /dev/sda5 /sda Now, you can see

Detailed explanation of NIC Driver Installation in CentOS

My centos 5.5 NIC Driver is r8169, and the latest driver is r8168 on the official website. This makes me feel weird. Doesn't r8169 represent the driver version, or r8169 is not officially developed. Just in case. The following describes how to

Detailed explanation of Centos configuration file/etc/ssh/ssh_config

Generally, you do not need to modify the OpenSSH client configuration file. For a given user, there are two configuration files :~ /. Ssh/config (user-specific) and/etc/ssh/ssh_config (Global Sharing ). To read these files in this order, for a given

Several useful device files in the CentOS System

As we all know, linux devices are very special. The system always reads the device in the same way, and the difference between devices is done by the device driver. Because of this, it is very easy to manage devices. Linux also provides virtual

Detailed explanation of whereis commands in CentOS

Whereis command Function Description: The whereis command locates executable files, source code files, and help files in the file system. The attributes of these files should belong to the original code, binary file, or help file. The whereis

Manage and configure Swap partitions in Linux in CentOS

Understanding what is a swap Partition Swap is a virtual memory partition in Linux. Its main function is to release some space in the physical memory for use by the current program when the physical memory is insufficient, the space released by the

How to temporarily obtain root permissions for common users in CentOS

In actual work, the company does not directly give the root user to the employee, but temporarily obtains the root permission of the system through the employee's own account. 1. My current test environment is: red hat linux 6 [Root @ rhel1 xcg] #

Detailed explanation of ln commands in CentOS

Ln Name: ln-make links between files Function Description: there is a so-called link in the linxu system. There are two types of links: ==========================================================

Automatic Log cutting generated by nginx on the CentOS Server

1. Edit the shell program for log cutting and customize the Directory [Plain] view plaincopy # Vi/data/nginx/cut_nginx_log.sh Enter the code: [Python] view plaincopy #! /Bin/bash # This script run at 00:00 Function cutAccess () { Dir = $1

Mkstemp for temporary files in CentOS

To use temporary files, consider the following:Ensure that the file names of temporary files do not conflict with each other.Ensure that the contents of temporary files are not peeked, deleted, or modified by other users or hackers.The mkstemp and

Set system-level proxy in CentOS.

YUM proxy settings: OK edit/etc/yum. conf. After adding # Proxyproxy = http: // username: password @ proxy_ip: port, you can also use proxy_username and proxy_password to configure the proxy user name and password, all users use a Global Proxy when

Summary of common CentOS commands

Comments: Common CentOS commands that are frequently used in our work have been carefully organized.The following describes common CentOS commands.I. View cpu using common CentOS commandsCopy the Code as follows:More/proc/cpuinfo | grep "model

Check whether the port is occupied by CentOS

Run the command: netstat-tunlp will display all ports and all corresponding programs. You can use the grep pipeline to filter out the desired keyword segments. For programs occupying port 22: Copy code example: [root @ leiwan tmp] # netstat-tunlp |

CentOS 6.5 port forwarding

Forward the port XX that accesses the local machine to the port of another machine.Net. ipv4.ip _ forward = 1 in the vi/etc/sysctl. conf configuration file. The default value is 0, which allows iptalbes FORWARDI directly edited the file and changed

Number of hard links to a file in CentOS

Use ls-l to view the number of hard links of a document: [Root @ localhost tmp] # ls-liTotal 1042291_drwxr-xr-x2root root 4096 Dec 11 etc7-rw-r -- r -- 2 root 1602 Oct 30 hl_passwd Use the following statement to view the hard links of a file.

How to run and control background processes in CentOS

We often encounter this problem. We used ssh to log on to a remote Linux server and run some time-consuming tasks. As a result, the task failed midway through due to unstable network conditions.This is because when a user logs out or the network is

CentOS format the newly added Hard Disk

First, format the new hard disk. Step 1: Copy codeCode example: [root @ rac1 ~] # Fdisk/dev/sdb Device contains neither a valid DOS partition table, nor Sun, SGI or OSF disklabel Building a new DOS disklabel. Changes will remain in memory

Total Pages: 5467 1 .... 4680 4681 4682 4683 4684 .... 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.