A
A
Alexander2015-10-18 16:35:28
Nginx
Alexander, 2015-10-18 16:35:28

System administration of sites on vps. What do you need to know for this?

Hello. Recently, I received offers to administer vps servers with websites. Everything works on ubuntu server with nginx, nodejs, php, mysql, mongodb, wordpress software. The bottom line is to install and prepare the platform. Next, monitor the load on the server and optimize.
The question is this. What do you need to know? Experience with Linux - a confident user (a little over a year since I got acquainted with nix). What languages, what software, etc.

Answer the question

In order to leave comments, you need to log in

3 answer(s)
R
ramjke, 2015-10-18
@stinger0

Languages ​​- no need to know. It is enough to correctly configure the programs.
Nginx - optimization settings (caching, keepalive, gzip, number of workers), and security (the server should not lie down under dos attacks and execute php loaded under the guise of a picture). Be able to use Rewritemode.
MySQL - caching settings (cache size, number of tables in cache).
PHP - Memcache/Xcache for caching php query results. The setting consists mainly in setting the cache size.
Wordpress - knowledge of the main attacks and installation of plug-ins from them (of the popular attacks - brute force password to the admin panel and xml-rpc attack).
Log rotation - so that disk space does not run out from swollen logs.
Fail2Ban - not to brute force passwords to ftp, smtp, ssh.
Optional - installation of a monitoring system (Zabbix, Nagios) to monitor the operation of services (nginx, mysql and other necessary ones) and site availability.
Of the load testing utilities, the simplest is ApacheBench (it just sends n requests per page), more abruptly - Jmeter (with the ability to write scripts).

D
Dimonchik, 2015-10-18
@dimonchik2013

ruhighload.com/server start from this site

R
Ruslan Fedoseev, 2015-10-18
@martin74ua

;) What word would you like to translate from the sentence that came to you? That's what it says - that's what you need to know;)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question