Less than 5 minutes xampp installation on Ubuntu 15.10

Less than 5 minutes xampp installation on Ubuntu 15.10

Download xampp from apachefriends.org Go to your download directory. Change the file’s rights so that it can be executed chmod +x xampp-linux-[version of xampp].run Start the installer sudo ./xampp-linux-[version of xampp].run To work on a project you have on disk, the best is to create a symbolic link in the httpdocs directory of xampp (it should be in /opt/lampp/htdocs). cd /opt/lampp/htdocs sudo ln -s [path of the folder you want to work on] . Open your favorite web browser and…

Read More Read More

Create a qcow2 image of Kali

Create a qcow2 image of Kali

This tutorial has been inspired by flyingpenguin. I wanted to try to install a Kali on OpenStack but there was no images available. I do not know if it is only on this OpenStack installation but it  only accepted the upload of qcow2 formated images. I did not find an image with this file format and found a way to do it. Install the necessary dependencies. sudo aptitude install qemu-kvm libvirt-bin ubuntu-vm-builder bridge-utils virt-goodies p7zip-full Get the image wget http://images.kali.org/Kali-Linux-2.0.0-vbox-amd64.7z…

Read More Read More

Solve WordPress Could Not Create Directory

Solve WordPress Could Not Create Directory

When installing wordpress in a public_html folder (and not in var/www), we can encounter ownership problems. For example, while trying to install a theme, we can have the following message : Installing the theme… Could not create directory public_html…. The problem comes from the fact that the owner of the folder should be www-data (thank you publishingwithwordpress). The solution is simple: chown -R www-data:www-data [the wordpress directory]

Automatic update of WordPress without ftp

Automatic update of WordPress without ftp

If you don’t want/can’t install an ftp on your server but still want to update your WordPress site automatically, you just have to add one line at the end of your wordpress/wp-config.php: define(‘FS_METHOD’,’direct’);. Thanks http://www.hongkiat.com/blog/update-wordpress-without-ftp/ for the tip.

Easy vpn install on Debian 7

Easy vpn install on Debian 7

A vpn lets you redirect all your traffic to a server and use this server to connect to the internet. It has numerous advantages if you are behind a proxy or a firewall: it will let you hide your traffic, go to restricted websites and use disabled services (ssh, webdav, etc…). One popular software used to to this is called openvpn. I have to admit that setting it up can be tedious but I came across a script (https://github.com/nicolargo/openvpnscripts/) that…

Read More Read More

Fix locales fresh en install vps ovh

Fix locales fresh en install vps ovh

For some reason, when I install an English version of Debian (7 or 8) on my ovh vps, I always have locales problems. To have a system using en_US.UTF-8, simply do the following : install debconf dpkg-reconfigure locales (as root) Choose en_US.UTF-8, press OK Choose en_US.UTF-8, press OK vim /etc/default/locale Add the correct LC_ALL. Ex: LC_ALL=”en_US.UTF-8″ reboot If these changes have not worked, you just have to add this line at the end of your .bashrc: export LC_ALL=en_US.utf8