How to work with the server?

Hi all. I have many question about the server, because only today started to get to know him:
1. The server I bought to go upload a video and then deliver the website, to use cloud storage, but is expensive. Connecting I understood, but how these videos are delivered to the site, I don't know. Question: How to deliver video on the site for a direct link(or how to make it)?
2. Once I had the server, climb, found the documentation that came in the console, executed a couple of commands: type what kind of apt.... install nginx and check if nginx is running. Then generate ssh key, inserted in the right place, preserved. And then he added this key section of ssh keys for the root user. Question: do I do that?
3. What I need command to console?
OS: Ubuntu 16.04 64bit
Installed nginx
June 14th 19 at 18:11
1 answer
June 14th 19 at 18:13
Solution
1. The easiest inefficient and insecure method: add a separate location /video from root to a separate folder where you fill in the files in any way.
Will url test.com/video/123.mp4
2. Well, just remember to disable password authentication works fine if the key
3. Hire an admin or read the mana
The easiest inefficient and insecure method: add a separate location /video from root to a separate folder where you fill in the files in any way.
Will url test.com/video/123.mp4

I have a website located on the hosting and the server is live. ie I have everything apart. How then to be? - humberto.Wuckert18 commented on June 14th 19 at 18:16
just the same, just put on the website direct links to the videos. Over time you will understand how to make normal. Just make normal you may not have enough skills

video.com/video/123.mp4 feed any HTML5 player directly on the page - Kiley33 commented on June 14th 19 at 18:19
Fucking did not understand that what you have written to me. But look, until today, ie before I bought the server I had cloud storage, there were direct links to the videos. And then on the server I only see via the ftp client that is on my server, and direct links I do not see. How to make them? - humberto.Wuckert18 commented on June 14th 19 at 18:22
I would have to explain on the fingers, but do not want to waste time. There are very many articles in Russian where all chewed.

Very old article, now is not relevant in terms of commands and libraries. But in General, shows the direction

Direct links you create in your mind based on your location on the server and the name of the file filled in.

site.com/{location_name/file.name} - Kiley33 commented on June 14th 19 at 18:25
for a start you need to tie the domain to the server and make the server a virtual host for this domain) - keara_Mosciski commented on June 14th 19 at 18:28

Find more questions by tags NginxUbuntu