I. ConceptFirst, Linux does not have real threads, and Linux threads are simulated using processes. When we need to run more than one execution stream at a time in a process, instead of opening up multiple processes to perform our operations (each
There are usually two ways to implement automatic mounting of USB storage devices like USB drive: Udev and Mdev. Because Udev is relatively simpler and has better support in the kernel, select Udev to implement functionality.
#
Embedded Linux Learning Seven Steps
Sailor_forever sailing_9806@163.com Reprint Please specify
Http://blog.csdn.net/sailor_8318/archive/2007/09/03/1769662.aspx
"Thank you for your attention" Seven steps of all ppt in this, Word version is still in
1. Establish the required group (vi/etc/group) first;
2. Synchronization of/etc/group and/etc/gshadow (GRPCONV);
3. Set up the account of each attribute (VI/ETC/PASSWD);
4. Synchronization of/etc/passwd and/etc/shadow (PWCONV);
5. Establish the
Recently learning the operating system of this course, some code needs to run on Linux, they do not want to install a dual system, one is more trouble, but afraid of playing bad, need to reset the boot record and so on. As a result, the idea of
Memory and Swap Graphics
According to the picture collation trend contrast
number
Mem Change Trends
change trend of swap
1
Flat
Rise
2
Rise
Drop
3
Rise
Flat
Due to a power outage or power failure, you need to see Linux boot time/restart time, common commands:
1, who command to viewWho-b View the last time the system started.Who-r View the current system run time.
2. Last reboot view Linux system
One day, the new project was released, but it was a baffling 404 mistake. Also thought that the project itself had problems, and then found that everything in the local normal. Later thought is the server's cache and what caused the failure, then
Dragon Boat Festival, Sleep, was awakened by the phone, the Web server hung up, irritated bad. A busy landing server, found that the Apache server and memcache server illegally shut down. Hey, in order to sleep well, hurry to write a little foot
Tools for viewing target and binary files
1.readelf– target file with "Gcc-a a.c"-> a.o
2.objdump– View target file && binaries "objdump-h a.0" process address space
1.task_struck structure that stores information about the process
2. Runtime
Many Linux beginners do not remove the relationship between Linux and X, between x and Xfree86, between X and Kde,gnome, and so on. Often confusing concepts, I would like to explain the x,x11,xfree,wm,kde in a more understandable way, The
View CPU InformationCat/proc/cpuinfoDisplay current hardware informationsudo lshwGet CPU serial number or motherboard serial number#CPU IDsudo dmidecode-t 4 | grep ID#Serial numbersudo dmidecode | grep serial#CPUsudo dmidecode-t 4#BIOSsudo dmidecode-
First, configure Server for NFS1. Download and install NFS if the system is CentOS 5:
Yum-y Install Nfs-utils PortmapIf the system is Cenos 6:
Yum-y Install Nfs-utils Rpcbind
192.168.0.103 NFS Server 192.168.0.107 Client
2. Configure NFS
Tomcat Cluster ConfigurationIn a production environment, the amount of access to the site is large, in order to improve access speed, multiple Tomcat servers can be integrated with the Apache server, each of these Tomcat run the same webapp, these
Http://www.linuxeden.com/html/sysadmin/20080318/51823.html1, chmod----Change the access mode of one or more files (mode)chmod [options] mode filesOnly file owners or privileged users can use this feature to change file access mode. Mode can be a
For Linux to get file size, there are several ways, the first is more obvious scheme, call the stat way, this way to get the file size directly, more obvious, the remaining two ways are indirect way, the file cursor point to the end of the file, and
The following three kinds of error possibilities may occur:
first: Enable rewrite and. htaccess Settings
rewrite settings : Find Apache configuration file httpd.conf file, find: #LoadModule rewrite_module modules/mod_rewrite.so Remove the front #
Apache can run.
This is relatively simple, there are many related tutorials on the internet
It should be noted that when compiling Apache must join the DSO support, if not, please add the--ENABLE-MODULE=SO option to recompile Apache
Install
Linux 9th DayTime: 20180725Batch Modify file nameRename [option] Expression file ...Rename '. txt '. Bac ' f*.txt can change the f*.txt file suffix to F*.bacDD If=/dev/zero of=/root/bigfile bs=1m count=100 generate the specified file in the
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