Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Developers' Forum

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #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,735 Times in 2,571 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
 

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Manual ISPConfig installation Jan Installation/Configuration 6 29th October 2005 11:56
Problems getting through the installation klausagnoletti Installation/Configuration 4 26th September 2005 12:23
mysql password during installation Hellbound Installation/Configuration 4 21st September 2005 18:52
ERROR: The URL is not reachable! The installation routine stops here! shart Installation/Configuration 4 2nd September 2005 09:07
Trouble with Installation. cjkeeme Installation/Configuration 3 3rd August 2005 18:46


All times are GMT +2. The time now is 21:01.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.