taciturne.net

This notes concerns the management of SPIP hosting accounts on a Debian system.

Create a new unix account

$ sudo adduser --disabled-password --gecos [user_id] [user_id]
...
$ 
$ sudo passwd [user_id]
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully
$ 

Create a new mysql data base

See /it-notes/mysql

Configure a chroot ftp access

See /it-notes/debian/chrooted-ftp/

Expand the SPIP files in user's home directory

[user_id]@[host_id]:~/pub/web$ tar xzf SPIP_2003-06-13.tgz 
...
[user_id]@[host_id]:~/pub/web$ mv spip/* .
[user_id]@[host_id]:~/pub/web$ rmdir spip
[user_id]@[host_id]:~/pub/web$ chmod ug+w CACHE/ IMG/ ecrire/ ecrire/data/

Configure Apache

$ ln -s /home/[user_id]/pub/web/ /var/www/virtual_hosts/[host_id]/documentroot/[user_id]

Configure SPIP

Open http://xxx/[user_id]/ecrire



www taciturne.net
Creative Commons License This work is licensed under a
Creative Commons Public Domain License
.