Today we are going to talk about a site is generally how to build a system architecture, although we hope that the site can have a very good structure at the beginning, but things are in the development of continuous progress, the site architecture is also with the expansion of the business, the needs of users continue to improve, the following is a gradual development of the basic process of Web site architecture. Schema Evolution First step: physical separation of
zlib* libxml* ncurses-devel libtool-ltdl-devel* mysql-devel
Step two: Because mysql5.5 start, no longer use configure installation, but use CMake. So we need to install CMake first.
The code is as follows
Copy Code
wget http://www.cmake.org/files/v2.8/cmake-2.8.6.tar.gzTAR-ZXVF cmake-2.8.6.tar.gzCD cmake-2.8.6/./configureMake make install
Step three: CMake install MySQL (i have downloaded the MySQL source file, put on a U disk, copy to/tmp direc
can see, the note information for the 1 Nginx processes is "master process", which indicates that it is the main process, and the other 1 process notes are "worker process", which indicates that they are child processes. 32244 the main process number.If the path of the PID file is specified in the nginx.conf configuration file (for example:/usr/local/webserver/nginx/logs/nginx.pid;), the file contains the Nginx current main process number. If you do
system.Architecture Evolution Step Two: Increase page cachingNot long, with more and more people visiting, you find that the response speed and began to slow down, find the reason, found to access the database too many operations, resulting in fierce competition in data connection, so the response is slow, but the database connection can not open too much, or the database machine pressure will be very high, So consider using a caching mechanism to reduce the competition of database connection r
Step by step PHP (1): Configure Nginx + PHP development environment in Windows 1. download and install nginx1.1: nginx.orgendownload.html nbsp; nbsp; nb learn PHP step by step (1 ): configure the Nginx + PHP development environment in Windows
1. download and install nginx
1.1: http://nginx.org/en/download.htmlHttp://nginx.org/download/nginx-1.3.0.zip
1.2 unzip the nginx-1.3.0.zip to G: \ webserver
1.3 to G: \
://httpd.apache.org/based on the above URL steps1) Create the WebServer folder under the C drive (can be another disk)2) unzip the downloaded Apache3) Copy the extracted Apache24 entire file into the webserver4) Administrator mode Open CMD[CD. / | Parent directory]CMD is the default in the C drive under userGet to the specified directory under the command ↓CD C:/webserver/apace24/bin (note Be sure to go und
less than read Test OK add PHP extension
First unpack the master.tar.gz package
/usr/local/php/bin/phpize
The Phpize command is prepared for compiling the PHP extension file.
./configure--with-php-config=/usr/local/php/bin/php-configmake make installThen modify the php.ini to find the Extension_dir, fix it instead
Extension_dir = "/usr/local/php/lib/php/extensions/no-debug-non-zts-20060613/"Extension = redis.so
Restart the environment
Header ("Content-type:text/html;charset=utf-8");$red
http://dev.mysql.com/get/Downloads/MySQL-5.5/mysql-5.5.17.tar.gz/from/ftp://ftp.ntu.edu.tw/pub/MySQL/# OrWget ftp://ftp.ntu.edu.tw/pub/MySQL/Downloads/MySQL-5.5/mysql-5.5.17.tar.gz# Creating users and groups# Create an msyql user and groupGroupadd mysqlUseradd-g mysql-s/usr/sbin/nologin# Create an installation directoryMkdir-p/usr/local/webserver/mysql# Create a database directoryMkdir-p/home/mysql/3306/data# DecompressTar-zxvf mysql-5.5.17.tar.gzCd
A more important part of Microsoft. NET's strategy is webservice. With webservice, we can create truly effective distributed applications.Below, we will give some instructions on webservice.Assume that A is A client and B is A webservice server. The user sends A soap request to the server over http, and webservice returns XML data from the client.Now let's take a look at the general process of creating a webservice:The webservice of the server must be created. We don't need to care about the soa
Source: Source of itivy
Previously, I briefly introduced the architectures of various well-known large websites, the five milestones of MySpace, the architecture of Flickr, the architecture of YouTube, the architecture of plentyoffish, and the architecture of Wikipedia. These are all very typical. We can get a lot of knowledge about website architecture. After reading this, you will find that your original ideas may be narrow.
Today, let's talk about how a website builds the system architect
I have also introduced the evolution of large website architectures.ArticleFor example, livejournal and eBay are all worthy of reference. However, they feel more about the results of each evolution, without a detailed explanation of why such an evolution is required, coupled with the recent feeling that many students are hard to understand why a website requires such complex technologies, with the idea of writing this article, this article will describe a typical Architecture Evolution and a kno
Http://developer.51cto.com/art/200810/91460.htm
There have been some articles about the evolution of large website architectures, such as livejournal and eBay, which are very worthy of reference. However, they feel more about the results of each evolution, without a detailed explanation of why such an evolution is required, coupled with the recent feeling that many students are hard to understand why a website requires such complex technologies, with the idea of writing this article, this articl
In addition, many people recently feel that it is difficult to understand why a website requires so complex technology. As a result, they have the idea of writing this article, in this article, we will describe a typical Architecture Evolution and knowledge system in the process of developing a general website into a large website, I hope to give some preliminary ideas to those who want to engage in the Internet industry. :), Please give more suggestions for the mistakes in this article, so that
, disable the cman service on each node in turn to close the services of the cluster.When you disable the cman service, you may be prompted to disable the service. In this case, you can check whether the local shared storage GFS2 file system has been uninstalled, you can also check whether the rgmanager service of other nodes is properly disabled.3. Manage application servicesAfter the cluster system is started, the application service is automatically started by default. However, if an applicat
Describe the evolution of a typical architecture and the knowledge system that needs to be mastered in the process of developing a general website into a large website, hoping to give some preliminary ideas to those who want to engage in the Internet industry ,, please give me more suggestions for the mistakes in this article, so that this article can be used as an example.
Architecture Evolution Step 1: physically separate webserver and database
At t
/MySQL-5.5/mysql-5.5.17.tar.gz # Create users and Groups# Build a MSYQL user and groupGroupadd MySQLuseradd-g MySQL mysql-s/usr/sbin/nologin # Create installation directoryMkdir-p/usr/local/webserver/mysql # CREATE DATABASE DirectoryMkdir-p/home/mysql/3306/data # decompressionTAR-ZXVF mysql-5.5.17.tar.gzCD mysql-5.5.17 # Compile and install MySQL# CMake, the parameters can not be so much, as long as a-dcmake_install_prefix=/usr/local/
Install Sphinx recommended installation Sphinx 2.0.7-release http://sphinxsearch.comwget Http://sphinxsearch.com/files/sphinx-2.0.8-release.tar.gztar ZXVF SPHINX-2.0.8-RELEASE.TAR.GZCD Sphinx-2.0.8-release./configure--prefix=/usr/local/webserver/sphinx--with-mysql=make make Install Note:--prefix: Specify where to install Sphinx, my installation directory is "/usr/local/webserver/sphinx"--with-mysql:mysql t
the program architecture, if the data operation has unified DAO package, you can use observer mode to clean up outdated data, not subject content, data self-examination.
Faced with the above problems, Handlersocket project is a good solution, it through plug-ins to give MySQL complete NoSQL function, from the principle, it skips the most time-consuming in MySQL syntax parsing, query plan, and other steps, directly read the data, if the memory is large enough to be able to load the index, MySQL
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.