W
W
WebforSelf2021-10-25 12:18:21
Nginx
WebforSelf, 2021-10-25 12:18:21

How to set up debian from scratch for websites?

I took a clean server to figure out how to set it up from scratch.
For convenience, since there will be several servers, then I installed vagrant and virtual box
I installed clean 10 debian. Now I want to make WordPress live on the server.

I don't even consider Apache, I installed ngnix. The question arose, is there any kind of gentleman's set to set everything one-time? Or write a bash script for yourself? I don't think I'm the first to encounter this.
In fact, for the site to work, I also need phpfrm, mysql and that's it? to start? Just setting up Debian from scratch for the first time.
Maybe someone has a checklist on how to set up a server from scratch.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
B
Boris Syomov, 2021-10-25
@WebforSelf

You definitely don't need either vagrant or virtual box there.
If you want to raise virtual machines on the server, there is KVM for example.
There are a lot of options for tools for deploying the same type of environments. From the same bash script, to configuration management systems, or even deploying some kind of kubernetes.
At least you need for example: nginx, php-fpm, mysql/mariadb. Perhaps something to send mail. Something to monitor is highly desirable. In general, much more is needed for everything to work well and be conveniently serviced. And the matter is not limited to a one-time setup at all - then you need to carefully look after all this.
In fact, with this level of familiarity with it all, especially if it's all set up for podakshen, and not for playing around, it would definitely be better to find someone who will do it - it's obviously too early for you.

A
Andrey Gavrilov, 2021-10-25
@thexaver

https://www.digitalocean.com/community/tutorials/h...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question