Created
February 24, 2017 01:49
-
-
Save leite/99d6f8bce563afbeac19c1d70325a055 to your computer and use it in GitHub Desktop.
Install znc on a cheap debian-linux hosting
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install libperl-dev libtcl8.6 libtclap-dev libtcl-perl perl-base perl-depends perl-modules python3 python3-dev perl python tcl tcl-tclreadline | |
curl -O http://ufpr.dl.sourceforge.net/project/swig/swig/swig-3.0.10/swig-3.0.10.tar.gz | |
tar xf swig-3.0.10.tar.gz | |
cd swig-3.0.10/ | |
./configure | |
make && make install | |
dd if=/dev/zero of=/var/swap.img bs=1024k count=1000 | |
mkswap /var/swap.img | |
chmod 600 /var/swap.img | |
swapon /var/swap.img | |
git clone https://github.com/znc/znc.git --recursive | |
cd znc | |
localedef -i en_US -f UTF-8 en_US.UTF-8 | |
./autogen.sh | |
./configure --enable-python --enable-perl --enable-tcl | |
make && make install | |
znc --makeconf |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment