Linux centos 64 or 32 bit

CentOS

I am considering CentOS 6 for my home PC. A general purpose PC for a power user. Nothing fancy but I want a simple, stable foundation. I have been using Ubunt for about 4 years but I am not happy with the direction Canonical is heading (Unity interface, change for change sake, etc.) At the moment I am running Ubuntu 10.04 64 bit. I have been running it for a little more than a year. I used the 64 bit version of 9.10 before that. I think the 64 bit version was a mistake.

Dell Studio XPS 8000 — i7-860 CPU with 8 GB RAM, ATI Radeon HD5450, plenty of disk.

Gnome desktop with normal PC stuff such as OpenOffice.org, Thunderbird, Firefox, Xsane, Gimp, VLC player, K3b
VMWare Player — A couple of Windows VMs for some old apps which I have not found Linux equivalents, testing new distros, a LAMP server for some PHP MySQL work etc. A fun toy and something to apply the power of the i7-860 to.
Some apps under Wine — Agent and GrabIt for Usenet, Visual FoxPro database and a couple of others

Bottom line, I have a 64 bit CPU but no 64 bit apps. I initially thought I needed a 64 bit OS to access the 8 GB of RAM. I since learned that a PAE kernel will do that sufficiently for my purposes. I do not have any apps which need more than a couple of GB of memory. Including the VMs. So I am thinking that the 32 bit version of CentOS would be fine.

The cons I have found with Ubuntu 64 bit include:

Browser problems — especially related to java and flash
Nero Linux (CD/DVD burning app) will not do double layer DVDs (not an issue really as I generally use K3b)

I don’t know. Since I can access all of my ram with a 32 bit pae OS I do not see why I would want to run the 64 bit OS.

Читайте также:  Диск не отображается linux

Can anyone show me what I am missing?

Источник

CentOS Version Command and Update CentOS to New Version

CentOS is a popular Linux Operating System for enterprise computing, web servers and Virtual Private Servers. CentOS may be given as a Linux option when configuring a new Virtual Private Server (VPS), online with a hosting company. This article provides a list of basic commands to help manage a CentOS VPS.

CentOS

View the CentOS Version and Update with Shell Commands

For this article try all the commands on a test system to see them in action. See the article SSH into VPS Virtual Machine on Windows Using PuTTY. Remember to have backups of data before changing any aspect of a live running system.

  • View CentOS version
  • Check if CentOS is 64-bit or 32-bit
  • View the Centos server Name
  • View CentOS kernel version
  • View list of available CentOS updates
  • Updating CentOS
  • Rebooting CentOS
  • Listing CentOS installed packages

In these examples root is the logged in user, in practice a different superuser will normally be used when maintaining a server. All the following commands are executed in the shell.

View CentOS Version

When CentOS boots the major version is briefly displayed on a boot screen. It is usually configured to show on the shell login with the kernel version:

CentOS 7 Booted

CentOS is based on the commercially supported Red Hat Linux, therefore, once logged in use cat /etc/redhat-release:

[root@servername ~]# cat /etc/redhat-release CentOS Linux release 7.1.1503 (Core)

