Установка и настройка Varnish Cache

Установка Varnish Cache на самом деле очень простая. Устанавливаем нужные RPM пакеты и ставим сам Varnish rpm –nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el5/x86_64/varnish-3.0.2-1.el5.x86_64.rpm rpm -ivh http://mirror.chpc.utah.edu/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm   yum install libedit -y yum install varnish -yrpm –nosignature -i http://repo.varnish-cache.org/redhat/varnish-3.0/el5/x86_64/varnish-3.0.2-1.el5.x86_64.rpm rpm -ivh http://mirror.chpc.utah.edu/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm yum install libedit -y yum install varnish -y

Posted by

Повышение производительности диска на сервере

Для повышения производительности диска на сервере все что нам надо это в файле /etc/fstab добавить для /dev/sda3 дополнительные опции noatime,nodiratime и перемаунтить раздел mount -o remount,rw /mount -o remount,rw / Проверяем и перемаунтилось правильно mountmount

Posted by

Настройка Nagios-client на удаленном сервере

Создаем пользователя и групу для nagios /usr/sbin/useradd -m nagios passwd nagios/usr/sbin/useradd -m nagios passwd nagios /usr/sbin/groupadd nagcmd /usr/sbin/usermod -a -G nagcmd nagios /usr/sbin/usermod -a -G nagcmd apache/usr/sbin/groupadd nagcmd /usr/sbin/usermod -a -G nagcmd nagios /usr/sbin/usermod -a -G nagcmd apache Утанавливаем нужные для работы пакеты yum install -y gcc glibc glibc-common make […]

Posted by

Установка Nagios мониторинг системы на CentOS

Создаем пользователя и групу для nagios /usr/sbin/useradd -m nagios passwd nagios/usr/sbin/useradd -m nagios passwd nagios /usr/sbin/groupadd nagcmd /usr/sbin/usermod -a -G nagcmd nagios /usr/sbin/usermod -a -G nagcmd apache/usr/sbin/groupadd nagcmd /usr/sbin/usermod -a -G nagcmd nagios /usr/sbin/usermod -a -G nagcmd apache Утанавливаем нужные для работы пакеты yum -y install xinetd openssl-develyum -y install […]

Posted by