Network-related files:1)/etc/sysconfig/network set the host name and whether the network can be started2)/etc/sysconfig/network-scripts/ifcfg-eth0 set the file card parameters3)/etc/modprobe.conf the file to load the kernel module when booting
OverviewSometimes the system administrator may only be concerned about which programs are running on the system and don't want to know which processes are running. Because an application may need to start multiple processes. So in the same situation,
For example, you need to replace abc in all abc files with def.Find-type f | xargs perl-I-pe s % abc % def % gIf you want to replace the contents of the subdirectory togetherLs-R | xargs perl-I-pe s % abc % def % g
Today's programming, a small
Recently, we are going to build an image server with nginx, which looks at nginx's powerful static file processing capabilities.
Because the image volume is relatively large, it runs separately from the web server (which is also nginx). Although it
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
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
I downloaded wine last night. It was quite uncomfortable to use it. I planned to uninstall it. After I used yum remove wine, I found that many wine related programs were not uninstalled. The rest is made by using the following methods:
1. Run rpm-aq
Summary
The first step to optimize website SEO is to first let spider crawlers come to your website frequently. The following Linux Command will let you know the spider crawling situation clearly. The following is an analysis of the nginx server.
In response to the company's internal website rating requirements, system security protection is gradually being strengthened.
By default, the device automatically exits after three verification failures and ends the session. The network logon
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
Hello everyone, yesterday, a colleague used the administrator user (root) in linux to delete the root directory (rm-rf/home/tong) of another user. All files cannot be retrieved, I found Baidu and Gu Ge and finally solved this problem. Now I have
1. view the current Partition
[Plain] view plaincopy
Free-m
2. Increase the swap size by about 2 GB.
[Plain] view plaincopy
Dd if =/dev/zero of =/var/swap bs = 1024 count = 2048000
3. Set swap files
[Plain] view plaincopy
Mkswap/var/swap
In virtualization, the virtual machine NICs cloned from the template are named eth1, and some programs or scripts that involve NICs are written with eth0 by default, the problem of changing eth1 to eth0 is as follows:
# Vi/etc/udev/rules.
You can view it through ps, and through parameter-o.
Example: ps-eo pid, tty, user, comm, lstart, etime | grep init
Parameter description:
Pid: process ID
Tty: Terminal
User: user
Comm: process name
Lstart: Start Time
Etime: running time
1. Install samba and smbfs
2. Configure the smb. conf file
You need to back up the files that need to be configured before the configuration file (forming a good habit)
Enter the following command:
Enter the smb. conf file and add the
DHCP server:
1. ip Address Resolution
2. assign an ip address to the client
Install the dhcp software package:
After installing the dhcp service package, the system cannot start by default.
3. The dhcp service configuration file does not exist.
I recently upgraded ubuntu to 14.04, and vmware cannot be started. Specifically, the VMWare Kernel Module Updater dialog box is displayed every time you start the system. You must recompile some Kernel modules according to the current Kernel version,
1 IntroductionThread technology was proposed as early as 1960s, but the real application of multithreading to the operating system was in the middle of 1980s, and solaris was a leader in this field. Traditional Unix also supports the concept of
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