Linux Study Notes-start
Abstract: There are no shortcuts for reading, summarizing, practicing, coding, and coding.
Preface:
Very early on, I wanted to learn something about Linux, and I was interested in the origin of the hacker's attraction of
Overview
Ssh and scp between some common devices can save a lot of time without entering a password.Generate key
Check whether the local device has a key. If yes, do not generate the key. Otherwise, the previously connected devices will be
Through the network port binding (bond) technology, you can easily achieve network port redundancy and load balancing to achieve high-availability load balancing.
[Root @ localhost ~] # Cat/etc/issueCentOS release 6.5 (Final)Kernel \ r on an \
Almost every book on operating system principles will talk about block-page storage of memory management methods. I used to read books in the dark! The reason is that you do not understand INTEL commands, and you do not know what the page-based
The mod_status module of apache provides some statistical information for apache runtime, Which is meaningful to apache administrators.
I. Load the mod_status module of apache
In various systems, the method for loading the apache module is
1. Check which file system has the most space used in the current system. Where is the file system mounted?
Display,/dev/mapper/VolGroup00-LogVol00 has used the most space, the file system is mounted under the root directory
2. demonstrate
# Quick login online server script> Background environment: Previously, it was a very unpleasant issue to log on to the faulty machine and view the fault. The password is very high. To prohibit root login, you can only copy and paste the password
Just like private cars and public buses:
Private cars do not need money. Public Transportation requires money.
Private cars should be opened if they want to open, while windows is a closed software, which requires the driver's consent to sit
The
The Linux kernel has been compiled three times. Every time you compile the Linux kernel, you need to go to the Internet to find the compilation steps. I feel that all the information on the Internet is messy, and not all of them are suitable for
1. The date command is mainly used to display and modify the system time.
2. The hwclock command is used to view and set the hardware time and synchronize the hardware time and system time.
# Display hardware time hwclock # set hardware time hwclock-
Cross-development
Cross-development refers to the development process of editing, compiling, and connecting software on a general PC and then downloading it to embedded devices for debugging. A general PC is called a host machine, and an embedded
For RHEL/CentOS 6 32-64 Bit
## RHEL/CentOS 6 32 Bit OS ### wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.5.2-2.el6.rf.i686.rpm# rpm -Uvh rpmforge-release-0.5.2-2.el6.rf.i686.rpm## RHEL/CentOS 6 64 Bit OS ### wget
Linux header files#Include Function Definition int execl (const char * path, const char * arg ,...); the function description is execl (). The suffix "l" indicates list, that is, the parameter list. The first parameter path character Pointer Points
[Root @ yan-001 ~] # Uname-a # view the kernel/operating system/CPU information of the linux system information Command [root @ yan-001 ~] # Head-n 1/etc/issue # view the operating system version, is the number 1 is not the letter L [root @ yan-001 ~
Wait (waiting for the sub-process to be interrupted or terminated)Header file # include # include define the pid_t wait (int * status) function. Function Description: wait () temporarily stops the execution of the current process until a signal
1. Function Description
Pipe (pipeline creation ):1) header file # include 2) define the function: int pipe (int filedes [2]);3) Function Description: pipe () creates an MPS queue and returns the file description words from the filedes array.Filedes
1. For Linux system calls, the FILE descriptor uses an integer, and the library function Access FILE uses a FILE pointer to point to the description FILE;
2. database functions do not change with the system platform, that is, both Windows and Linux
I recently read "write an embedded operating system step by step". I feel that this book is very good. I have made it clear and operable in many places. I plan to read and write notes while practicing, we hope to gradually get familiar with the
2013-02-23
Uncomfortable (>_
I am a referenceHereInstalled, Ubuntu-12.10-Desktop-AMD64.iso, protested available.
Ubuntu can be installed in both the primary partition and logical partition, which is the result of my partition in Windows.
However,
Lab environment:
Create four hosts on vmware:
Linux server A, linux Server B, client win7, and client server2008!
Ideas:
Server A adds two NICs, eth0 connects to vm1, and eth1 specifies vm2;
Connect to vm1 using win7 as the client of server;
Server
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