This is an old revision of the document!


Website Self Hosting

Hardware

Any old machine, or even better an old laptop (less power, less noise, less room).

Flash cache

A lot more efficient and simple on a server than on a work machine.

/var/log
/var/www
/var/lib
/var/cache ?
/var/db ?
ou tout /var... un peu gros mais ça peut passer
/tmp (ou en ram)

Create ~/.fcache dir, move all files you want to cache to it, and either create a symbolic link or configure the program to use this new location:

~/.history
~/.xsession-errors
#!/bin/sh
 
dmesg -c
rm -f /mnt/ram/disklog
#sudo sysctl vm.block_dump=1
echo 1 > /proc/sys/vm/block_dump
watch "dmesg -c >> /mnt/ram/disklog"
echo 0 > /proc/sys/vm/block_dump
hdparm -C /dev/sda
internet/self-hosting.1324547015.txt.gz · Last modified: 2013/09/19 16:42 (external edit)
CC Attribution-Share Alike 4.0 International
Driven by DokuWiki Recent changes RSS feed Valid CSS Valid XHTML 1.0