Hello!

We are with the java team - devs, and now we are sawing our web project. To start it we needed VPS. At the moment, he has appeared with us, but no one knows how to work with him.

Please tell me how to properly install (?), Configure and start such a server. The more - the better =)

P.S. Sorry if the terminology is not correct, but I meet this problem for the first time.

Closed due to the fact that the issue is too general for the participants of D-side , aleksandr barakin , HamSter , Denis , Alex 23 Nov '16 at 7:23 .

Please correct the question so that it describes the specific problem with sufficient detail to determine the appropriate answer. Do not ask a few questions at once. See “How to ask a good question?” For clarification. If the question can be reformulated according to the rules set out in the certificate , edit it .

  • 2
    You ordered a VPS, but do not know why you need it? If this is not the case, then it is probably worth pointing out what exactly you can’t deploy on the server. - free_ze
  • Not certainly in that way. We know why we need it, but we don’t know how to configure it. "it is worth pointing out what exactly you can’t deploy on the server" - I don’t know where to start at all, since none of us even have a basic experience in working with VPS. And it is needed for the work of a web application written in java, built on rest - architecture, DB = MariaDB - Anton Turcanu
  • Better hire an admin (DEVops) - he will do everything for you. Also write the instructions. - hardworm
  • Funny joke :) - Pavel Mayorov
  • one
    If the author of the question turns to a freelancer - then in a week the question will appear on this site - "We have a configured virtual server . What should we do with it now?" - Pavel Mayorov

2 answers 2

  1. Make a list of software that you need on the server
  2. Ask the hoster how to connect to the server (usually connected via ssh)
  3. Find out which distribution is on the server. And in general, what is the OS.

The steps above can be performed in parallel

  1. For each software from the list google (название) (дистрибутив) install and do what is said.

  2. If done correctly, the server is ready to use.


There will be specific problems - google them. Or ask specific questions here (do not forget to check that such a question was not asked earlier).

  • I have IP, address, root under Linux and password. If I understand correctly, SSH is not needed here? And how to understand what kind of software (except for Linux) do I need? - Anton Turcanu
  • @ Anton Tsurkanu, can you log in to the server as an admin and install the program? If not, then your ssh is needed :) - Pavel Mayorov
  • @ AntonTsurkanu, what up to the software is only you can know what your program is using - Pavel Mayorov
  • I know what it works on and what it consists of: Java, Spring, Hibernate, Angular 2, Thymeleaf, Maria DB. - Anton Turcanu
  • @ AntonTsurkanu remove from your library list (they are part of the program, and not used by it) and add a web server - Pavel Mayorov

Put Nginx to listen to port 80 and redirect to the internal ports that listen to your web services (Spring / Play / VertX). Launch web services in Docker containers and / or configure a Continuous Integration server (for example, TeamCity) to automatically deploy applications. In the heavy version, you can use Tomcat. In more detail without specifics do not answer.

  • to start services in CI? what - etki
  • Did I really write about the launch in CI? I meant manual distribution through containers or automatic deployment through CI. No need to minus without thinking head. - Victor Khovanskiy
  • Is tomcat much harder to set up? - Anton Turcanu
  • If complex scenarios are not needed, then Tomcat will almost work out of the box, but it essentially manages servlets, not individual applications, so if individual services require different environments (different bases, environment variables, etc.), then separate them into separate resources will have to do in manual mode. Also, it does not replace the CI - these are different things. - Victor Khovanskiy
  • @VictorKhovanskiy yes - etki