Archive for June, 2009

Bacula is good tools for backup

Bacula is good tools for backup the linux system.

bacula-dir is for director and set the client and backup themes here.(Run on the server)
bacula-sd is storage daemon (Run on the server)
bacula-fd is file daemon (Run on the clients)

http://bacula.org/en/dev-manual/Brief_Tutorial.html

, ,

No Comments

Enable two important repo for CentOS 5

Enable two important repo for CentOS 5

EPEL repo
http://fedoraproject.org/wiki/EPEL/FAQ#howtouse

Rpmforge ( many packages )
http://dag.wieers.com/rpm/FAQ.php#B1

,

1 Comment

warning: Certificate validation failed

warning: Certificate validation failed; consider using the certname configuration option
err: Could not retrieve catalog: Certificates were not trusted: certificate verify failed
warning: Not using cache on failed catalog

edit
/etc/hosts
add
ip puppet puppet.ur_domain.com

puppetd –server puppet.ur_domain.com –waitforcert 60 –test

, ,

No Comments

Use Openssl to create a root CA

In Openssl after a root CA has ben generated here are the following commands to create an intermediate CA;

as root

/etc/pki/tls/misc/CA –newca

/etc/pki/tls/misc/CA -newreq

some Generic Certificate Authority (usually a server)
Enter Enter

/etc/pki/tls/misc/CA –signCA
PassPhrase: Demo

newreq.pem is key with CSR request inside
newcert.pem is certificate
new_to_open_ssl is offline

How to Create Self-Signed SSL Certificates with OpenSSL
http://www.xenocafe.com/tutorials/linux/centos/openssl/self_signed_certificates/index.php

, ,

No Comments

FuzzyOCR , a plugin for SpamAssassin

FuzzyOCR , a plugin for SpamAssassin can filter some Image Spam
http://fuzzyocr.own-hero.net/

Maybe can be used by Donkey Ba

, ,

No Comments

Good bash shell scripts book for newbie

Good bash shell scripts book for beginner
http://www.cyberciti.biz/nixcraft/linux/docs/uniqlinuxfeatures/lsst/

, ,

No Comments

Get the rpms' files

rpm2cpio file.rpm | cpio -idmv

get the rpm files without install the package!

,

No Comments

Get the rpms’ files

rpm2cpio file.rpm | cpio -idmv

get the rpm files without install the package!

,

No Comments

How do I disabling Email output?

How do I disabling Email output?

By default the output of a command or a script (if any produced),
will be email to your local email account.
To stop receiving email output from crontab you need to append >/dev/null 2>&1.
For example:0 3 * * * /root/backup.sh >/dev/null 2>&

To mail output to particluer email account let us say vivek@nixcraft.in
you need to define MAILTO variable to your cron job:
MAILTO=”vivek@nixcraft.in”
0 3 * * * /root/backup.sh >/dev/null 2>&1

More details:
http://www.cyberciti.biz/faq/how-do-i-add-jobs-to-cron-under-linux-or-unix-oses/

, ,

No Comments

redWall, a bootable CD-ROM Firewall

redWall is a bootable CD-ROM Firewall. It’s goal is to provide a feature rich firewall solution, with the main goal, to provide a webinterface for all the logfiles generated!

http://www.redwall-firewall.com/

,

No Comments