برای نصب این سرور نیاز داریم :
یک سیستم که هر چقدر سرعت بالایی داشته باشه بهتر هست. البته برای تست روی vm هم میشه نصب کرد
سیستم عامل اوبونتو سرور 12 که باید از سایت دانلود کنید.Download Ubuntu Server | Ubuntu
تو این نسخه پکیج squid موجوده .
مراحل نصب اوبونتو سرور 12
1
2
Boot the system from the CD-ROM drive.
3
At the boot prompt you will be asked to select the language.
4
Select 'basic server install'.
5
Enter appropriate options for language, keyboard layout, network configuration, hostname and timezone.
6
You can then choose from several options to configure the hard drive layout. There are many ways disk layout can be configured. For detailed information please read the installing from CD documentation.
7
The Ubuntu base system is then installed.
بعد از نصب و ریستارت شدن Ubuntu server
با وارد کردن user name و پسوردی که در طول نصب پرسیده میشود وارد محیط سرور میشویم
برای وارد شدن به حالت رایت باید دستور sudo su را وارد و پسورد روت را برای بار اول تعیین کنیم.
برای دیدن ip اترنت دستور : "ifconfig" را تایپ میکنیم . در صورتی که dhcp server داشته باشیم .
eth0 اسم کارت شبکه میباشد و ip قابل مشاهده است
اپدیت کردن پکیج ها
دستور :
apt-get update
جستجو برای اسکوئید "apt-cache search "squid" | grep "^squid"
نصب اسکوئید
apt-get install squid squid-common
So we are installing two packages
squid
squid-common
Do you want to continue? Y
موضوعات مشابه: