Read the statement by Michael Teeuw here.
Step by step guide to MagicMirror on Ubuntu 22 server?
-
I’ve seen some guides for MagicMirror on linux but I am on the struggle bus trying to setup MM on a remote VPS (via SSH). Ubuntu 22 on ARM architecture. Is there a guide floating around? Has anyone done this?
-
@eqpaisley what is a VPS ?
but, run my script to install
-
@sdetweil thanks! can I use this curl command?
bash -c “$(curl -sL https://raw.githubusercontent.com/sdetweil/MagicMirror_scripts/master/raspberry.sh)”
-
@sdetweil oh sorry - a vps is a remote, virtual machine. but it functions exactly like a low power (2cores 8g of ram) ARM machine.
-
@eqpaisley does it have a local UI?
if not, then you do
npm run server
to execute the server
and then view with a browser somewhere elsethere is one install, and three different run modes
full
server
client -
@sdetweil great ty. Yeah the plan is to run this non-gui version in server mode. I’ll need to edit the config to allow remote connections from my IPs and open the right ports, etc it will be a process lol but I think I can sort it out.
-
@sdetweil could you remind me of the command to run NPM RUN SERVER in the background so it won’t quit when I close my SSH session?
Also, if I need to re-run the server (let’s say I update the config or add a module) how do I do that?
-
@eqpaisley if u setup pm2, then
pm2 status will show u the managed apps
pm2 --help will show u all the things it can do
pm2 start
pm2 restart
pm2 stop
pm2 infoall take the name of the app, or the number
if u setup pm2 q my script then it launches
MagicMirror/installers/mm.shchange the npm start to npm run server
if u didn’t setup pm2, then the script on my script
fixuppm2.sh will do that -
@sdetweil Thanks! I ended up setting up a magicmirror.service. now I use
sudo service magicmirror resartafter each tweak to my config. I have it up and running on a free oracle cloud instance and behind a reverse proxy.
I guess the danger there is that anyone with the URL can access it…but they’d have to guess the URL…right?
-
@eqpaisley right
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login