Salute to all. I have a VPS on Debian 7. There is a site on Django. I want to work with this site (to figure it out) on a laptop. Installed on Debian 7 laptop, pip, virtualenv ...

Question: Is it possible to deploy a copy of a VPS on my laptop with all nginx, etc.? To function locally on a laptop, all sites with VPS

PS Attempts to transfer the environment through pip freeze so far have not been crowned with success (as I understand it is necessary to transfer the environment to a certain virtualenv, but I do not know what the name of the environment there is on vps). Then there are misunderstandings on nginx ...

  • And to copy files of sites, and they will register hosts on a laptop, is it problematic? - Vlad Vlad
  • No, but I do not quite understand how. - Mikhail Sosnin
  • Well, files can be copied via ssh via scp , or via ftp using some kind of client (for example, filezilla ) - Vlad Vlad
  • Site files only? Or the entire server entirely from root? It’s just that I don’t have any problems with php sites, but for the first time, a stupor has come up against python. - Mikhail Sosnin
  • sites, why do you need everything, I do not think that you will not be able to install programs / programs you need on your laptop - Vlad Vlad

1 answer 1

Simple - how to send two bytes. With stage4, for example: http://gentoo-wiki.gentoo.ru/wiki/Stage4

  • Yes, thank you, it seems that is necessary. And you can have another stupid question: It says you need to install Gentoo there. I read that Gentoo is a distribution of GNU / Linux from which you can make almost anything. Those. I need to put on the laptop instead of Debian - Gentoo, then on the specified commands to perform operations? In this case, with the VPS, no changes will happen? - Mikhail Sosnin
  • @ MikhailSosnin You don’t need Gentoo, just by the example of Gentoo it’s shown how to do stage4. It can be made from any linux distribution. But if you have never done this, it will be difficult the first time: ( - nobody
  • Now much clearer, I will understand, thank you. - Mikhail Sosnin