from small one page howto to huge articles all in one place

search text in:




Other .linuxhowtos.org sites: www.linuxhowtos.org
toolsntoys.linuxhowtos.org



Last additions:
How to make X listen on port 6000

How to make X listen on port 6000

words:

34

views:

83090

userrating:

average rating: 1.2 (52 votes) (1=very good 6=terrible)


May, 25th 2007:
April, 26th 2007:
Apr, 10th. 2007:
Druckversion . pdf icon
You are here: Misc

Portage via NFS

You have multiple gentoo installations in your network and don't want to waste disc space for the portage tree and bandwidth to sync them all?

Just read ahead :)

installing nfs server and client

First you have to install an nfs server on the server you picked and nfs utils on the clients.
emerge nfs-utils
Next you need to enable nfs server/client support in the kernel of the machines you use. (Usually this is already enabled)

Add the needed initscripts to the runlevel and nfs should work.

server: rc-update add nfs default
client: rc-update add nfsmount default

exporting your portage tree

On the server side you need to export your portage tree:
nano -w /etc/exports
add
/usr/portage     192.168.0.0/24(rw,sync,no_root_squash)
(modify the ip/netmask according to your network settings)

start the nfs server and nfs clients

Now, start the init scripts.

cleaning clients old portage tree

Next step has to be repeated on all client machines, NOT on the server
cd /usr/portage
rm -r *
This cleans the existing portage tree.

mounting the server's tree

add this to the /etc/fstab file on each client
192.168.0.1:/usr/portage  /usr/portage  nfs  rw
mount the new tree
mount /usr/portage
if all went fine, you should see the portage tree in /usr/portage

once again, this time with the cache

repeat the steps above with the directory /var/cache/edb/dep/usr/portage this way, portage uses the server's portage cache, which speeds up things a bit.

summary

In this setup one client fetches a file, all client can use it, this saves bandwidth and time, but creates more internal network load.
Every user can sync the tree now or you could create a crontab on the server to have it sync every week. Please don't sync more than once a day.
back



Support us on Content Nation

New Packages

- as rdf newsfeed
- as rss newsfeed
- as Atom newsfeed
2026-02-04
claude-code - 2.1.30
Ebuild name:

dev-util/claude-code-2.1.30

Description

Claude Code - an agentic coding tool by Anthropic

Added to portage

2026-02-04

eigen - 3.4.9999
Ebuild name:

dev-cpp/eigen-3.4.9999

Description

C++ template library for linear algebra

Added to portage

2026-02-04

libcamera - 0.7.0-r1
Ebuild name:

media-libs/libcamera-0.7.0-r1

Description

Complex camera support library

Added to portage

2026-02-04

libdwarf - 2.3.0
Ebuild name:

dev-libs/libdwarf-2.3.0

Description

Library intended to simplify reading (and writing) applications using DWARF

Added to portage

2026-02-04

logwatch - 7.14
Ebuild name:

sys-apps/logwatch-7.14

Description

Analyzes and Reports on system logs

Added to portage

2026-02-04

mozc - 2.32.5994.102-r1
Ebuild name:

app-i18n/mozc-2.32.5994.102-r1

Description

Mozc - Japanese input method editor.

Added to portage

2026-02-04

openpgp-keys-craigsmall - 20260203
Ebuild name:

sec-keys/openpgp-keys-craigsmall-20260203

Description

OpenPGP key used by Craig Small

Added to portage

2026-02-04

openpgp-keys-gentoo-developers - 20260112-r1
Ebuild name:

sec-keys/openpgp-keys-gentoo-developers-20260112-r1

Description

Gentoo Authority Keys (GLEP 79)

Added to portage

2026-02-04

procps - 4.0.6
Ebuild name:

sys-process/procps-4.0.6

Description

Standard informational utilities and process-handling tools

Added to portage

2026-02-04

virt-firmware - 25.12
Ebuild name:

app-emulation/virt-firmware-25.12

Description

