Does RedHat OpenJdk 64 bits exists? - 64-bit

All is in the title and I can't find clear information on the web.
Many thanks,
Manu

These is the output from my RHEL 6 server:
[root#red6 ~]# yum list '*openjdk*'
Loaded plugins: rhnplugin
Installed Packages
java-1.6.0-openjdk.x86_64 1:1.6.0.0-1.39.1.9.8.el6_1 #rhel-x86_64-server-6
Available Packages
java-1.6.0-openjdk-devel.x86_64 1:1.6.0.0-1.39.1.9.8.el6_1 rhel-x86_64-server-6
java-1.6.0-openjdk-javadoc.x86_64 1:1.6.0.0-1.39.1.9.8.el6_1 rhel-x86_64-server-6
It seems that OpenJDK exist and is available in standard RHEL distribution.
You can install it by executing as a root user:
yum install java-1.6.0-openjdk

You could try this page for instructions on how to download it. http://openjdk.java.net/install/

Related

Installing varnish on Debian 10 (Buster)

It seems that varnish 6.1.1 offered by Debian repo is marked as 'security' and fix is only available on varnish version ^6.2.1
so I looked around and landed here https://packagecloud.io/varnishcache/varnish62/install
Where I can only find packages for Debian Stretch Bionic or Xenial.
There doesn't seem to be a source package either.
Is there a reason for https://packagecloud.io/varnishcache/ not to have any packages for the Debian Buster ? Not even the 6.1 ?
What should I do?
thanks
this is an ongoing project, weeklies for buster will land next week if all goes well, then 60lts and 63 will get them.
Note that the project have multiple ways for you to contact them and ask about this, stackoverflow is definitely not the best channel for such specific inquiries.
https://packagecloud.io/varnishcache/varnish64/install shows this script:
# curl -s https://packagecloud.io/install/repositories/varnishcache/varnish64/script.deb.sh |bash
and then
# apt-get install varnish

Issue while installing Apache with yum

When I run yum install httpd-devel I get this :
This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.
Could not retrieve mirrorlist http://mirrorlist.centos.org/?release=7Server&arch=x86_64&repo=os&infra=$infra error was
14: curl#6 - "Could not resolve host: mirrorlist.centos.org; Erreur inconnue"
One of the configured repositories failed (Inconnu),
and yum doesn't have enough cached data to continue. At this point the only
safe thing yum can do is fail. There are a few ways to work "fix" this:
Cannot find a valid baseurl for repo: base/7Server/x86_64
I'm using rhel 7 how can I solve this?
Please download the rpm of repository for CENTOS 7 and RHEL 7
RHEL/CentOS 7 64-Bit
# wget http://dl.fedoraproject.org/pub/epel/7/x86_64/e/epel-release-7-8.noarch.rpm
# rpm -ivh epel-release-7-8.noarch.rpm
You must realize that RHEL operating system is not FOSS (free and open-source) like CentOS or Ubuntu. You need to purchase a subscription to use its services like software repository and tech support.
You can have look at their catalog if you want, or you can use CentOS which is derived from RHEL, but is FOSS. Both the operating systems are closely related, and almost everything you can do on RHEL can be done in CentOS.

Gitlab on suse linux

I want to install Gitlab on the suse linux OS.
Could some one please suggest me which OS supported Gitlab installer from the available ones on Gitlab site : Ubuntu, Debian and Centos can be used to install Gitlab on Suse linux ?
OS details :
SUSE Linux Enterprise Server 11 (x86_64)
VERSION = 11
PATCHLEVEL = 4
I'm afraid that Suse is a complete different system. They use a package manager called YaST that won't be compatible with any of the proposed OS on the GitLab website.
Alternatively, you can try installation via Docker (Hopefully your system is 64bits):
https://gitlab.com/gitlab-org/gitlab-ce/tree/master/docker
Or the hard way, manually:
https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/installation.md
Or even pop an instance somewhere in the cloud but this would involve some costs.
For all other OSs it has packages to install all the required components, but for SUSE there is no package, so you will have to install all the required components like ruby, redis, mysql and other dependent libs on your own.
You may like to try this :
https://gist.github.com/rriemann/5163741
or
https://gist.github.com/jniltinho/5565606
Since I found this answer while looking for the installation on SUSE 12 (SP3), there is one of the currently working options (2021).
First, check the version supported on the system, (Gitlab 12.1 in case of SUSE 12 SP3, which corresponds to OpenSUSE 42.3)
After that, get the proper .rpm file using wget.
Install with
sudo EXTERNAL_URL="http://gitlab.my.domain" rpm -ivh path/to/file/filename
That's it. Some Versions of Omnibus for SUSE are supported directly, but it really depends on the host system version.

Google Chrome in CentOS

In CentOS 6.5 I would like to install Google Chrome, but I am having a problem with that.
I read that this is mainly because Google are using very recent Linux build systems which produce backwards-incompatible binaries.
1) Enable Google YUM repository:
Add following to /etc/yum.repos.d/google.repo file:
for 32-bit
[google]
name=Google - i386
baseurl=http://dl.google.com/linux/rpm/stable/i386
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
for 64-bit
[google64]
name=Google - x86_64
baseurl=http://dl.google.com/linux/rpm/stable/x86_64
enabled=1
gpgcheck=1
gpgkey=https://dl-ssl.google.com/linux/linux_signing_key.pub
2) Install Google Chrome with YUM (as root user)
yum install google-chrome-stable
Copy and run this line :
curl https://intoli.com/install-google-chrome.sh | bash
Whilst adding a Google Chrome repo works in CentOS 7, the original question mentioned CentOS 6.5, so just a yum repo on its own isn't good enough for that older (but still supported) platform.
Google do indeed use far too "new" compiler tools when building their Google Chrome browser on Linux, resulting in quite frankly avoidable libstdc++ compatibility issues in CentOS 6. The correct answer is to download and run the script I wrote from the site http://chrome.richardlloyd.org.uk/ but note that you must upgrade to at least CentOS 6.6 to run it.
This installs Chrome on any RHEL/CentOS/Amazon Linux variant.
curl https://intoli.com/install-google-chrome.sh | bash
Refer for more details: https://intoli.com/blog/installing-google-chrome-on-centos/
For linux rpms, you can find specific versions of Chrome here:
https://dl.google.com/linux/rpm/stable/x86_64/google-chrome-stable-CHROME_VERSION.x86_64.rpm
replace CHROME_VERSION with the version you are looking for, e.g. 86.0.4240.198-1

Compatibility Issue from centos 5.x to 6.x

I have an rpm compiled in centos 5.x which requires libnetsnmp.so.10 and other shared objects. I want to create an rpm of it which is to be run on centos 6.x but it fails to install as on installation it says :
error: Failed dependencies:
libnetsnmp.so.10()(64bit) is needed and so on...
But Centos 6.x contains libnetsnmp.so.20
So I created symbolic links of libnetsnmp.so.10 of libnetsnmp.so.20.
But problem is still the same.
So can you please help me to resolve this problem?
If recompiling for Centos 6 isn't an option, you can try two things, first, install the correct libnetsnmp in the Centos 6 server. If that's not an option, you can add the following to your RPM spec file:
Autoreq: no
This will cause it not to scan your binary for dependencies (such as dynamically linked libraries), and automatically build that into the RPM.
Of course, if that version of libnetsnmp is ACTUALLY required, your just hosing yourself down the road, but likely newer versions will work just fine.

Resources