Set the network card to boot, modify the network card configuration file: Vi/etc/sysconfig/network-scripts/ifcfg-eth0The contents are as follows:650) this.width=650; "src=" Http://v.apelearn.com/ueditor/php/upload/image/20160227/1456553795296799.png
Linux Common CommandsCD command, enter the specified path example: Cd/home Enter home path CD. /test Enter the parent directory under the test path . Represents the current directory /represents the root directory .. On behalf of the parent
CatTail-fLog file description/var/log/message system startup information and error log, which is one of the most commonly used logs in red Hat Linux/var/log/secure Security-related log information/var/log/maillog message-related log
Ls:list information about the FILEs (the current directory by default).-l:use a long listing format [email protected] ~]# ls-lTotal 104-RW-------. 1 root root 1557 Feb 19:09 anaconda-ks.cfgDrwxr-xr-x. 2 root root 4096 Feb 07:50 DesktopFile type:
Open beginning with the first section of our Service content file properties and permissions, we know Linux everything under the file. So I'm going to explain this alone, what is the attribute of the file? I'm here to talk to you in layman's words:
Using the Linux desktop for a long time, has been accustomed to the left mouse button selected, the right-hand pop-up menu copy sticky.I did not expect Linux to use the middle of the mouse sticky posts, very convenient.Reference: Linux mouse key
Nonsense not much to say, direct text process:1, the first is to download the Linux image file (Centos,ubuntu, etc., according to their actual needs to download)Linux image Download (provide a few 32-bit Linux image download, if there are other
1th SUSE Linux IP configuration method:Configure the IPF address temporarily and the configuration will be lost after reboot. Configure IP address: Ifconfig eth0 192.168.1.88 netmask 255.255.255.0 up to Modify the gateway :Route add
1. View frequently used commands for file contentsCat: The file content is displayed by the first line TAC: Starts from the last line. Contrary to cat nl: File contents and Line numbers output more: One page, one page shows less: similar to more,
Single-user mode change forgotten root password1. Press any key to enter the following interface when reading seconds650) this.width=650; "title=" 1 "style=" border-top:0px;border-right:0px;background-image:none;border-bottom:0px;
#查看系统内核/Operating System/CPU Informationuname-a# return: Kernel name host name Linux kernel version kernel build date OS version CPU model hardware platform GNU/linux# Viewing the operating system versionHead-N1/etc/issue# View gcc or
Once the system installed the trouble.Once installed the CentOS system, a centos4.8 system burned to a 8G USB flash drive, after the installation of CentOS was successful, but found that the computer did not know the U disk, tried many times also
Case descriptionThe morning received an IDC phone call, said one of our network segment IP non-stop outsourcing, should be attacked, specifically which IP do not know, let us check.The logical analysis and solutionFirst of all we have to determine
Rhel6 the NFS components are generally installed by default when installing the system; If your system is not installed, install it yourself:Yum-y Install Nfs-utils Portmap. First configure the NFS server side. Edit the NFS configuration
Monitoring Tool --- Zabbix (1) and monitoring tool --- zabbixComparison of open-source monitoring software
Cacti(Cactus)
It is a set of network traffic monitoring graphical analysis tools developed based on PHP, MySQL, SNMP and RRDtool. It
Usage of chmod in CentOSChmod [options] mode files can only be used by file owners or privileged users to change the file access mode. Mode can be in the digital format or in the who opcode permission format. Which is optional. The default value is
Locate abnormal web traffic: iftop + tcpdump + wireshark, iftoptcpdump
A simple O & M experience.Scenario: abnormal traffic occurs on the web server, and large traffic occurs during interactions in the web Cluster. You need to locate specific http
Linux study notes -- whereis command (SEARCH Command)
Where whereis is used to search for the command and help document.
Whereis command features:
1) The "whereis" command can only search for system commands, but cannot search for common files. 2)
Install unzip CT on CentOS
CT is created on the basis of tcl, so you need to install tcl before installing CT
Install TCL: Http://www.tcl.tk/software/tcltk/download.html[Root @ test ~] # Cd/tools/[Root @ test tools] # wget
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