[debian] [free software] [free knowledge] [sharing]

This page is under construction!!!

My server

Description: I decided to have a server with some of my stuff. In this page, installation and configuration of the server are described. There are only notes for myself, but they may be useful for someone else, who knows…

Language(s): English

This is a OVH VPS, a Debian 7 64 bits is installed by OVH.


Change root password:

ssh root@vps119329.ovh.net

Add an user:

adduser monica

Install sudo and add my user to sudo group:

aptitude update
aptitude install sudo
adduser monica sudo

Removing root from ssh

sudo vim /etc/ssh/sshd_config
   PermitRootLogin no
 sudo /etc/init.d/ssh restart


sudo aptitude install apache2

Prepare directory for luporum site:

cd /var/www
sudo mkdir luporum
sudo chown monica:monica luporum/

I am using jekyll to develop this site. To send the files of this site, I run the following command from my laptop:

jekyll build && rsync -avz --delete _site/ vps119329.ovh.net:/var/www/luporum


Edit a minimal VirtualHost for luporum site:

sudo vim /etc/apache2/sites-available/luporum
      ServerAdmin monica@probeta.net
      DocumentRoot /var/www/luporum

Enable the site:

sudo a2ensite luporum
sudo service apache2 reload

Domain name

Domain name is registered at gandi.net. The zone file at gandi.net is:

@ 10800 IN A
www 10800 IN CNAME www.luporum.org.