Tools for ovmf/armvirt firmware volumes

Added to portage

2026-02-04

2026-02-03
awscli - 1.44.30
Ebuild name:

app-admin/awscli-1.44.30

Description

Universal Command Line Environment for AWS

Added to portage

2026-02-03

boto3 - 1.42.40
Ebuild name:

dev-python/boto3-1.42.40

Description

The AWS SDK for Python

Added to portage

2026-02-03

botocore - 1.42.40
Ebuild name:

dev-python/botocore-1.42.40

Description

Low-level, data-driven core of boto 3

Added to portage

2026-02-03

braintree - 4.42.0
Ebuild name:

dev-python/braintree-4.42.0

Description

Braintree Python Library

Added to portage

2026-02-03

deno-bin - 2.6.8
Ebuild name:

dev-lang/deno-bin-2.6.8

Description

Modern runtime for JavaScript and TypeScript

Added to portage

2026-02-03

dropbox - 240.4.8609
Ebuild name:

net-misc/dropbox-240.4.8609

Description

Dropbox daemon (pretends to be GUI-less)

Added to portage

2026-02-03

egl-wayland2 - 1.0.1_pre20260109
Ebuild name:

gui-libs/egl-wayland2-1.0.1_pre20260109

Description

NVIDIA wayland EGL external platform library, version 2

Added to portage

2026-02-03

fsarchiver - 0.8.9
Ebuild name:

app-backup/fsarchiver-0.8.9

Description

Flexible filesystem archiver for backup and deployment tool

Added to portage

2026-02-03

git - 2.53.0
Ebuild name:

dev-vcs/git-2.53.0

Description

Stupid content tracker distributed VCS designed for speed and efficiency

Added to portage

2026-02-03

glm - 1.0.3
Ebuild name:

media-libs/glm-1.0.3

Description

OpenGL Mathematics

Added to portage

2026-02-03

gmpy2 - 2.3.0_beta1
Ebuild name:

dev-python/gmpy2-2.3.0_beta1

Description

Python bindings for GMP, MPC, MPFR and MPIR libraries

Added to portage

2026-02-03

gnatdoc - 25.0.0-r7
Ebuild name:

dev-ada/gnatdoc-25.0.0-r7

Description

GNAT Documentation Generation Tool

Added to portage

2026-02-03

gnatdoc - 25.2.0-r1
Ebuild name:

dev-ada/gnatdoc-25.2.0-r1

Description

GNAT Documentation Generation Tool

Added to portage

2026-02-03

gnatdoc - 26.0.0-r1
Ebuild name:

dev-ada/gnatdoc-26.0.0-r1

Description

GNAT Documentation Generation Tool

Added to portage

2026-02-03

gnatformat - 25.0.0-r3
Ebuild name:

dev-ada/gnatformat-25.0.0-r3

Description

Opinionated code formatter for the Ada language

Added to portage

2026-02-03

gnatformat - 26.0.0-r2
Ebuild name:

dev-ada/gnatformat-26.0.0-r2

Description

Opinionated code formatter for the Ada language

Added to portage

2026-02-03

gunicorn - 25.0.1
Ebuild name:

www-servers/gunicorn-25.0.1

Description

A WSGI HTTP Server for UNIX

Added to portage

2026-02-03

ig - 0.49.0
Ebuild name:

app-admin/ig-0.49.0

Description

Tools and framework for data collection and system inspection using eBPF

Added to portage

2026-02-03

ipython - 9.10.0
Ebuild name:

dev-python/ipython-9.10.0

Description

Advanced interactive shell for Python

Added to portage

2026-02-03

libadalang-tools - 25.0.0-r4
Ebuild name:

dev-ada/libadalang-tools-25.0.0-r4

Description

Libadalang-based tools gnatpp, gnatmetric and gnatstub

Added to portage

2026-02-03

libadalang-tools - 26.0.0-r1
Ebuild name:

dev-ada/libadalang-tools-26.0.0-r1

Description

