Method 1:# Ifconfig eth0 down# Ifconfig eth0 hw ether 00: AA: BB: CC: DD: EE# Ifconfig eht0 upMethod 2:# Ip link set eth1 down# Ip link set eth1 address 00: AA: BB: CC: DD: EE# Ip link set eth1 upMethod 3:# Vi/etc/sysconfig/network-scripts/ifcfg-eth0
After installing LNMP, centos found that port 80 on the webpage could not be accessed. It was not very familiar with the CentOS system, but there were also a lot of VPS that I encountered for the first time.Calm down and think about it. Will it be
Smbclient usage
1. List the Shared Folders provided by an IP address.Smbclient-L 198.168.0.1-U username % password2. Use smbclient like an FTP ClientSmbclient // 192.168.0.1/tmp-U username % passwordAfter the smbclient command is successfully
Common Linux operating system logon files include the following:1)/var/log/secure: The file used to log on to the system to access data;For example, pop3, ssh, telnet, and ftp are all recorded here.
2)/ar/log/wtmp: records the logon information,
In linux, TCP Connections cannot be released for a long time, such as the FIN_WAIT1 and FIN_WAIT2 statuses. The release time is uncertain and the corresponding program has been closed, and the corresponding ports are no longer monitored, it cannot
Do you want to know what your server is doing? You need to know the basic commands described in this article. Once you are familiar with these commands, it lays the foundation for becoming a professional Linux system administrator.
You can use a
Nginx is a good web server and provides a comprehensive speed limit function. The main functional modules are ngx_http_core_module, ngx_http_limit_conn_module, and ngx_http_limit_req_module. The first module includes the limit_rate function (limited
Adjust the usage of a program corresponding to the CPU:
I. Use taskset to make full use of multi-core cpu to balance cpu usage to each cpu
# Taskset-P: Set an existing pid instead of restarting a new task.-C: Specifies a processing item. Multiple
Recently I installed CentOS6.0 and found that the ext4 file system was added to the 6.0 system. To learn about the features of the ext4 file system, I searched the internet. compared with the previous ext3, The ext2 function is much richer. baidu
We all know that initrd is a memory file system started in linux. What is in it? Today, let's take a look at how to open this file system!Initrd = init ramdisk is a file system that exists in the memory at startup. Initrd was initially designed to
NIC channel bonding allows multiple network cards to act as one, allowing increased bandwidth and redundancy. let's assume we have two network interfaces ("eth0" and "eth1") and we want to bond them so they look like a single interface ("bond0 ").
Symlinks (symbolic links)Function Description: tool for maintaining symbolic connections.
Syntax: symlinks [-cdrstv] [Directory]
Note: symlinks can check the symbolic connection in the directory and display the symbolic connection type. The
Locate command
Function Description: locate allows users to quickly search for specified files in the file system. The method is to first create an index database that includes all file names and paths in the system, and then query the index
I. IntroductionLVM is short for Logical Volume Manager. It is a mechanism for managing disk partitions in Linux, LVM is a logical layer built on hard disks and partitions to improve the flexibility of disk partition management. LVM is a logical
I. LVM (Logical Volume Manager) is a mechanism for managing disk partitions in Linux. LVM is a Logical layer built on hard disks and partitions, to improve the flexibility of disk partition management.
Introduction to DM logical devices
1. Physical
0: This document uses the installation package of asterisk under centOS6.5 as an example to illustrate the problem. Please refer to the following example. Thank you! 1. Prepare the environment:
When installing the environment, you must have System
Swap cleanup:
Swapoff-a & swapon-
Note: This cleanup requires that the idle memory must be larger than the used swap space.
Cache cleanup:
Sync; & echo3>/proc/sys/vm/drop_caches
Sleep 2
Echo 0>/proc/sys/vm/drop_caches
To free pagecache:
1. pam Introduction
Linux-PAM (the pluggable authentication module in linux) is a shared library that allows local system administrators to select the authentication method of programs at will. in other words, you can change the authentication
The following describes how to configureADSL networking:1. Make sure that the NIC is installed and runs properly. Run the following command to check the NIC status:[Root @ localhost simon] #/sbin/ifconfig eth02. Do not set the default route (GATEWAY)
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