Skip to main content

Posts

Showing posts from September, 2017

Clone, Make, Install Hiawatha Webserver on Arch Linux

pacman -Syyu # always update pacman -S libxslt # this is needed to compile and build hiawatha git clone https://github.com/hsleisink/hiawatha.git #  archlinux-git-howto cd hiawatha mkdir build cd build make install/strip #  install-cmake-from-archlinux-package /usr/local/sbin/hiawatha -d Ctrl-C nano /etc/systemd/system/hiawatha.service [Unit] Description=Hiawatha Webserver Service Requires=network.target After=network.target [Service] ExecStart=/usr/local/sbin/hiawatha Type=forking [Install] WantedBy=multi-user.target Ctl+X Y Enter systemctl enable hiawatha.service systemctl daemon-reload systemctl start hiawatha

ARCHLINUX VPN HOWTO - Install & create server files.

ROOT SESSION STARTING... Server Setup pacman -Syyu pacman -S openvpn easy-rsa cd /etc/easy-rsa export EASYRSA=$(pwd) easyrsa init-pki easy build-ca cp /etc/easy-rsa/pki/ca.crt /etc/openvpn/server/ chown root:root /etc/openvpn/server/ca.crt easyrsa gen-req localvpn nopass cp /etc/easy-rsa/pki/private/localvpn.key /etc/openvpn/server/ openssl dhparam -out /etc/openvpn/server/dh.pem 2048 openvpn --genkey --secret /etc/openvpn/server/ta.key Client Setup to be continued...