About a week ago Debian 8 installed with full disk encryption, and even on the new btrfs file system. Out of curiosity, Google found an article with btrfs speed tests. And this article says, they say, this FS is rarely superior in ext4 speed. (Further…)
Replacing mod_rpaf with mod_remoteip in Apache 2.4
Today I updated Debian to Jessie on my server and found a problem: the mod_rpaf module did not display the correct client ip address, instead ip 127.0.0.1 was displayed when proxying requests from nginx to apache.
Connecting a Canon SX500 IS Camera
One of the problems that prevented me from switching to full use of Debian was incorrect work with my Canon SX500 IS camera. Yesterday put Jessie and decided to deal with the problem deeper.
On one forum I found a tip : install pcmanfm file manager. Followed the advice and, cheers, the camera is connected! :)
ps It turns out that this is relevant only for the xfce file manager.
Error ssh: reverse mapping for getaddrinfo for hostname [127.0.0.1] failed - POSSIBLE BREAK-IN ATTEMPT!
Yesterday the namecheap dns servers, to which some of my domains were delegated, were inaccessible for a certain period of time. At the same time there was a problem: do not connect to the server from filezilla via sftp.
Spam bots, postfix and fail2ban
On my server, Postfix works as an outgoing mail server, that is, it only sends mail from sites. Naturally, the 25th port is open. But most of the time all the bots are trying to use the server as an open relay. :) Naturally, they do not succeed, for the rules are set. But logs litter.
How to create a database and user MySQL
If you don’t have any convenient administration panel installed on your server and you need to add a user and a mysql database to create the site, you can do it through the console.
Useful netstat flags
Just recently, I found out about some useful netstat flags. Before that, it was too lazy to deal with her, read the manual. :) Therefore, rarely used.
And so, here is a list of some useful, at my discretion, flags. They can be specified both separately and grouped (-atunp), when you run the net stat in the console.
How to disable InnoDB in MySQL
If you do not need to use InnoDB storage for your site databases, you can disable this type of storage to save server resources.
(Further…)
How to remove the database and user mysql
Having abandoned the convenient panel to manage the server, I was faced with the need to remove the databases and users of mysql. After all, before something was done through the socket, and - manually.
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.