Friday, August 22, 2008

Squeezecenter & Ubuntu

After installing the .deb file from the Squeezecenter site, I had to delete a file and basically refresh a database to be able to connect through a browser. Here's how:
1. Stop apparmor and squeezecenter with the following commands-
sudo etc/init.d/apparmor stop
sudo etc/init.d/squeezecenter stop
2. Remove the problem file (/etc/apparmor.d/usr.sbin.mysqld.squeezecenter.orig). It is probably best to move this somewhere and not totally delete it. To move it to your home folder, type the following:
sudo mv /etc/apparmor.d/usr.sbin.mysqld.squeezecenter.orig ~/
3. Next delete the following database (this will be rebuilt when you restart squeezecenter):
sudo rm -fr /var/lib/squeezecenter/cache/MySQL/*
4. Now restart apparmor and squeezecenter with the following commands:
sudo etc/init.d/apparmor start
sudo etc/init.d/squeezecenter start
5. You may also have to reboot.
6. If all went well, you should be able to see your squeezecenter page by going to your server IP:9000 (Make sure you have used port forwarding, if needed, to open port 9000). For example, if your server is at 192.168.1.100, then point your browser to:
http://192.168.1.100:9000

Sources: flavor8's helpful post on the slimdevices forums

No comments: