Skip to content

Instantly share code, notes, and snippets.

@josvazg
Last active July 19, 2016 15:40
Show Gist options
  • Save josvazg/b80e0517a4fb1e30101e1b764dc064ce to your computer and use it in GitHub Desktop.
Save josvazg/b80e0517a4fb1e30101e1b764dc064ce 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