Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- LibreSSL installed in $HOME and compile ZNC using it
- >> Getting Dependencies on Debian:
- apt-get build-dep znc
- >> Add User running ZNC:
- adduser znc
- su - znc
- >> Download Sources:
- wget https://github.com/libressl/portable/releases/download/v4.1.0/libressl-4.1.0.tar.gz
- wget https://znc.in/releases/znc-1.10.1.tar.gz
- >> Unpack:
- tar xvfz libressl-4.1.0.tar.gz
- tar xvfz znc-1.10.1.tar.gz
- >> Compile and install LibreSSL to $HOME:
- cd libressl-4.1.0
- ./configure --prefix=$HOME
- make
- make install
- >> Add to ~/.profile or ~/.bashrc and relogin:
- LIBRARYPATH=$HOME/lib
- export LD_LIBRARY_PATH="${LIBRARYPATH}:${LD_LIBRARY_PATH}"
- export PKG_CONFIG_PATH="$HOME/lib/pkgconfig"
- >> Compile and install ZNC to $HOME:
- cd znc-1.10.1
- ./configure CXXFLAGS=-I$HOME/include LDFLAGS=-L$HOME/lib --prefix=$HOME
- make
- make install
- >> Start compiled ZNC:
- $HOME/bin/znc
Advertisement
Add Comment
Please, Sign In to add comment