Fix syslog with FC2

If you have Fedora Core 2, and recive mail from logrotate with

etc/cron.daily/logrotate:

error: error running postrotate script


Read the rest of this entry »

Move all account from one server to another

First of all, 24 hours before the transition, change all dns zones from TTL 14400 to TTL 180, to make dns changes go faster…

You can change all of the DNS zone files by running the following command
root@pilot [/var/named]# perl -pi.bak -e “s/14400/180/g” *.db
That is run within the directory you store the zone files.
And don´t forget to run
# rndc reload
After doing this.


Read the rest of this entry »

mod_auth_mysql Apache with cPanel

Overview:
mod_auth_mysql is an Apache module that allows authentication using user and group data stored in MySQL databases. Originally by Vivek Khera for Apache1, now also includes a version for Apache 2. Official SourceForge Project website http://sourceforge.net/projects/modauthmysql/


Read the rest of this entry »

Make a simple router

This script was tested on Red Hat, Fedora, Centos. Do not use on some other distribution because they use other file for configuration.
Also this script work on a connection with static IP, not only that use DHCP server.
Download file from here


Read the rest of this entry »

Install “Apache, PHP, MySql”

Hello. This howto contains how to install Apache, PHP, Mysql.
First we need to install apache so let’s start with this.

——————-
Apache 2.0.54
——————-

First, we need to download the latest version of Apache.


Read the rest of this entry »

← Older Entries
Newer Entries →