Linux and Mac build issues sun Wentao 2008-07-16
(1) The Lib and DLL in Windows correspond to the Lib in Linux **. A and Lib **. so, and generate this *. A and *. so file, that is, the target file is *. O and *. OSSo is short for shared
In Windows, the ultimate types of compression are. rarand. zip, but there are many comparisons in linux, such as. tar;. Zip;. GZ; .tar.gz;. bz2. Before introducing compressed files, we should first understand two concepts: Packaging and compression.
Type \
Echo unset set Export
Environment variable: Home shell histsize mail path Lang random PS1 $?
Language variable that affects the result: locale
Variable keyboard reading, array and Declaration: Read array declare
And file systems
Install Samba 1. RPM Installation Package 1. First, verify that samba ==================== has been installed on your machine. ============== rpm-Qa | grep samba, if the following prompt appears, Samba has been installed with the samba-client-2.2.8a-
1. view the number of physical CPUs# Cat/proc/cpuinfo | grep "physical ID" | sort | uniq | WC-l2. view the number of logical CPUs# Cat/proc/cpuinfo | grep "processor" | WC-l3. Check the CPU Cores# Cat/proc/cpuinfo | grep "cores" | uniq 4. view the
Dozen Enable computer power Source, Open Start Read Fetch Bios Go ahead Row master Machine Self Test ;
use BIOS to obtain the first device that can be turned on, read the Main Boot zone (MBR) to obtain the boot management program;
First 9 tips:
1. Everything in Linux is a file
2. Linux case sensitive
3. Enter "PWD" to know the current path.
4. "Su" switch user name "user," sudo passwd password "Change User Password
5. Add users:
Useradd Username
From http://www.myhack58.com/Article/sort099/sort0102/2011/30199.htm
The test is installed successfully, and the following errors are modified (The modified version in bold is 5.5.19.):
1. Install the required system library filesYum-y
Editor:
VI: The old editor, which can be found on various Unix and Unix-like platforms
Emacs: Editor developed by the GNU project. It features powerful scalability and is definitely not as simple as an editor.
CodePatch patching tools:Diff &
Linux Management of I/O port resources
Almost every type of peripherals is performed by reading and writing registers on the device. A peripheral register, also known as an "I/O port", usually includes three categories: control
LSM is short for Linux security modules. It is an underlying framework used in Linux kernel to support more flexible security policies. Although it sounds complicated, however, we can understand it as a set of hook functions embedded in the Linux
Environment is Fedora 7
First, install the OpenGL development environment. Currently, there are many OpenGL implementations in Linux, and Mesa is included in Fedora 7, which is an open source implementation of OpenGL. If you select the development
: Http://wilmer.gaast.net/main.php/axel.html
Axel is a multi-thread download tool under the command line. It supports resumable data transfer, which is usually several times faster than wget.
Run the following command to compile and install the SDK:#
The significance and programming implementation of. A,. LA,. O,. So files in Linux)
In Linux, the file type does not depend on its suffix, but generally speaking:
. O is the target file, which is equivalent to the. OBJ file in windows.. So is a
Basic information of "Linux high-performance Server programming" by: youshuang Publishing House: Machinery Industry Publishing House ISBN: 9787111425199 mounting Date: June 2013 published on: 16: 1-1 category: computer> operating system> Linux more
Document directory
What is JNI?
Simple Example of JNI
Recently I have studied Android, which involves JNI calls. Although I have some knowledge of the Java language, I have never touched JNI. Today, on Ubuntu of the UNIX center, JNI is used to
# Include int main () {char tmpname [l_tmpnam]; char * filename; file * tmpfp; filename = tmpnam (tmpname); printf ("tmp file is: % s \ n ", filename); tmpfp = tmpfile (); If (tmpfp) printf (" open a tmp file OK \ n "); else perror (" tmpfile ");
Use nm to view symbols in the file.Example code:Cat sub1.c-----------------------------------------------# Include
IntPrn1(Char * Str){Printf ("this is in sub1.d !! ");Printf ("% s \ n", STR );}-----------------------------------------------Compile
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