Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. LAMP
  3. Node.js in LAMP server?

Node.js in LAMP server?

Scheduled Pinned Locked Moved LAMP
9 Posts 5 Posters 2.0k Views 8 Watching
  • 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
    N Offline
    ntnsndr
    wrote on last edited by
    #1

    Hi friends—is there anyway to deploy Node.js on the LAMP server? or a recommended alternative approach?

    1 Reply Last reply
    2
    • robiR Offline
      robiR Offline
      robi
      wrote on last edited by robi
      #2

      It's already there in the base image, have you tried it?

      Conscious tech

      1 Reply Last reply
      0
      • girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #3

        You have to write a custom app - https://docs.cloudron.io/packaging/tutorial/

        1 Reply Last reply
        0
        • N Offline
          N Offline
          ntnsndr
          wrote on last edited by
          #4

          @girish can you confirm that @robi is incorrect is is not already there?

          timconsidineT girishG 2 Replies Last reply
          0
          • N ntnsndr

            @girish can you confirm that @robi is incorrect is is not already there?

            timconsidineT Offline
            timconsidineT Offline
            timconsidine
            App Dev
            wrote on last edited by timconsidine
            #5

            @ntnsndr

            • go to your LAMP app settings
            • open a Terminal
            • type node -v and press enter

            You should see the version of node that is running

            So you should be able to write a node app and run it
            Even maybe make use of the cron facility to start/stop, or just run manually.

            1 Reply Last reply
            1
            • N ntnsndr

              @girish can you confirm that @robi is incorrect is is not already there?

              girishG Offline
              girishG Offline
              girish
              Staff
              wrote on last edited by
              #6

              @ntnsndr What @robi and @timconsidine suggest will work. What are you trying to deploy though? If it's a full blown app, I recommend creating a pacakge. If it's just a simple cron/tool you are trying to run, you can use their suggestion.

              micmcM 1 Reply Last reply
              1
              • N Offline
                N Offline
                ntnsndr
                wrote on last edited by
                #7

                Thanks! I think this will work for us.

                1 Reply Last reply
                1
                • girishG girish

                  @ntnsndr What @robi and @timconsidine suggest will work. What are you trying to deploy though? If it's a full blown app, I recommend creating a pacakge. If it's just a simple cron/tool you are trying to run, you can use their suggestion.

                  micmcM Offline
                  micmcM Offline
                  micmc
                  wrote on last edited by
                  #8

                  @girish said in Node.js in LAMP server?:

                  @ntnsndr What @robi and @timconsidine suggest will work. What are you trying to deploy though? If it's a full blown app, I recommend creating a pacakge. If it's just a simple cron/tool you are trying to run, you can use their suggestion.

                  Alright, so in theory one could install a full MERN stack within a LAMP instance, as a development environment, right? This dev stack is getting quite much attention lately. Have you ever counted the number of apps you use which are built in REACT? Apps built with REACT are by the tons nowadays...

                  Now, in such case, since we already have MongoDB running on the Cloudron instance, wouldn't it be convenient to have a way use that MongoDB server with a MERN stack, instead of running a new MongDB within the LAMP instance?

                  Now, if that could be implemented in some way on a Cloudron instance, then maybe that could be a LAMP-MERN version or simply a MERN stack, I dunno... What do you guys think?

                  Ignorance is not an excuse anymore!
                  https://AutomateKit.com

                  robiR 1 Reply Last reply
                  2
                  • micmcM micmc

                    @girish said in Node.js in LAMP server?:

                    @ntnsndr What @robi and @timconsidine suggest will work. What are you trying to deploy though? If it's a full blown app, I recommend creating a pacakge. If it's just a simple cron/tool you are trying to run, you can use their suggestion.

                    Alright, so in theory one could install a full MERN stack within a LAMP instance, as a development environment, right? This dev stack is getting quite much attention lately. Have you ever counted the number of apps you use which are built in REACT? Apps built with REACT are by the tons nowadays...

                    Now, in such case, since we already have MongoDB running on the Cloudron instance, wouldn't it be convenient to have a way use that MongoDB server with a MERN stack, instead of running a new MongDB within the LAMP instance?

                    Now, if that could be implemented in some way on a Cloudron instance, then maybe that could be a LAMP-MERN version or simply a MERN stack, I dunno... What do you guys think?

                    robiR Offline
                    robiR Offline
                    robi
                    wrote on last edited by robi
                    #9

                    @micmc Nice idea, maybe @girish can make it easily configurable with the FileManager (like PHP version) where LAMP/MERN/MEAN is selectable or any combination in between!

                    That would be unique and slick!

                    Conscious tech

                    1 Reply Last reply
                    2
                    Reply
                    • Reply as topic
                    Log in to reply
                    • Oldest to Newest
                    • Newest to Oldest
                    • Most Votes


                    • Login

                    • Don't have an account? Register

                    • Login or register to search.
                    • First post
                      Last post
                    0
                    • Categories
                    • Recent
                    • Tags
                    • Popular
                    • Bookmarks
                    • Search