Answer the question
In order to leave comments, you need to log in
What OC and web server to choose for the site?
Good day! I'm really confused about the diversity after I started moving from shared hosting to virtual server.
OS to choose from: CentOS, Debian, Ubuntu, Windows Server, Free DSB (I don’t consider the last 2, because VestaCP does not support them, but I stopped on it, because I don’t know good (and free) alternatives Can you advise something if there is something more interesting than her)
Web servers (offered in VestaCP): nginx + apache, nginx + php-fpm, apache, no (!?)
Also a bunch of settings: ftp, mail, dns, firewall and more ( https://vestacp.com/install/ )
How does the average internet citizen make a good choice?
The server itself is calculated on several sites, some of them for personal use, and one or two for the public.
Now I have the following server characteristics: 1 core, 1 Gb RAM, 12 Gb SSD NVMe (Debian 9)
And the following server installation line (nginx + apache):
bash vst-install.sh --nginx yes --apache yes --phpfpm no --named no --remi no --vsftpd yes --proftpd no --iptables yes --fail2ban yes --quota no --exim yes --dovecot yes --spamassassin yes --clamav yes --softaculous no - -mysql yes --postgresql no --hostname ... --email ... --password ... --force
There is also 1 site, little visited (up to 150 uniques per day). RAM after a while of work is fully loaded, free about 40-60 mb. I don’t know what it depends on, maybe I don’t use a very high-quality site engine, but it’s extremely convenient for me. It may be rewritten in the future.
In the near future I plan to rent a server with the following characteristics: 3 cores, 4 Gb RAM, 48 Gb SSD NVMe
But I've been thinking about the web server and other settings. Did I choose the normal server configuration? They advised nginx + php-fpm, but due to the fact that there is no htaccess support, I had to abandon it.
I also read this article, partly based on it and selected the configuration: https://pupi-boy.ru/web-server/nastrojka-vestacp-v...
PS The engine is not WP
If you don’t want something long and you need to explain it yourself, then please give links for comparing web servers and other configurations in order to delve a little into this topic.
Answer the question
In order to leave comments, you need to log in
Judging by your question (and work experience, respectively) - you can choose any. Nothing much will change.
In detail, then
1) For beginners who don’t care and just work - apache + mod_php + anything
2) In normal life, they usually use nginx + fpm + debian (well, or something else, just debian is the most stable, and rolling over the latest versions of the software is not a problem).
3) For highload a good solution would be swoole/roadrunner + clear linux
Lots of text. And which one will be more convenient for you / administrator to administer? It seems to me that this should be retracted. Debian is a tried and tested option by admins, users of that distribution, and so on. This option is, so to speak, the default.
From a relatively new one, I advised you to take a closer look at NixOS. In case of an unsuccessful update, you can always roll back - this is very convenient and practical. While this can be a problem with Debian, you will always need to keep a fresh backup on hand, just in case.
centos / debian is usually the choice of default hosts, preference is given to the distribution kit that the staff admin knows best.
install Bitrix vm,
centos + bash script will be enough for you, then you will only need to change mbstring... =0 and you will have an excellent optimized machine, with all nginx + apache
https://www.1c-bitrix.ru /products/vmbitrix/
for any virtualization system,
but if you install it on the machine, then repos.1c-bitrix.ru/yum/bitrix-env.sh
so
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question