When you plan to build a personal server, you should consider some related factors: the services to be provided on the server, the hardware configurations recommended by related service software, including the processor speed, hard disk size, memory size, your payment capability, etc., because they are directly related to the server performance. in addition, if the IP address of your personal server is dynamically obtained, it is best to use the dynamic domain name resolution system to achieve dynamic domain name resolution so that others can access your server through the domain name.
Servers are at the heart of network application systems. if you have a personal PC and want to configure it as a server and provide network services to users, you must first check whether it has the corresponding capabilities. if you are planning to purchase a computer and configure it as a personal server, the following content may be helpful for your reference.
Purchase of servers and related hardware
When selecting an appropriate server to meet your needs, you need to have a correct understanding of the server usage. When selecting a server, you need to consider three factors:
① Network environment and application software refer to the main purpose of the entire system. Specifically, it refers to the number of users supported by the server,
User Type, data volume processed, and so on. because the working mechanism of different application software is different, the requirements for server selection vary greatly for different applications. the server construction introduced in this book includes Web server, FTP server, email server, newsgroup server, and game server.
② Server availability servers are the core of the entire network. They not only meet network application requirements in terms of performance, but also provide uninterrupted services to network customers. in fact, the reliable operation of servers is the basis for the stable functioning of the entire system.
③ The server selection server has several types: low-end, middle-end, and high-end. Generally, the server grade basically determines the maximum number of users supported by the server. as a personal server, it is impossible to choose high-end dedicated servers. at present, relatively high-end personal PCs are basically competent for relatively simple server roles.
The following three considerations can be taken into account when purchasing a personal server:
High-end commercial PC. the PC works in a single-user and single-thread environment, which is significantly different from the multi-user environment of the server. during the design, the PC selects different components and configures two servers, such as enhanced display performance and poor network subsystems. high-end PCs can be used in environments with low server performance requirements. pseudo server. use PC processor chips and server names to act as servers. Better servers use some server technologies, such as professional power supplies. the performance is slightly better than that of high-end PCs. low-end server. performance, scalability, availability, manageability, and other performance indicators are generally taken into account, compatible with a variety of operating systems to support a variety of network environments. it is a good choice to implement server functions at a low price.
The benign operation of the server is not determined by a unilateral factor. selecting the appropriate server hardware configuration is only one aspect. It is only a hardware platform that provides server performance. on the other hand, it also needs to be optimized. Sometimes the latter is more important than the former. in this way, the best performance can be achieved at the minimum cost.
Purchase of related hardware
If the server you build is already in the network environment, you only need to purchase a server and a NIC with better performance. Because the server is in the center of the Data Service, the data traffic is high, it is easy to become the bottleneck of data communication. Therefore, we should try to connect servers to the backbone of the network with a higher bandwidth line. for a personal server, at least m is guaranteed on the switching line. analyzes and constructs personal servers for provided applications. Generally, possible applications include WEB services, FTP services, email services, BBS services, chat services, streaming media services, and game services, they have different requirements on servers. therefore, when building a personal server, you must configure the hardware of the server based on the services that may be provided.
Web Services
The performance of the Web server depends on the website content. if the Web site is static, the requirements for servers are relatively low, and the system bottleneck is: three servers set up the preliminary personal server basic network subsystem and memory. if the network system is under your jurisdiction, we recommend that you increase the network bandwidth and server memory. if the Web server is mainly engaged in intensive computing (such as dynamic generation of Web pages), the overall requirements for the server will be relatively high. the system bottlenecks are memory, CPU, disk subsystem, and network subsystem. we recommend that you increase the server memory, select a server CPU with faster computing speed, and select a large-capacity server hard disk to increase network bandwidth.
Streaming Media Service
The video server is responsible for controlling the transmission of media and media streams over the network. The I/O throughput has a critical impact on server performance. the bottlenecks of Video Servers are: Network subsystems, disk subsystems, and memory. we recommend that you increase the network bandwidth, select a high-capacity server hard disk, and increase the server memory.
Due to the data storage space required by the Audio Service, the online data traffic is small and the server hardware configuration requirements are low. Currently, the server subsystem can basically meet the requirements of the audio service. there are no special requirements for the purchase of personal servers.
Chat service
The requirements for chat server performance should be considered in three aspects. if only the text chat service is provided, the server performance requirements are relatively low; if the text and voice chat services are provided, the requirements are higher; if both the text, voice, and video chat services are provided, performance
High server hardware configuration. server bottlenecks are: network subsystem, memory, disk subsystem, and CPU. we recommend that you increase network bandwidth, server memory, and large-capacity server hard disks and servers with fast computing speed.
Game services
Generally, gaming servers have high requirements. If the server configuration is low and the network bandwidth is limited, gamers may have to endure the timeout pain. server bottlenecks are memory, network subsystem, and CPU. high-speed CPU is recommended. The larger the memory, the better the network bandwidth. it is best to run in a m exchange network environment.
Other services
Other services, such as FTP, email, and BBS, are not as fast as the previous services, the general configuration can basically meet the corresponding needs.
Of course, no matter which type of server is to be built, the higher the server performance, the better the network bandwidth, and the better the conditions permit. if the financial resources are limited, You need to configure your own servers based on the specific conditions of the services provided and the hardware requirements of the software system, so as to achieve a better cost effectiveness.
Measures to improve server availability
System availability is an important indicator of server performance. availability is usually measured by the theoretical normal running time of the system and the actual percentage of time used. Generally, high availability servers are expensive.
The availability of the server is determined by two aspects: one is the quality of the server itself; the other is the protection measures for vulnerable components, such as the NIC redundancy technology, disk array technology, and power redundancy technology, dual-host or cluster solutions, disks, power supplies, and even online redundancy of the entire host. for personal servers, it is impossible to use costly technologies, but the following measures can also be used to improve their availability.
Use the ide raid Function
Disks are the storage medium for data, and disk faults are also the subject of server hardware faults. Data loss is often disastrous. if the computer you purchased has the disk array function, it is best to use this function. currently, ide raid can be implemented in several ways. Although RAID-0 does not provide data redundancy, it can significantly improve the performance of the disk subsystem.
Use dedicated server Power Supply
If a personal server needs to provide uninterrupted services, it may take a long time to start up and run five personal servers to set up the initial foundation of the personal server. The power of the computer must be able to withstand the test of long-term work. when configuring personal server hardware, it is best to use a dedicated server power supply, because the dedicated server power supply can ensure that the system has a clean electricity environment to reduce the occurrence of hidden faults.
Other measures
You can also install a dust-proof network on a personal server and use multiple fan cooling devices. It is best to install a fan with the function of Automatically Adjusting the fan speed on the server. In addition, place servers in rooms with air conditioners as much as possible, and use servers in low-temperature and low-humidity operating environments as much as possible to protect the stable operation of servers.
Server Operating System Configuration
In addition to the performance and network structure of network hardware devices, the network system performance is also greatly affected by the operating system performance of servers in the LAN. as a personal server operating system, we should consider the reliability, ease of use and management of the system. the server operating system must be able to handle a large number of user service requests, process data at a fast speed, and arrange services reasonably.
When selecting an operating system for a personal server, you must pay attention to the system's ability to be compatible with the LAN and WAN connections, so as to provide the best system support for various services, obtain the best network performance. there are many operating systems with good network performance, such as Windows 2000, Windows XP, and Linux, these operating systems quickly become mainstream operating systems on all working group-level servers. its powerful features such as standard security, manageability, and reliability are currently the preferred Operating System for Small and Medium network users. the network users of personal servers are not very certain, but they are likely to reach a high number. Therefore, it is important to select an operating system with better performance.
If you are familiar with the use of Linux, it is a good choice, but the premise is that you can use it skillfully, for example, operating Linux is far less convenient than operating Windows. for most people, selecting Windows OS is relatively good, because most PCs currently use the Widows OS, and Windows 2000 Windows XP is similar.
- Home Server Installation experience
- Top Ten household servers
- Home server DIY Guide