For more information use cat /etc/*release:

CentOS Release

In version 7 of CentOS the hostnamectl status command can be used to find the major version and kernel version:

CentOS Hostnamectl

Check if CentOS is 64-bit or 32-bit

Since CentOS version 7 there is only the 64-bit version officially supported (although a 32-bit version is available from the community). To check if the running CentOS is 64-bit or 32-bit use the uname command with the -p option (p for processor):

[root@servername ~]# uname -p x86_64

The 64-bit CentOS will display x86_64, and 32-bit will display i686:

[root@servername ~]# uname -p i686

See also the command to display the kernel version below.

Display the CentOS Server Name (Host Name)

Use hostname to display the systems name:

[root@servername ~]# hostname servername.server

See also the hostnamectl status command above.

Display the CentOS Kernel Version

Use uname -r -v to see the kernel version:

[root@servername ~]# uname -r -v 3.10.0-229.el7.x86_64 #1 SMP Fri Mar 6 11:36:42 UTC 2015

Again, see also the hostnamectl status command above.

Читайте также:  Linux скопировать папку рекурсивно

List Available CentOS Updates

List available updates using yum, here piped (using |) to less to view one screen at a time, using the space bar. Use q to quit the listing:

[root@servername ~]# yum list updates | less

Update CentOS

Update CentOS using yum, package downloads may need to be confirmed with y:

[root@servername ~]# yum update

(Note: After confirming the update, the packages will download, extract and install. If this fails you may see messages such as Trying other mirrors, Error Downloading Packages and [Errno 256]. Use the command yum clean metadata and try yum update again. If it still reports errors use the command yum clean all and try again.)

Rebooting CentOS

[root@servername ~]# shutdown -r now

One logged back in use the commands above to check the updated versions:

[root@servername ~]# uname -r -v 3.10.0-693.11.1.el7.x86_64 #1 SMP Mon Dec 4 23:52:40 UTC 2017 [root@servername ~]# cat /etc/redhat-release CentOS Linux release 7.4.1708 (Core)

List CentOS Installed Packages

List installed packages using yum, piped to less to view a page at a time, with the space bar (use q to quit):

[root@servername ~]# yum list installed|less

Further Information

For more information on CentOS see their Wiki and the CentOS web site at https://www.centos.org/

See Also

Author: Daniel S. Fowler Published: 2014-04-11 Updated: 2017-12-27

ShareSubmit to TwitterSubmit to FacebookSubmit to LinkedInSubmit to redditPrint Page

Do you have a question or comment about this article?

(Alternatively, use the email address at the bottom of the web page.)

↓markdown↓ CMS is fast and simple. Build websites quickly and publish easily. For beginner to expert.

Free Android Projects and Samples:

Источник

How to Check if Linux (Ubuntu, Fedora Redhat, CentOS) is 32-bit or 64-bit

The number of CPU instruction sets has kept growing, and likewise for the operating systems which are able to run and support on more than one CPU system architecture. For example, a Linux OS such as Ubuntu, Fedora, Redhat, Linux Mint, Debian, Arch Linux, openSUSE and CentOS can run on Intel or AMD CPU in either 32-bit or 64-bit flavor. In addition, some Linux also supports ARM CPU in both 32-bit and 64-bit versions.

So something it’s important to check and verify the edition and flavor of operating system been installed on the computer, before performing tasks such as installing new applications and kernel upgrade, so that the matching version could be installed to ensure proper compatibility.

Читайте также:  Vipnet client linux команды

If you want to know whether the Linux running on your machine is of 32-bit or 64-bit variant, and also the type of microprocessor instruction sets architecture of the machine, run the following command on the CLI:

The result will be something similar to any of the following lines:

Linux server.mydigitallife.info 2.6.32-431.5.1.el6.x86_64 #1 SMP Wed Feb 07 07:07:07 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

Linux Middlebin-Ubuntu 2.6.38-10-generic #46-Ubuntu SMP Tue Jun 28 15:05:41 UTC 2011 i686 athlon i386 GNU/Linux

Linux host 3.13.7-1-ARCH #1 PREEMPT Mon Mar 8 07:07:07 MDT 2012 armv5tel GNU/Linux

UNAME

Uname is the command that is used in Linux to print the name, version and other details about the current machine and the operating system running on it. The version of Linux kernel be installed on the system can be deduced from the result above, for example:

i386 – 32-bit kernel
x86_64 – 64-bit kernel
armv5tel – ARMv5

The possible values including i386; i686; x86_64; ia64; alpha; amd64; arm; armeb; armel; hppa; m32r; m68k; mips; mipsel; powerpc; ppc64; s390; s390x; sh3; sh3eb; sh4; sh4eb; sparc and etc.

There may be multiple entries as uname returns values for many variables such as system kernel, operating System (or distribution), machine, processor, hardware platform and more. Normally all values should be the same, but some instruction sets architecture does provide backward compatibility, which means it supports more than one variant of operating systems. For example, one can install 32-bit or 64-bit operating system on a x64 CPU processor. Just select the one with highest comparability.

If you want specific information about your system, you can use different switch option to return just the information you want, instead of everything about your system.

Here’s the options that can apply to uname command:

-s, --kernel-name [print the kernel name] -n, --nodename [print the network node hostname] -r, --kernel-release [print the kernel release] -v, --kernel-version [print the kernel version] -m, --machine [print the machine hardware name] -p, --processor [print the processor type or "unknown"] -i, --hardware-platform [print the hardware platform or "unknown"] -o, --operating-system [print the operating system]

Источник

Оцените статью
Adblock
detector