Yum uses the repository to save the software packages for managing rpm and the repository configuration files stored in/etc/yum. repos. the format in the d/directory is as follows: [LinuxCast] # repository name = explanation of repository name #
Many software applications need to bind MAC addresses (for example, OpenCountry). sometimes we need to modify the MAC address of the NIC for special purposes. 1. Method 1: Use the command to temporarily modify: ifconfigeth0downifconfigeth0hwetherxx:
Yum is a background program used to manage rpm packages. it is written in python and can easily solve rpm dependencies. After the yum server is created, the yum client can obtain the software package through http and ftp, and directly manage and
Start vim open multiple files and split screen display: vim-onfile1file2o is lowercase letters, upper and lower points, n is the number of split screen, followed by the file to be opened vim-Onfile1file2O is uppercase letters, left and right points,
It is essential to use the command line in linux. Mastering the shortcut keys can help you get twice the result with half the effort. The most commonly used key should belong to the Tab key, and the function is automatically completed. It is mainly
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 worry about other things that affect performance? Disk I/O
Nginx logs cannot be split by configuration. to split, you must write a simple script to implement this function. I used to use the cp command for the past, for example: #/bin/bashnginxLog = "/usr/local/nginx/logs/access. log "logBakFile
Environment: The company's file server is about to be migrated to an RHEL5 server. during preparation, the existing system administrator needs to familiarize himself with the RHEL5 system user interface as soon as possible, master the graphic
Prepare to learn about ORACLE. when setting up the environment, always prompt that SWAP space is insufficient. Specifically, record the method for adding SWAP space! Step 1: Check the current partition (use free-m or cat/proc/swaps): [root @ db2root]
File (folder) View class Command ls -- display the content in the specified directory description: ls display results are different colors to distinguish File categories. Blue indicates the Directory, gray indicates normal files, green indicates
Objectives: The master server program synchronizes the program to multiple subservers. configure the synchronization source to install rsync: yum-yinstallrsyncxinetd to enable rsync: vim/etc/xinetd. d/rsync change disable = yes to disable = no
How to View computer hardware device properties in linux # uname-a # view the kernel/operating system/CPU information # head-n1/etc/issue # view the operating system version # cat/proc/cpuinfo # view CPU information # hostname & n
How to View
We often access a website. what if we set the mgcrazy.com domain name to automatically jump to www.mgcrazy.com when users access it? I have found a lot of information on the Internet, but none of them can solve the problem! Here are my solutions!
The importance of the Linux system should not be explained, and more IT practitioners and students are now fighting for Linux. But for new Linux users, it is always a confusion about what knowledge Linux has learned and how far it has reached. Today,
This section describes how to automatically start SVN when Linux is started. in the previous section, we will explain how to automatically start the SVN service when Windows is started. through this section, you can make a comparison, let's take a
[Overview] domain name server (DomainNameServer ). Domain names and IP addresses on the Internet correspond one by one. Although domain names are easy to remember, machines can only know each other's IP addresses. the conversion between them is
Function description: create or modify a file to be kept, or extract files from the file to be kept. Syntax: ar [-dmpqrtx] [cfosSuvV] [a & lt; member File & gt;] [B & lt; member File & gt;] [I & lt; member Files & gt;] [keep files] [member files]
When you remotely log on to linux using telnet or SSH, if the connection is interrupted abnormally, the system opens a new session and cannot restore the original session. The screen command can solve this problem. The Screen tool is a terminal
Description of the Which command function the which command is used to search for the location of a system command in the PATH specified by the PATH variable and return the first search result. That is to say, you can use the which command to check
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