This guide installs Eggdrop and prepares a dedicated runtime account for production use.
Debian and Ubuntu package install:
sudo apt-get update
sudo apt-get install -y eggdrop
If your distro does not provide a recent package, use the source archive listed on Eggdrop Links.
sudo useradd -r -m -d /opt/eggdrop -s /usr/sbin/nologin eggdrop
sudo mkdir -p /opt/eggdrop
sudo cp /usr/share/doc/eggdrop/examples/eggdrop.conf /opt/eggdrop/eggdrop.conf 2>/dev/null || true
sudo chown -R eggdrop:eggdrop /opt/eggdrop
sudo chmod 700 /opt/eggdrop
Edit /opt/eggdrop/eggdrop.conf and set at minimum:
nick, altnick, and admin handle valuessudo -u eggdrop eggdrop -n /opt/eggdrop/eggdrop.conf
Use -n for foreground testing. For production, run Eggdrop as a systemd service.
eggdrop -v
Confirm the bot connects to IRC and joins the expected channels.
Setting up IRC bots for production can be complex, especially when dealing with multiple networks, TLS requirements, and botnet configurations. We offer consulting services for:
Contact us at office@linux-server-admin.com or visit our contact page.