TIP: Click on subject to list as thread! ANSI
echo: aust_freebsd
to: Stephen Walsh
from: Rowan_Crowe
date: 1997-10-25 14:21:44
subject: adding a new hd/filesystem

* Stephen Walsh writes to Rowan_Crowe, on Thursday October 23 1997
   at 21:43:

 SW>>> just found my old 100mb scsi hd (as well as my old nec cdrom
 SW>>> drive) in the junk pile, and was wondering how I would go about
 SW>>> adding the hd to the freebsd system without frying anything else
 SW>>> that I've setup?

 R>> I've had to do this a couple of times recently, and hopefully I've
 R>> now got it right. I'll try to outline the steps.
 SW> [...]
 R>> Have you thought about the mount point of the new drive? What will
 R>> you be putting on it?

 SW> That was painless, went through without a problem.. The new hd's going
 SW> to be mounted as /cache for the proxy's I'll be setting up...

Good, you've thought out the issues with adding in a new drive. :) AFAIK
you can't do things like move a dedicated /var partition to a new drive and
use the space for /var for something else... it's like partitioned drives
under DOS.

 SW> The new addiotion of hd, is going to be a cache drive for proxy stuff.
 SW> What software would you recomend for running as a proxy...

Squid. To get the version I use:

ftp.sensation.net.au/pub/squid-1.NOVM.8.tar.gz
ftp.sensation.net.au/pub/squid.conf  <-- and a sample conf

mkdir /usr/src (if it doesn't exist)
cd /usr/src
tar -zxvf /path/to/squid-1.NOVM.8.tar.gz
cd squid-1.NOVM.8
make
make install

Have a look at README/INSTALL etc if the last 2 things don't work, it's
been a little while since I've compiled squid.

When it's installed, copy the squid.conf you downloaded from Sensation into
/usr/local/squid/etc/. I've gone over my squid configuration file and made
a few modifications, plus added in an extra couple of comments. Do a text
search for *CHANGE* and note the parameters which need to be changed.

After that, /usr/local/squid/bin/RunCache &

syslog should tell you it's doing a full restart, or else it will report an
error if you need to further modify the configuration file. Note that when
it runs the first time it will take a while and will thrash the HD heaps,
as it creates the cache directory structure.

After that, squid should be accepting connections on port 8080!

telnet localhost 8080
GET http://www.qonline.com.au HTTP/1.0


If you get HTML returned and it's not an error generated by Squid, then
it's all working...

Cheers.


... rowan{at}sensation.net.au  |  http://www.rowan.sensation.net.au/
---
* Origin: Sensation: Melbourne AUSTRALIA. (3:635/728.1)
SEEN-BY: 622/419 632/360 633/267 270 284 635/728 729
@PATH: 635/728 633/267

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.