Because the service purpose of the host is different, the required hardware level and equipment are naturally different! I would like to mention the hardware configuration plan that each service may require. of course, I still have to remind you that
Because the service purpose of the host is different, the required hardware level and equipment are naturally different! I would like to mention the hardware configuration plan that each service may require. of course, I still have to remind you that every friend has different requirements. so before designing your host, consider your needs first. However, if you don't know why, take a common computer first! Remember! Do not place important materials on the exercise Linux host!
Create an environment where Windows and Linux coexist:
This is because the hardware generally has sufficient support for Windows, and if you want this machine to work in Windows without using Linux, now you need to use multiple boot menus! Linux itself has at least two very good multi-boot programs, called LILO and Grub. if you need more than two operating systems on your host, such as Windows 98 and Linux, then you must first install Windows 98 and then the Linux system! Of course, what if you install Linux before Windows? Can I make multiple boot times successfully? Of course! However, you need to learn the concept of "multiple boot". we will continue to talk about this part later. Don't worry! Basically, multiple boot operations involve hard disk planning. if your hard disk has 6 GB, you can first divide the hard disk by DOS Fdisk or other partitioning programs such as SPFdisk. Only cut out the sectors required by Windows. For example, if you want to allocate 1 GB to windows, you can use Fdisk to separate a 1 GB master! Other methods can be used when Linux is used! This branch will be mentioned later!
Again, I would like to report to you about your Linux host system. if you are using an older computer as the host, and mail is expected to be installed on it, WWW and other server software, so it needs to be started all day, the year round, so the installation of Windows and Linux coexistence environment is acceptable, but please plan the Windows hard disk a little bit! So that your Linux host can have more space to provide better services. Okay! What host services do you need now? Generally, for non-enterprises, small enterprises, or school organizations, the following services are usually required:
NAT (Network Address Transfer ):
If you are a small-sized enterprise or an ordinary primary or secondary school, your organization's external online connection should usually be: "Apply for a fixed IP address, and then use the IP sharing tool) to achieve the Internet connection mechanism for all computers in the school! Success! Isn't a real IP address (Public IP) required for connecting to the Internet? doesn't every computer need an IP address? So you only have to apply for one Public IP address. how can I set the IP address of other computers? As early as when planning this IPv4 protocol (that is, the current IP address settings! ), Considering the possible IP address shortage! In this case, there is a Private IP address (or Private IP address or reserved IP address) dedicated for the internal domain. Note that, these Private IP addresses cannot communicate with the Public IP addresses on the Internet!
So how can I connect my internal computer through the IP address sharer? This is the so-called Network Address Transfer function! When the internal computer is connected to the Internet, you need to use the NAT technology to set the IP address settings in the data packets of your internal computer to the real IP address of the NAT host, then, your internal computer uses a private IP address. However, when you connect to the Internet, you can use the NAT technology of the NAT host, changed the IP source! Haha! In this way, you can request information from the Internet! This part will be mentioned again in the network basics! When the old computer is used as the host, the biggest utility is to use it as a NAT! If your host only provides the NAT service, the most important service is the network card! The impact of other CPU, RAM, hard disks, and other hardware is relatively small!
SAMBA:
In Windows, you can easily share the archives of each other with "neighbors on the network". how can Linux share with Windows? Haha! Use SAMBA! This is also the most common file server. because the amount of data shared may be large, it is important for the system's network card and hard disk size and speed, if you provide the archive server function for different users,/home can be considered to be independent and increase the capacity.
Mail:
The Sendmail or Postfix email service is provided as soon as Linux is installed! If we apply for a free E-Mail mailbox from an external company, the huge size will reach 20 MB. However, you must know that sometimes we accidentally make the Mail capacity exceed 20 MB, in this way, your free mailbox will pop up! Sorry... but what if you set up a mail server by yourself? Haha! Which of the following is the size of your mailbox! Fun! On the mail server, it is important to separate the hard disk capacity and network card speed. in this situation, you can also separate/var and increase the capacity.
Web:
WWW is a suite installed on almost every host! Of course, if you want to promote yourself, the WWW server will never be forgotten by you! On the Web server, the CPU level is sometimes not too low, and the most important thing is RAM! It is a good consideration to increase the stability of the WWW system and improve RAM.
DHCP:
After completing NAT, you need to know that each part of your Client (Client) must be set to be able to access the Internet (the private IP concept just mentioned !)! Ah! Great trouble! So using DHCP can improve this problem! Haha! The Client does not have to set any things, so you will be able to access the internet soon! Happy! The hardware requirements of Dongdong don't have to be high.
Proxy:
This is also a server software that is often installed, especially in environments where the bandwidth of primary and secondary schools is insufficient. Proxy can effectively solve the problem of insufficient bandwidth! Of course, you can also install a Proxy inside your home! However, the hardware requirements of this server are relatively high. Not only does it require strong CPU to operate, but it also requires high hard disk speed and capacity! Naturally, since network services are provided, network cards are an important part!
FTP:
FTP is really good! But for dial-up ADSL users, setting up FTP is really unwise! Because it has a huge impact on your bandwidth! VBird is not recommended for setting up FTP! Especially security is also a headache! For FTP, your hard disk capacity is highly correlated with the quality of the network card.
In general, the server software we will install is like this! If you need a NAT service, we recommend that you install the "two network cards" on your host because it can solve the security problem of your internal computer! If you need mail and Web servers, we recommend that you apply for DNS or directly apply for a free domain name for the dynamic DNS system! If you need the Proxy service, you should be careful when designing the hard disk plan, because different cutting methods will make your Proxy performance different! If you are not very familiar with the above services, it doesn't matter. in the future, I will give you a detailed introduction to the network architecture.