fedora 7 – kde like mac osx – kde come mac osx con baghira
Una ottima guida passo passo
a very good step by step guide
http://baghira.sourceforge.net/OS_Clone-en.php
Il blog tecnico di Maurizio Proietti a Prato 59100. Info e configurazioni linux microsoft
Una ottima guida passo passo
a very good step by step guide
http://baghira.sourceforge.net/OS_Clone-en.php
./configure –prefix=`kde-config –prefix`
make
make install
in caso di errori, se non trova Qt aggiungere:
–with-qt-dir=$QTDIR –with-qt-libraries=$QTDIR/lib –with-extra-libs=$QTDIR/lib
opuure a mano
–with-qt-dir=/usr/lib/qt-3.3 –with-qt-libraries=/usr/lib/qt-3.3/lib –with-extra-libs=/usr/lib/qt-3.3/lib –with-qt-include=/usr/lib/qt-3.3/include
Ecco come fare:
yum install kdelibs-devel kdebase-devel libXtst-devel rpm-build
wget http://www.kde-look.org/CONTENT/content-files/59592-baghira.spec
mv 59592-baghira.spec /usr/src/redhat/SPECS/baghira.spec
wget http://mesh.dl.sourceforge.net/sourceforge/baghira/baghira-0.8.tar.bz2
mv baghira-0.8.tar.bz2 /usr/src/redhat/SOURCES
cd /usr/src/redhat/SPECS/
rpmbuild -bb baghira.spec
cd ../RPMS/i386/
rpm -Uhv baghira-0.8-1.i386.rpm
Adesso nel pannello di controllo di kde possiamo scegliere baghira come
tema e decorazione.
Saluti
Installo i pacchetti necessari:
yum install compat-libstdc++-296.i386 compat-libstdc++-33.i386
Installiamo la jre e la jdk
Andiamo su
http://java.sun.com/javase/downloads/index.jsp
e scarichiamo la jdk (ultima versione formato rpm)
chmod ugo+x jdk-6u1-linux-i586-rpm.bin
./jdk-6u1-linux-i586-rpm.bin
rispondere yes per accettare la licenza
[root@trinity2 ~]# ls /usr/bin/java -la
lrwxrwxrwx 1 root root 22 12 giu 20:56 /usr/bin/java ->
/etc/alternatives/java
[root@trinity2 ~]# ls -la /etc/alternatives/java
lrwxrwxrwx 1 root root 35 12 giu 20:56 /etc/alternatives/java ->
/usr/lib/jvm/jre-1.5.0-gcj/bin/java
[root@trinity2 ~]# rm /etc/alternatives/java
rm: rimuovere link simbolico `/etc/alternatives/java'? y
[root@trinity2 ~]# ln -s /usr/java/jdk1.6.0_01/bin/java
/etc/alternatives/java
[root@trinity2 ~]# java -version
java version "1.6.0_01"
Java(TM) SE Runtime Environment (build 1.6.0_01-b06)
Java HotSpot(TM) Client VM (build 1.6.0_01-b06, mixed mode, sharing)
adesso abilitiamo il plugin per firefox
[root@trinity2 ~]# ln -s
/usr/java/jdk1.6.0_01/jre/plugin/i386/ns7/libjavaplugin_oji.so
/usr/lib/firefox-2.0.0.4/plugins/
Dopo aver risolto i problemi della scheda video (v. post precedente – che però segue questo
)
ho installato beryl
yum install beryl-kde
con questo cmd mi ha installato tutte le dipendenze e i pacchetti necessari
beryl-core.i386
beryl-kde.i386
beryl-manager.i386
beryl-plugins.i386
beryl-settings.i386
beryl-settings-simple.i386
A questo punto per attivare beryl non devo far altro che lanciare
beryl-manager
Per configurare beryl:
http://lunapark6.com/?p=2916&cp=3
Se si vuole lanciarlo in automatico… consiglio il seguente link.
Oggi ho provato a installare i driver nvidia abilitando il direct rendering
non ce l'ho fatta.
Ho provato di tutto, ma l'installazione tramite i pacchetti rpm e yum
non ha dato nessun risultato.
Ogni volta che provavo il comando
glxinfo | grep rend
ottenevo
direct rendering: No
Alla fine, stufo e quasi rassegnato mi sono deciso e ho fatto
l'installazione manuale.
Ecco i passi necessari:
Scarico
http://us.download.nvidia.com/XFree86/Linux-x86/100.14.09/NVIDIA-Linux-x86-100.14.09-pkg1.run
poi un bel
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
seguo i passi necessari
quando ha finito ho dato un bel telinit 5
e…. magia…
glxinfo | grep rend
direct rendering: Yes
OpenGL renderer string: GeForce Go 7300/PCI/SSE2
http://forums.fedoraforum.org/showthread.php?p=805589#post805589
http://fedoramobile.org/Members/ops…45-on-fedora-7/
This howto will show you how to blacklist/remove iwl3945 / mac80211 in Fedora 7 and install / use the “known working” ipw3945 kernel module / driver, microcode firmware, regulatory daemon and startup init script. For this you will need to have root privileges and have roots path/environment.
Applicable to Fedora Versions
* Fedora Core 7
Requirements
Explanation of requirements.
1. kernel-devel (kernel development files for building modules against the running kernel)
2. gcc (C++ compiler)
3. ipw3945-1.2.1.tgz (driver / kernel module)
4. ipw3945-ucode-1.14.2.tgz (microcode / firmware)
5. ipw3945d-1.7.22.tgz (regulatory daemon)
6. ipw3945 (startup init script)
Doing the Work
Basic description of what will be done and what is expected. Learn to become root here.
1. Blacklisting the offending modules:
#nano /etc/modprobe.d/blacklist
add these exact lines at the bottom then save and exit:
# iwl3945 blacklist iwl3945 blacklist mac80211
2. Reboot the system:
#] reboot
3. Create a temp directory on your desktop called ‘ipw3945′ and download the following files into it:
$] mkdir /home/$user/Desktop/ipw3945 (replace $user with your username)
http://prdownloads.sourceforge.net/….1.tgz?download
http://bughost.org/ipw3945/ucode/ip…code-1.14.2.tgz
http://bughost.org/ipw3945/daemon/ipw3945d-1.7.22.tgz
http://fedoraos.org/ipw3945/ipw3945
4. Install kernel development packages and gcc compiler:
#] yum install kernel-devel gcc
5. Unpack the gzipped tarballs into the directory on your desktop called ‘ipw3945′ that we created earlier:
$] tar xvfz ipw3945-1.2.1.tgz $] tar xvfz ipw3945-ucode-1.14.2.tgz $] tar xvfz ipw3945d-1.7.22.tgz
6. Copy ucode firmware and regulatory daemon to their respective locations:
cp ipw3945-ucode-1.14.2/ipw3945-ucode /lib/firmwarecp ipw3945d-1.7.22/ipw3945d /sbin
(or choose the version for x86_64 if necessary)
7. Compile and copy the resuling kernel module to the correct location (for more options here see ‘more information’ below):
$] cd ipw3945-1.2.1 && make $] su --login #] cp /home/$user/Desktop/ipw3945/ipw3945-1.2.1/ipw3945.ko /lib/modules/2.6.21-1.3212.fc7/kernel/drivers/net/wireless/ #] chmod 744 /lib/modules/2.6.21-1.3212.fc7/kernel/drivers/net/wireless/ipw3945.ko#] depmod -ae
8. Install startup init script:
#] cp /home/$user/Desktop/ipw3945/ipw3945 /etc/init.d #] chmod +x /etc/init.d/ipw3945 #] chkconfig --add ipw3945 && chkconfig ipw3945 on
9. Reboot the system:
#] reboot
Troubleshooting
How to test
Explanation troubleshooting basics and expectations.
1. Configure the device:
#] system-config-network
new –> wireless connection –> Intel Corporation PRO/Wireless 3945ABG Network Connection –> forward
2. Restart the network:
Once you have disabled all other network cards, configured your ip address, gateway, DNS, subnet mask,
SSID, wifi channel, and encryption key:
# service network restart
Common problems and fixes
Many laptops with built in wireless have a WLAN switch that is a toggle switch for enabling/disabling the wireless radio.
Please make sure you check this is on, or your ipw3945 wireless adapter will not detect correctly or work at all.
Also, disable all other network cards before attempting to use the ipw3945.
More Information
Special Notes:
If you’d like Monitor Mode, Promiscuous Mode or RadioTap enabled for this device you will need to edit the Makefile in
Step 7 before compiling the kernel module uncomment the corresponding line(s):
CONFIG_IPW3945_MONITOR=yCONFIG_IEEE80211_RADIOTAP=yCONFIG_IPW3945_PROMISCUOUS=y
Added Reading
Ho installato Acrobat Reader AdobeReader_ita-7.0.8-1.i386.rpm preso dal
sito Adobe.
Quando lo lancio, ottengo questo errore:
||
$ acroread
expr: errore di sintassi
expr: errore di sintassi
expr: errore di sintassi
…
all'infinito, finché non premo ctrl+c
SOLUZIONE:
A chi mai servisse, ho trovato la soluzione in rete in questo forum:
Link:
<https://fcp.surfsite.org/modules/newbb/viewtopic.php?topic_id=26864&forum=12&post_id=114769>
In pratica, bisogna aprire lo script /usr/bin/acroread e fare le
seguenti sostituzioni:
||
418# echo $mfile| sed
's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
419 echo $mfile| sed
's/libgtk-x11-\([0-9]*\).0.so.0.\([0-9]*\)00.\([0-9]*\)\|\(.*\)/\1\2\3/g'
644# MIN_GTK_VERSION="240"
645 MIN_GTK_VERSION="2040"
I numeri all'inizio sono i numeri di riga…
In realtà, a me bastava solo la prima delle due.
C'era un errore di sintassi nella riga di sed.
Come fare in modo che vi corrisponda a vim
Iniziamo:
yum -y update
VI=VIM
vi /etc/profile.d/vim.sh
It should look like this:
if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then
[ -x /usr/bin/id ] || return
[ `/usr/bin/id -u` -le 100 ] && return
# for bash and zsh, only if no alias is already set
alias vi >/dev/null 2>&1 || alias vi=vim
fi
Add a # sign in front of lines 2 and 3, so that it looks like this:
if [ -n "$BASH_VERSION" -o -n "$KSH_VERSION" -o -n "$ZSH_VERSION" ]; then
# [ -x /usr/bin/id ] || return
# [ `/usr/bin/id -u` -le 100 ] && return
# for bash and zsh, only if no alias is already set
alias vi >/dev/null 2>&1 || alias vi=vim
fi
Riferimenti:
http://www.freespamfilter.org/FC4.html
http://wiki.dovecot.org/DovecotLDAPostfixAdminMySQL
http://postfix.pentachron.net/
http://wiki.dovecot.org/FrontPage?highlight=%28%28DovecotLDAPostfixAdminMySQL%29%29
http://flakshack.com/anti-spam/wiki/index.php?page=Installing+Needed+Perl+Modules
http://www.hostingsoftware.net/index.php?module=pagemaster&PAGE_user_op=view_page&PAGE_id=56
ftp://ftp.esat.net/mirrors/ftp.porcupine.org/mirrors/postfix-release/index.html
http://www.maiamailguard.com/maia/wiki/Install
http://download.fedora.redhat.com/pub/fedora/linux/core/development/source/SRPMS/
-- 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