Ubuntu

Apache

Reload configuration

sudo /etc/init.d/apache2 reload

Enable .htaccess

sudo vim /etc/apache2/sites-available/default

In the ”<Directory /var/www/>” section, change:

AllowOverride None

To:

AllowOverride All

Reload Apache's configuration:

sudo /etc/init.d/apache2 reload

Ref: Ubuntu documentation: Enabling Use Of Apache Htaccess Files

Enable mod_rewrite

sudo a2enmod rewrite

Reload Apache's configuration:

sudo /etc/init.d/apache2 force-reload

Source: mod_rewrite for Apache2 in Ubuntu Feisty Fawn 7.04

Show loaded modules

sudo apache2ctl -M

Limit access to a subnet

sudo vim /etc/apache2/sites-available/default

Change:

allow from all

To:

allow from 206.12.30

Info on version you're using

Version of Ubuntu

lsb_release -a

or

cat /etc/lsb-release

Kernel version

uname -r

Install ffmpeg for FLV conversion

The default ffmpeg (installable via Synaptic) can't convert audio to MP3 (audio format for FLV). A solution is to install ffmpeg from Medibuntu repositories.

  • add Medibuntu repositories: Medibuntu
  • install ffmpeg from Medibuntu with Synaptic
  • install system updates

Example:

ffmpeg -i movie.avi -ar 22050 -ab 8 -qscale 6 -r 15 -s 320x240 -f flv  movie.flv
 
write a message
Name


City


Email (won't be displayed)




Antispam: enter the current year (2008)