S
S
somethinginterest2016-02-19 16:56:14
linux
somethinginterest, 2016-02-19 16:56:14

What is the best way to set up vps for one site?

I am completely inexperienced in this matter, please do not find fault with the question and answer completely, but simply, thank you.
- a site on Joomla, I don’t know how to properly characterize the resource intensity of the site - so I’ll write
this - one page (all visits to it) is a php file weighing ~ 300 kilobytes (with each page load, a simple connection to the database (only select), but itself the database is large (the table from which the select is about 200k rows) and then the output of this data is used)
The task is to withstand ~ 100k visitors per day,
there is a vps (if these resources are not enough for such a number, please write how it would be better):
virtualization xen
CPU 4x2 .8Ghz
RAM 4096 MB
is SSD
network - 100 Mbps
The selected hosting offers immediately installed ispmanager 4 lite (optional)
.
openVS - at the software level, and kvm - at the hardware level, I don’t know about xen, (1) which is better if you choose the type of virtualization?
(2) which linux distribution should I choose? what is the general difference between them? (centos, debian ..) I read that centos is better (again, I don’t know why, it’s very interesting - it seems there are more functions, but which ones? how it is applied - it’s all linux, i.e. everywhere the same console, but in different as I understand the teams are different or what? - probably this question characterizes my level of knowledge on this topic as much as possible)
I read several articles about the control panel and this is what I understood - ispmanager (which is offered to me for free, but 4 versions, when there are already 5, probably even if you choose it, it’s better to buy 5), cpanel and others are designed for sellers of hosting services, i.e. e. there are unnecessary functions that seem to create an extra load on the server. but with isp everything is very simple
in some article the author suggested using vesta, because it is "light" (compared to those mentioned above), but others indicate that it is raw and unfinished.
Let me remind you that the main thing for me is to withstand 100k, and to use resources as efficiently as possible, I
wrote this because in the comments they often write that it is best - to configure everything through the console myself.
If I find out how to do it right, then I'll do it, herewhat I need :
mail accounts (+ I will use mailgun to send mail (this is such a service for large volumes) - but I have not had time to study this issue yet, because for a start I just want to put my site on vps) fasten
the domain
accordingly ftp
ssl
cron
curl
php 5.5
phpmyadmin _ _
mysql access
>(4) so ​​which is best?(some specific panel or figure it out yourself, will it be necessary to follow all this later, if you do it yourself?)
I will be very grateful for the answer.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
I
Igor Vorotnev, 2016-02-19
@HeadOnFire

It is difficult to answer something clearly, because the question = a stream of consciousness, the level of preparation of the questioner is too low to set up and administer the server himself. Nothing personal, do not be offended, but it is better to consult a specialist. Because between your current state and the level of even a novice admin, who is able to do all this on his own "wisely" - at least 200-300 hours of training and practice.
In fact - the power of the iron of this server is enough for 100k per day. With proper use of caching, 100k per day can withstand without problems even a server with 1 core and 1 GB of RAM.

P
Pavel, 2016-02-20
@Ingg

What is the actual question? Would you like a detailed description of setting up and optimizing your web server? I advise you to look towards Nginx + PHPfpm with APC + MariaDB + Memcached + Google. From distributions I recommend Debian or Ubuntu, both distributions are great for beginners.
Phpmyadmin is a convenient thing, of course, but it also eats resources. I advise you to try Navicat.
VPS'ka will withstand a much greater load, with proper configuration and optimization.
There will be specific questions on setting up - ask.

A
AntonMZ, 2016-02-19
@AntonMZ

Wow, what a stream of unstructured thoughts!
Why is xen virtualization chosen?, why is the machine of such a configuration and where does the data about 100k visitors come from, and did I understand correctly that everyone who queries the table will start a selection from a table with 200k records?
If you can answer these questions more or less clearly, then you can still advise something, otherwise, excuse me, Google will help =)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question