Showing posts with label x64. Show all posts
Showing posts with label x64. Show all posts

Sunday, September 21, 2008

EPEL repository for CentOS 5

To make your x64 CentOS more Desktop-friendly
create file "/etc/yum.repos.d/EPEL.repo"


with contest:

[epel]
name=Epel from fedora
baseurl=http://download.fedora.redhat.com/pub/epel/5/x86_64/
gpgcheck=0


From now it is possible to install such applications,that are not available in original CentOS installation,
as Wine,DosBox, fbreader, gnochm, gnokii, gparted, kdiff3, octave and so on.

Priorities plugin for yum should be enabled for that.

Sunday, July 27, 2008

ddd installation on centOS



get ddd there:

http://ftp.gnu.org/gnu/ddd/

Through yum, install following package:


RPM Group : Development/Libraries
Source : openmotif-2.3.0-0.5.el5.src.rpm
Yum Group : Development/X Software Development
-> Type : Optional
Build Time : Sun May 25 06:14:11 2008
Install Time : Sun Jul 27 23:56:16 2008
License : Open Group Public License


and it dependencies

then

tar -xf ddd-.tar.gz
cd ddd
./configure
make
sudo make install

Monday, July 7, 2008

Gentoo install from liveCD

On Amd64 livecd of Gentoo install fails.

Just because it is not right way to install Gentoo.

No way except of install from minimal with emerge/ebuild procedure.

Sunday, June 22, 2008

CentOS x64: firefox java and flash plugin

Last solutions of problems with x64 that worked:



Flash:


just got it from there:
http://labs.adobe.com/downloads/flashplayer10.html

then in terminal:

$ tar -xf libflashplayer-10.0.22.87.linux-x86_64.so.tar.gz
$ sudo cp libflashplayer.so /usr/lib64/mozilla/plugins/


Restart firefox-64 bit;
Youtube is working. Google analytics is also working.

Below are the previous problem solutions that worked in different time


They are working from time to time. (see comments also for details).

Java:



Firefox requested for additional plugin and directed to java page for download. After that, downloaded 32-bit (not x64!) rpm of java from sun.

Warning: if following this guide check java versions,sun updates versions of java, so numbers could be different, and pathes,if such present in the command line.



chmod a+x jre-6u6-linux-i586-rpm.bin
./jre-6u6-linux-i586-rpm.bin


fix alternatives file. Set sun's:


[root@rtgCent Desktop]# /usr/sbin/alternatives --install /usr/bin/java java /usr/lib/jvm/jre-1.4.2-gcj/bin/java 1
[root@rtgCent Desktop]# /usr/sbin/alternatives --install /usr/bin/java java /usr/java/jre1.6.0_06/bin/java 2
[root@rtgCent Desktop]# /usr/sbin/alternatives --config java

There are 2 programs which provide 'java'.

Selection Command
-----------------------------------------------
1 /usr/lib/jvm/jre-1.4.2-gcj/bin/java
*+ 2 /usr/java/jre1.6.0_06/bin/java

Enter to keep the current selection[+], or type selection number:

# ln -s /usr/java/jre1.6.0_06/plugin/i386/ns7/libjavaplugin_oji.so /usr/lib/mozilla/plugins/libjavaplugin_oji.so

[root@rtgCent Desktop]# vi /etc/profile.d/java.sh
export J2RE_HOME=/usr/java/jre1.6.0_06
export PATH=$J2RE_HOME/bin:$PATH

save by :wq ; (or use gedit/mousepad/kate if don't like vi) restart firefox,
























check,if all working.

Flash


Solution 1:



For CentOS 5.2 firefox 64-bit works better with nsplugnwrapper from the box.
Just reinstall nsplugiwrapper to resolve initial problem with flash that can be.
However java not worked and I moved to 32-bit version of firefox.
Procedure below is related to ff 1.5 and CentOS 5.1, but it works for firefox 3 under centos 5.2 also

Solution 2:


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

Finally 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.








Wednesday, May 21, 2008

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
constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est tm2 ssse3 cx16
xtpr lahf_lm ida
bogomips : 3195.76
clflush size : 64

processor : 1
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 : 1
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 constant_tsc arch_perfmon pebs bts pni monitor ds_cpl est
tm2 ssse3 cx16 xtpr lahf_lm ida
bogomips : 3191.86
clflush size : 64
#is virtualization in flags?
$ egrep 'vmx|svm' /proc/cpuinfo
$



Ups, failed :(

It was because KVM works only with specific processors.

To conclude: Different CPU model have different best virtual machine.

That way further I'll try Xen there
(which failed on my CentOS desktop due to lack of rtl8168/8111 drivers from the box;
It seems that if they will be installed, there is high probability of lacking
the driver after the updates of the xen kernel package).

Monday, May 19, 2008

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

Sunday, May 18, 2008

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 which it is possible to hybernate:

Saturday, May 17, 2008

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:

Thursday, May 15, 2008

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.

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).

Wednesday, May 14, 2008

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 :(

Tuesday, May 13, 2008

64bit flash plugin for firefox 1.5 under rpm-based distro (CentOS)

Page that works in solving some issues, for installing plugin on 64-bit firefox 1.5 under CentOS 5.1 on my box:
http://www.linuxheadquarters.com/howto/64-bit/flash64.shtml

Google analytics however, not works pretty well with this plugin.

Use this article to get Flash and Java working.