Install Brackets on Ubuntu 16.04

Install Brackets on Ubuntu 16.04

=== EDIT I have actually found an even better way: download and install the library from http://packages.ubuntu.com/trusty/amd64/libgcrypt11/download and you’re good to go. === Old article for reference I have used two sources for this article: https://brbsix.github.io/2015/10/29/fix-missing-libgcrypt11-for-brackets-text-editor/ and https://ubuntuforums.org/showthread.php?t=1687348. The problem with Brackets is that the file ibgcrypt.so.11 is missing. To install it, there are two solutions: using an ipa or modifying the deb file. This tutorial explains how to change the deb file. For this tutorial, I will work in…

Read More Read More

Install PMB on a debian jessie server

Install PMB on a debian jessie server

Thanks to https://wiki.debian-fr.xyz/Installation_d%27un_serveur_Pmb. Add the repo to use yaz by adding the following line to the file /etc/apt/sources.list: deb http://ftp.indexdata.dk/debian jessie main Download the key: wget http://ftp.indexdata.dk/debian/indexdata.asc Import the key: apt-key add indexdata.asc Remove the key from the server rm indexdata.asc Install apache aptitude update aptitude install apache2-mpm-prefork Install mysql and phpmyadmin sudo aptitude install mysql-server phpmyadmin Set all the passwords as needed. In /etc/mysql/my.cnf change max_allowed_packet = 250M. Restart mysql: service mysql restart Install PHP5 and the necessary extentions…

Read More Read More

Securely wipe out data from a hard drive

Securely wipe out data from a hard drive

It is important to understand that deleting a file from a hard drive does not delete the data but only its reference on the disk. To make sure that the data associated with a file cannot be recovered, one needs to write random data in place of the old file. This is the same with hard drives. Moreover, formating a hard drive does not mean that the data that used to be on the disk cannot be recovered. To make…

Read More Read More

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

Install/run Spark docker on Ubuntu

Install/run Spark docker on Ubuntu

Instalation sudo aptitude install docker.io You then have to add your user to the docker group. If you don’t do it, you’ll have to type a lot of command as sudo. sudo usermod -a -G docker [username] Restart your machine and you are good to go. Docker cheat sheet To see which containers are running : docker ps -a To restart a docker which has an exited status: docker start [id du docker] To open a bash on a docker:…

Read More Read More

Virtualbox kernel driver not installed issue

Virtualbox kernel driver not installed issue

I’ve ran twice into this problem. After doing an update on Ubuntu, Virtual Box gave me the message below : It seems that this happens when we update some headers. My problem was that running /sbin/vboxconfig did not solve the issue. Thanks to a post on the Untuntu Forum, here is how to fix it : sudo apt-get install linux-headers-generic build-essential dkms sudo apt-get remove –purge virtualbox-dkms sudo apt-get install virtualbox-dkms Restart the system and the problem should be fixed.

Install Spark on Ubuntu 15.05

Install Spark on Ubuntu 15.05

Install java JDK 8 Thanks http://askubuntu.com/a/106496 sudo add-apt-repository ppa:webupd8team/java sudo aptitude update sudo aptitude install oracle-jdk7-installer Install Spark Go to http://spark.apache.org/downloads.html. Choose “prebuild for Haddop xx and later” Untar the file From the source folder, run ./bin/pyspark