View Single Post
  #1  
Old 5th December 2005, 14:46
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,721 Times in 2,562 Posts
Exclamation Installation on 64-bit systems

Hi guys,

I'm trying to adjust the ISPConfig installer so that it also supports 64-bit systems. Now my question is: what would be the best way to test if the operating system (not the processor!) is a 64-bit Linux - please keep in mind that it is possible to install a 32-bit Linux on a 64-bit processor!

I think it is a good idea to use the
Code:
uname
command to find out about the operating system - but which switch do I use?

Code:
uname -m
prints the machine hardware name. On a 64-bit SuSE 10.0 this gives back
Quote:
x86_64
Code:
uname -p
prints the processor type. On a 64-bit SuSE this also bives back
Quote:
x86_64
.

The same commands issued on a 32-bit Debian Sarge show the following:

uname -m: i686

uame -p: unknown

So I guess uname -m would be the right command to find out about the operating system.

Do you have better suggestions?

Also, if you happen to run a 64-bit Linux (Fedora, Debian, SuSE, Mandriva, CentOS, ...), please post the output of both

Code:
uname -m
and

Code:
uname -p
here.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Sponsored Links