Http://www.cnblogs.com/ggjucheng/archive/2011/12/14/2287738.html1 Introduction2 Simple compilation2.1 Preprocessing2.2 Compiling to Assembly code (compilation)2.3 Assembly (Assembly)2.4 Connection (linking)Compilation of more than 3 program files4
Linux users, especially Ubuntu or CentOS users, are generally accustomed to using the clear command or the Ctrl+l combination shortcut to clear the terminal screen. However, this is not really a clear screen, it just gives the illusion that people
TFTP and NFS are an essential environment for learning linux+arm development. Here is a summary of some of the experience of installing and using TFTP and making a memo.First, the principle of TFTP serviceTFTP (trivial files transfer protocal,
1. Modify IP Address: Set static IP address#vi/etc/sysconfig/network-scripts/ifcfg-eth0Device=eth0Bootproto=static//bootproto=yes cannot appear in either state or erroripaddr=192.168.12.28// Add IP Address netmask=255.255.255.0// Mask gateway=192.16
In the process of using Linux, it is inevitable that the boot prompt grub > can not start, may be the system/boot/grub file loss and other causes, when this problem occurs as long as the system partition is not formatted generally can be repaired,
Etc/profile: The first file that is used when the operating system customizes the user environment at logon, which sets the environment information for each user of the system, which is executed when the user logs on for the first time.
Function Prototypes:Describe:The EXEC () series function replaces the current process image with a new process image.There is no difference in how things work, only the way the parameters are passed.Description1. These 6 functions can be divided
Yum: usually to install the software. The default get RPM package is downloaded from a foreign CentOS official source! So the installation speed is relatively slow! We have to change to a domestic official source!RPM-IVH Software Installation
ObjectiveThe new beauty colleague, take her script to ask me, I confirmed the program ape often say a word: OMG, so the code of dog excrement is actually I write!!!Problem Description:In Linux/unix writing scripts, I mostly used to add in the first
http://guoyaxu.iteye.com/blog/102694 several ways to view Linux version information:
Uname-a
Cat/proc/version
Cat/etc/issue
Lsb_release-a
Detailed lsb_release-a
log on to the server to perform lsb_release-a to list all
Turn off SELinux
Method One: Modify with Vi/etc/selinux/config
[Email protected] ~]# Vi/etc/selinux/config# This file controls the state of the SELinux on the system.# selinux= can take one of these three values:# Enforcing-selinux
1. If there is a file type and the permission data is "-rwxr-xr--", please indicate its meaning.2. Assuming that test1,test2,test3 belongs to the Testgroup user group, if you have the following two files, please describe the permissions of the two
Process status Code and Description:
State code
Description
D
Non-disruptive sleep. is usually in I/O.
R
Run-in/can run. is in the running queue.
S
Sleep can be interrupted.
Step for adding php extension pdo_mysql to centos, centospdo_mysql
This article uses CentOS as an example. The Red Hat series Linux methods should all be like this. The following describes the steps in detail. What are the content seriously despised
Set yum proxy in CentOS
Proxy Servers must be set for Internet access in the school environment. Therefore, newly installed CentOS cannot be operated using yum or wget. The configuration settings are as follows:
The configuration documents in
CentOS uses the installation CD to create a local yum source to complete the RPM package
In CentOS or RHEL systems, RPM dependency is a headache. After each system installation is complete, I want to install another software package. Before I press
Use CentOS DVD as the default yum Source
Environment: CentOS 6.0
By default, yum is installed on the network. It is very painful to install software using yum without network or poor network speed. In fact, for CentOS DVD, the software provided in
How to upgrade CentOS Kernel
Eight months after RHEL 6.0 was released, CentOS 6.0 was finally released. To test some software, the author needs kernels later than 2.6.30, and installs CentOS 5.5 With the kernel 2.6.18-194. el5. Therefore, the author
Linux/CentOS6 forget root Password Solution
When using linux, you may sometimes forget the password of the root user (especially when the document content is incomplete during the handover ), at this time, we can enter single-user mode to reset the
Hide the Nginx error page and the version number on the Header
Nginx displays the Nginx version number on error pages, such as 403 and 404 by default. This is very insecure. hackers may learn how to intrude into your server through your Nginx
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