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
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: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
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
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
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
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
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,
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.
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
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
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,
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/
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
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
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
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
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
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
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