Install
1. Download apache-tomcat-5.5.27.tar.gz from the official website of Tomcat.
2. Run the command tar-xzvf apache-tomcat-5.5.27.tar.gz in/var/FTP/pub.
3. Move the extracted directory to the root directory and rename it. Mv apache-
[Root @ localhost repos] # SCP doc-635.tar.gz root@192.168.15.59:/OPT Address 192.168.15.59 maps to localhost, but this does not map back to the address-possible break-in attempt! Root@192.168.15.59's password: doc-635.tar.gz 100% 178 MB 44.6 MB/S
Because CVS is used, the relationship between Linux Group and user is used.
There are two ways to modify the default group of a user:
1. for new users
# Useradd username-G groupname
In this way, the default group of the New User username is
# Include # Include # Include # Include # Include /* Determine whether it is a directory */Int is_dir (const char * path){Struct stat st;Lstat (path, & St );Return s_isdir (St. st_mode );}
/* Obtain the current path */
Char * _ getcwd (char * _
1. First, check the drive letter of your USB flash drive. Run the command fdisk-l under the Super User.
You can see the detailed information of the USB flash drive at the lowest possible. The disk number is sdb1.
The size of system is FAT 32
/* This section of code should be written in the process, or an exception may occur when you close it */
Int initprocess (const char * workdir){
Int I;Pid_t PID;
If (pid = fork () Return (-1 );Else if (PID)_ Exit (0);/* parent terminates */
/* Child
Two days ago, we found that the memory usage of STL programs in Linux was relatively large. No Memory leakage was found through the valgrind check. The analysis may be related to STL, So we tested STL separately.
The program creates 10 threads and
Linux out-of-memory (OOM) Killer
Linux has a feature: OOM killer, a protection mechanism, which is used to avoid serious problems when the memory is insufficient, and to kill unrelated processes first, that is, when the memory is seriously
Address: http://tech.ddvip.com/2008/07/121541159946496_2.html
1 Introduction
Boot Loader is a self-lifting program that runs before the operating system kernel runs, it is used to initialize hardware devices, change the operating mode of the
1 Introduction to uClinux and Blackfin
1. 1 uClinux Introduction
UClinux is a widely used embedded Linux operating system. It is a project fully compliant with the GNU/GPL convention and is fully compatible with Unix and fully open source code. In
We often encounter system environment variable configuration problems when installing system software in Linux. What are environment variables? How to customize environment variables? I will introduce it below.
1. What are environment
This article is based on multiple posts on the Internet, but it is not original. The only thing that is gratifying is the implementation on the local machine. Because it failed several times after all. It is also quite difficult for me to learn many
Blktrace is a block layer I/O path monitoring and analysis tool. It can be used to gain an in-depth understanding of the I/O path, which is helpful for monitoring and performance tuning. 1. the architecture of blktrace is implemented in two parts:
Command:/proc/meninfo
Memtotal: 2518800 kb indicates that the server has 25 GB of memory
Memfree: 1692800 kb. The current free space is 16 GB.Buffers': 69936 KBCached: 417952 KBSwapcached: 0 KBActive: 380872 KBInactive: 328284 KBActive (Anon): 22200
Introduction to embedded Linux kernel Zhang jianbo
Linux was first developed by Linus Torvalds of Finland to provide a free and free UNIX-like operating system on intel X86 architecture. To be precise, Linus Torvalds only completes the Linux
# Vi/etc/resolv. conf modify the DNS server
# Vi/etc/hosts modify the Host Name
$ Ln-s path1 path2 establishes a path2 connection to path1
$ Netstat | grep 7777 | WC-l gets the number of connections on port 777
Find command:Find
Author: zhaojianjun
Source: http://www.opendesktop.net/modules/...dex.php? B _id = 78
During encoding and conversion on Linux, you can use both the iconv function family programming and the iconv command, but the latter is for files, converts a
Mdev is a simplified version of udev that comes with busybox.The function is to automatically generate the node files required by the driver when the system starts and hot swapping or dynamically loads the driver. The device nodes in the/dev
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