LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

distccd

distcc server daemon for distributed compilation

TLDR

Start distcc daemon
$ distccd --daemon
copy
Start with allowed hosts
$ distccd --daemon --allow [192.168.1.0/24]
copy
Start in foreground
$ distccd --no-detach --daemon --allow [0.0.0.0/0]
copy
Specify listen address
$ distccd --daemon --listen [0.0.0.0]
copy

SYNOPSIS

distccd [options]

DESCRIPTION

distccd is the distcc server daemon that receives and processes compilation jobs from distcc clients on a network. It accepts preprocessed source code, compiles it using local compilers, and returns the object files to the requesting client.The daemon listens on TCP port 3632 by default and should be configured with access control to prevent unauthorized compilation requests. Security is implemented through IP address allowlists specified with the --allow option, as the protocol itself provides no authentication.distccd can limit the number of concurrent compilation jobs to prevent system overload. It logs to syslog by default but can be configured to write to specific log files. The daemon typically runs as a dedicated user with limited privileges for security.

PARAMETERS

--daemon

Run as a daemon.
--allow spec
Allow connections from specified addresses.
--listen addr
Listen on specified address.
--no-detach
Don't detach from terminal.
--port port
Listen on specified port (default 3632).
--jobs n
Maximum concurrent jobs.
--log-file file
Log to file instead of syslog.

CONFIGURATION

/etc/default/distccd

Default configuration for distccd daemon on Debian-based systems.
/etc/sysconfig/distccd
Default configuration for distccd daemon on Red Hat-based systems.

INSTALL

sudo apt install distcc
copy
sudo dnf install distcc
copy
sudo pacman -S distcc
copy
sudo apk add distcc
copy
sudo zypper install distcc
copy
brew install distcc
copy
nix profile install nixpkgs#distcc
copy

CAVEATS

Ensure firewall allows connections on port 3632. Use --allow to restrict access to trusted networks only.

SEE ALSO

distcc(1), ccache(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid