How to update s3fs from v1.74 to latest version in amazon linux 2 or centos? - amazon-s3

I already installed s3fs-fuse v1.74 and my boss need me to update it to latest version, yet I'm a newbie here. I'm using Amazon Linux 2 instance in AWS, sometimes works with centos 7 code too. Could someone help me please?

EPEL hosts the latest versions of s3fs. You can install them on Amazon Linux via:
sudo amazon-linux-extras install epel
sudo yum install s3fs-fuse
and CentOS 7 and later via:
sudo yum install epel-release
sudo yum install s3fs-fuse
These instructions come from the s3fs README.

Related

Unable to install latest stable Release of Redis on CentOS 7

I followed below steps to install Redis on CentOS. But Redis 3.2.x version got downloaded, I want more recent version (i.e 4.0.11 or 5.0.x) to be downloaded.
I need steps how to upgrade the Redis current installation? I used below steps while installation
We can use yum to install EPEL:
sudo yum install epel-release
As soon as we finish installing EPEL, we can use yum once again to install Redis:
sudo yum install redis
After a few minutes this installation will be completed and then you can start the Redis service:
sudo systemctl start redis.service
There is always the chance for Redis to start on boot, all you have to do is enable it through the enable command:
sudo systemctl enable redis
If you want to check Redis`s status you should run the following:
sudo systemctl status redis.service
I have found the Remi repository keeps up with the latest binaries. While you can add them to your repos (see https://rpms.remirepo.net), you can just point yum directly at the rpm file there as well (e.g. yum install -y http://rpms.remirepo.net/enterprise/7/remi/x86_64/redis-5.0.0-1.el7.remi.x86_64.rpm).
Edit: Regarding an upgrade, I assumed you don't have any data at this point, so I would suggest a quick yum uninstall redis before installing the latest. If you really need to upgrade with data and all, you need to just be sure to preserve your persistent data files and replace them before starting the new version.

Ambari repository on CentOS 7

We are trying to install Ambari server following the manual Install Ambari 2.2.1 from Public Repositories.
When we tried to install the Ambari server with the command yum install ambari-server it returns that it is nothing to do.
The ambari.repo is:
#VERSION_NUMBER=2.2.1.0-161
[Updates-ambari-2.2.1.0]
name=ambari-2.2.1.0 - Updates
baseurl=http://public-repo-1.hortonworks.com/ambari/centos7/2.x/updates/2.2.1.0
gpgcheck=1
gpgkey=http://public-repo-1.hortonworks.com/ambari/centos7/RPM-GPG-KEY/RPM-GPG-KEY-Jenkins
enabled=1
priority=1
Someone can help us?
The problem was that the OS installed was of 32 bits and it is obligatory install the 64 bits OS.
Just clear the yum cache and then try again it will be solved your problem.
yum clean all
yum install ambari-server
Note: Make sure you kept the ambari.repo file in /etc/yum.repos.d/ location
This happens in case:
Package (ambari-server) is already installed
Repolist can't find the package (ambari-server).
First run yum list all if it's not listing package then run
yum clean all
Again run yum list all
If it's not listing your package you need to add .repo file for the same in /etc/yum.repos.d

unable to install redis 2.7+ on ubuntu 12.04

I am new to redis. and I just followed cli to install redis sudo apt-get install redis.
but the install server version is 2.2.12 . If I want to update this version and I want to install redis 2.7 + then how can I do this thing, please help. I am working on ubuntu 12.04
You can install a Personal Package Archive to get the latest version. A popular one seems to be https://launchpad.net/~rwky/+archive/redis
edit: The one above is no longer maintained. Try https://launchpad.net/~chris-lea/+archive/ubuntu/redis-server instead.
sudo apt-get -y install python-software-properties
sudo add-apt-repository -y ppa:chris-lea/redis-server
sudo apt-get -y update
sudo apt-get -y install redis-server
These commands installed the latest version for me at the time of writing.
Ubuntu repositories have the 2.2 version of Redis as you discovered. If you want the latest version, you will have to download the sources from github and install it manually.
See "Installing Redis" section in the readme over here - https://github.com/antirez/redis
Try either
sudo apt-get install redis-server
or
http://laymansite.com/install-redis-in-ubuntu-12-04/

Zorba Installation

How to install Zorba in Ubuntu 12.04? When adding repository {using this command: sudo add-apt-repository ppa:juan457/zorba} , getting error
"Err http://ppa.launchpad.net precise/main Sources 404 Not Found".
can u suggest me how to clear this issue.
The most recent Zorba release (2.2) came out before Ubuntu 12.04 Precise Pangolin, so we didn't build packages for that Ubuntu version.
The next Zorba release (2.5) will be out within the next couple of days, so we will be updating the PPA binaries, including for Ubuntu 12.04.
You may be able to use the Ubuntu 11.10 Oneiric Ocelot packages in Ubuntu 12.04 by adding the following line to /etc/apt/sources.list:
deb http://ppa.launchpad.net/juan457/zorba/ubuntu oneiric main
and then doing "sudo apt-get update; sudo apt-get install zorba". However I can't swear that will work; it's possible some dependent libraries will be different between the two Ubuntu releases.

Amazon web services and ubuntu 10.04 ec2 instance

I have created ubuntu 10.04 ec2 image and now I need to install tomcat apache and jdk6 on my instance but whenever I use the command sudo apt-get install sun-java6-jdk or sudo apt-get install tomcat6 admin or sudo apt-get install ec2-api-tools
Package ec2-api-tools is not available, but is referred to by another package.
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package ec2-api-tools is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or is only available from another source
E: Package ec2-api-tools has no installation candidate
Another option is to add their official repository to apt - this will provide you up to date AWS tools:
sudo apt-add-repository ppa:awstools-dev/awstools
sudo apt-get update
sudo apt-get install ec2-api-tools -y
This is extremely useful for farther releases and and for up to date official bug fixes etc. just by running the usual
sudo apt-get update
sudo apt-get upgrade -y
Ubuntu doesn't have the Sun JDKs available by default so in /etc/apt/sources.list uncomment:
deb http://archive.canonical.com/ubuntu maverick partner
deb-src http://archive.canonical.com/ubuntu maverick partner
and then:
sudo apt-get update
sudo apt-get install sun-java6-jdk
ec2-api-tools requires the multiverse lines in sources.list to be uncommented first (remember to apt-get update also).
I am a bit confused, if you just want to install Java and Tomcat, why are you also trying to install the ec2 tools?
In any case, I also want to mention the free BitNami Cloud Tools installer (disclaimer: I am one of the developers). It includes the JDK and all EC2-related tools. We keep it fairly up-to-date and can run as a regular user.