Installing Squid


Squid installation is handled through the Add/Remove Software dialog. The Squid package is confusingly located under the Web Server group; this has the downside of installing Apache alongside Squid whether you like it or not. That said, you can (and should) deselect other autoinstall packages that you do not need from the Web Server category.

After Squid is installed, switch to the console and use su to get to the root account. You should run the command chkconfig --level 345 squid on to run Squid at runlevels 3, 4, and 5, like this:

[root@susannah ~]# chkconfig --list squid squid    0:off 1:off 2:off 3:off 4:off 5:off 6:off [root@susannah ~]# chkconfig --level 345 squid on [root@susannah ~]# chkconfig --list squid squid    0:off 1:off 2:off 3:on 4:on 5:on 6:off


That runs Squid the next time the system switches to runlevel 3, 4, or 5, but it will not run it just yet.



Red Hat Fedora 5 Unleashed
Red Hat Fedora 5 Unleashed
ISBN: 067232847X
EAN: 2147483647
Year: 2004
Pages: 362

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net