zeldor.biz

Linux, programming and more

Copyright © 2025
Log in

Apache short paths

July 9, 2011 by Igor Drobot Leave a Comment

A little trick to simplify your apache virtual hosts configuration, instead of full paths you can use some predefined variables like the directory of apache logs or the configuration directory.

${APACHE_LOG_DIR} is for /var/log/apache2

1
2
ErrorLog ${APACHE_LOG_DIR}/access.log
CustomLog ${APACHE_LOG_DIR}/error.log

ErrorLog ${APACHE_LOG_DIR}/access.log CustomLog ${APACHE_LOG_DIR}/error.log

$APACHE_CONFDIR is for /etc/apache2

1
$APACHE_CONFDIR/mods-available

$APACHE_CONFDIR/mods-available

Filed Under: HTTP, Linux, Networking Tagged With: apache2, HTTP Server

DRBD master/slave setup

July 7, 2011 by Igor Drobot 8 Comments

In the last time I get a lot questions and feedback to some older posts (Active/Passive Cluster) where I used DRBD. And actually I never wrote how to setup DRBD and I try to fill this gap now. Also this post will be a new ground for some new ideas and posts related to Active/Passive Clustering with KVM.

DRBD (Distributed Replicated Block Device) is a really cool cluster solution to have radundant data on two or more nodes. Everybody know RAID, DRBD is like RAID 1 over network.
[Read more…]

Filed Under: Debian, Linux, Networking Tagged With: Cluster, Debian, DRBD, drbd syncer, HA, KVM, LVM, Ubuntu

APC – Alternative PHP Cache

June 21, 2011 by Igor Drobot Leave a Comment

A PHP-accelerator is a PHP extension designed to improve the performance of software applications written in the PHP language.

Most PHP accelerators work by caching the compiled p-code (portable code) of PHP-Scripts to avoid the overhead of reparsing and recompiling source code on each request made for example by a stupid bot.

APC is free, open source framework that optimizes PHP intermediate code and caches data and compiled code from the PHP bytecode compiler in shared memory. APC is quickly becoming the de-facto standard PHP caching mechanism as it will be included built-in to the core of PHP starting with PHP 6 <- Great news! [Read more…]

Filed Under: HTTP, Linux, Networking Tagged With: Accelerator, apc, Benchmark, Nginx, php5-fpm

Ubuntu ipv6 fail

June 20, 2011 by Igor Drobot 2 Comments

On June 8, 2011 was world IPv6 day and I shared some VPS boxes. Only one guy wants Ubuntu 11.04 – no problem he get it.

I was painfully remembered that Ubuntu.com has still some problems with AAAA record for security.ubuntu.com… They have no records:) [Read more…]

Filed Under: IPv6, Linux, Networking, Ubuntu Tagged With: aptitude, fail, Ipv6, Ubuntu

Postfix home server

June 16, 2011 by Igor Drobot 1 Comment

If you have a mail server at home and your Internet service provider (ISP) has no right PTR record for your assigned IP, you will get trouble the most mail servers will reject you.

Some best examples for mail rejection: gmx.de, mail.ru

This problem can be solved [Read more…]

Filed Under: Debian, Linux, Mailing, Networking Tagged With: Debian, DNS, Mail Server, Postfix, PTR

  • « Previous Page
  • 1
  • …
  • 6
  • 7
  • 8
  • 9
  • 10
  • …
  • 17
  • Next Page »
Yeaaah Cookie! We use cookies to ensure that we give you the best experience on our website. If you continue to use this site we will assume that you are happy with it.Ok