You are here:Home > Best VPN > How to set up and maintain proxy servers in university computer rooms

How to set up and maintain proxy servers in university computer rooms

Summary:There are about dozens of classrooms, teaching bases, laboratories, computer rooms, etc., with over 3000 networked computers. Our school currently has…
horizonVPN Official website sandVPN Official website VPNhood Official website hailianVPN Official website
GoduckVPN Official website Fast Wind VPN Official website Fast Orange VPN Official website(Recommend) NetShekanVPN Official website

This book is available as an e-book in EPUB format

PayPal sponsors this website for any amount. I will send you an EPUB e-book via email. Please send me an email

Email: shuxueha@outlook.com

PayPal: https://paypal.me/zhipinglei

You can also scan the PayPal QR code below to sponsor

You can also purchase this book on Amazon: click to enter the Amazon official website

There are about dozens of classrooms, teaching bases, laboratories, computer rooms, etc., with over 3000 networked computers. Our school currently has two exports, one with a speed of 10Mbps, which is connected to the China Education and Research Network CERNET through optical fiber, and the other with a speed of 4Mbps, which is connected to China Telecom.

1、 User needs:

The main users of our campus network are students and teachers. According to statistics, about 80% of users use resources such as WWW and FTP. Our school currently has 126 Chinanet IPs, which cannot be distributed to all users. Setting up a proxy server to enable all users to access network resources is the simplest, relatively secure, and reliable method. By setting up specialized WWW (FTP) proxies to meet users' primary needs, and by setting up SOCKS5 proxies to meet users' other needs.

hardware

A cache server can be composed of a regular PC server and cache software (such as Squid, Inktomi), or it can be a software and hardware system and a dedicated cache server. According to the actual situation of Chinanet's export, the maximum amount of incoming data per second for a 4Mbps export is about 500K/s. Our school's backbone network nodes have dual gigabit connections, with 100Mbps reaching some laboratories and 10Mbps reaching dormitories. The maximum amount of data sent out is about 12M/s. The amount of data transmitted is not very large, and using traditional IA32 architecture servers can meet the requirements. Our school's network center host room uses cabinets to store servers. HP's LH6000 server has strong scalability and is a new type of six way server. The computational load of proxy servers is not very heavy, and they have high requirements for IO. LH6000 can meet this requirement through custom configuration. By using RAID, disk performance can be improved and data reliability can be increased. Proxy server software consumes a large amount of memory. LH6000 can support 8GB of memory. The final selected configuration is as follows:

Configuration

Processor: 1 Intel Pentium III Xeon 700MHz processor with a 100MHz system bus

Memory: 1G PC-133 ECC SDRAM

Disk controller: Integrated with 32MB high-speed cache dual channel Ultra3 SCSI HP NetRAID controller

Additional Single Channel: Ultra Wide SCSI Controller

Built in storage: Hot swappable 5x18G half height drive

Network card: Built in INTEL 82559 100M network card

Power supply: 3 hot swappable power supplies

RAID uses RAID5 mode, which writes data to the disks in the array, with parity data stored on each disk in the array, allowing individual disk errors. RAID 5 also ensures data security through the checksum of data, but it does not store the checksum of data on separate hard drives. Instead, it stores the checksum of data segments interactively on various hard drives. In this way, any damaged hard drive can be reconstructed based on the parity bits on other hard drives.

Software

Squid Internet Object Cache (a later version of the Harvest Project) is a research project heavily supported by the US government. Squid is an open-source proxy server software. It is a fully functional proxy server software designed to run on UNIX systems. It can cache for HTTP protocol, FTP protocol, and other protocols that use URL based localization. It supports clients to use SSL protocol for data transmission. It can collaborate with other servers running Squid using protocols and methods such as ICP, HTCP, CARP, Cache Digests, etc. It supports SNMP protocol and can be coordinated and managed using corresponding software. And it can configure detailed access control lists (ACLs).

Operating System

Previously, the school's proxy server used Linux as the operating system. This is because previous proxy servers often also served as other servers. Many server software are specifically developed for Linux or run most efficiently on Linux. Squid itself was developed for the unix like operating system. There are not too many requirements for the system itself. Currently, our Chinanet proxy server is using FreeBSD as the operating system.

There are several reasons why I did not choose Linux:

The core development of Linux is relatively open, while the core of FreeBSD is completed by a strict core team. Relatively stricter inspection. Compared to the core, the BSD kernel is more stable.

Linux is not as capable of handling high loads as FreeBSD. BSD has a much stronger tolerance for program errors under high loads than Linux.

Many famous websites, such as Yahoo, Netease, and other well-known commercial websites, use FreeBSD, which has been evaluated by many experts for its stability and performance, far superior to Linux.

In the famous article "Linux vs BSD: A Tale of Two Systems", Freebsd is evaluated as follows: FreeBSD focuses on the Intel Architecture PC and server platforms, and on providing the best performance and stability possible. The DEC/Compaq Alpha is also supported.

But Freebsd also has weaknesses that are not as good as Linux. Mainly manifested in the performance of disk IO. This is mainly because the performance of the file system UFS used by Freebsd is not as good as ext2/ext3 used on Linux. But with the addition of softupdate, there will be significant improvements. Moreover, the configuration on the overseas agent uses Raid5 mode, and the disk uses a high-speed SCSI hard drive. With the above hardware configuration, the efficiency difference between reading small files of size k from Squid cache using ext2 and ufs+softupdate is less than one ten thousandth. For proxy servers that load thousands of users, such efficiency differences can be ignored.


High-speed VPN Fast VPN Preferred Accelerator VPN Reliable VPN
High quality VPN Old fashioned VPN Stable VPN(Recommend) Smooth VPN
Share with Friends: