Page 1 of 1

There are no services in the system of Ubuntu 17.10 after installation

Posted: Sat Feb 10, 2018 10:06 pm
by jeudespr1t
Hi. I was trying to build from the source. Everything went well, but I do not see some folders(ex. /etc/openvpn) and services(ex. openvpn@server.service) in the system after installation.

How to achieve the same setup as when

Code: Select all

apt install openvpn
?

Do so:
1. Downloaded the source code from here https://github.com/OpenVPN/openvpn/arch ... 4.4.tar.gz

2.

Code: Select all

./configure --build=x86_64-linux-gnu --prefix=/usr --includedir=\${prefix}/include --mandir=\${prefix}/share/man --infodir=\${prefix}/share/info --sysconfdir=/etc --localstatedir=/var --disable-silent-rules --libdir=\${prefix}/lib/x86_64-linux-gnu --libexecdir=\${prefix}/lib/x86_64-linux-gnu --disable-dependency-tracking "CFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong -Wformat -Werror=format-security" "CPPFLAGS=-Wdate-time -D_FORTIFY_SOURCE=2" "CXXFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong -Wformat -Werror=format-security" "FCFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong" "FFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong" "GCJFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong" "LDFLAGS=-Wl,-Bsymbolic-functions -Wl,-z,relro -Wl,-z,now" "OBJCFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong -Wformat -Werror=format-security" "OBJCXXFLAGS=-g -O2 -fdebug-prefix-map=~/openvpn-2.4.4=. -fstack-protector-strong -Wformat -Werror=format-security" --host=x86_64-linux-gnu --build=x86_64-linux-gnu --prefix=/usr --mandir=\${prefix}/share/man --includedir=\${prefix}/include/openvpn --enable-pkcs11 --enable-x509-alt-username --enable-systemd --enable-iproute2
3.

Code: Select all

make
4.

Code: Select all

make install

Re: There are no services in the system of Ubuntu 17.10 after installation

Posted: Thu Feb 15, 2018 11:56 pm
by israel.acosta
keep in mind that there are two openpvn: openvpn and openvpn_AS

if you installed Access Server check /home/local/openvpn_as <-- this should have your installation files.