Is it possible to run a webserver on OSMC?


#1

I would like to get spotify connect on my RPi, but the only thing I can find is https://github.com/Fornoth/spotify-connect-web

And from what I can see it runs as a webserver. Is possible to run that on OSMC?

If there happen to be better Spotify Connect option then please paste


#3

I dont see why not.
I am running a php/mysql webserver on my pi, serving 3 websites.

I dont know Spotify Connect, but i’ve found these:

http://forum.kodi.tv/showthread.php?tid=125147


http://geeks.noeit.com/turn-your-raspberry-pi-into-a-spotify-server/


#4

How do I install a webserver on OSMC, I cant see it in the store


#5

For this spotify page you showed i think it’s making its own webserver. You dont need to install one on your own.


#6

So I would have to SSH into it and then install it that way?


#7

yup,
You might wanna enable root password, to make your life easier…instead of type sudo all the time, before every command.

Log in with osmc/osmc for user and pass, then type sudo passwd root and type your new root passwd
Then log in as root with: su root and your new password.
Then do all the installation stuff.

If i was you, i’d backup my pi SD card with this: https://sourceforge.net/projects/win32diskimager/files/Archive/
so if anything goes wrong, i can always restore back to this image.


#8

Thanks


#9

Or, of course, just type “sudo bash” then do whatever you need to :slight_smile: