MagicMirror Forum
    • Recent
    • Tags
    • Unsolved
    • Solved
    • MagicMirror² Repository
    • Documentation
    • 3rd-Party-Modules
    • Donate
    • Discord
    • Register
    • Login
    A New Chapter for MagicMirror: The Community Takes the Lead
    Read the statement by Michael Teeuw here.

    Getting MM running on Debian 10 not on a RPi

    Scheduled Pinned Locked Moved Tutorials
    1 Posts 1 Posters 2.9k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • N Offline
      nimbu
      last edited by

      Hi Guys,

      I had a very specific use case where I wanted to use Debian (LXDE) with an old laptop to run Magic Mirror.

      I am by no means a linux expert! But I did some tinkering and couldnt get the install script working. The following steps might help you getting MM running on a Debian 10 machine. I used the debian-live-10.0.0-amd64-lxde.iso to install Debian.

      Once installed, log in to the system with the user you created during setup.

      Open a terminal window, and run the following:

      su
      

      Enter the root password when prompted and then run the following:

      apt-get update
      apt-get upgrade
      apt-get install openssh-server
      

      Once complete I found it easier to go back to my main machine and use putty.

      Open a Putty connection to your machine, login with the user you created during setup

      Once at the terminal, type the following:

      su
      

      Enter the root password when prompted and then run the following:

      apt-get --assume-yes install curl wget git build-essential unzip gcc g++ make
      curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash -
      apt-get update
      apt-get install -y nodejs
      apt-get install -y npm
      curl -sL https://dl.yarnpkg.com/debian/pubkey.gpg | sudo apt-key add -
      echo "deb https://dl.yarnpkg.com/debian/ stable main" | sudo tee /etc/apt/sources.list.d/yarn.list
      apt-get update
      apt-get install yarn
      exit
      

      This should return you to the mm user you have setup, at the command line type the following:

      git clone --depth=1 https://github.com/MichMich/MagicMirror.git
      cd MagicMirror/
      cp config/config.js.sample config/config.js
      npm install
      npm audit fix
      

      Close out the session and then go back to the machine and run a terminal prompt and type the following to start mm!

      cd MagicMirror
      npm start
      

      YMMV but hope this helps others out there trying to get this to work too.

      1 Reply Last reply Reply Quote 2

      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
      • 1 / 1
      • First post
        Last post
      Enjoying MagicMirror? Please consider a donation!
      MagicMirror created by Michael Teeuw.
      Forum managed by Sam, technical setup by Karsten.
      This forum is using NodeBB as its core | Contributors
      Contact | Privacy Policy