How to configure IP in Linux

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

PS of Linux commands

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,

Linux tomcat boot from boot

Method One:Linux tomcat boot from bootModify the tomcat/bin/startup.sh to:Export java_home=/usr/java/j2sdk1.4.2_08Export classpath= $CLASSPATH: $JAVA _home/lib/tools.jar: $JAVA _home/lib/dt.jar:.Export path= $PATH: $JAVA _home/binExport

View hard disk information in hdparm under Centos

Install hdparm: yum installhdparm Display hard disk settings[Root @ cnscn ~] # Hdparm/dev/sda/Dev/sda:IO_support = 0 (default 16-bit)Readonly = 0 (off)Readahead = 256 (on)Geometry = 19929 [number of cylinders]/255 [number of magnetic heads]/63

Commands for batch replacement of Centos content

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

Nginx image Cache

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 Speed Limit

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

Introduction to Ext4 in Centos

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

Batch uninstall software using perl in CentOS

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

View search engine spider crawlers in Nginx on the CentOS Server

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.

Restrict SSH logon times under CentO

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

Detailed explanation of the locate command in CentOS

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

Delete Ext3 File System in CentOS and restore

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

Increase the swap partition size in CentOS

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

Change centos Nic eth1 to eth0

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.

View the process running time in CentOS

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

[Linux learning] samba server construction in Ubuntu

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 setup RHEL6

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.

Upgrade the Linux kernel to make vmware unavailable (the vmnet module cannot be compiled) Solution

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,

Multithreading in linux

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

Total Pages: 5467 1 .... 3761 3762 3763 3764 3765 .... 5467 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.