When installing software in Windows, you only need to double-click the software installation program, or decompress the software by Using Zip or other decompress to install the software. Installing software in Linux is more difficult for beginners
In Linux, the file system (FS) is ext2/ext3/RerserFS, rather than NTFS or FAT32 in windows.
In LINUX read and write FAT32 file system is completely no problem, NTFS is a bit tricky, the solution is to install NTFS-3G, Ubuntu 7.04 as an example:
You can add and hide permissions to files with special requirements (such as server logs. These hidden permissions include:
Append only (a), compressed (c), no dump (d), immutable (I), data journalling (j), secure deletion (s ), no tail-merging (t),
Update-alternative in Ubuntu/Debian is used to manage the same software of different versions in the system. For example, the GNU Java compiler and SUN Java compiler may be installed in the system. You can use update-alternatives to set which of
Version: linux-2.6.22.9
The Fork System Call code is in linux/arch/i386/kernel/process. c:
Asmlinkage int sys_fork (struct pt_regs regs){Return do_fork (SIGCHLD, regs. esp,®S, 0, NULL, NULL );}
Sys_fork system calls are implemented
Postfixadmin2.1.0 is used by many people. I will take notes for beginners who want to use it. It is about the installation of Postfixadmin 2.1.0. refer to the following.
Create apache and maildrop users and groups
# groupadd vmail -g 1001
PostfixAs the most influential email system on the Internet, we are concerned about how to improve efficiency and simplify it. This article will be announced.
Postalias
Create or query an alias database.
Postcat
The content of the queue file is
KonquerorIt is an embedded browser mainly running on Linux and BSD operating systems. I used it for a while and occasionally found that Konqueror can browse the World Wide Web. See the following description.
Konqueror not only allows you to browse
For your ownIptablesAdd a module to this document: howto I will introduce this module here.
This document is very simple. There are only two parts: "Preparation" and "Installation Steps". Here I would like to thank ChinaUnix for its "gouya" and
This article is my own learningIptablesLet's take a look at it!
Filter # used for filtering
Nat # NAT
Input => filter # the destination ip address is the local data packet
Forward => filter # data packets passing through the Local Machine
Prerouting
IptablesImplement port forwarding,Port ingAnd two-way access is not difficult to configure, as long as you follow my footsteps, see the following:
The project went live with two servers, A on the public network. For linux rhel5.4, run a discount
Let's take a look.Linux iptablesAdd multipleFtpThe specific method of server ing.
The following two steps are involved:
1. First, convert the source addresses of the three ftp servers to those of the gateway.
192.168.0.254 is the gateway 10.0.0.0/24
LAMP
LAMP Architecture
The first step in tuning any system is to understand how it works. In the simplest form, LAMP-based applications are written in scripting languages such as PHP and run as part of an Apache Web server running on a Linux
LAMPSystemOptimizationIt is very necessary. A good optimization can make the system operate faster and improve work efficiency. I will introduce the content of LAMP system optimization in detail from several aspects.
LAMP
I. hardware optimization
1
Figure-LAMP
InstallApacheYesLAMPImportant Step:
I have downloaded the required software package to/usr/local/src.
Ls/usr/local/src
Okay. install apache first. Enter the package directory
Cd/usr/local/src
Decompress apache
Tar-zxvf
Figure-LAMP
LAMPUnderMySQLThe index is as follows:
Index fields in database tables can greatly improve the query speed. Suppose we have created a mytable table:
CREATE TABLE mytable(
ID INT NOT NULL,
Figure-LAMP
LAMPUnderPHPRunSQLStatement Syntax:
The Code is as follows:
@ Mysql_connect ("localhost", "root", "1981427") // You must connect to the database server before selecting a database.
Or die ("database server connection failed ");
@ Mysql_
LAMPStrategyMySQLCommonSyntaxThe statement is as follows:
1. Use the show statement to view databases on the server
mysql>show databases;
2. Create a database named example
mysql>CREATE DATABASE example;
3. Select a
LampAndWampThe comparison is as follows:
Installation complexity
Early installation of a LAMP system is relatively responsible. With the popularization of Linux, it is now easier to install a LAMP system. Many other Linux releases (Redhat and Debian)
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