Custom yum repository and configuration file in CentOS

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 #

Modify the MAC address of CentOS

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:

Common parameters of yum commands in CentOS

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

Vim split-screen operation command

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,

Common shortcut keys in linux

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

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 worry about other things that affect performance? Disk I/O

Nginx log segmentation

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

Break the root password in single-user mode

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

How to add swap partition files to Centos

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]

Basic folder operation commands in CentOS

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

Linux site group rsync synchronization

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

Command for viewing computer hardware device properties in CentOS

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

Nginx domain jump configuration

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!

Centos learning roadmap

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,

How SVN is automatically started when Centos is started

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

How to install and configure a DNS server in CentOS

[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

How to create or modify the command for saving files in ar in CentOS

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]

How to use mkisofts in CentOS to create an ISO9660 image file

Mkisofs (makeisofilesystem) function description: creates an ISO9660 image file. Syntax: mkisofs [-adDfhJlLNrRTvz] [-print-size] [-quiet] [-A & lt; application ID & gt;] [-abstract & lt; summary File & gt;] [-B & lt; boot image file & gt;] [-biblio]

Use screen in CentOS to manage your remote sessions

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

Detailed description of which commands in CentOS

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

Total Pages: 2732 1 .... 1144 1145 1146 1147 1148 .... 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.