PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Saturday, January 8, 2022

[FIXED] Meteor app deployment on LAMP server

 January 08, 2022     apache, lamp, meteor, mongodb, node.js     No comments   

Issue

I'm struggling with meteor app deployment:

I have VDS with 10 websites running on RedHat OS + Apache, MySQL, PHP.

I want install Meteor app there on specific port. It is possible?

Already installed NodeJS, MongoDB... But cant deploy simple "todo" Meteor app for example. After installing Meteor faced problem with comand: meteor: command not found

I know about MUP and other staff, but how I can do it manually?


Solution

You should use meteor up - https://github.com/kadirahq/meteor-up.

I haven't done this on apache, I use nginx instead. However, what you're basically doing is a port forward / proxy. The idea is that you will get your site up and running at 00.00.00.00:3000 or domain.com:3000

From there you will create a virtual host that grabs all traffic going to that port and removes the port for viewing. For an example of that please see this answer.

Again, I typically use nginx for this because it's easier and because nginx does a much better job of serving static assets which your meteor app will need. I've written up a blog post on how to do this step by step. Check that out here.. You can really use this blog post to do your entire set up, just replace the nginx part with apache.



Answered By - thatgibbyguy
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing