解压,
tar xvzf dhcp-3.0.2.tar.gz
tar xvzf squid-2.5.STABLE9.tar.gz
cd dhcp-3.0.2
./configure
make && make install
cp server/dhcpd.conf /etc/
修改参数 vi /etc/dhcpd.conf
cp server/dhcpd.leases.5 /var/lib/dhcp/dhcpd.leases
执行 /usr/sbin/dhcpd
照葫芦画瓜
cd squid-2.5.STABLE9
./configure
make && make install
修改参数 vi /usr/local/squid/etc/squid.conf
然后执行 /usr/local/squid/sbin/squid 便可