After several years of training, Linux finally broke the shackles of "server-specific systems" and entered the desktop market, posing a challenge to Windows.
Thanks to Microsoft's friendly marketing skills and the popularity of Web applications,
Content:
After installing Red Hat Linux 9 + Apache 2.0.55 + MySQL 5.1.6 + PhP 5.1.2, install the PHP accelerator zendoptimizer 2.6.2 in Linux.
After compiling PHP, Zend optimizer 2.6.2 needs to be set by yourself. follow these steps:
Suppose
1. grep Introduction
Grep (Global Search Regular Expression (re) and print out the line, full search for regular expressions and print out rows) is a powerful text search tool, it can use regular expressions to search for text and print matching
1. Start the system
Generally, Lilo is installed on MBR. After the computer is startedProgramWhen executed, a non-pretty figure will appear: A Red Hat image is displayed on the left, and an operating system that can be started is listed on the
1. chfn User Information Modification tool;
The chfn tool is mainly used to change the user's full name, office address, phone number, and so on. The usage is as follows:
Chfn [-f full-name] [-o Office] [-P office-Phone] [-H home-Phone] [-u] [-V] [
The system crashes in two scenarios: hardware problems and software problems.
I. Hardware problems
Consider the following points:
1. Do not overclock the CPU. If the overclock has already been restored to the original frequency first
If the problem persists, the problem is resolved by 80%. For the core of the operating system, if there is a problem to reproduce the method, it can be said that it has solved 99%. The common problem is that the system runs normally for a period of
The following example monitors the hotplug event of the kernel,
Source code As follows:
CopyCode The Code is as follows: # include
# Include
# Include
# Include
# Include
# Include
# Include
# Include
# Include
# Include
# Define
I. System Problems1. The system cannot be started.
The possible problem is that MBR is damaged or grub is incorrect. Two solutions can be considered: 1. Enter the rescue mode and edit menu. lst under/boot/GRUB. 2. Repair MBR. Backup MBR: dd If
Access the VI command
VI filename: open or create a file and place the cursor at the beginning of the first line
Vi + N filename: open the file and place the cursor at the beginning of line N
Vi + filename: open the file and place the cursor at the
Introduction
For small and medium-sized enterprises or websites that choose Linux as the application platform, they often face the problem of how to implement remote data backup or website image. Although there are commercial backup and image
If there are hundreds of websites on the server and the folder names are randomly generated, it will be even more depressing.
But don't be discouraged. There are still ways to quickly locate the target. We only need to use two Linux commands
First,
Orcle database backup policy
1. Use exp and IMP commands to export and import databases.
There are three modes:
A. User Mode: export (import) all user objects and data in objects;
B. Table mode: export (import) All or specified tables of the user;
C.
How to mount hard disk partitions in Linux 1. Use Autofs to automatically mount partitions
2. Modify/etc/fstab
3. Write a shell script and run the mount command automatically upon startup.
Method 1: Use Autofs1. Features of Autofs: The difference
Generally, SSH is used for remote Linux management. To use Linux Remote Desktop, you can use VNCServer or xdmcp.
1. Disable Firewall or open port 177.
2. Modify the inittab and set the default startup level to 5.
3. Set the xdm service to start
1. Use the software package that comes with the CD to install the following package:
Bind
Bind-utils
Bind-libs
(Rpm-I xxx. rpm)
2.Set the named service to self-start(Using tools such as ntsysv and chkconfig)
3.Assume that you need to parse
Linux, as a new operating system, is gradually accepted by users due to its stable performance, open source code, and price advantages. At present, Linux is mainly used in the server field. However, after proper configuration, it can also serve as
When linux starts, the NIC must be activated to access the Internet.
I searched for information online and finally solved the problem as follows:
# Vi/etc/sysconfig/network-scripts/ifcfg-eth0: 1 view the configuration file of eth0: 1.
It is
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