centos distinguishes between 32-bit and 64-bit. 32-bit systems are mainly released based on PCs, while 64-bit systems are mainly aimed at large-scale scientific calculations; you can use the "uname -a" command to check whether the system is 32-bit or 64-bit. The one with "x86_64" in the result is 64-bit. , if it shows i686 or i386, it means 32-bit.
The operating environment of this article: centos 7 system, Dell G3 computer.
centos differentiates between 32 and 64 bits
##Main differences:
CentOS 32bit system is mainly released for PC; CentOS 64bit system is mainly released for large-scale scientific computing. 64bit Linux system is mainly installed on 64bit hardware system; 32bit Linux system can be installed on 32bit hardware system, and can also be installed on 64bit hardware but the running effect is not good (big horse-drawn cart ). 64bit addressing space is larger, 128G memory can be addressed and operated; 32bit addressing space is small and cannot be used by Oracle systems. Large memory support can be enabled through PAE (Physical Address Extension).How to check whether the system is 32-bit or 64-bit?
1. uname -a
If there is x86_64, it is 64-bit, if not, it is 32-bit. is followed by X686 or X86_64 The kernel is 64-bit, and for i686 or i386, the kernel is 32-bit2, file /sbin/init
[root@localhost ~]# file /sbin/init /sbin/init: ELF 32-bit LSB shared object, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
3, file /bin/ ls
[root@localhost ~]# file /bin/ls /bin/ls: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), dynamically linked (uses shared libs), for GNU/Linux 2.6.18, stripped
centos tutorial"
The above is the detailed content of Does centos differentiate between 32 and 64 bits?. For more information, please follow other related articles on the PHP Chinese website!