Original post address: http://sopace.blog.51cto.com/1227753/370370
Today, we found that Tomcat port 8080 is unavailable on the server and the port is occupied.Run the following command:PS-Aux | grep TomcatTomcat process with no port 8080 is found.
Is LFS tired? OK. Let me talk about a gossip story first, relax and take another risk...
In the pure Linux 2.2/2.4 era, the kernel header file has always maintained the "kiss" tradition in the Unix world. You only need to copy the header file in
1. Configuration File/Etc/hosts (the local host IP address ing can have multiple aliases )./Etc/services (correspondence between port numbers and standard services ).
/Etc/sysconfig/Network (set the host name, gateway, and domain name ).Hostanme =
The switch monitoring deployed yesterday had no clue at first, because it was the first time to get these things. Later, the mentor taught me how to do it !!
The first step is to write the script setenv for setting environment variables. sh. This
Sendfile Function Description
# Include ssize_t sendfile (INT out_fd, int in_fd, off_t * offset, size_t count); sendfile () is the operation function used to copy data between two file descriptors. this copy operation is operated in the kernel, so
Reprinted: http://www.517sou.net/Article/104.aspx
I. Factors affecting Linux server performance
1. Operating System Level
CPU
Ø memory
Ø disk I/O bandwidth
Ø network I/O bandwidth
2. Application-level
Ii. System Performance Evaluation Criteria
Content Search (recursion)
Grep/etc/httpd/modules/-LR '51ditu '*
File Name Search (recursive, not suitable for modules search)
Find/etc/httpd/-name httpd. conf
Reference:
GrepCommand is used to searchPatternThe mode specified by the parameter, and
For Linux users in China, it is a problem that the system often displays garbled characters when it needs to display Chinese characters. For some reason, when it needs a system with an English interface, however, the system cannot normally input
The original post of a series of articles about Linux IPC published on the IBM developerworks website is a series of articles by Zheng yanxing, I have demonstrated the use of several IPC methods in Linux Through Explanations and examples. I think it
Linux: Gentoo
Kernel: 2.6.15
Confirm your kernel support usblan, ACM modem and usbnet zaurus feature.In my Linux config files:/usr/src/Linux/. config files:Config_usb_belkin = yConfig_usb_net_zaurus = mConfig_usb_acm = m
Connect the e680i on the
This problem often occurs at work. When you log on to a Linux server using FTP commands on Windows, the following message is displayed: 530 must perform authentication before identifying user. After searching online, I finally found a solution.
If it is debug, add the parameter-ddebug and release' without this parameter.
Generally, the debug version is used in the development and testing phase, and the release version is used for release.
You can use makefile to customize and compile
Java advanced exchange group: 37341439 (1000). You are welcome to help and learn from each other.
1 first, make sure that the directory to be restricted is a separate file system.
DF-H/home test
2. For a separate file system. You need to add quota
Http://lidu678.blog.163.com/blog/static/898060062010112010421532/ computer system is composed of software system and hardware system. Checking the hardware status is very important to ensure the stability of the entire system. Whether the operating
Address: http://tech.ccidnet.com/art/302/20031106/70263_1.html
If a bad track occurs on the hard disk of a computer, if it is not replaced or processed in time, the number of bad tracks will increase and cause frequent crashes and data loss. If a
Source Address: http://blog.chinaunix.net/uid-24690947-id-3064955.html
I,
1. automatically run the program at startup
After Linux is loaded, it initializes the hardware and device drivers, and then runs the first process init. Init starts other
Convert formats in Linux
// Create a CD handle firstIconv_t CD;// Then initializeCd = iconv_open ("UTF-8", "Unicode"); // The first parameter is the converted encoding, and the second parameter is the encoding to be converted, which here is
Source: Linux community Author: Fu Dapeng 2008
To program C in Linux, you must use GNU gcc to compile C source code to generate executable programs.
1. GCC Quick Start
The general format of GCC commands is: GCC [Option] file to be compiled [Option] [
Linux Kernel is a single kernel, but it is flexible and convenient to develop by dynamically loading modules. So how does it compile the kernel? We can start by analyzing its makefile. The following is a simple makefile for the hello kernel module.
All Linux devices are implemented in the form of files and need to access a device, you only need to operate the device in the form of open, read, and write. In the/dev directory of the Linux system, all devices supported by the current system are
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