Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

To install it, perform the following steps:

No Format

        	wget https://www.dcc-servers.net/dcc/source/dcc.tar.Z
        	tar xfvz dcc.tar.Z
        	cd dcc-2.3.167
        	./configure && make && make install

You might want to replace the configure call with something like this to get an FHS compliant install:

No Format

        	./configure \
            		--bindir=$(PREFIX)/bin \
            		--libexecdir=$(PREFIX)/lib/dcc \
            		--mandir=$(PREFIX)/man \
            		--homedir=/var/lib/dcc

It's recommended to run the persistent dccifd daemon for sites scanning more messages.

No Format
		# create dcc user to run dccifd safely (Linux specific useradd arguments)
		useradd -m -U -d /var/dcc -s /bin/sh dcc 
		# homedir needs to be owned by the user
		chown -hR dcc:dcc /var/dcc
		# start dccifd as dcc user (you could add this to /etc/rc.local for system startup, or see your OS manual)
		su - -c '/var/dcc/libexec/dccifd' dcc

...