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:

83068

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-02
alsa-tools - 1.2.11-r2
Ebuild name:

media-sound/alsa-tools-1.2.11-r2

Description

Advanced Linux Sound Architecture tools

Added to portage

2026-02-02

alsa-tools - 1.2.14-r1
Ebuild name:

media-sound/alsa-tools-1.2.14-r1

Description

Advanced Linux Sound Architecture tools

Added to portage

2026-02-02

alsa-tools - 1.2.15-r2
Ebuild name:

media-sound/alsa-tools-1.2.15-r2

Description

Advanced Linux Sound Architecture tools

Added to portage

2026-02-02

babel - 2.18.0
Ebuild name:

dev-python/babel-2.18.0

Description

Collection of tools for internationalizing Python applications

Added to portage

2026-02-02

blessed - 1.29.0
Ebuild name:

dev-python/blessed-1.29.0

Description

Library for making terminal apps using colors, keyboard input and positio

Added to portage

2026-02-02

cachetools - 7.0.0
Ebuild name:

dev-python/cachetools-7.0.0

Description

Extensible memoizing collections and decorators

Added to portage

2026-02-02

dbus-fast - 4.0.0
Ebuild name:

dev-python/dbus-fast-4.0.0

Description

A faster version of dbus-next

Added to portage

2026-02-02

gcc - 13.4.1_p20260129
Ebuild name:

sys-devel/gcc-13.4.1_p20260129

Description

The GNU Compiler Collection

Added to portage

2026-02-02

gcc - 14.3.1_p20260130
Ebuild name:

sys-devel/gcc-14.3.1_p20260130

Description

The GNU Compiler Collection

Added to portage

2026-02-02

gcc - 15.2.1_p20260131
Ebuild name:

sys-devel/gcc-15.2.1_p20260131

Description

The GNU Compiler Collection

Added to portage

2026-02-02

gcc - 16.0.1_p20260201
Ebuild name:

sys-devel/gcc-16.0.1_p20260201

Description

The GNU Compiler Collection

Added to portage

2026-02-02

git-credential-manager - 2.7.0
Ebuild name:

dev-vcs/git-credential-manager-2.7.0

Description

Secure Git credential storage supporing GitHub, Azure Repos, a

Added to portage

2026-02-02

git-sources - 6.19_rc8
Ebuild name:

sys-kernel/git-sources-6.19_rc8

Description

The very latest -git version of the Linux kernel

Added to portage

2026-02-02

gunicorn - 25.0.0
Ebuild name:

www-servers/gunicorn-25.0.0

Description

A WSGI HTTP Server for UNIX

Added to portage

2026-02-02

ig - 0.48.1
Ebuild name:

app-admin/ig-0.48.1

Description

Tools and framework for data collection and system inspection using eBPF

Added to portage

2026-02-02

iucode_tool - 2.3.1-r2
Ebuild name:

sys-apps/iucode_tool-2.3.1-r2

Description

Tool to manipulate Intel X86 and X86-64 processor microcode update co

Added to portage

2026-02-02

libdnet - 1.18.2_pre20260126
Ebuild name:

dev-libs/libdnet-1.18.2_pre20260126

Description

Simplified, portable interface to several low-level networking

Added to portage

2026-02-02

libzdb - 3.5.0
Ebuild name:

dev-db/libzdb-3.5.0

Description

A thread safe high level multi-database connection pool library

Added to portage

2026-02-02

nvidia-drivers - 580.126.09-r1
Ebuild name:

x11-drivers/nvidia-drivers-580.126.09-r1

Description

NVIDIA Accelerated Graphics Driver

Added to portage

2026-02-02

poetry - 2.3.2
Ebuild name:

dev-python/poetry-2.3.2

Description

A frontend for poetry - a python dependency management and packaging tool

Added to portage

2026-02-02

poetry-core - 2.3.1
Ebuild name:

dev-python/poetry-core-2.3.1

Description

Poetry PEP 517 Build Backend

Added to portage

2026-02-02

rich - 14.3.2
Ebuild name:

dev-python/rich-14.3.2

Description

Python library for rendering rich text, tables, etc. to the terminal

Added to portage

2026-02-02

sbcl - 2.6.1
Ebuild name:

dev-lisp/sbcl-2.6.1

Description

Steel Bank Common Lisp (SBCL) is an implementation of ANSI Common Lisp

Added to portage

2026-02-02

shadow - 4.19.3
Ebuild name:

sys-apps/shadow-4.19.3

Description

Utilities to deal with user accounts

Added to portage

2026-02-02

stockfish - 18
Ebuild name:

games-board/stockfish-18

Description

Free UCI chess engine, claimed to be the strongest in the world

Added to portage

2026-02-02

zenlib - 3.2.1
Ebuild name:

dev-python/zenlib-3.2.1

Description

Useful python decorators and utilities

Added to portage

2026-02-02

2026-02-01
caffe2 - 2.10.0-r2
Ebuild name:

sci-ml/caffe2-2.10.0-r2

Description

A deep learning framework

Added to portage

2026-02-01

clang - 23.0.0_pre20260131
Ebuild name:

dev-python/clang-23.0.0_pre20260131

Description

Python bindings for llvm-core/clang

Added to portage

2026-02-01

clang - 23.0.0_pre20260131
Ebuild name:

llvm-core/clang-23.0.0_pre20260131

Description

C language family frontend for LLVM

Added to portage

2026-02-01

clang-common - 23.0.0_pre20260131
Ebuild name:

llvm-core/clang-common-23.0.0_pre20260131

Description

Common files shared between multiple slots of clang

Added to portage

2026-02-01

commons-codec - 1.21.0
Ebuild name:

dev-java/commons-codec-1.21.0

Description

Implementations of common encoders and decoders in Java

Added to portage

2026-02-01

compiler-rt - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/compiler-rt-23.0.0_pre20260131

Description

Compiler runtime library for clang (built-in part)

Added to portage

2026-02-01

compiler-rt-sanitizers - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/compiler-rt-sanitizers-23.0.0_pre20260131

Description

