Can I have NodeJS and Apache in the same server? - apache

My boss gave me an Apache server and I need to upload files there through a web site that I'm developing, I'm using Angular 7 Cli for the frontend and NodeJS Express for the backend. I can recive all the files into my NodeJS server using "multer" but Node saves them into my computer. Is there any way to connect my Node Server to the Apache server, because I don't want to have a local server. Thanks a lot.

Related

How to connect RAILS with Red5 Server

I am trying to develop an Application with Red5 Server.
I did some of the steps:
I set up the Red5 server into our local machine (Ubuntu)
I installed the MangoDB database locally with Rails configuration.
Now My problem is: I am using Jruby(Java Ruby) as server programming. I am not able to connect my Rails to Red5 server. Is there any documentation?

Laravel 5.3 update to remote apache server

I have an Ubuntu machine in Azure with my Laravel project and it works good. Today, I used Laravel Auth on my localhost environment and it works too. I save the data in a local database.
Now I need to update my Laravel project in Azure. It is just update the project or I need some configuration on virtual machine to work with the local database?
The only thing you should focus is you have an Ubuntu instalation, either it is on DigitalOcean, AWS or Azure, all are same.
Secondly, consider installing Laravel Homestead on your local machine. That will assure you that the server and local development have all the same components, so you can be pretty sure that if it works on your localhost, it will work in your server.
As for your question, please conpare the verion of the components on your system (local) and server. If both are same, everything would be fine.

Apache Web Server Application Deployment

We are in active process of developing web application under Apache Web Server.
What is web application structure, that should be deployed on Apache Web Server? Is there documentation available?
After installing Apache Web server
you need
1) Mysql to access database and store your data
2) PHP to run scripts for retrieving data from database to display it and to save data to the database.
For windows users :
https://netbeans.org/kb/docs/php/configure-php-environment-windows.html#installComponentsSeparately
For Linux users:
https://www.digitalocean.com/community/tutorials/how-to-install-linux-apache-mysql-php-lamp-stack-on-ubuntu-16-04

Cannot access apache via external URL, only via remote desktop connection to server

I have a Windows 2012 Server via VPS hosting.
I installed IIS and MySQL last week.
I have no way to remotely access the MySQL db, so thought I'd try to set things up so that I can access it remotely.
I have installed XAMPP this evening, and installed Apache and PHP onto the server.
My domain name. e.g. mysite.com is linked to the VPS hosting, so that I can go to e.g. localhost/index.html and also mysite.com/index.html and see the same page.
I had to configure apache so that I could connect to it at the same time as running IIS, so access it via localhost:8080/phpMyAdmin/index.php. When connected via remote desktop connection, I can also access that via mysite.com:8080/phpMyAdmin/index.php.
However, if I disconnect the remote desktop connection and try again to get to mysite.com:8080/phpMyAdmin/index.php I get a timeout error.
I seem to only be able to access that URL when on the actual server that the site runs from, even though I can use the full external URL.
I wondered if there any way around this?

What is the correct way to install Celery/Redis to run the tasks on another server?

The web server itself runs django. I would like the web server to delegate the actual tasks work to another server.
First, setup your redis server on the remote server. Change your django configuration to connect to this server.
When you deploy your app, I recommend using fabric to deploy to your web server and your worker server. It should handle the restart logic as well.