Installing CentOS 5.9
Based on vbox virtual machine, virtual machine memory 1 g, virtual hard disk size 8 g
Virtual network card using host only mode
Create a volume group CentOS
Stand-alone boot partition
Home, root and
0. Chunyang quotations, code nesting more than three layers is a piece of rubbish. So good programming style starts with encapsulation.1. Encapsulating the Select server model1.1 How to package? The data structures that are required for select are
Use of the Disable ping command under LinuxEnter the Linux system as root and edit the file Icmp_echo_ignore_allVi/proc/sys/net/ipv4/icmp_echo_ignore_allDisable ping after changing its value to 1To disable ping after changing its value to 0Direct
I have been shouting to learn the image recognition, identification of a simple, car grade, verification code and so on, previously checked data, OPENCV can be achieved. Yesterday spent an afternoon finally configured the environment, today write
Sixth Linux file permissions and directory configuration 6.1Linux user identity and user group record filesEach account can have multiple user group support/ETC/PASSWD user Account/etc/shadow account password/etc/group Group account6.2
Shared memory allows two or more processes to share a given store, because the data does not need to replicate back and forth, so it is the fastest inter-process communication mechanism. Shared memory can be implemented through the mmap () mapping
ZZ from:http://blog.csdn.net/musein/article/details/742609==================================================The __init and __exit declarations is special kernel macros designed to tell the kernel to flag thesefunctions for special handling in cases
1,/ETC/MOTD fileThe file is the message of today (bulletin board information), and each time the user logs in, the contents of the/ETC/MOTD file are displayed in the user's terminal. System administrator can edit system activity messages in
Encounter a problem is, C language use to sqrt, obviously already contains math.h file, but still hint undefined, so the Internet recruit answer:Gcc-lmThe following transfers from http://bbs.csdn.net/topics/330105678-l parameters and-L parametersThe-
Linux Basics1. "Linux and Unix Shell Programming Guide"C Language Basics1, "C Primer plus,5th Edition" "Beauty" Stephen Prata2, "The C programming Language, 2nd Edition" "Mei" Brian W. Kernighan David M. Rithie (K & R)3, "advanced programming in the
1. Command format:at[parameters [TIME]2. Command function:Executes a specified task at a specified time, only once, and requires the ATD process to be turned on (Ps-ef | grep ATD View, open with/etc/init.d/atd start or restart, boot up is required
The first thing to do is to install VNC in the virtual machine.In the settings of the virtual machine, you want to enable the VNC connection.Then enter the instruction Vncserver, you can see that there is a sequence number.Then open the VNC software
Linux/Unix System Analysis command quick query manual, unix quick query manual
1. Hardware
CPU information: cat/proc/cpuinfo
Number of physical cores: Count core
Logical CPU count: processor count
Memory information:
Free-m
The-+ buffer is for
Linux Study Notes (5)-process management and linux Study Notes
Process Overview
A process is a program or command being executed. Each process has its own address space and occupies certain system resources. A process is a running program.
Role of
Enable wget in centos to support resumable data transfer and download speed limit.
Wget is not installed. If the network is connected, yum install wget is installed;
1. For resumable upload, you only need to add the-c parameter.
Wget-chttp: //
Solution to the abnormal sound during hard disk reading and writing in Ubuntu
Compared with your laptop, Ubuntu Linux does sound much better than Windows. Of course, when reading and writing data in Windows, the sound is slightly lower.
After
Linux service addition and deletion, automatic operation and status
During the installation process, CAMS automatically adds related services. During the installation process, the system prompts you whether to enable the Service to take effect, it
CentOS repo Installation
EPEL
EPEL software warehouse (http://fedoraproject.org/wiki/EPEL)
Built by the Fedora community, it provides high-quality software packages for RHEL and derivative releases such as CentOS and Scientific Linux.
With EPEL
Linux File Names: which, whereis, locate1. when you use find to query file names, the query speed is slow due to disk queries. Therefore, which, whereis, and locate are usually used for queries in linux. Because the query speed is very fast due to
Mysql Optimization in CentOS1. debug mysql Command method: mysql> explain select * from t1 \ G or: mysql> desc select * from t1 \ G mainly to view the following attributes:(1) Whether index is used for type(2) key Index name(3) number of rows
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