martedì 3 luglio 2007
Postfix e mailscanner - alcune guide di riferimento
http://www.howtoforge.com/virtual_users_postfix_courier_mailscanner_clamav_centos
http://www.howtoforge.com/postfix_antispam_mailscanner_clamav_ubuntu
http://www.howtoforge.com/fedora_virtual_postfix_mysql_quota_courier
http://www.howtoforge.com/linux_spam_filter_mail_gateway
Il server perfetto su Fedora Core 7
The Perfect Server - Fedora 7
Un'ottima guida su come installare e configurare i seguenti servizi su Fedora Core 7- Web Server: Apache 2.2.4
- PHP 5.2.2
- Database Server: MySQL 5.0.37
- Mail Server: Postfix
- DNS Server: BIND9 (chrooted)
- FTP Server: proftpd
- POP3/IMAP server: Dovecot
- Webalizer for web site statistics
http://www.howtoforge.com/perfect_server_fedora7
Convertire un sistema windows in una macchina virtuale vmware
Convert Physical Windows Systems Into Virtual Machines To Be Run On A Linux Desktop
Un'ottima guida su come poter convertire un sistema microsoft windows in una macchina virtuale vmware
http://www.howtoforge.com/vmware_converter_windows_linux
Come installare VMWare server su Fedora Core 7
http://www.howtoforge.com/vmware_server_fedora7
ecco il cuore della guida:
make[2]: *** [/tmp/vmware-config2/vmmon-only/linux/driver.o] Error 1
make[1]: *** [_module_/tmp/vmware-config2/vmmon-only] Error 2
make[1]: Leaving directory `/usr/src/kernels/2.6.21-1.3194.fc7-i686'
make: *** [vmmon.ko] Error 2
make: Leaving directory `/tmp/vmware-config2/vmmon-only'
Unable to build the vmmon module.
For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".
Execution aborted.
This happens because VMware Server isn't ready for a 2.6.21 kernel yet (the default kernel in Fedora 7 is 2.6.21.3). Therefore, we must patch VMware Server a little bit. This can be done as follows:
wget http://knihovny.cvut.cz/ftp/pub/vmware/vmware-any-any-update110.tar.gz
tar xvfz vmware-any-any-update110.tar.gz
cd vmware-any-any-update110
./runme.pl
The ./runme.pl command will continue the VMware Server installation. This time it should succeed, and again you can accept all default values. When it asks you
In which directory do you want to keep your virtual machine files?
[/var/lib/vmware/Virtual Machines]
you can either accept the default value or specify a location that has enough free space to store your virtual machines.
At the end of the installation, you will be asked to enter a serial number:
Please enter your 20-character serial number.
Type XXXXX-XXXXX-XXXXX-XXXXX or 'Enter' to cancel:
Fill in your serial number for VMware Server.
After the successful installation, you can delete the VMware Server download file and the installation directory:
cd /home/falko/Desktop
rm -fr vmware-server-distrib
rm -f VMware-server-*.tar.gz
ATTENZIONE:
Può essere causa di errore l'assenza di xinetd, quindi prima di iniziare l'installazione assicurarsi di avere xinetd:
yum install xinetd
ATTENZIONE 2:
Una altra possibile causa di problemi è la presenza del file
/etc/vmware/not_configured
occorre eliminarlo:
rm /etc/vmware/not_configured
[mencoder] - Ottima guida italiana
http://russo.le.it/linux/guida_mencoder_italiano.pdf
Della quale riporto alcuni passaggi base:
mencoder movie.wmv -o movie.avi -ovc lavc -oac mp3lame
Spiegherò ogni opzione che sto scrivendo:
● movie.wmv il nome del file video originale che vuoi reencodare.
Può essere uno dei formati che mplayer può
riprodurre (real, windows media, mpeg, avi, divx, xvid, theora, etc).
● -o
<nomefile> il nome con cui salvare il file encodato. Se non fornisci un argomento, mencoder lo salverà come
“test.avi”.
● -ovc
<codec video> OVC sta per 'output video codec'. Questa è la libreria che vuoi usare per encodare il video.
● -oac
<codec audio> OAC sta per 'output audio codec'. Questa è la libreria con cui vuoi encodare la parte audio.
Che ci creda o no – questo è tutto quello che hai bisogno di sapere sul reencoding
di un file.
Il mio esempio convertirà il file in video divx (usando lavc) e l'audio mp3 (usando lame).
Se vuoi vedere come un altro file è stato encodato, basta usare “file movie.avi”.
Vecchio file:
$ file movie.wmv
movie.wmv: Microsoft ASF
Nuovo file:
$ file movie.avi
movie.avi: RIFF (little-endian) data, AVI, 320 x 240, ~30 fps, video: DivX 4,
audio: MPEG-1 Layer 3 (stereo, 32000 Hz)
lavc
lavc o libavcodec è parte del progetto della libreria ffmpeg.
Usando lavc come tuo codec video ti darà molte opzioni, inclusi molti formati in cui puoi encodare. Il formato di
default quando si usa -ovc lavc sarà mpeg4.
Qui c'è un esempio che encoderà il tuo video in mpeg4 con lavc, e il tuo audio in mp3 con lame:
mencoder <filename.avi> -ovc lavc -oac mp3lame -o <output.avi>
Se non vuoi modificare le tue impostazioni video, allora puoi usare questo esempio e andrà bene, con il seguente
avvertimento: potresti aver bisogno di includere -ffourcc DX50 nella linea di comando per il video per riprodurlo con
alcuni (molti?) media players (esempio: tutti i media players che ho testato sotto Windows). Il motivo è che, sebbene, il
video prodotto è un MPEG4, il suo header usa il codice FMP4 che non è ampiamente riconosciuto.
Un header DX50 dichiara che il video è DivX 5 (perciò MPEG4) compatibile e di conseguenza dovrebbe essere
riprodotto su tutti i media player che possono leggere il video MPEG4.
DivX ;)
Dal manuale di mencoder: “DivX4 è obsoleto e supportato solo per completezza. Per dettagli sulle opzioni di Divx4,
leggi il manuale, molte opzioni non sono descritte qui.”
questo esempio encoderà filename.avi in DivX 5 (non quattro, non è un errore) con l'audio encodato attraverso lame.
mencoder <filename.avi> -ovc divx4 -oac mp3lame -o <output.avi>
Nota: se stai cercando di creare un film DivX-compatibile, usa xvid o lavc.
XviD
XviD può creare alcuni video mpeg4 con una qualità molto alta.
Dalle User FAQ di XviD, “ DivX è un software proprietario, con un confuso ciclo di sviluppo che segue solo una logica
commerciale. Xvid è un Software Free (licenziato sotto GNU GPL), aperto ai contributi di terze parti e indirizzato
all'adesione degli standard, portabilità e interoperabilità, alta velocità di processazione e una qualità superiore.”
Qui c'è ancora il nostro esempio classico, encoda la parte video in mpeg4 usando l'xvid, e l'audio in mp3 usando lame:
mencoder <filename.avi> -ovc xvid -oac mp3lame -o <output.avi>
Ripping di stream
Così come mplayer può riprodurre flussi audio/video, altrettanto bene mencoder può rippare questi flussi.
Vedere anche: HOWTO_Rip_Streams_With_MPlayer
mplayer -playlist <http url of stream.asx> -dumpfile <output.asx>
mencoder <rtsp url of trailer.rm> -ovc lavc -oac mp3lame -o <output.avi>
mplayer <some site>/movie.rm -dumpstream -dumpfile movie.avi
Fronted per mencoder
Vedere la pagina dei progetti associati per una lista più ampia. I seguenti sono già in portage:
● AcidRip Un frontend gtkperl
di mplayer/mencoder per rippare DVDs
● Freevo jukebox per video digitali (PVR, DVR)
● Konverter Un frontend KDE di mencoder per la conversione videocamera
● OGM Rip Applicazioni e librerie per encodare DVDs in files AVI/OGM
Non sono in portage:
● encode2mpeg è un front end per Mplayer/MEncoder e mjpegtools. È capace di convertire ogni
tipo di video che mplayer può riprodurre in un formato adatto a VCD/SVCD/DVD, in più può
creare file avi DivX.
● tovid è molto simile a encode2mpeg. E' scritto in bash e include un installer. Può creare files che
rispettano il DVD usando i files XML dvdauthors e può perfino masterizzare i dischi se
impostato correttamente.
● Kmenc15 è un avanzato frontend Qt/KDE per Mencoder, di solito destinato a essere un
rimpiazzo di VirtualDub per Linux. È molto comodo per modificare e convertire grandi files AVI
ad alta qualità selezionati dalla TV. Permette di tagliare e unire (i files) in precisi frames,
applicando ogni filtro di Mplayer/MEncoder, con un'anteprima.
● DivX
Centinaia di portali italiani compromessi...
http://blog.trendmicro.com/another-malware-pulls-an-italian-job/
--
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ì 2 luglio 2007
Finalmente la buona vecchia Slackware...
Thanks, and enjoy!
Pat and the Slackware team
-- 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
NVIDIA GEForce 7300 on Fedora Core 7
As you can see here:
Fedora 7 nvidia driver e direct rendering problem
I've tried to install nvidia driver for my nvidia GE FORCE 7300
but with yum and rpm packege i cannot enable direct rendering.
glxinfo | grep rend
direct rendering: No
So i have installed manually:
Download
http://us.download.nvidia.com/XFree86/Linux-x86/100.14.09/NVIDIA-Linux-x86-100.14.09-pkg1.run
then write from konsole
telinit 3
yum remove kmod-nvidia.i686
yum install kernel-devel gcc
chmod ugo+x NVIDIA-Linux-x86-100.14.09-pkg1.run
./NVIDIA-Linux-x86-100.14.09-pkg1.run
follow necessary steps
then
telinit 5
so....
glxinfo | grep rend
direct rendering: Yes
OpenGL renderer string: GeForce Go 7300/PCI/SSE2
This is my xorg.conf :
[root@trinity2 ~]# cat /etc/X11/xorg.conf
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "CorePointer"
EndSection
Section "Files"
ModulePath "/usr/lib/xorg/modules"
EndSection
Section "Module"
Load "ddc"
Load "dri"
Load "fbdevhw"
Load "record"
Load "GLCore"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
Load "glx"
Load "dbe"
Load "extmod"
EndSection
Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "it"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Unknown"
ModelName "Unknown"
HorizSync 30.0 - 110.0
VertRefresh 50.0 - 150.0
Option "DPMS"
EndSection
Section "Device"
Identifier "Device0"
Driver "nvidia"
VendorName "NVIDIA Corporation"
BoardName "GeForce Go 7300"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Device0"
Monitor "Monitor0"
DefaultDepth 24
Option "NoRenderExtension" "False"
Option "DamageEvents" "True"
SubSection "Display"
Depth 24
EndSubSection
Option "AllowGLXWithComposite" "True"
Option "RenderAccel" "True"
Option "AddARGBGLXVisuals" "True"
Option "TripleBuffer" "true"
EndSection
Section "Extensions"
Option "RENDER" "true"
Option "DAMAGE" "true"
Option "Composite" "Enable"
EndSection
Fedora 7 - Yum repository
Consiglio di non usarli tutti insieme, altrimenti si rischia una gran confusione di dipendenze che potrebbe compromettere alcune applicazioni.
############################################################
aiglx.repo
[aiglx]
name=AIGLX - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/projects/aiglx/$basearch
enabled=0
gpgcheck=0
############################################################
[aiglx-debuginfo]
name=AIGLX - $basearch - Debug
baseurl=http://download.fedora.redhat.com/pub/fedora/projects/aiglx/$basearch-debug
enabled=0
gpgcheck=0
atrpms.repo
############################################################
[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://wftp.tu-chemnitz.de/pub/linux/ATrpms/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
############################################################
fedora-development.repo
# These packages are untested and still under development. This
# repository is used for updates to test releases, and for
# development of new releases.
#
# This repository can see significant daily turnover and major
# functionality changes which cause unexpected problems with other
# development packages. Please use these packages if you want to work
# with the Fedora developers by testing these new development packages.
#
# fedora-test-list@redhat.com is available as a discussion forum for
# testing and troubleshooting for development packages in conjunction
# with new test releases.
#
# More information is available at http://fedoraproject.org/wiki/Testing
#
# Reproducible and reportable issues should be filed at
# http://bugzilla.redhat.com/.
#
############################################################
# Product: Fedora
# Version: devel
[development]
name=Fedora - Development
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide&arch=$basearch
enabled=0
gpgcheck=0
############################################################
[development-debuginfo]
name=Fedora - Development - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-debug&arch=$basearch
enabled=0
gpgcheck=0
############################################################
[development-source]
name=Fedora - Development - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/development/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=rawhide-source&arch=$basearch
enabled=0
gpgcheck=0
############################################################
fedora.repo
[fedora]
name=Fedora $releasever - $basearch
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/os/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
############################################################
[fedora-debuginfo]
name=Fedora $releasever - $basearch - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-debug-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
############################################################
[fedora-source]
name=Fedora $releasever - Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/releases/$releasever/Everything/source/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=fedora-source-$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora file:///etc/pki/rpm-gpg/RPM-GPG-KEY
############################################################
fedora-updates.repo
[updates]
name=Fedora $releasever - $basearch - Updates
baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-f$releasever&arch=$basearch
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
############################################################
[updates-debuginfo]
name=Fedora $releasever - $basearch - Updates - Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
############################################################
[updates-source]
name=Fedora $releasever - Updates Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-released-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora
############################################################
fedora-updates-testing.repo
[updates-testing]
name=Fedora $releasever - $basearch - Test Updates
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/$releasever/$basearch/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
############################################################
[updates-testing-debuginfo]
name=Fedora $releasever - $basearch - Test Updates Debug
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/updates/testing/$releasever/$basearch/debug/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-debug-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
############################################################
[updates-testing-source]
name=Fedora $releasever - Test Updates Source
#baseurl=http://download.fedora.redhat.com/pub/fedora/linux/core/updates/testing/$releasever/SRPMS/
mirrorlist=http://mirrors.fedoraproject.org/mirrorlist?repo=updates-testing-source-f$releasever&arch=$basearch
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-fedora-test
############################################################
freshrpms.repo
# $Id: freshrpms.repo 3341 2005-06-28 18:40:26Z thias $
[freshrpms]
name=Fedora Core $releasever - $basearch - Freshrpms
#baseurl=http://ayo.freshrpms.net/fedora/linux/$releasever/$basearch/freshrpms/
mirrorlist=http://ayo.freshrpms.net/fedora/linux/$releasever/mirrors-freshrpms
enabled=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-freshrpms
gpgcheck=1
############################################################
livna-devel.repo
[livna-development]
name=Livna for Fedora Core $releasever - $basearch - Development Tree
baseurl=
http://rpm.livna.org/fedora/development/$basearch/
http://livna.cat.pdx.edu/fedora/development/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/development/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/development/$basearch/
http://mirror.atrpms.net/livna/fedora/development/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/development/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-development
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
############################################################
[livna-development-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Development Tree - Debug
baseurl=
http://rpm.livna.org/fedora/development/$basearch/debug/
http://livna.cat.pdx.edu/fedora/development/$basearch/debug/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/development/$basearch/debug/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/development/$basearch/debug/
http://mirror.atrpms.net/livna/fedora/development/$basearch/debug/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/development/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
############################################################
[livna-development-source]
name=Livna for Fedora Core $releasever - $basearch - Development Tree - Source
baseurl=
http://rpm.livna.org/fedora/development/SRPMS/
http://livna.cat.pdx.edu/fedora/development/SRPMS/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/development/SRPMS/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/development/SRPMS/
http://mirror.atrpms.net/livna/fedora/development/SRPMS/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/development/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
############################################################
livna.repo
[livna]
name=Livna for Fedora Core $releasever - $basearch - Base
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-7
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
############################################################
[livna-debuginfo]
name=Livna for Fedora Core $releasever - $basearch - Debug
baseurl=
http://rpm.livna.org/fedora/$releasever/$basearch/debug/
http://livna.cat.pdx.edu/fedora/$releasever/$basearch/debug/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/$basearch/debug/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/$basearch/debug/
http://mirror.atrpms.net/livna/fedora/$releasever/$basearch/debug/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
############################################################
[livna-source]
name=Livna for Fedora Core $releasever - $basearch - Source
baseurl=
http://rpm.livna.org/fedora/$releasever/SRPMS/
http://livna.cat.pdx.edu/fedora/$releasever/SRPMS/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/$releasever/SRPMS/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/$releasever/SRPMS/
http://mirror.atrpms.net/livna/fedora/$releasever/SRPMS/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
############################################################
livna-testing.repo
[livna-testing]
name=Livna for Fedora Core $releasever - $basearch - Testing
baseurl=
http://rpm.livna.org/fedora/testing/$releasever/$basearch/
http://livna.cat.pdx.edu/fedora/testing/$releasever/$basearch/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/testing/$releasever/$basearch/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/testing/$releasever/$basearch/
http://mirror.atrpms.net/livna/fedora/testing/$releasever/$basearch/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/testing/$releasever/$basearch/
failovermethod=priority
#mirrorlist=http://rpm.livna.org/mirrorlist-testing-6
enabled=0
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
############################################################
[livna-testing-debug]
name=Livna for Fedora Core $releasever - $basearch - Testing - Debug
baseurl=
http://rpm.livna.org/fedora/testing/$releasever/$basearch/debug/
http://livna.cat.pdx.edu/fedora/testing/$releasever/$basearch/debug/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/testing/$releasever/$basearch/debug/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/testing/$releasever/$basearch/debug/
http://mirror.atrpms.net/livna/fedora/testing/$releasever/$basearch/debug/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/testing/$releasever/$basearch/debug/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
############################################################
[livna-testing-source]
name=Livna for Fedora Core $releasever - $basearch - Testing - Source
baseurl=
http://rpm.livna.org/fedora/testing/$releasever/SRPMS/
http://livna.cat.pdx.edu/fedora/testing/$releasever/SRPMS/
http://wftp.tu-chemnitz.de/pub/linux/livna/fedora/testing/$releasever/SRPMS/
http://ftp-stud.fht-esslingen.de/pub/Mirrors/rpm.livna.org/fedora/testing/$releasever/SRPMS/
http://mirror.atrpms.net/livna/fedora/testing/$releasever/SRPMS/
ftp://mirrors.tummy.com/pub/rpm.livna.org/fedora/testing/$releasever/SRPMS/
failovermethod=priority
enabled=0
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-livna
gpgcheck=1
############################################################
macromedia.repo
[macromedia]
name=Macromedia for i386 Linux
baseurl=http://macromedia.rediris.es/rpm/
#baseurl=http://macromedia.mplug.org/rpm/
#baseurl=http://sluglug.ucsc.edu/macromedia/rpm/
enabled=1
gpgcheck=1
gpgkey=http://macromedia.rediris.es/FEDORA-GPG-KEY
############################################################
mao.repo
[xcyborg]
name=xcyborg]
baseurl=http://rpms.xcyb.org/fedora/4/stable
enabled=0
gpgkey=http://xcyb.org/xcyborg.asc
gpgcheck=1
############################################################
newrpms.repo
[newrpms.sunsite.dk]
name=Fedora Core 7 i386 NewRPMS.sunsite.dk
baseurl=http://newrpms.sunsite.dk/apt/redhat/en/$basearch/fc$releasever
#http://newrpms.atrpms.net/apt/redhat/en/$basearch/fc$releasever
failovermethod=priority
enabled=0
gpgcheck=1
############################################################
[sendmail] - modificare mailertable per impostare il mailgateway di un dominio
dns.pippo.it procmail:
pippo.it esmtp:[172.21.1.15]
pippo2.it esmtp:[172.21.1.15]
katamail.com esmtp:[relay.katamail.com]
makemap hash /etc/mail/mailertable.db < /etc/mail/mailertable
--
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
sabato 30 giugno 2007
KDE logout script
La procedura èmolto semplice:
mkdir ~/.kde/shutdown/
creare lo script che chiameremo per es. logout.sh
renderlo eseguibile con
chmod ugo+x logout.sh
FATTO! adesso dovrebbe funzionare.
Suspend to ram - sospensione in ram su Fedora 7
kernel /boot/vmlinuz-2.6.21-1.3228.fc7 ro root=LABEL=/ rhgb vga=791 selinux=0 resume=/dev/sda3 quiet
In questa riga ho:to il suspend to disk e il suspend to ram
abilitato il frame buffer a una risoluzione di 1024x768x32
disabilitato il SELinux
Kismet su Fedora 7 con driver atheros (ath_pci)
Kismet su Fedora 7 con driver atheros (ath_pci)
yum install kismete cambiare la riga:
source=.....
in
source=madwifing_g,wifi0,atherosmadwifing_g
esci e salva.
lancia kismet....funzionaaaa!!!
Aircrack-ng su Fedora 7 con driver atheros madwifi-ng(ath_pci)
Aircrack-ng su Fedora 7 con driver atheros madwifi-ng(ath_pci)
Seguire i seguenti passaggi per patchare i driver:
ifconfig ath0 down
ifconfig wifi0 down
rmmod wlan_wep ath_rate_sample ath_rate_onoe ath_pci wlan ath_hal ath_rate_amrr 2>/dev/null
svn checkout http://svn.madwifi.org/trunk/ madwifi-ng
wget http://patches.aircrack-ng.org/madwifi-ng-r2277.patch
cd madwifi-ng
patch -Np1 -i ../madwifi-ng-r2277.patch
make
make install
depmod -ae
modprobe ath_pci
cd ..
wget http://download.aircrack-ng.org/aircrack-ng-0.9.1.tar.gz
tar -zxvf aircrack-ng-0.9.1.tar.gz
cd aircrack-ng-0.9.1
make && make install
funzionaaaa!!!
si rimanda qui per la suite: http://aircrack-ng.org/doku.php#aircrack-ng_suite
Madwifi ng driver for atheros minipci wireless fedora 7
Sacrico i driver con un bel
wget http://ovh.dl.sourceforge.net/sourceforge/madwifi/madwifi-0.9.3.1.tar.bz2
tar -jxvf madwifi-0.9.3.1.tar.bz2
cd madwifi-ng
make && make install && depmod -ae
modprobe ath_pci
adesso dovrebbe funzionare tutto.
un bel
iwconfig
di conferma e tutto è ok.
Se non dovesse funzionare provate a cercare su
/etc/sysconfig/network-script/ifcfg-wifi0
e modificate :
DEVICE=wifi0
con
DEVICE=ath0
Adesso tutto ok.
Bye
Codec Multimediali su Fedora Core 7
tar xjf all-20061022.tar.bz2
mkdir /usr/lib/win32
mv all-20061022/* /usr/lib/win32
rm -fr all-20061022
Installare Adobe Acrobat Reader su Fedora Core 7
Operating system: Unix/Linux Version: Linux (.rpm) Language: Italian
Dopo aver cliccato su continua lasciamo tutto com’è e clicchiamo du “Download Adobe Reader”. Installiamolo come al solito.
Installare Real Player su Fedora Core 7
Installare True Type Font su Fedora Core 7
TrueType Fonts
Dopo averli installati apriamo la shell, diventiamo root e diamo il seguente comando:
/etc/init.d/xfs restart
Installare Macromedia Flash Player su Fedora Core 7
da root
nano /etc/yum.repos.d/macromedia.repo e copincolliamo e salviamo questo[macromedia]e con questo abbiamo addato il repo Macromedia (serve solo per FlashPlayer).
name=Macromedia for i386 Linux
baseurl=http://macromedia.rediris.es/rpm/
#baseurl=http://macromedia.mplug.org/rpm/
#baseurl=http://sluglug.ucsc.edu/macromedia/rpm/
enabled=1
gpgcheck=1
gpgkey=http://macromedia.rediris.es/FEDORA-GPG-KEY
yum -y install flash-plugin
Installare il supporto per mp3 mplayer e dvd player
rpm -ihv http://rpm.livna.org/livna-release-7.rpm
yum updatedi nuovo:
yum updateyum install mplayer-gui libdvdcss amarok-extras-nonfree gstreamer-plugins-ugly vlc yum -y install xmms xmms-mp3 xmms-faad2 gstreamer-plugins-ugly libmad libid3tag yum -y install xine xine-lib xine-skins xine-lib-extras-nonfree libdvdcss