Ampache install notes

Today i’m installing ampache with a nerd in training on his ubuntu laptop heres the notes

install required stuff
sudo apt-get install apache2 php5 phpmyadmin mysql-server
Go to http://localhost to see if “It Works!” if so then apache2 is running.
Then try http://localhost/phpmyadmin if it loads then ya have php5 working with apache2! requirements done. Let’s move on

make your web folders
mkdir ~/www
mkdir ~/www/ampache
cd ~/www/ampache/

get subversion
sudo apt-get install subversion

get ampache
svn checkout

set up a virtual host
jed /etc/apache2/sites-available/ampache

create a virtualhost similar to this and save

ServerAdmin webmaster@ladybug
DocumentRoot /home/eek/www/ampache/
Options Indexes
ServerName ladybug
ErrorLog /home/eek/www/ampache/
CustomLog /home/eek/www/ampache/ common

restart apache
apache2ctl restart

edit your /etc/hosts to include “ladybug”
echo " ladybug" >> /etc/hosts

goto http://ladybug in your browser if you get an ampache install screen..
You will need to have created a mysql user and database with http://your-ip/phpmyadmin

Leave a Reply

Your email address will not be published. Required fields are marked *