Installed OS version not matching /proc/version - operating-system

I installed Centos v7.2 While I do cat /proc/version I see this
Linux version 3.10.0-327.el7.x86_64 (builder#kbuilder.dev.centos.org) (gcc version 4.8.3 20140911 (Red Hat 4.8.3-9) (GCC) ) #1 SMP Thu Nov 19 22:10:57 UTC 2015
Why is this Red Hat 4.8.3-9? Should it not be in versions of 7.x.x?

/proc/version specifies the version of the installed kernel ("3.10.0-327.el7.x86_64" in your case) and the version of gcc used to compile it ( "4.8.3 20140911 (Red Hat 4.8.3-9)").
The CentOS/RHEL version can be found in /etc/redhat-release.

Related

Postgres 13 ERROR incomatible data layouts on s390x

Platform: Linux version 3.10.0-693.el7.s390x (mockbuild#clefos-build-image08.bld.sinenomine.net) (gcc version 4.8.5 20150623 (Red Hat 4.8.5-11) (GCC) ) #1 SMP Sat Sep 16 05:21:59 EDT 2017
Postgres version: PostgreSQL 13.6 on s390x-ibm-linux-musl, compiled by gcc (Alpine 10.3.1_git20211027) 10.3.1 20211027, 64-bit
Postgres' docker image used: 13-alpine, hash ad9f6807f8a2
org.postgresql.util.PSQLException: ERROR: failed to JIT module: Added modules have incompatible data layouts: E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-a:8:16-n32:64 (module) vs E-m:e-i1:8:16-i8:8:16-i64:64-f128:64-v128:64-a:8:16-n32:64 (jit)
#a_horse_with_no_name disabling jit fixed it

How to check if my Postgres is Enterprise or Community edition?

When I select for version I get:
postgres=# SELECT version();
version
---------------------------------------------------------------------------------------------------------
PostgreSQL 10.1 on x86_64-pc-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-18), 64-bit
(1 row)
But it doesn't says anything about Enterprise/Community.

Which is the Postgres version

I have a doubt about my version of Postgres installed in my environment.
This is my os: CentOS Linux release 7.3.1611 (Core)
In /usr/ I can see: pgsql-9.4/ folder.
But when I do: select version(); I get:
PostgreSQL 9.2.18 on x86_64-redhat-linux-gnu, compiled by gcc (GCC) 4.8.5
20150623 (Red Hat 4.8.5-11), 64-bit
So, what version do I have?
To determine the version of the database server, use select version() (from a connection to the database):
postgres=# select version();
version
----------------------------------------------------------------------------------------------------------------
PostgreSQL 9.2.14 on x86_64-unknown-linux-gnu, compiled by gcc (GCC) 4.4.7 20120313 (Red Hat 4.4.7-16), 64-bit
To determine the version of the database client, use psql --version (from your shell command line):
$ psql --version
psql (PostgreSQL) 9.6.2
The server is where data is stored. The client is the software you use to connect to the server. They can be different versions.
Simply check the version by this command: psql --version
You may of course have more than one instance of Postgresql. Try this sql to show your current instance location in case there is more than one
SHOW data_directory;

Eclipse on ARM (ubuntu)

I've installed Ubuntu on my tablet (Nvidia Shield Tablet).
Would it be somehow possible to run Eclipse on this machine?
It has an ARM processor.
uname -a
Linux shield 3.10.40-g793214a #9 SMP PREEMPT Tue Jul 21 09:57:49 PDT 2015 armv7l armv7l armv7l GNU/Linux

how to upgrade CentOS 5.11 to 6.x

I have tried executing yum update command but it only took me from 5.11 to 6.x. I need the server to be running CentOS 6.x for nagiosxi.
[root#nagiosxi network-scripts]# uname -a
Linux nagiosxi.inl.gov 2.6.18-371.8.1.el5 #1 SMP Thu Apr 24 18:23:07 EDT 2014 i686 i686 i386 GNU/Linux
As you probably know, CentOS is based on RedHat so the same rules apply for both.
In place upgrades between 4, 5, and 6 are not supported by RedHat (and thus CentOS). The only supported upgrade path is from 6 to 7. The expectation is that an upgrade path will continue in future releases.
With that said, there is a way to upgrade from 5 to 6 but it is not supported by RedHat so be careful with how you use it.
The link is: In place upgrade