Libadalang-based tools gnatpp, gnatmetric and gnatstub

Added to portage

2026-02-03

markdown - 26.0.0-r1
Ebuild name:

dev-ada/markdown-26.0.0-r1

Description

Provides a markdown parser written in Ada

Added to portage

2026-02-03

narwhals - 2.16.0
Ebuild name:

dev-python/narwhals-2.16.0

Description

Extremely lightweight compatibility layer between dataframe libraries

Added to portage

2026-02-03

org-modern - 1.12
Ebuild name:

app-emacs/org-modern-1.12

Description

Modern style for your GNU Emacs Org buffers

Added to portage

2026-02-03

org-modern - 1.12
Ebuild name:

app-emacs/org-modern-1.12

Description

Modern style for your GNU Emacs Org buffers

Added to portage

2026-02-03

org-modern - 9999
Ebuild name:

app-emacs/org-modern-9999

Description

Modern style for your GNU Emacs Org buffers

Added to portage

2026-02-03

orjson - 3.11.7
Ebuild name:

dev-python/orjson-3.11.7

Description

Fast, correct Python JSON library supporting dataclasses, datetimes, and n

Added to portage

2026-02-03

patool - 4.0.4
Ebuild name:

app-arch/patool-4.0.4

Description

Portable archive file manager

Added to portage

2026-02-03

plasma-vault - 6.5.5-r2
Ebuild name:

kde-plasma/plasma-vault-6.5.5-r2

Description

Plasma applet and services for creating encrypted vaults

Added to portage

2026-02-03

proto-plus - 1.27.1
Ebuild name:

dev-python/proto-plus-1.27.1

Description

Beautiful, Pythonic protocol buffers

Added to portage

2026-02-03

pydf - 16
Ebuild name:

app-admin/pydf-16

Description

Enhanced df with colors

Added to portage

2026-02-03

pyside - 6.10.2
Ebuild name:

dev-python/pyside-6.10.2

Description

Python bindings for the Qt framework

Added to portage

2026-02-03

requests-cache - 1.3.0
Ebuild name:

dev-python/requests-cache-1.3.0

Description

Persistent cache for requests library

Added to portage

2026-02-03

sqlglot - 28.8.0
Ebuild name:

dev-python/sqlglot-28.8.0

Description

An easily customizable SQL parser and transpiler

Added to portage

2026-02-03

strawberry - 1.2.18
Ebuild name:

media-sound/strawberry-1.2.18

Description

Modern music player and library organizer based on Clementine and Qt

Added to portage

2026-02-03

syncthing - 2.0.14
Ebuild name:

net-p2p/syncthing-2.0.14

Description

Open Source Continuous File Synchronization

Added to portage

2026-02-03

templates-parser - 24.0.0-r2
Ebuild name:

dev-ada/templates-parser-24.0.0-r2

Description

A template engine

Added to portage

2026-02-03

templates-parser - 25.0.0-r5
Ebuild name:

dev-ada/templates-parser-25.0.0-r5

Description

A template engine

Added to portage

2026-02-03

templates-parser - 26.0.0-r1
Ebuild name:

dev-ada/templates-parser-26.0.0-r1

Description

A template engine

Added to portage

2026-02-03

types-gdb - 16.3.0.20260203
Ebuild name:

dev-python/types-gdb-16.3.0.20260203

Description

Typing stubs for gdb

Added to portage

2026-02-03

urwid - 3.0.5
Ebuild name:

dev-python/urwid-3.0.5

Description

Curses-based user interface library for Python

Added to portage

2026-02-03

wrapt - 2.1.1
Ebuild name:

dev-python/wrapt-2.1.1

Description

Module for decorators, wrappers and monkey patching

Added to portage

2026-02-03

rdf newsfeed | rss newsfeed | Atom newsfeed
Copyright 2004-2025 Sascha Nitsch Unternehmensberatung GmbH
- Copyright and legal notices -
Time to create this page: 75.7 ms