Skip to main content

Script backup databases Mysql in a local folder

I decided to completely abandon the use of ispmanager, because it takes up resources, and is used only for one thing — data backup. But since this can be done personally, then keeping the panel on the server for ten sites does not make sense at all.

That is why the first task is to create backup copies of mysql databases. The bases are small in size, so the simplest version of backups will be used - creating archives and placing them in a specific server folder.

(Further…)

Install and configure OpenVPN on Debian 8

OpenVPN is a software package that allows you to protect user traffic from “interception” by providing encrypted data transmission from the client’s device to the server with OpenVPN installed. Great for using public wifi access points where information can be intercepted by third parties. Or in the case when your ip is blocked on a certain site and you need to safely bypass this restriction.

(Further…)

Nginx rewrite rule examples

Redirect to url with slash

Some CMS for sites may open pages with a slash at the end, and without it, if the engine does not redirect itself. For example, the page http://example.net/page and http://example.net/page/ from the point of view of the visitor will be one. But for search engines, these are two different pages, and slash is to blame for everything. So duplicate content is bad.

(Further…)