When you plan to build a personal server, you should consider some relevant factors: the service to be provided on the server, the hardware configuration recommended by the relevant service software, including the speed of the manager, the size of the hard disk, the amount of memory, your ability to pay, etc., because they are directly related to server performance In addition, if you build a personal server IP address is dynamic access, it is best to use dynamic Domain name resolution system, to achieve dynamic domain name resolution, so that other people can access your server through the domain name.
The server is the heart of the network application system. If you have a personal PC, want to configure it as a server, and to provide users with network services, first of all depends on whether it really has the appropriate capabilities. If you are looking to buy a computer and configure it as a personal server, the following may be helpful for your reference.
Acquisition of servers and related hardware
Select a suitable server to meet the needs of users, need to have a correct understanding of server use. In the case of server selection, three factors need to be considered:
① network environment and application software refer to what the main purpose of the whole system is. Specifically, the number of users supported by the server,
User type, the amount of data processed, and so on. Because the working mechanism of different application software is not the same, therefore, for different applications, the requirements of server matching is very different. The server construction described in this book includes Web servers, FTP servers, mail servers, newsgroup servers, game servers, and so on.
② server's availability server is the core of the entire network, not only in performance to meet the needs of network applications, but also to provide uninterrupted service to network customers. In fact, the reliable operation of the server is the basis of the stable function of the whole system.
③ server's optional server has low-end, midrange and high-end several types, generally speaking, the server's grade basically determines the server can support the maximum number of users. As a personal server, it is not possible to choose high-end dedicated server. At present, the more high-end personal PC is also basically capable of relatively simple server role.
The purchase of personal server can have the following three kinds of consideration:
High-grade commercial pc.pc work in Single-user and single-threaded environments, there is a significant difference from the server's multiuser environment. PC in the design of different parts selection, CONFIGURED 2-person server base 1 strategy, such as enhanced display performance, relatively poor network subsystem. High-grade PCs can be applied to environments where server performance requirements are low. Pseudo server. With the PC processor chip, server name to act as a server, a little better server using some server technology, such as professional power. Performance is slightly better than a high-end PC. Low-end server. Multiple performance metrics, such as performance, scalability, availability, and manageability, are typically compatible with a variety of operating systems to support a wide range of network environments. It is a good choice to implement the server function at low price.
The benign functioning of the server is not determined by unilateral factors. The hardware configuration for choosing the right server is only one aspect of the hardware platform that provides server performance. On the other hand, it needs to be optimally configured, and sometimes the latter is more important than the former. This will achieve the best performance at the lowest cost.
Purchase of related hardware
If the server you build is already in the network environment, then just buy a good server and a better performance network card can, because the server is in the center of data Services, data flow is large, it is easy to become the bottleneck of data exchange, as far as possible, the server to a higher bandwidth line connected to the backbone of the network. For personal servers, it is also guaranteed to be at least over 100M switching lines. Analysis of the application provided to build personal server, the general may provide applications including Web services, FTP services, mail services, BBS services, chat services, streaming media services, gaming services, etc., they have a focus on the requirements of the server. Therefore, when building a personal server, the server's hardware is configured according to the services that may be provided.
Web Services
The performance of the Web server is related to the Web site content. If the Web site is static, the requirements for the server is relatively low, the system bottleneck in order is: 3 Personal server Set up a primary network subsystem and memory. If the network system is also within your jurisdiction, it is recommended to increase network bandwidth and increase the server's memory. If the Web server is focused on intensive computing, such as dynamically generating web pages, the overall requirements for the server will be higher. System bottlenecks in turn are: Memory, CPU, disk subsystem and network subsystem. It is recommended to increase the server's memory, select the server CPU with faster operation speed, select the large-capacity server hard disk and improve the network bandwidth.
Streaming Media Services
Video servers need to be responsible for controlling media and media streaming over the network, and I/O throughput has a critical impact on server performance. The bottleneck of video server is: Network subsystem, disk subsystem and memory. It is recommended to increase network bandwidth, select the mass server hard disk, and increase the server's memory.
Audio service because of the required data storage space, the network data traffic is small, the server hardware configuration requirements are lower, now the server subsystem can basically meet the audio service. There is no special requirement for personal server purchase.
Chat Service
The performance requirements of the chat server should be considered from three aspects. If only text chat services are provided, the performance requirements for the server are relatively low; If you provide text, voice Chat Service, the requirements are higher; If you provide text, voice, video chat services, you need a relatively high performance server hardware configuration. The server bottleneck sequence is: Network subsystem, memory, disk subsystem and CPU. It is recommended to increase network bandwidth, increase server memory, adopt large-capacity server hard disk and faster server CPU.
Gaming services
The requirements of the game server are generally high, if the server configuration is low, network bandwidth is limited, the player may need to endure the pain of overtime often. The server bottleneck sequence is: memory, network subsystem, CPU. It is recommended to use high-speed CPU, the more memory the better, the wider the network bandwidth the better. It is best to operate in a 100M switching network environment.
Other services
Other services such as FTP services, mail services, BBS services, and so on, because users of these servers running speed requirements are not as high as the previous classes, so the general configuration can basically meet the corresponding needs.
Of course, no matter what type of server you are prepared to build, the higher the performance of the server, the better the network bandwidth is, if conditions permit. If in the case of limited financial resources, according to the specific circumstances of the provision of services, the use of software systems for hardware configuration needs, targeted configuration of their own servers, so as to achieve better performance.
Measures to improve server availability
System availability is an important metric to measure server performance. Usability is usually measured by the system's theoretical uptime and the actual percentage of elapsed time. In general, servers with high availability are also more expensive.
The availability of a server is determined by two things: one is the quality of the server itself, and the other is the protection of vulnerable parts, such as the redundancy of the network card technology, disk array technology, power redundancy technology, dual or cluster solutions, disk, power and even the entire host of online redundancy technology. For personal servers, it is not possible to take the high cost of technology, but the following measures can be used to improve its usability.
Leveraging IDE RAID capabilities
Disk is the storage medium of data, disk failure is also the main body of server hardware failure, the damage of data loss is often disastrous. If you purchase a computer that has disk array capabilities, it is best to take advantage of this feature. There are several ways in which IDE RAID can be implemented, where RAID-0 can significantly improve the performance of the disk subsystem, although it does not have data redundancy capabilities.
Using server-specific power
Personal server if the need for uninterrupted service, may be at the time of the boot run 5 people server set up a preliminary personal server base state, the computer's power needs to withstand the test of long hours of work. When configuring personal server hardware, it is best to use the server dedicated power supply, because the server dedicated power to ensure that the system has a clean electricity environment, reduce the occurrence of a variety of hidden failures.
Other measures
can also be installed on the personal server dust-proof network, using a number of fan cooling device, preferably on the server with automatic fan speed to adjust the function of the fan, in addition, as far as possible to place the server in the room with air conditioners, using the server as low as possible, low humidity operating environment, This will protect the stable operation of the server.
Configuration of the server operating system
The performance of the network system is affected by the performance of the network hardware and the network structure, and the performance of the server's operating system in the LAN is greatly affected. As a personal server, the operating system should be considered from the reliability of the system, ease of use and management. Server operating system to be able to afford a large number of users of the service request, with a faster speed processing data, reasonable arrangement of services and so on.
When choosing an operating system for a personal server, it is important to be aware of the system's ability to connect with the LAN and WAN so that the best possible system is supported for the services to be provided. There are a number of operating systems with good network performance, such as Windows 2000,windows Xp,linux, and so on, and the integrated nature of these operating systems makes them a major operating system on all workgroup-level servers soon. Its standard security, manageability and reliability and other powerful features, is currently the preferred operating system for small and medium sized network users. Personal server network users are not very sure, but are likely to achieve a higher number, therefore, the choice of a better performance of the operating system is critical.
If you are familiar with Linux use, it is a good choice, but the premise is skilled use, for the novice, operating Linux is far less convenient than windows. For most people, choosing the Windows family of operating systems is relatively good because most PCs currently use the Widows series of operating systems, and Windows XP and so on are similar.