Quickly modify the MAC address of the Centos Nic

Method 1: # ifconfigeth0down # ifconfigeth0hwether00: AA: BB: CC: DD: EE # ifconfigeht0up Method 2: # iplinkseteth1down # iplinkseteth1address00: AA: BB: CC: DD: EE # iplinkseteth1up Method 1: # Ifconfig eth0 down # Ifconfig eth0 hw ether 00: AA:

Tips for Using wget and scp commands in Centos

1. wget is the most common http/ftp file download tool in Linux. for resumable Upload of wget, you only need to add the-c parameter. for example, code: wget-chttp: // example 1. wget is the most common http/ftp file download tool in Linux. 1. for

Centos releases memory

When files are frequently accessed in Linux, the physical memory may be exhausted. when the program ends, the memory will not be released, but will always be used as a cache. Linux caches include dentry, buffercache, and pagecache. Dentry is used to

Centosif judgment command

No matter what programming language, the linuxif command cannot be separated from conditional judgment. SHELL is no exception. Iflistthendosomethinghereeliflistthendoanotherthinghereelsedosomethingelseherefi #! /Bin/shSYS linux if command No matter

Gzip-cdxxxxx | meaning of the path-dxxx-p1 command

The role of the patch-dphp-5.2.6-p1 command is to set the php-5.2.6. -fpm "(this is a php management tool recommended by instructor Xiao Bu) to add it to the PHP source code package, A command is used to compile and install PHP during nginx

Use of common performance analysis tools in Centos

In the previous article, I briefly introduced several aspects that affect linux performance and how to solve these problems, but how can we find problems in some or some aspects of the system? this requires several common performance analysis tools

Centos wget command for downloading files

Wget is the most common download command in linux. the general usage is: wget + space + url path of the file to be downloaded, for example: # wgetlinuxsense.org/xxxx/xxx.tar.gz "& gt; http://www.linuxsense.org/xxxx/xxx.tar.gzsimply says that wget is

Centos system optimization-theory

The Linux operating system is an open-source product and also an open-source software practice and application platform, under which countless open-source software support is provided, we often use apache, tomcat, mysql, php, etc. the biggest idea

Install the Chinese support package for CentOS

Installation is very simple, such as other versions of linux, use the corresponding online upgrade command, such as apt-get1. installation package: yum-ygroupinstallchinese-support2. modify the character encoding configuration file

Add PATH environment variables to Centos

Add the PATH environment variable. for example, [root @ lx_web_s1 ~] # ExportPATH =/usr/local/webserver/mysql/bin: $ PATH view again: [root @ lx_web_s1 ~] # Echo $ PATH/us Add the PATH environment variable. There are 1st methods:[Root @ lx_web_s1 ~]

How to modify the PATH of the environment variable in Centos

The computer brain is essential to the operating system. However, Linux is developing very rapidly and is catching up with Microsoft. Here we will introduce the knowledge of Linux, so that you can learn how to use Linux. For example, to add

Add new hard disks, partitions, formatting, and automatic mounting to Centos

Step 1: Create a partition root # fdisk/dev/had à to enter the newly added hard disk Thenumberofcyli Step 1: Create a partition root # fdisk/dev/had à to enter the newly added hard disk The number of cylinders for this disk is set to 10402.

How to send mail via command line mail in Centos

In linux, the command line mail method 1. the simplest method is: mail-stext ** @ mail.ustc.edu.cn. the result of this command is to send an empty message titled text to the mailbox, however, this type of mail is often treated as spam. if you do not

How to view web logs in Centos

Number of times the web server is notified of ip access failure # cataccess_log | awk '{print $1}' | sort | uniq-c | sort-n or # cataccess_log | awk '{print $1} '| sort-n | awk' {S [$ NF] ++} END {for (ainS) Number of times the web server cannot be

CentOSvi move cursor command

Move cursor up: knk: Move n rows 9999k or gg up to move G in the first row to the last row: jnj: Move n rows down left: hnh: move n columns to Left Right: lnl: Move n columns to right w: Move cursor forward with word nw: Move cursor forward n words

Centos queries whether a package is a 32-bit or 64-bit command.

[Root @ localhost ~] # Rpm-qa -- queryformat %-{name}-% {version}-% {release}-% {arch} "\ n" | grepnet-snmpnet-snmp-5.3.2.2-9.el5_5.1-x86_64net-snmp-utils-5.3.2.2-9.el5_5.1-x86_64net-snmp-libs- [Root @ localhost ~] # Rpm-qa -- queryformat %-{name}-%

How to disable the rpc. statd Service Command

To reduce the risks of linux hosts, we should try to cancel or delete unnecessary services. Let's take a look at what ports are currently open [root @ localhostlinsc] # nmap127.0.0.1Startingnmap3.70 (http://www.insecure.org/nmap/) at2007-12-0521: 28

Change the system time of a VPS outside China to Beijing time

The time for modifying the U.S. vps system is Beijing time. maybe when you are using a foreign vps, you may feel that the time on the vps is not Beijing time. it is awkward. today we will change it back to Beijing time, first, log on to your vps and

Centoschattr command for changing file attributes

Chattr (changeattribute) function description: changes the file attributes. Syntax: chattr [-RV] [-v & lt; version number & gt;] [+/-/= & lt; attribute & gt;] [file or directory...] note: this command can change the file or directory attributes

Use of the screen command in Centos

Screen is a good thing. it has been used for a few days. If you encounter some time-consuming programs, but you can't keep on the computer to observe him, you always have to close the computer after work, then screen will come in handy. 1. if you

Total Pages: 2732 1 .... 1921 1922 1923 1924 1925 .... 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.