Disable the sendmail service at startup [the same is true for other services] Disable sendmail at startup-the same actions can be taken for other services. For services that are not started from inetd, you can run the following command to disable
Continue to work hard and start to learn Chapter 2: Basic concepts.For Embedded Linux, you need to be familiar with the Linux system first, there are many, there will be more Linux systems, so do not limit with a single type. At present, the three
In Linux, if you want to run the process in the background, we usually add & to the end of the command. In fact, the command is put into a Job Queue:
$./Test. Sh & [1] 17208 $ jobs-L [1] + 17208 running./test. Sh &
For commands that have been
Finally, we decided to switch to Ubuntu. I directly used 10.10 32 to cover my 11.04 64, and installed the SDK. The whole process was quite smooth. After the configuration is successfully installed, it is found that the speed is indeed much faster
NormallyProgramA version query command, such as "-V", is added during development. The build version and build date are usually displayed. Therefore, if this information is automatically added during each compilation, it is very convenient.
The
1.
Go
Http://java.sun.com/j2se/1.4.2/download.htmlDownload a Linux platform JDK, it is recommended to download RPM self-extracting format (rpm in self-extracting file, j2sdk-1_4_2_06-linux-i586-rpm.bin );
2.
Upload to a Linux server and
Introduction to Papi
Papi (performance Application Programming Interface) is an API that can be used to access data of CPU performance counters and Performance performance counters,
For example, L1/L2 cache, CPU cycle, CPU instruction, TLB,
Recommended blog posts:Linux Kernel "problem Gate"-learning issues and experience highlights
Recommended download:Methodology of essence edition of "Cultivation of Linux kernel"
After the kernel option is parsed, the initialization of each
When you configure the Tomcat data source (DB2) in Linux, the data source configuration is as follows:
Conf \ Server. xml:
Userdatabaserealm to authenticate users -->Type = "org. Apache. Catalina. userdatabase"Description = "user database that can
1. Download and install jdk1.6 1. Download the official address of jdk1.6: JDK 1) jdk-6u22-linux-i586.bin 2) jdk-6u22-linux-i586-rpm.bin 3, I downloaded jdk-6u22-linux-i586-rpm.bin 4, to all users to add executable permissions # chmod + x
Read BSD/Linux source code online
Source: http://fxr.watson.org/FreeBSD and Linux kernel cross-reference
This site provides experimental source code browsing for the FreeBSD and linux kernels, based on the software provided by the lxr project.
The
· Find path-Option [-print] [-Exec-OK command] {}/;#-Print: output the searched files to the standard output#-Exec command {}/; ----- execute the command operation on the retrieved file. There is a space between {} And /;#-OK is the same as-exec,
This article will record the process of learning the fork and wait (waitpid) functions.
1. Fork
In Linux, the fork function is often used to create a new process. It is very special. When executed once, two values are returned, which is very
# Include # include # include # include # include # include # include void getlocaliplist (STD: vector & iplist) {struct ifaddrs * IFA = NULL, * oifa; If (getifaddrs (& IFA) ifa_addr! = NULL & IFA-> ifa_addr-> sa_family = af_inet & strncmp
Recently, I want to port openwrt on a boss and need to expand the network port. So I chose the 9700 USB Nic. The attached disc contains the driver source code installed under Linux, therefore, we need to compile the driver source code to generate
Prepare to compile the latest version of Linux kernel 2.6.14. First, add this article here.Source: neweasier
2003-1-4 16:34:00
Kernel IntroductionKernel is the core of an operating system. It manages system
Function prototype
# Include Int poll (struct pollfd FDS [], nfds_t NFDs, int timeout );
Typedef struct pollfd {Int FD;/* file descriptor to be detected or selected */Short events;/* events of interest to the file descriptor FD */Short revents;/*
From: http://www.cic.tsinghua.edu.cn/jdx/book1/CHAPTER3.htm
Add the # include statement to the source file.
Call the WSAStartup () function to initialize Windows Sockets DLL, and call the WSACleanup () function at the end to notify Windows
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