And following that howto, I now have it working. MySql 5.0.2.4 on
Ubuntu.

I have my own installation notes for all my Linux software, and here's
my steps for 6.5:


> 
> apt-get install gcc libexpat1-dev
> 
> Get the tarball
>       (e.g.) wget SlimServer_v6.5.0.tar.gz
> 
> Unzip it
>       tar -xzf SlimServer_v6.5.0.tar.gz
> 
> Move it 
>       mv SlimServer_v6.5.0 /usr/local
> 
> Symlink
>       cd /usr/local
>       rm slimserver
>       ln -s SlimServer_v6.5.0 slimserver
> 
> Build it (ignore signedness messages)
>       /usr/local/slimserver/Bin/build-perl-modules.pl
>               /usr/bin/perl
>               /usr/local/slimserver
>               /tmp
> 
> Create a MySql database
> mysql -uroot -pxxxxx
> create database slimserver;
> grant all on slimserver.* to slimserver identified by 'music';
>       
> Edit the preferences file
> nano /slim/slimserver.pref
> 
> dbsource:dbi:mysql:database=slimserver;mysql_socket=/var/run/mysqld/mysqld.sock
> dbusername: slimserver
> dbpassword: yyyyy     
> 
> (this assumes the socket is correct – see mysql_config –socket)
> 
> Ensure that permissions are correct
> chown –R /usr/local/slimserver slimserver
> chown /tmp/slimserver.log slimserver
> 
> Start it
>       cd slimserver
> ./slimserver.pl --daemon
> 
> Create a startup file /etc/init.d/slimserver
> #!/bin/sh
> echo "Starting SlimServer"
> cd /usr/local/slimserver;
> ./slimserver.pl --daemon --d_server --d_info --d_sql --logfile
> /tmp/slimserver.log
> 
> Set the file permissions
>       chmod 755 /etc/init.d/slimserver
> 
> Create the chklevel links
> cd /etc/rc2.d
> ln -s /etc/init.d/slimserver S99slimserver
> 
> 


Hope this helps.


Jim


-- 
jimwillsher
------------------------------------------------------------------------
jimwillsher's Profile: http://forums.slimdevices.com/member.php?userid=410
View this thread: http://forums.slimdevices.com/showthread.php?t=27728

_______________________________________________
discuss mailing list
[email protected]
http://lists.slimdevices.com/lists/listinfo/discuss

Reply via email to