Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save philroche/fa3ed1548ef167e489f621b35f5ae204 to your computer and use it in GitHub Desktop.
Save philroche/fa3ed1548ef167e489f621b35f5ae204 to your computer and use it in GitHub Desktop.
#Install ZNC
sudo apt-get update
sudo apt-get install znc
#Configure Timezone on server
echo "Europe/Madrid" | sudo tee /etc/timezone
sudo dpkg-reconfigure --frontend noninteractive tzdata
#This is for running on a EBS Only t2.micro instance (covered under the free tier)
#No need to mount EBS volume separately, root fs is already RW and EBS backed
# /dev/xvda1 on / type ext4 (rw,discard)
#Prepare /data dir off root fs
sudo mkdir /data
#Create data directory for ZNC
sudo mkdir /data/znc
sudo chown -R ubuntu:ubuntu /data/znc
#Configure ZNC - output from this will give URL for web interface
/usr/bin/znc --datadir=/data/znc --makeconf
#Make sure to install the following global modules: partyline webadmin
#Make sure to install the following user modules: chansaver controlpanel perform webadmin
#This configuration is saved in /data/znc/configs/znc.conf
#Ensure you are using Firefox to access webadmin as Chrome does not support https on any port other than 443
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment