x64

CentOS x64: firefox java and flash plugin

To fix various errors with java and flash under CentOS x64 on my AMD-based home box, I have tried to use ndis wrapper, manually install java x64 from sun, also various versions of flash from Adobe by downloading rpm and manual install.

Finaly problem was not completely solved after that, some issues were with flash, and I haven't got java working.

To solve I just decided to move on 32-bit version.

That way I just stopped firefox, issued following

su -
[insert pwd]
yum list installed firefox jre
yum remove jre.x86_64
yum remove firefox.x86_64
yum install firefox.i386

and I got flash working without problems on google analytics.








Source: Roman's blog

KVM on core 2 duo laptop Ubuntu / Failed :(

After successfull usage of KVM on my CentOS desktop,
started installation of kvm on Ubuntu (Xubuntu 8.04) on my Core2 duo laptop:

$ sudo apt-get install kvm
..
* Your system does not have the CPU extensions
required to use KVM. Not doing anything.
# check for presence of vitualization in cpu
$ cat /proc/cpuinfo
processor : 0
vendor_id : GenuineIntel
cpu family : 6
model : 15
model name : Intel(R) Core(TM)2 Duo CPU T5470 @ 1.60GHz
stepping : 13
cpu MHz : 800.000
cache size : 2048 KB
physical id : 0
siblings : 2
core id : 0
cpu cores : 2
fdiv_bug : no
hlt_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 10
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge
mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm

Source: Roman's blog

Virtualization with KVM

Used this guide:
http://wiki.centos.org/HowTos/KVM to run virtual machine on my CentOS box.

Xubuntu run in 3-5 min's, that is 5-10 times faster than with native quemu virtualization from box.

For now I will use it as default virtual machine.

Tips for creation of new machine:

su
qemu-img create -f qcow2 disk.img 5G
qemu-kvm -hda disk.img -cdrom
/media/Elements_/images/eeexubuntu-7.10.3/eeexubuntu-7.10.3-desktop-i386.iso
-m 512 -boot d

Source: Roman's blog

Hybernate on CentOS5.1

Found a way to hybernate (suspend to disk) through the xfce (and gnome) interface on CentOS5.1.
I don't see the hybernate button on the quit form (there only Logout, Restart and Shutdown).

Started gnome-power-preferences and made settings:

Then got the icon in the tray through wich it is possible to hybernate:

By the way, is the hybernate leading to the security issues?

Source: Roman's blog

Todays issues

1) Found that plugin-wrapper installed under firefox to support Adobe Flash
was not working under other user. I have seen no graphics in analytics and youtube.

After I written about:plugins in firefox address line, plugins started work.
Don't know how exactly they were "activated", but it works for me.

2) Written alias freemind for freemind.sh in my local folder.

3) currently installing;
pidgin (I am under xfce, and like pidgin on my eee pc)
squashfs
and other:

Source: Roman's blog

httrack for centOS x64

httrack software solved me as the mirroring solution for Ubuntu.
Tryied get it on CentOS.
no .rpm found; downloaded tar.gz from httrack official site;

# tar -xf [tarfile]
# ./configure


configure: error: either specify a valid zlib installation with --with-zlib=DIR or disable zlib usage with --without-zlib

To resolve:

yum install zlib-devel
./configure
make all
make install

Ok than, I have it.

Source: Roman's blog

tried 'virtualization' under CentOS QEMU


Just to try what is new in word of virtual machines ( In my opinion it is not long now :) )

No idea why it can be best solution for any of common tasks.

Used file for filesystem, non-xen kernel (due to still having no network on -xen with my card).

Extremely slow.30 minutes to load Xubuntu Gutsy in machine.
(2-3 minutes on low-end Asus eeePC).

Host is CentOS 5.1 AMD Opteron x64 machine. Target i686 500 mb memory eeeXubuntu (Xubuntu gutsy 7.10).

Source: Roman's blog

upd:CentOS 5.1 realtec 8168/8111b

finally I have got it working under 'standard' (non-xen) kernel
using the guides from wolfy and wikipedia (http://wolfy.fedorapeople.org/) :

http://wiki.centos.org/HardwareList/RealTekRTL8111b
http://wolfy.fedorapeople.org/dkms-r8168/quick_install.html

However I still have no network under xen-kernel,
that is boring :(

Source: Roman's blog