This wiki is a community-maintained resource about everything there is to know about IPFire. Join us and help us improving it!
Use the search and find answers to everything about IPFire. If you cannot find what you are looking for, join our community and talk to fellow IPFire users, developers and everybody else involved in the project.
Some may wonder at making an effort, but in embedded systems, the outsourcing of areas that are burdened by constant storage and retrieval (eg, proxy-cache), the lifetime of the CompactFlash card to extend considerably. In the following I describe the configuration of the IPFire as an NFS client and NFS server on Debian for outsourcing the booster Cache. Qualify for the "outsourcing":
On IPFIRE we need a root console:
pakfire update && pakfire install nfs
or WebGUI -> IpFire -> Install Addons -> nfs
If packages are installed successfully IPFire requires a restart on console: Code:
or WebGUI -> System -> Restart
On file server install the NFS server. On my Debian Lenny server looks like this: Code:
apt-get install nfs-kernel-server nfs-common portmap
(maybe the NFS server is already installed)
Now you must created on the server folder where the cache can be written. For example: Code:
This directory must now be made writable. The Quick n 'Dirty method are
chmod 777 /srv/router/booster/
You should take more restrictive measures the folder secure is enough. (user, group, etc.) Then contributes to the newly create directory in the /etc/exports (eg nano): Code:
(Assuming the later client (= IPFire) has the IP 192.168.0.1) then just have the change to: Code:
Now you have included the shared folders on IPFire. First, delete old cache folder any existing.
rm -R /var/updatecache
Then creates one selfsame folder again:
... select the correct user:
chown nobody:squid /var/updatecache
... Makes it writable:
chmod 775 /var/updatecache/
Now connect to the NFS server:
mount 192.168.0.10:/srv/router/booster /var/updatecache
That's it. The whole solution is quite Quick 'n Dirty. Maybe you can help them improve.
Older Revisions • July 16, 2011 at 7:47 am