Procedimenti

From Alessandro's Wiki
Revision as of 14:54, 18 November 2010 by Xunil (talk | contribs) (Reverted edits by Ypebezimyx (Talk) to last version by 195.169.98.130)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)




Skype su Scientific Linux 5

/usr/share/applications/skype.desktop

32bit

64bit

/usr/lib/libsigc-2.0.so.0
scp services01:/var/www/html/mirror/F8/i386/Packages/libsigc++20-2.0.18-1.i386.rpm .
rpm -Uvh libsigc++20-2.0.18-1.i386.rpm

File di testo Windows<->Linux

fonte: http://linuxreviews.org/quicktips/txt_doc2unix/

Convert a text file from Windows/dos to unix:

 tr -d '\015' < win-format.txt > unix-format.txt

Convert a text file from unix to Windows/dos:

 sed -e 's/$/\r/' unix-format.txt > win-format.txt

RPM in Scientific Linux

Kaffeine

yum install kaffeine --enablerepo atrpms
Error: Missing Dependency: libdirectfb-0.9.so.25 is needed by package xine-lib
Error: Missing Dependency: libfusion-0.9.so.25 is needed by package xine-lib
Error: Missing Dependency: libdirect-0.9.so.25 is needed by package xine-lib
yum remove directfb
Removed: directfb.i386 0:1.0.1-15.el5

Firewire ieee1394 in Scientific Linux 5

Download e Setup

  • Links:
http://atrpms.net/dist/el5/ieee1394/
http://www.mail-archive.com/rhelv5-list@redhat.com/msg00192.html

Installare repo atrpms (e settarlo dormiente, per usarlo solo quando si vuole e non ad ogni yum update)

rpm --import http://atrpms.net/RPM-GPG-KEY.atrpms

Creare

/etc/yum.repos.d/atrpms.repo

e incollarci questo

[atrpms]
name=Fedora Core $releasever - $basearch - ATrpms
baseurl=http://dl.atrpms.net/f$releasever-$basearch/atrpms/stable
gpgkey=http://ATrpms.net/RPM-GPG-KEY.atrpms
gpgcheck=1
enabled=0

Installare i moduli del kernel:

yum --enablerepo atrpms install ieee1394-kmdl-`uname -r`.`uname -m`

se dovessero fallire le dipendenze con il kernel, cercare un kernel con versione adatta (identica) alla versione del modulo di atrpms

Ora, Controlliamo se si sono installati i moduli per il kernel attivo:

rpm -q ieee1394-kmdl|grep "`uname -r`"

Se il comando da risultati in output, saltare il punto successivo.

Controlli Installazione

Kernel attivo

uname -r

Archittettura

uname -m

moduli ieee1394 installati

find /lib/modules/ -iname *1394*

kernel disponibili (da GRUB)

grep kernel /boot/grub/grub.conf |grep -v ^#
  • Controllare quale kernel si avvia default
grep default /boot/grub/grub.conf 

Primo della lista

default=0

Avvio

  • Se abbiamo verificato che i moduli installati hanno un kernel con versione IDENTICA (es. 2.6.18-8.1.14)
  • Se abbiamo verificato che i moduli installati hanno un kernel con architettura IDENTICA (es. i686)
  • Se abbiamo verificato che questo kernel con versione e architettura IDENTICA si avvia di default

Si può proseguire

A Caldo

Caricare i moduli direttamente, senza riavviare.

modprobe ieee1394
modprobe raw1394
modprobe ohci1394
modprobe dv1394
modprobe video1394

A Freddo

reboot

Controlli Firewire

Controlliamo la partenza e poi i messaggi del kernel:

dmesg|grep -i 1394

Dovrebbe esservi almeno una riga così:

ieee1394: raw1394: /dev/raw1394 device initialized


Download e Setup

Caratteri ISO-8859-1 per firefox, da mettere nei profili kickstart


Tasti di scelta RAPIDA

Ctrl + A 	Go to the beginning of the line you are currently typing on
Ctrl + E 	Go to the end of the line you are currently typing on
Ctrl + L               	Clears the Screen, similar to the clear command
Ctrl + U 	Clears the line before the cursor position. If you are at the end of the line, clears the entire line.
Ctrl + H 	Same as backspace
Ctrl + R 	Let's you search through previously used commands
Ctrl + C 	Kill whatever you are running
Ctrl + D 	Exit the current shell
Ctrl + Z 	Puts whatever you are running into a suspended background process. fg restores it.
Ctrl + W 	Delete the word before the cursor
Ctrl + K 	Clear the line after the cursor
Ctrl + T 	Swap the last two characters before the cursor
Esc + T 	Swap the last two words before the cursor
Alt + F 	Move cursor forward one word on the current line
Alt + B 	Move cursor backward one word on the current line
Tab 	Auto-complete files and folder names


Action QWERTY DVORAK AZERTY
Set the console log level, which controls the types of kernel messages that are output to the console 0 through 9 0 through 9 0 through 9
(without using shift)
Immediately reboot the system, without unmounting partitions or syncing b x b
Reboot kexec and output a crashdump c j c
Send the SIGTERM signal to all processes except init (PID 1) e . e
Call oom_kill, which kills a process to alleviate an OOM condition f u f
Output a terse help document to the console
Any key which is not bound to a command should also do the trick
h d h
Send the SIGKILL signal to all processes except init i c i
Kill all processes on the current virtual console (Can be used to kill X and svgalib programs, see below)
This was originally designed to imitate a Secure Access Key
k t k
Send the SIGKILL signal to all processes, including init l n l
Output current memory information to the console m m ,
Shut off the system o r o
Output the current registers and flags to the console p l p
Switch the keyboard from raw mode, the mode used by programs such as X11 and svgalib, to XLATE mode r p r
Sync all mounted filesystems s o s
Output a list of current tasks and their information to the console t y t
Remount all mounted filesystems in read-only mode u g u
Output Voyager SMP processor information v k v