1. CD/etc/sysconfig/network-scripts/2. ls-a to view all files under the current directory; and CAT ifcfg-eth0 to view ifcfg-eth0 content3. there are only three simple lines in my ifcfg-eth0, no IP-related information, so edit the content, VI
Installation:
First, install the required libraries for compilation:
Some lib and tools are needed:Make, automake, libglib2.0-Dev, libvte-Dev, libgtk2.0-Dev
Such:
ZYX @ ZYX-desktop :~ $ Sudo apt-Get install make automake
Early in the morning, I mounted USB in Linux, which was speechless. I almost searched for all the methods introduced by people on the Internet. But for a newbie, most of them were unclear, in the end, I still think this comparison method is quite
1. System Startup ProcessTo start a Linux system, follow these steps:1. Read the MBR information and start the Boot manager.In Windows, ntldr is used as the Boot manager. If multiple versions of Windows are installed in your system, you need to
Source command:The source command is also calledPoint command", That is, a dot sign (.), is an internal bash command.Function: EnableShellRead the specified ShellProgramFile and execute all statements in the file in sequenceThe source command is
In Linux, if you want to run the process in the background, we usually add & to the end of the command. In fact, the command is put into a Job Queue:
$./Test. Sh & [1] 17208 $ jobs-L [1] + 17208 running./test. Sh &
For commands that have been
$1 is called a "location parameter" in shell, indicating the incoming 1st parameters (1st input parameters ). Used in the shell script body to indicate the 1st input parameters of the shell script. It is used in shell script functions to represent
Statement for viewing file permissions:
Enter at the terminal:
Ls-l XXX. XXX (XXX. XXX is the file name)
Then similar information will appear, mainly including:
-RW-r --
A total of 10 digits
The first one indicates the type.
The three RW in the
Check the version information in Linux. The common command is uname.
Ubuntu:
$ Uname-
Linux wanghaifeng-laptop 2.6.32-23-generic # 37-ubuntu SMP Fri Jun 11 07:54:58 UTC 2010 i686 GNU/Linux
RedHat system:
$ Uname-
Linux localhost. localdomain 2.6.
In fact, Vc has been compiled in windows, but when someone says it has been compiled in Linux, I will try again. Besides, the makefile of x264 source code is ready, all I need to do is copy the file and make it.
First copy the x264-060805 to the
During kernel compilation, the network will always tell you how to do this step by step, but what this step means is not very clear. The upgrade of Linux kernel from 2.4 to 2.6 saves a lot of trouble, so I will not know any complicated commands in
Recently, an advertisement publishing platform written by myself needs to be migrated to the Linux platform. Since the DLL file of the Windows platform was used, we need to switch to. So. This section describes how to call. So in Linux.
When using
In Linux, IPv6 is supported by default. However, if IPv6 is enabled on some application servers that are not well supported by IPv6, the network performance of the server will be affected.Yes. After all, the current network switching device is not
PairSystem resource monitoring is a required skill for O & M personnel
From the OS perspective, including CPU/IO/Network/fs
From the DB perspective, including active sessions/on CPU/disks/top segments/top SQL, etc.
The utilization of database
During O & M, people often experience server performance problems, such as I/O, CPU, memory, and network bottlenecks.
So how can system O & M be done? The following tools are helpful for refreshing your mind ~ (@ ^ _ ^ @)~
(1) Top
Here, Rocky
DBAs depend on OS, a little bit less than DB, especially for Oracle DBAs
The relationship between DB and OS is also increasing, and the coupling degree is high. At one time, people thought that the two would have to fly.
For example, in Oracle,
In
We know that the first sector of the hard disk, that is, 0th, is used to store the Master Boot Record (MBR). Therefore, this is also called the MBR sector. One slice is 512 bytes, so the MBR size is 512 bytes. The specific data structure is as
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