UNIX BLOG
Blog for NIX system based administrators
October, 2012
how to install anti-dos mod_evasive centos 5
Желательно использовать модуль mod_evasive совместно с nginx. Nginx будет обрабатывать статические запросы, а mod_evasive фильтровать тяжелые пхп запросы для апаче. Подключаем epel репозиторий, где и хранится mod_evasive wget http://dl.fedoraproject.org/pub/epel/5/i386/epel-release-5-4.noarch.rpm устанавливаем: yum install mod_evasive Редактируем конфиг nano /etc/httpd/conf.d/mod_evasive.conf
Tags: anti-dos, centos, mod_evasive
Posted in Linux Administration | No Comments »
Blank text in wordpress editor
If you have problems with standart editor in wordpress, the files is not uploaded. BLANK TEXT IN EDITOR. Just find this Plugin "CKEditor for WordPress" Install it , and replace the standart editor in WordPress. Now all the things on this page will be fixed. You will se something like this:
Tags: blank, blank text, editor, wordpress
Posted in Installation of Web-Scripts | No Comments »
Install YII framework on XAMPP in windows 7
In tutorial it is said to use yyic webapp ../yourproject. But php.exe is not working. 1. Download and unzip the Yii framework: http://www.yiiframework.com/download/ 2. unzip it into the folder in your c:\xampp\httpdocs 3. go to cmd.exe (command promot) and type: cd c:\xampp\htdocs\framework\ or c:\xampp\htdocs\yii\framework depending how the YII framework folder installed. type yiic webapp […]
Tags: framework, php, php.exe, windows, xampp, yii
Posted in Installation of Web-Scripts | 1 Comment »
How to install geoip for php on gentoo
First install Geo-IP package emerge -v Geo-IP Install pecl geoip php5 package emerge -v dev-php5/pecl-geoip Check if all is installed correctly php -i | grep geo
Posted in Linux Administration | No Comments »
How to install redmine on lenny ruby on rails 2.3.5
RAILS INSTALL Add lenny-backports to repositories nano /etc/apt/sources.list deb http://backports.debian.org/debian-backports lenny-backports main apt-get -V -t lenny-backports install rails rubygems MySQL install apt-get install mysql-server mysql-client RAILS INSTALL mysql -u root -p password ->create database redmine character set utf8; ->create user ‘redmine’@’localhost’ identified by ‘my_password'; ->grant all privileges on redmine.* to ‘redmine’@’localhost'; Copy config/database.yml.example to config/database.yml […]
Tags: redmine rails lenny
Posted in Installation of Web-Scripts, Linux Administration | No Comments »
How to install raid10 mdadm -l f2 with hetzner rescue image
Introduction: How to install raid10 with 4 or more drives with hetzner with faster disk layout -f2 I tested raid10 with 3 layouts(n2, f2, and o2) , HDD SEAGATE drives are 3TB with around 180MB/s speed. Every new Seagete hetzner Drive drive have 3 plates , Model ST3000DM001 Test with one HDD hdparm -t /dev/sda1 […]
Tags: hetzner, image, mdadm, raid10, rescue, software raid
Posted in Linux Administration | 1 Comment »