Compiler runtime libraries for clang (sanit

Added to portage

2026-02-01

discord - 0.0.122
Ebuild name:

net-im/discord-0.0.122

Description

All-in-one voice and text chat for gamers

Added to portage

2026-02-01

ensurepip-pip - 26.0
Ebuild name:

dev-python/ensurepip-pip-26.0

Description

Shared pip wheel for ensurepip Python module

Added to portage

2026-02-01

evolution - 3.58.3
Ebuild name:

mail-client/evolution-3.58.3

Description

Integrated mail, addressbook and calendaring functionality

Added to portage

2026-02-01

evolution-data-server - 3.58.3
Ebuild name:

gnome-extra/evolution-data-server-3.58.3

Description

Evolution groupware backend

Added to portage

2026-02-01

evolution-ews - 3.58.3
Ebuild name:

gnome-extra/evolution-ews-3.58.3

Description

Evolution module for connecting to Microsoft Exchange Web Services

Added to portage

2026-02-01

flang - 23.0.0_pre20260131
Ebuild name:

llvm-core/flang-23.0.0_pre20260131

Description

LLVM's Fortran frontend

Added to portage

2026-02-01

flang-rt - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/flang-rt-23.0.0_pre20260131

Description

LLVM's Fortran runtime

Added to portage

2026-02-01

libclc - 23.0.0_pre20260131
Ebuild name:

llvm-core/libclc-23.0.0_pre20260131

Description

OpenCL C library

Added to portage

2026-02-01

libcxx - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/libcxx-23.0.0_pre20260131

Description

New implementation of the C++ standard library, targeting C

Added to portage

2026-02-01

libcxxabi - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/libcxxabi-23.0.0_pre20260131

Description

Low level support for a standard C++ library

Added to portage

2026-02-01

libgcc - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/libgcc-23.0.0_pre20260131

Description

Compiler runtime library for clang, compatible with libgcc_

Added to portage

2026-02-01

libunwind - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/libunwind-23.0.0_pre20260131

Description

C++ runtime stack unwinder from LLVM

Added to portage

2026-02-01

liferea - 1.16.7
Ebuild name:

net-news/liferea-1.16.7

Description

News Aggregator for RDF/RSS/CDF/Atom/Echo feeds

Added to portage

2026-02-01

lit - 23.0.0_pre20260131
Ebuild name:

dev-python/lit-23.0.0_pre20260131

Description

A stand-alone install of the LLVM suite testing tool

Added to portage

2026-02-01

lld - 23.0.0_pre20260131
Ebuild name:

llvm-core/lld-23.0.0_pre20260131

Description

The LLVM linker (link editor)

Added to portage

2026-02-01

lldb - 23.0.0_pre20260131
Ebuild name:

llvm-core/lldb-23.0.0_pre20260131

Description

The LLVM debugger

Added to portage

2026-02-01

llvm - 23.0.0_pre20260131
Ebuild name:

dev-ml/llvm-23.0.0_pre20260131

Description

OCaml bindings for LLVM

Added to portage

2026-02-01

llvm - 23.0.0_pre20260131
Ebuild name:

llvm-core/llvm-23.0.0_pre20260131

Description

Low Level Virtual Machine

Added to portage

2026-02-01

llvm-common - 23.0.0_pre20260131
Ebuild name:

llvm-core/llvm-common-23.0.0_pre20260131

Description

Common files shared between multiple slots of LLVM

Added to portage

2026-02-01

mitmproxy-linux - 0.12.9
Ebuild name:

net-proxy/mitmproxy-linux-0.12.9

Description

mitmproxy's Rust bits

Added to portage

2026-02-01

mitmproxy-rs - 0.12.9
Ebuild name:

net-proxy/mitmproxy-rs-0.12.9

Description

mitmproxy's Rust bits

Added to portage

2026-02-01

mlir - 23.0.0_pre20260131
Ebuild name:

llvm-core/mlir-23.0.0_pre20260131

Description

Multi-Level Intermediate Representation (library only)

Added to portage

2026-02-01

numpy - 2.4.2
Ebuild name:

dev-python/numpy-2.4.2

Description

Fast array and numerical python library

Added to portage

2026-02-01

offload - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/offload-23.0.0_pre20260131

Description

OpenMP offloading support

Added to portage

2026-02-01

openmp - 23.0.0_pre20260131
Ebuild name:

llvm-runtimes/openmp-23.0.0_pre20260131

Description

OpenMP runtime library for LLVM/clang compiler

Added to portage

2026-02-01

pip - 26.0
Ebuild name:

dev-python/pip-26.0

Description

The PyPA recommended tool for installing Python packages

Added to portage

2026-02-01

polly - 23.0.0_pre20260131
Ebuild name:

llvm-core/polly-23.0.0_pre20260131

Description

Polyhedral optimizations for LLVM

Added to portage

2026-02-01

pyproject-fmt - 2.12.1
Ebuild name:

dev-python/pyproject-fmt-2.12.1

Description

Format your pyproject.toml file

Added to portage

2026-02-01

rich-click - 1.9.7
Ebuild name:

dev-python/rich-click-1.9.7

Description

Format click help output nicely with rich

Added to portage

2026-02-01

scitokens-cpp - 1.3.0
Ebuild name:

dev-cpp/scitokens-cpp-1.3.0

Description

C++ implementation of the SciTokens library with a C library interface

Added to portage

2026-02-01

stone-soup - 0.34_beta1
Ebuild name:

games-roguelike/stone-soup-0.34_beta1

Description

Role-playing roguelike game of exploration and treasure-hunti

Added to portage

2026-02-01

upmpdcli - 1.9.12
Ebuild name:

media-sound/upmpdcli-1.9.12

Description

UPnP Media Renderer front-end for MPD, the Music Player Daemon

Added to portage

2026-02-01

vivaldi-snapshot - 7.9.3936.3
Ebuild name:

www-client/vivaldi-snapshot-7.9.3936.3

Description

A browser for our friends

Added to portage

2026-02-01

wcwidth - 0.5.3
Ebuild name:

dev-python/wcwidth-0.5.3

Description

Measures number of Terminal column cells of wide-character codes

Added to portage

2026-02-01

wrapt - 2.1.0
Ebuild name:

dev-python/wrapt-2.1.0

Description

Module for decorators, wrappers and monkey patching

Added to portage

2026-02-01

yt-dlp - 2026.01.31
Ebuild name:

net-misc/yt-dlp-2026.01.31

Description

youtube-dl fork with additional features and fixes

Added to portage

2026-02-01

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