Uploading to a server through ssh [closed] - ssh

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 7 years ago.
Improve this question
My boss has tasked me with working on a server. It is an aws server. I have minimal experience with servers. I need to upload apache Tomcat to the server from my mac through ssh. Can someone please explain, with serious detail, what commands specifically are used to upload the tomcat application to a ubuntu aws server through SSH in the mac terminal?

If you want to install Tomcat on Ubuntu, just run:
sudo apt-get update
sudo apt-get install tomcat tomcat7-docs tomcat7-admin tomcat7-examples
Navigate to http://YOUR-IP-ADDRESS:8080/ to see if it worked.

Related

How to host .NET Core webapp in MacBook Pro using apache [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I want to host my Asp .Net Core Web Api on MacOs(Big Sur) with Apache.
Steps
Install .Net SDK on MacOS.
Configure Apache - Map Your IP address to localhost
Create your webapp and publish it
Suggestion
Read the steps of hosting webapp on linux.
Understand how to use apache to use webapp (.netcore,php,and java...)

Setup MongoDB on Apache [closed]

Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 8 years ago.
Improve this question
Is it possible to setup MongoDB on Apache? How to do this?
I have installed Apache on 127.0.0.1:8000 and MongoDb on 127.0.0.1:27017.Does it mean, that they are placed on different servers?
But how to install MongoDb on Apache, I don't know
MongoDB is a database server which is hosted on localhost:27017,
Apache is a HTTP server which in your case is hosted on localhost:8000. Both are different servers for different purposes. You cannot put a server on top of the other!
As for example, MySQL is a server running on 3306 port. Apache has a plugin to connect with it, not that MySQL runs on Apache.

Free web hosting with Tomcat? [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 9 years ago.
Improve this question
I have a .war file that needs to be deployed in a public ip in order to work. Do you know a free web host that I could try to deploy it? I know dozens solutions with Apache, PHP , MySQL but never really heard anything about Tomcat.
Any ideas?
simplest answer, even if this requires a bit of work, AWS.
Create a free AWS account.
Fire up EC2 instance in free tier
Login to EC2 instance(your own server)
Download tomcat via wget
Assign public IP to that instance and open port 8080 or whatever you assign
Deploy and enjoy!

How to Setup Mercurial Server In Ubuntu To Serve 60 repositories [closed]

Closed. This question is off-topic. It is not currently accepting answers.
Want to improve this question? Update the question so it's on-topic for Stack Overflow.
Closed 10 years ago.
Improve this question
I want to have around 60 repositories of projects and I want to serve them from a dedicated remote server(ubuntu) with the help of mercurial-server so that all my developers will be able to update their changes. I have followed this article in order to do that but I am not clearly able to understand. I have some following questions:
How to install mercurial-server? Does all repo will be controlled by "hg user" (whose directory is at server/home/hg) and does the user will be automatically created during installation of mercurial server(like mysql) ?
Do I need to install mercurial client(i.e. apt-get install mercurial) on my remote server? I know the client side must install mercurial to push/pull repo to/from remote mercurial server. What exactly the diffence between mercurial and mercurial-server ?
Note:
Please provide me a abstract (yet understandable) steps to setup mercurial server in order to serve some project from my dedicated ubuntu server if possible.
(i.e. prerequisites>install>setup>authentication for push/pull>web interface).

How to upload files to server using Putty (ssh) [closed]

Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 8 years ago.
Improve this question
Can someone help me with commands? I'm trying to upload file to server based on linux.
You need an scp client. Putty is not one. You can use WinSCP or PSCP. Both are free software.
"C:\Program Files\PuTTY\pscp.exe" -scp file.py server.com:
file.py will be uploaded into your HOME dir on remote server.
or when the remote server has a different user, use "C:\Program Files\PuTTY\pscp.exe" -l username -scp file.py server.com:
After connecting to the server pscp will ask for a password.
Use WinSCP for file transfer over SSH, putty is only for SSH commands.