Figure-LAMP
LAMPLowerApache-mysql-phpThe installation process is as follows:
Redhat in linux 9.0
Apache2.2.3 source code Installation Process
Download to the/usr/src directory, decompress and archive
root# cd httpd.2.2.3
Figure-LAMP
LAMPOfPerformance measurement
Continuously Measuring performance is helpful in two aspects. First, measurement can help you understand performance trends, including good and bad trends. As a simple method, you can check the CPU usage
FireFox is a good browser. Although it does not compete with IE in Windows, it is a well-deserved king in Linux.
But is there no other browsers except FireFox in Linux? No, the following shows nine browsers in Linux in the form of images. Of course,
Tags are a way for applications to browse multiple documents. They are widely used in browsers, such as Firefox, Internet Explorer, and Opera. In other applications, tag-Based browsing is also required by users, such as in MayNautilus has finally
Although the Linux system is free and vulnerable to virus tools, it is able to compete with Microsoft's operating system on the operating system platform. However, due to various restrictions, for example, some software must run on Windows platform,
The testing environment in this article is CentOS 5.0. If you use Red Hat AS3/4, you cannot use the yum command to manage rpm packages.
I. system conventionsSoftware source code package storage location/usr/local/srcSource code package compilation
If you are using the Ext4 file system, be careful. According to some users, it may cause data loss. A foreign user of Kubuntu Jaunty said that he lost a lot of data using the Ext4 file system. For details, refer to the bug report on launchpad.
IptablesAndNetfilterIn combination, the function doubles to build a lab environment platform of your own.
Tutorial steps:
1. Implement the routing function:
Configure eth0 first. Assign the network interface address 218.197.93.115 and run the
PassIptables ing80PortThere are two specific methods. Let's take a closer look.
I have configured LINUX on the VM. You want to map port 80 through iptables. Make the Internet WEB accessible. How to do this.
I. A simple application: the IP address of
IptablesAddressIngThe specific method is as follows:
I have installed RedHat 7.2, a new iptables tool. I don't know how to configure it so that my internal FTP server can be accessed by Internet users? How to map IP addresses
# ftp dnat
For your ownLinuxSystemIptablesIt is necessary to add a template to the kernel. After the template is added, it will work normally.Time Module.
System: CentOS 5.1 kernel: 2.6.18-53.1.19.el5
Iptables version 1.3.5 (included in the System)
Download a
UseIptablesDoIPOfStatic ingIt is similar to port ing. The specific operations are as follows:
In fact, static ing is similar to port ing, but the IP static is to transfer the Intranet server to the internet (or external network, port ing only maps
LearningIptablesWe should know the twoNAT,Port ingSomething. Now I will explain it to you!
Goals:
Use iptabels to implement NAT transparent proxy for the LAN, such as Internet cafes or Internet proxy servers of companies! At the same time, the
LinuxSystemIptablesThe implementation of the terminal is described as follows:
Preparation: iptable has three groups (tables), mangle queue, filter queue, and nat queue.
1. The first is the mangle table which is responsible for the alteration of
IptablesAndAsterisk:
Iptables fo asterisk
SIP on UDP port 5060. Other SIP servers may need TCP port 5060 as well
Iptables-a input-p udp-m udp-dport 5004: 5082-j ACCEPT
IAX2-the IAX protocol
Iptables-a input-p udp-m udp-dport 4569-j ACCEPT
Nginx + iptablesDefenseDDOSMalicious access and harassment of collectors are annoying. I have come up with a solution for your reference:
The nginx logs are used to filter out IP addresses that are too frequently accessed, add them to the nginx
CompanyIptables configurationAs follows:
Here is the current iptables configuration of the company (eth0 Is intranet, eth1 is connected to ADSL ):
# Generated by iptables-save v1.2.8 on Sun Nov 25 16:13:01 2007
*filter
Figure-LAMP
LAMPEnvironmentBuildAs follows:
In some of the previous configuration tutorials, many people did not succeed. Most of the problems were discovered in their own scenarios. Although they were facing the tutorial, they were also careless.
Figure-LAMP
The latest stable apache server version is httpd-2.2 .. 0, official: [url] http://httpd.apache.org/download.cgi#/url.pdf. We can quickly build a web server using the following steps.
1. Download the source code file httpd-2.2.0.tar.gz
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