IDEAL SERVERS' UPWORK !

ANY SERVERS – RELiABiLiTY, SECURiTY, PERFORMANCE.

AppArmor on CentOS 7 : Last release in RPMs on stable kernels from kernel.org

without comments

Here you can download last version of RPM packages for AppArmor. May be used on any CentOS7 machines.
Everything is checked for original kernels of kernel.org:

– 3.16.62 (kernel compiled via default config and ‘make pkg-rpm’)

Using of build-in kernel of CentOS7 with a lot of patches is not encouraged.
Always better to use original versions of kernels of own compilation (from kernel.org) for any important machines.

Written by spectre

April 3rd, 2019 at 1:40 pm

Идеально полная конфигурация Apache

without comments

Apache configuration file
Elements of this file is best used in /etc/http/conf/httpd.conf
On production servers functional of using mode with .htaccess should be disabled.

Конфигурационный файл Apache
Элементы этого файла лучше всего использовать в /etc/http/conf/httpd.conf
На производственных серверах должен быть отключен функционал использования режима с .htaccess.

v1.2 / 2019-03-01 / Andrei Volkov

Read the rest of this entry »

Written by spectre

July 14th, 2019 at 1:52 pm

Posted in Apache2

Уменьшите загрузку скриптов резервного копирования с помощью nice и ionice

without comments

Запуск сценария ночного резервного копирования в серверной системе, такой как сервер веб-хостинга, может привести к высокой нагрузке и более длительным задержкам для других процессов, например, Страницы HTML или .php загружаются медленно во время резервного копирования, потому что скрипт резервного копирования занимает слишком много ресурсов ввода-вывода или процессора.

Read the rest of this entry »

Written by spectre

July 13th, 2019 at 4:55 pm

Posted in Tips and Tricks

Protected: Firewalls: direct rules

without comments

This content is password protected. To view it please enter your password below:

Written by spectre

July 2nd, 2019 at 7:09 pm

Posted in Tips and Tricks

Apache 2.4: Getting 408 errors in our log file with no request or user agent

without comments

Do you use mpm_event?
DO you still use KeepAlive for all clients event behind of proxy?
Do you see similar messages in logs?

1
2
3
154.160.1.199 - - [19/May/2019:10:17:44 +0000] "-" 408 - "-" "-" 154.160.1.199 154.160.1.199
154.160.4.172 - - [19/May/2019:10:17:47 +0000] "-" 408 - "-" "-" 154.160.4.172 154.160.4.172
154.160.3.253 - - [19/May/2019:10:17:48 +0000] "-" 408 - "-" "-" 154.160.3.253 154.160.3.253

Read the rest of this entry »

Written by spectre

May 19th, 2019 at 12:20 pm

Posted in Apache2

MDADM: Resize underlying partitions in mdadm RAID1

without comments

Written by spectre

September 23rd, 2018 at 4:06 pm

Posted in Arrays and Disks

[Vim] Удаление повторяющихся строк в vim

without comments

Попробуй это:

Read the rest of this entry »

Written by spectre

August 22nd, 2018 at 5:22 pm

Posted in Tips and Tricks

VIRSH:KVM – Запуск удаленного доступа VNC для гостевых операционных систем

without comments

Method # 1: Command Line Option

Normally, QEMU (/usr/libexec/qemu-kvm) uses SDL to display the VGA output. With the -vnc option option, you can have QEMU listen on VNC display display and redirect the VGA display over the VNC session. When using the VNC display, you must use the -k parameter to set the keyboard layout if you are not using en-us. Valid syntax for the display is as follows:

Read the rest of this entry »

Written by spectre

February 18th, 2018 at 2:13 pm

VIRSH:KVM – Перемещение дисков в другое хранилище

without comments

Migration of disks around is part of the life cycle of a guest. Disks in the storage pools (local or network) may fail or fill up due to bad capacity management. Ordinarily, one would have to shut down the guest, copy the storage volume file elsewhere (if it is a file), wait, update xML configuration, and launch it again. However, in mission-critical enterprises, this may not always be possible.

To get the source path, need check XML configuration file or storage volume. This requires to know which storage pool in use.

Read the rest of this entry »

Written by spectre

February 11th, 2018 at 4:46 pm

LUKS / dm-crypt and FS images

without comments

LUKS / dm-crypt is also suitable for creating FS images that can be used to store important information:
Read the rest of this entry »

Written by spectre

February 4th, 2018 at 7:25 pm

Posted in Tips and Tricks