CentOS 7 - No package letsencrypt available - linux

I am trying to install letsencrypt so i can use HTTPS on my GitLab server. But nothing is dowloaded and I only get message No package letsencrypt available
Output from terminal:
sudo yum -y install letsencrypt
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: ftp.fi.muni.cz
* extras: ftp.fi.muni.cz
* updates: ftp.fi.muni.cz
No package letsencrypt available.
Error: Nothing to do

Related

I can't install openldap via yum command

In various online tutorials, I found that I could have downloaded and installed LDAP and related packages with the following command.
yum install -y openldap openldap-clients openldap-servers
But after I execute this command, I only get the reports: "no package available".
# yum install -y openldap openldap-clients openldap-servers
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* epel: hkg.mirror.rackspace.com
No package openldap-clients available.
No package openldap-servers available.
Nothing to do.
It looks like I have successfully installed openldap, but actually I downloaded openldap via wget url, and the openldap-server and openldap-client are not installed.
My epel version is 7-14. I checked it through the yum list command, and I did not find the LDAP package that I was looking for.
# yum list | grep openldap
openldap.x86_64 2.4.44-22.el7 #anaconda
collectd-openldap.x86_64 5.8.1-1.el7 epel
So how can I install openldap-clients and openldap-servers?
Thanks for any help!

How To Install Latest Nodejs on CentOS?

I following a few tutorials and nothing works. Here is what I do :
yum install -y gcc-c++ make
curl -sL https://rpm.nodesource.com/setup_14.x | sudo -E bash -
sudo yum install nodejs
It never upgrades the version and I always get
Loaded plugins: fastestmirror, universal-hooks
Loading mirror speeds from cached hostfile
* EA4: 66.23.237.210
* cpanel-addons-production-feed: 66.23.237.210
* cpanel-plugins: 66.23.237.210
* base: centos.mirror.vexxhost.com
* extras: centos.mirror.colo-serv.net
* updates: mirror.dst.ca
Package 2:nodejs-13.14.0-1nodesource.x86_64 already installed and latest version

node -v says v4.2.3 but yum install says nothing to do

I am trying to install the latest version of node.js in my CentOS 6.9 server.
root#server [~]# node -v
v4.2.3
my current versions seems to be v4.2.3. I used following line to install new version:
curl --silent --location https://rpm.nodesource.com/setup_9.x | sudo bash -
sudo yum -y install nodejs
it says:
Loaded plugins: fastestmirror, universal-hooks
Setting up Install Process
Loading mirror speeds from cached hostfile
* EA4: 70.87.220.252
* cpanel-addons-production-feed: 70.87.220.252
* base: dist1.800hosting.com
* epel: fedora-epel.mirror.lstn.net
* extras: mirror.dal10.us.leaseweb.net
* updates: repo1.dal.innoscale.net
Package 2:nodejs-9.11.1-1nodesource.x86_64 already installed and latest version
Nothing to do
output from rpm -qa |grep node*
nodesource-release-el6-1.noarch
nodejs-9.11.1-1nodesource.x86_64

failure: nginx-1.0.15-12.el6.x86_64.rpm from epel

I'm trying to install Nginx in Linux Centos 6.7
I log-in as root and run
yum update
yum install nginx -y
I keep getting
nginx-1.0.15-12.el6.x86_64: failure: nginx-1.0.15-12.el6.x86_64.rpm from epel: [Errno 256] No more mirrors to try.
Any hint/suggestion on that will be much appreciated
Try #2
Try yum clean metadata then yum install nginx -y , I got
[root#CentOS6 ~]# yum install nginx -y
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
epel/metalink | 12 kB 00:00
* base: mirror.solarvps.com
* epel: ftp.cse.buffalo.edu
* extras: mirror.atlanticmetro.net
* remi-php56: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* updates: mirror.net.cen.ct.gov
base | 3.7 kB 00:00
base/primary_db | 4.6 MB 00:00
epel | 4.3 kB 00:00
epel/primary_db | 3.6 MB 00:00
Error: xz compression not available
Try #3
yum install pyliblzma or yum install python-backports-lzma
Loaded plugins: fastestmirror, refresh-packagekit, security
Setting up Install Process
Loading mirror speeds from cached hostfile
* base: mirror.solarvps.com
* epel: ftp.cse.buffalo.edu
* extras: mirror.atlanticmetro.net
* remi-php56: mirrors.mediatemple.net
* remi-safe: mirrors.mediatemple.net
* updates: mirror.trouble-free.net
Error: xz compression not available
Try #4 is working
I got my Nginx to install by doing the following
yum clean all
yum remove epel-release
yum update
yum install epel-release
yum install nginx -y

cassandra installing on centOS 6 using yum install dsc20 says following and not installed

Loaded plugins: fastestmirror, refresh-packagekit Loading mirror speeds from cached hostfile * base: ftp.osuosl.org * extras: centosy3.centos.org * rpmforge: repoforge.mirror.constant.com * updates: centosu5.centos.org datastax | 951 B 00:00 Setting up Install Process No package dsc20 available.
As Orajinder pointed out you need to do the following:
Add the repo to your list of supported repositories:
sudo vim /etc/yum.repos.d/datastax.repo
[datastax]
name= DataStax Repo for Apache Cassandra
baseurl=http://rpm.datastax.com/community
enabled=1
gpgcheck=0
Then install
sudo yum install dsc20

Resources