Browsed by
Author: nico

Manually create a bootable linux usb drive

Manually create a bootable linux usb drive

This is present on a lot of website but I keep forgetting about it. I am therefore just placing it for future reference: sudo dd if=[path to iso] of=[path to usb drive] oflag=direct count=10MB status=progress For info, to get the path of the usb drive, type: fdisk -l

Install Qemu on a kimsufi debian 9 atom

Install Qemu on a kimsufi debian 9 atom

While following a tutorial to install qemu on an atom base Debian, I had an error with a missing dependency. How To Install And Configure QEMU In Ubuntu To solve it, add to your /etc/apt/sources.list the following line: deb http://ftp.de.debian.org/debian jessie main Then apt update apt install qemu-kvm qemu virt-manager virt-viewer libvirt-bin I then had the following error while trying to create a new virtual machine : Unable to connect to libvirt.authentication unavailable: no polkit agent available to authenticate action…

Read More Read More

Set up secure vnc remote desktop from debian server

Set up secure vnc remote desktop from debian server

This article is a summary of the excellent article written on the digital ocean website and that you can consult fully on https://www.digitalocean.com/community/tutorials/how-to-set-up-vnc-server-on-debian-8. Install the window manager sudo apt install xfce4 xfce4-goodies We will install all we need to have a remote desktop First of all, we will need to find a way to connect to the host remotely. There are a number of ways to do so but my preferred way is to use VNC. Install VNC Server Install…

Read More Read More

Install openvpn gui linux mint

Install openvpn gui linux mint

In order to use an openvpn connection on Linux Mint, one has two possibilities : use the usual command sudo openvpn –config client.conf or to use a GUI. This is a guide to use a GUI. Configure Linux Mint Download the files associated with your vpn connection and save them on your computer (to generate the vpn config files using Debian, see my previous post Install openvpn debian 8). Fire up a terminal (Ctrl+Alt + t) and type sudo aptitude…

Read More Read More

WileyFox Swift voicemail error

WileyFox Swift voicemail error

At each system update on my WileyFox, the orange app can’t connect to the server and I have the following error message : “la synchronisation a échoué, vérifiez votre connexion”. To solve the problem, open the Telephone App, click on the settings button and then : Settings > Phone Settings > Calling accounts > Sim of the account > Voicemail > Untick Visual Voicemail. Kill your voicemail app, restart it and it should work.

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

Install openvpn debian 8

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