diode84 wrote:
> Thats interesting Steve, I have run DietPi on it before. How did you
> install LMS?
> I don't need a touchscreen.
It is pretty simple and takes about 15 minutes.
install DietPi and run the initial setup and update.
In Dietpi-Config
Change locale to en_NZ.UTF8
Change time zone to Pacific/Auckland
Using DietPi-Software, select Samba and LMS then Install selected
software.
I'm using an SSD, so to set that up:
Plug in the SSD and check dmesg to see if there were any problems
accessing it.
apt-get install gdisk
run gdisk and create 1 x 8GB partition and 1 x remainder
sudo mke2fs -t ext4 -L rootfs /dev/sda1
sudo mke2fs -t ext4 -L shared /dev/sda2
run dietpi-drive_manager
format both partitions on the SSD and then transfer the root file system
to SSD.
mount sda1 as /mnt/rootfs
mount sda2 as /mnt/shared
reboot & test
create directories for music and playlists.
mkdir /mnt/shared/music
mkdir /mnt/shared/playlists
The hardest part for me was setting up Samba. I wanted to set up an
unrestricted shared folder, which worked fine from my Mac but not from
my brother's PC. Current versions of Windows require that you have a
user code and password for your remote share, so you need to set up a
user account in DietPi just to give you access to the shared
directories.
adduser admin
passwd admin
smbpasswd -a admin
Then in /etc/samba/smb.conf
[music]
comment = Music Folder
path = /mnt/shared/music
browsable = yes
guest ok = no
read only = no
valid users = admin
create mask = 0777
directory mask = 0777
That should get you going. I've set up 3 HC1s so far - two for me and
one for my brother. As a DIY project it is as simple as it gets and they
work really well. I can see the benefit of someone else managing
software updates for me which is why I have ordered a couple of the
Core-32 micro servers devices from Polyvection to try out.
Cheers, Steve
------------------------------------------------------------------------
Steve Agnew's Profile: http://forums.slimdevices.com/member.php?userid=840
View this thread: http://forums.slimdevices.com/showthread.php?t=114159
_______________________________________________
unix mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/unix