Skip to content

Instantly share code, notes, and snippets.

@itsuwari
Last active July 2, 2019 13:37
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 itsuwari/8b0e6ad8df74947b8d9adf5e532897c2 to your computer and use it in GitHub Desktop.
Save itsuwari/8b0e6ad8df74947b8d9adf5e532897c2 to your computer and use it in GitHub Desktop.
apt-get install -y git build-essential protobuf-compiler protobuf-c-compiler
autogen pkg-config\
libtalloc-dev libreadline-dev libpam0g-dev libhttp-parser-dev libpcl1-dev \
libgnutls28-dev libev-dev libprotobuf-c-dev libhttp-parser-dev libseccomp-dev gnutls-bin autoconf;
wget 'ftp://ftp.infradead.org/pub/ocserv/ocserv-0.11.8.tar.xz'
tar xvf ocserv*xz && rm oc*xz*
cd ocserv*
./configure --prefix=/usr --sysconfdir=/etc
make && make install
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment