--
principio di Napoleone:
non attribuire a malintenzione cio' che puo'
essere semplicemente spiegato come imbecillita'
--
MaoX Blog:
http://maox.blogspot.com
martedì 26 giugno 2007
[Recensione] - Un ottimo software per la gestione dei Blog
venerdì 15 giugno 2007
Dovecot con supporto mysql su fedora - creare il proprio rpm
DOVECOT con supporto mysql
La stessa cosa vista x postfix la si può fare x Dovecot:
wget http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/dovecot-1.0-2.rc17.fc7.src.rpm
rpm -Uhv dovecot-1.0-2.rc17.fc7.src.rpm
wget http://www.dovecot.org/releases/dovecot-1.0.rc22.tar.gz
cp dovecot-1.0.rc22.tar.gz /usr/src/redhat/SOURCES/
cd /usr/src/redhat/SPECS
vi dovecot.specs
cambio
%define build_postgres 0
Release .......
yum install gettext-devel
rpmbuild -ba dovecot.specs
rpmbuild -bb dovecot.specs
cd /usr/src/redhat/RPMS/i386/
rpm -Uhv ./dovecot-*
Seguo http://wiki.dovecot.org/DovecotLDAPostfixAdminMySQL
Postfix con supporto mysql su fedora - creare il proprio rpm
Get the latest source rpm fromFedora Core Developmentand install it
or here:
http://download.fedora.redhat.com/pub/fedora/linux/updates/7/SRPMS/
(Note: the src.rpm not the i386.rpm) with:
rpm -Uvh postfix-2.3.x-1.src.rpm If it still not the latest get the latest source from any of thePostfix Download Siteand put int into
rpm/SOURCES/ directory. In postfix.spec modify the version and add MySQL support (%define MYSQL 1) and build it:
rpmbuild -bb postfix.spec
Cioè:
scarico l'RPM con i sorgenti,
poi scarico l'ultima versione di postfix e lo installo
Tutto va a finire in /usr/src/redhat/SOURCES/
qui sostituisco
postfix-2.3.6.tar.gz
con
postfix-2.3.7.tar.gz
poi in
/usr/src/redhat/SPECS/
modifico
postfix.spec
%define MYSQL 1 Version: 2.3.7
e poi lancio
rpmbuild -ba postfix.spec
rpmbuild -bb postfix.spec
in
/usr/src/redhat/RPMS/i386
trovo i pacchetti RPM e quindi
cd /usr/src/redhat/RPMS/i386
rpm -Uhv ./*
FATTO!!!!
[da http://dailypackage.fedorabook.com/index.php?/archives/6-Wednesday-Why-The-Alternatives-System.html]
To select one of these two packages interactively, the alternatives command is used with the --config option and the generic name of the feature that is being configured:
# alternatives --config mta
There are 2 programs which provide 'mta'.
Selection Command
-----------------------------------------------
*+ 1 /usr/sbin/sendmail.sendmail
2 /usr/sbin/sendmail.postfix
Enter to keep the current selection[+], or type selection number:
Note that the highest-priority alternative is marked with an astrisk (*), and the currently-selected option is marked with a plus-sign (+). Press enter to keep the current setting or enter a number to select another value.
To select an alternative directly from the command line, use the --set option:
# alternatives --set mta /usr/sbin/sendmail.postfix
You can see the current value by using the --display option:
# alternatives --display mta
mta - status is manual.
link currently points to /usr/sbin/sendmail.sendmail
/usr/sbin/sendmail.sendmail - priority 90
slave mta-pam: /etc/pam.d/smtp.sendmail
slave mta-mailq: /usr/bin/mailq.sendmail
slave mta-newaliases: /usr/bin/newaliases.sendmail
slave mta-rmail: /usr/bin/rmail.sendmail
slave mta-sendmail: /usr/lib/sendmail.sendmail
slave mta-mailqman: /usr/share/man/man1/mailq.sendmail.1.gz
slave mta-newaliasesman: /usr/share/man/man1/newaliases.sendmail.1.gz
slave mta-aliasesman: /usr/share/man/man5/aliases.sendmail.5.gz
slave mta-sendmailman: /usr/share/man/man8/sendmail.sendmail.8.gz
/usr/sbin/sendmail.postfix - priority 30
slave mta-pam: /etc/pam.d/smtp.postfix
slave mta-mailq: /usr/bin/mailq.postfix
slave mta-newaliases: /usr/bin/newaliases.postfix
slave mta-rmail: /usr/bin/rmail.postfix
slave mta-sendmail: /usr/lib/sendmail.postfix
slave mta-mailqman: /usr/share/man/man1/mailq.postfix.1.gz
slave mta-newaliasesman: /usr/share/man/man1/newaliases.postfix.1.gz
slave mta-aliasesman: /usr/share/man/man5/aliases.postfix.5.gz
slave mta-sendmailman: /usr/share/man/man1/sendmail.postfix.1.gz
Current `best' version is /usr/sbin/sendmail.sendmail.
Instead of selecting the alternative manually, you can choose to have the highest-priority option automatically selected. This will enable an automatic change as packages are added and removed:
# alternatives --auto mta
The most common use of the alternatives system is to select between implementations of Java, the print server, and the mail transfer agent. Fedora's implementation of alternatives is a rewrite and extension of the alternatives system used in Debian.
(Why is the generic name linked to a name in /etc/alternatives which is symlinked to the target, instead of the generic name being directly symlinked to the target? This was done so that the configuration information is contained in the /etc directory, centralizing the location of configuration data).
domenica 10 giugno 2007
Ottimo CRM - Gestione Clienti
--
principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita'
MaoX Blog:
Problemi e soluzioni di un sistemista informatico:
http://maox.blogspot.com
Ricompilare il kernel su fedora
--
principio di Napoleone: non attribuire a malintenzione cio' che puo' essere semplicemente spiegato come imbecillita'
MaoX Blog:
Problemi e soluzioni di un sistemista informatico:
http://maox.blogspot.com
lunedì 4 giugno 2007
Nut - Configurazioni
http://opensource.mgeups.com/ups.htm
http://opensource.mgeups.com/install/debian.htm
http://www.mscs.dal.ca/~selinger/ups/backups.html
--
principio di Napoleone:
non attribuire a malintenzione cio' che puo'
essere semplicemente spiegato come imbecillita'
MaoX Blog:
http://maox.blogspot.com
venerdì 13 aprile 2007
Il mio software per la gestione delle sagre
la gestione della cassa delle sagre e dei ristoranti.
Funziona su apache + php + mysql
http://www.mpsistemi.net/maurizio/gca.php
martedì 10 aprile 2007
Slax su penna usb
* A 256MB or larger USB flash drive
* HP-USB Format tool (Optional)
* USBSLAXFULL.zip
*Here is the tutorial:*
*Warning:* DO NOT RUN makeboot.exe from your local hard drive!! It is
intended to be run from your USB device.
1. Download
<ftp://ftp.compaq.com/pub/softpaq/sp27001-27500/SP27213.exe> the
HP-USB Format tool and format your flash drive using the Fat or
Fat32 option.
2. Download
<http://prdownloads.sourceforge.net/pendrivelinux/USBSLAXFULL.zip?download>
the USBSLAXFULL.zip
3. Extract the contents of the USBSLAXFULL.zip to your "flash drive".
4. Browse to your "flash drive" and click the Makeboot.exe
5. follow the on screen instructions.
6. Reboot your computer and set your system BIOS to boot from USB-HDD
or USB-ZIP. Also set the boot priority if necessary.
*Please note:* This tutorial has been tested to work from a Windows XP
computer with .net and service pack updates. Other operating
environments may or may not support the use of the installer.
*origine: http://www.pendrivelinux.com/2006/09/20/all-in-one-usb-slaxzip*