Set Dual IP addresses for a single Nic In Centos

1. Configure the first IP address in Linux: [Root @ Linux root] # cd/etc/sysconfig/network-scripts [Root @ Linux network-scripts] # vi ifcfg-eth0 DEVICE = eth0 BOOTPROTO = static BROADCAST = 192.168.80.255 // * BROADCAST address *// IPADDR = 19

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

CentOS iptables firewall configuration method

It is necessary to configure the iptables firewall in CentOS. Let's learn how to configure it! Set the firewall in Linux. Take CentOS as an example to open the iptables configuration file: Vi/etc/sysconfig/iptablesRun the/etc/init. d/iptables status

Common linux commands and tips

Common linux commands and tips:Summary of common linux commands:I. Common commands:1. date: print or set the system date and time2. stty-a: You can view or print control characters (Ctrl-C, Ctrl-D, Ctrl-Z, etc)3. passwd: print or set the system date

Change centos yum Source

In centos, you can use yum to conveniently and quickly install the required software and libraries. If the yum source is not good, the installation speed will be very slow. By default, centos official sources appear to be outside China, so the speed

Nginx image Cache

Recently, we are going to build an image server with nginx, which looks at nginx's powerful static file processing capabilities. Because the image volume is relatively large, it runs separately from the web server (which is also nginx). Although it

Centos 6.2 uses NMAP's latest tool to scan ports

Nmap is a tool for network exploration or security evaluation. It supports ping scanning (determining which hosts are running), multi-port scanning technology (determining which services are provided by hosts), and TCP/IP fingerprint (remote host

CentOS uses screen to avoid abnormal remote connection interruption

Screen is a Multi-Window Management Program in linux. When using telnet or SSH to remotely log on to linux, if the connection is interrupted abnormally, the system opens a new session and cannot restore the original session. screen command to solve

Basic folder operation commands in CentOS

File (folder)View class commands Ls -- display the content in the specified directory Note: The ls display results are distinguished by different colors. Blue indicates the directory, gray indicates normal files, Green indicates executable files,

Lvm Resizing in Centos

The/data DIRECTORY needs to be resized due to production, from the original 90 GB to 190 GB, increasing the space by GB.The production environment is a RHEL server, and the backend is connected to the EMC storage through an optical fiber switch.

Solution for non-synchronization of centos vps modification time in a timely manner

Because the first time I used the hyper-v architecture VPS, I had to specify whether to install windows or centos before I bought it. Because of the re-installed panel, I am really suffering from debian, various minor problems encountered during the

Restrict SSH logon times under CentO

In response to the company's internal website rating requirements, system security protection is gradually being strengthened. By default, the device automatically exits after three verification failures and ends the session. The network logon

Disable ping and iptables on the centos server.

Introduction: centos generally has an iptables firewall. Because the vps of the centos System in hyper-v architecture adopts the IPTABLES setting method widely circulated on the Internet, port 22 of ssh cannot be modified, if you modify the ssh port,

Create and release memory for SWAP partitions in CentOS

Method 1: 1. view the current partition of the system: > Free-m 2. Create a file for swap partition: & Gt; dd if =/dev/zero of =/whatever/swap bs = block_size (10 M) count = number_of_block (3000) 3. Set swap partition files: > Mkswap/export/swap/

Common CentOS commands and shortcut keys

I recently started to learn Linux and installed CentOS 6.4 in VMware Player. In order to make it easier for others, we sorted out common Linux commands and shortcut keys. Common commands: Files And Directories: # Go To The '/home' directory on

CentOS system management_basic permissions and ownership

Linux System Administrator _ basic permissions and ownership-RedhatEnterprise5 Files And Directories are the most important in linux systems. It is often difficult to log on to the system as a root user. Once you use a common user, you will find

Mount USB flash drives and optical drives in command line mode in CentOS

It is actually a few simple commands.(1) Mount and delete a USB flash driveAfter the USB flash drive is inserted, the command line will display and respond. Use$ Fdisk-lView all partitions and drive lettersThen$ Mkdir/mnt/usbCreate a directory to be

Multiple CentOS servers share the ssh key for Automatic Login

Recently, I have been studying how to automatically log on to linux servers. This article describes how to automatically log on to the ssh key. Update:. After finishing this article last night, I found a complete description of ssh authentication on

Linux Command abbreviations

Linux Command abbreviations Ls: list (list directory content) Cd: ChangeDirectory (Change directory) Su: switchuser Rpm: redhatpackagemanager Red Hat packaging Manager Pwd: printworkdirectory: print the absolute path of the current working

Disable sleep and screen saver mode in CentOS

Due to special requirements, I want a Linux host to always display a program. The monitor cannot be shut down, sleep, or enter the screen saver mode. Environment: Ubuntu is installed in minimal mode with a lightweight desktop openbox (not gnome

Total Pages: 5467 1 .... 3302 3303 3304 3305 3306 .... 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.