Caching static files in Nginx

A guide to configuring static file caching in the user's browser cache.

Changing the MySQL password-root

Description of the procedure for changing the password-root user and other MySQL users

Configuring a redirect in Apache and Nginx

A guide to setting up redirects using Apache and Nginx configuration files

Configuring the caching parameter in Nginx

Server-side caching is set up to get rid of running the same scripts all the time, which can sometimes take a full second to execute.

Connecting to VPS via SSH from MacOS

Instructions for setting up an SSH connection to a server in MacOS

Connecting to VPS via SSH from Windows

Instructions for setting up an SSH server connection in Windows

Error 500. SuPHP mode. File and folder permissions (chmod)

Internal Server Error. SuPHP operation mode and rights settings - Сhmod

File download limit

Instructions for editing the php.ini file to change the file download limit

FTP accounts - creation via SSH

Guide to creating and configuring an ftp user using the SSH shell

Handling PHP in HTML

How to enable PHP processing in HTML

How to know the version of PHP and other software via SSH

How to know the version of PHP and other software from the console on your VPS/dedicated server

How to work in the console with alternate versions of PHP

How to use alternate versions of PHP in the console

Identifying and blocking malicious email

Description of basic examples of anti-spam email server protection

Import/Export MySQL Database via SSH

Description of the procedure for importing and exporting the database via a secure SSH protocol

Initial server setup with Ubuntu 16.04

A guide to the initial configuration of the security and usability of your server

Linux commands

Examples of basic commands

Log management with LogRotate in CentOS 7

How to manage Log files with Logrotate CentOS 7

Log management with LogRotate on Debian 9

How to manage Log files with Logrotate on Debian 9

Log management with LogRotate on Ubuntu 16.04

How to manage Log files with Logrotate on Ubuntu 16.04

Nginx + GeoIP2 in Centos: blocking users from certain countries

Using the GeoIP2 module for Nginx which allows to block users from different countries

Nginx errors and troubleshooting

Description of the main errors and options for fixing them

Path to the executable file

Description of the search for the full path to an executable file

PHP Interpreter Modes

Comparison of PHP script interpreter modes

php.ini

Creating and using your own php.ini file (suPHP)

Port Proxying with Rinetd

Rinetd redirects TCP connections from one IP address and port to another, with basic IP-based access control

Protecting script folders from running third-party scripts

A guide for configuring the protection of your scripts against hacking by intruders

Protection against port scanning using Iptables

Description of examples of how to use Iptables

Redirect with .htaccess

A guide to setting up redirects using the .htaccess configuration file

Restricting access to the site via Nginx

Restricting access to the site via Nginx

Securing ssh with Iptables

Description of examples of how to use Iptables

Setting up authorization on the server with SSH key.

Creating SSH keys for secure login to your server

Site stub

How to remove the stub on the site

SSH

Information on the secure SSH shell, through which you can work with the remote server console, as if you are right next to it

SWAP in Linux

Guide to creating a SWAP partition on Linux

Using robots.txt

Guidelines for configuring site indexing with a robots.txt file