Intermediary transaction http://www.aliyun.com/zixun/aggregation/6858.html ">seo diagnose Taobao guest cloud host technology Hall
Recently I changed the website for a new server, just to build the server environment. Complete the server environment for the 4th time in the past few years. Borrow ADMIN5 and share some experience of independent server building. This article mainly focuses on the process of server building some of the common combination of choice, for a variety of environment comparisons, for the specific construction process, please Niang search, here is not to elaborate.
1, is the server hardware configuration choice. In the IDC Select Server is, always be attracted by the high configuration of the server, but the high configuration of the server needs to do, for us, the choice of servers to be more with their own web site now and the future of the development of a period of time to choose. At the same time, the maximum number of online people, response times per second, server Software environment is the decision CPU and memory selection of the main indicators. For the General WEB2 Web site, if the main provision is the content of the release of information, a four-core 4G memory independent server with Linux system, Nginx + PHP (FastCGI) server, can withstand 30,000 concurrent connections, using Apache can run to 3,000 concurrent connections. From the data seems to be far more than the vast majority of web site requirements, but in fact due to a variety of constraints is difficult to achieve, the next we can slowly introduce. But if it is a day IP hundreds of thousands of site, as long as the site deployment is reasonable, content for general information release, can be satisfied.
The size of the data stored in the Web site determines the size of the site hard disk, if the download station, and downloaded content on the same server, you need to consider the larger hard disk and export bandwidth. Some site data is small, but the file is very large and smaller, this time may be due to hard disk read speed affect the speed of the site, this can be resolved through distributed deployment.
2, is the server operating system selection. The operating system is basically between window and Liunx. For personal webmaster, my personal advice is to choose a familiar operating system. If you are unfamiliar, it takes too much time to learn again. Post-server maintenance and optimization is also a headache. I have seen that will not use the liunx of children's shoes with Liunx set up the site, and later because many places unreasonable, the site is black, the data are all gone. By the way, it's very important to do backups regularly.
3. Server environment. The server environment is based on a stable and mature solution.
PHP recommends using the LIUNX system, and the ASP recommends Windows. Of course, the 2nd condition of priority "for and personal webmaster, the proposal is to choose their familiar operating system." ”
such as choice window or suggest using IIS7, if is the PHP website source code, the proposal chooses V9 version of the PHP program. Database basically has no choice, because most of the procedures are and database matching. For example, choose Liunx or recommend the use of Nginx and Apache, especially efficient and safe Nginx, currently including Sina blog, Sina Podcast, NetEase News, Tencent Network, Sohu blog and other portals have adopted the NGINX environment.
4, the version of the matching relationship. At present, most of the PHP programs are database version, PHP version requirements, of course, after downloading the newer version of the installer, most of them can be satisfied. However, for a Zend These programs, the new version of some programs support is not good, so in the selection process must be fully understood. So much, I hope to help people in need, my website www.tzyuan.com, omnipotent webmaster is always in constant learning, hehe.