Browsed by
Month: April 2016

Install openvpn debian 8 kimsufi

Install openvpn debian 8 kimsufi

I have taken almost all the information from the excellent post from nicolargo. Install openvpn sudo aptitude install openvpn ¬†Copy the easy-rsa files to the openvpn folder sudo cp -a /usr/share/easy-rsa /etc/openvpn/ sudo chown -R $USER /etc/openvpn/easy-rsa/ Configuration of the openvpn server: You can edit the following information in ¬†/etc/openvpn/easy-rsa/vars if you wish export KEY_COUNTRY=”US” export KEY_PROVINCE=”US” export KEY_CITY=”your city” export KEY_ORG=”yourcity.com” export KEY_EMAIL=”yourcity@yourcity.co.uk” We will then generate the keys (.key) and the certificates (.crt) cd /etc/openvpn/easy-rsa source vars ./clean-all…

Read More Read More

Use port 443 for both openvpn https and ssl

Use port 443 for both openvpn https and ssl

In this tutorial, I will show how to use the same port (443) for both openvpn and https. I will start from a fresh virtual Debian 8 install. I have used several sources for this tutorial but more specifically : http://bernaerts.dyndns.org/linux/75-debian/210-debian-sslh for the sslh configuration and https://wiki.duraspace.org/display/VIVO/Localhost+Only+Webserver+Configuration for the apache2 configuration. Install apache sudo aptitude install apache2 Install a default https page (this is just for testing purposes) sudo a2ensite default-ssl sudo a2enmod ssl Restart apache sudo service apache2 restart…

Read More Read More

Fix file system access of a hfs partition from Ubuntu

Fix file system access of a hfs partition from Ubuntu

While trying to copy/modify a file on a Mac filesystem (hfs+) from Ubuntu, you will get an Read-only file system error (whether you try to do so as sudo or not). To fix it, you need to install hfsprogs: sudo aptitude install hfsprogs You then have to mount your partition/drive. With the partition on /dev/sda2 and the mount point on /mnt, it would be: sudo mount -t hfsplus -o force,rw /dev/sda2 /mnt

Install Netbeans on Mint17.3/Ubuntu 14.04 using docker

Install Netbeans on Mint17.3/Ubuntu 14.04 using docker

I was having difficulties with installing Netbeans on a Mint 17.3 machine and decided to try to use Docker for a quick fix and I was impressed, as usual with Docker, with its ease of use. This post is just a summary of a main article found on https://hub.docker.com/r/fgrehm/netbeans/. Open a terminal and type docker run -ti –rm \ -e DISPLAY=$DISPLAY \ -v /tmp/.X11-unix:/tmp/.X11-unix:rw \ -v `pwd`/.netbeans-docker:/home/developer/.netbeans \ -v `pwd`:/workspace \ fgrehm/netbeans:v8.0.1 That’s it… Note : if Netbeans does not…

Read More Read More