How to correctly install bucardo - postgresql

I am new to bucardo and I am trying my first install. I have postgresql-9.1 installed.
After installing all dependencies I have downloaded Bucardo-5.1.1.tar file, extract it and sucessfully install it using make according to bucardo site instructions.
The problem starts when I try to launch "bucardo_ctl". The bucardo_ctl script is not installed with bucardo-5.1.1 install script and ubuntu says I need to run "apt-get update bucardo" for installing bucardo_ctl.
The problem is that when I install bucardo from ubuntu repositories, it also installs postgresql-8.4, and bucardo from repository is version 4.
How can I install bucardo_ctl from bucardo-5.1.1?
Thank you very much
Regards
Paulo

Related

Installing MySQL Client 5.6 on Ubuntu 18.04

I have a legacy project that I'm trying to modernize, and part of that involves setting up a more efficient system of automated backups using mysqldump.
The app's database is using MySQL 5.6, and is hosted via an RDS instance. To get mysqldump up and running, I believe I need to install a version of mysql-client that corresponds to 5.6.
However, running apt-get install mysql-client installs 8.0 by default. However, I can't find any version-specific versions of mysql-client available. Running sudo apt-get install mysql-client-5.7 returns a notice that there's no installation candidate available.
Is it still possible to install older versions of mysql-client? If not, is there another way to get ahold of the mysqldump functionality?
Edit: As #exussum noted below, 8.0 is backwards compatible with 5.6 and 5.7. I was hitting errors when running mysqldump, which I'd assumed indicated incompatibility, but were actually related to my app specifically.
They are backwards compatible, so you can use mysql-client 8 to dump mysql-server 5.5
to get a specific version docker is great
(sudo apt install docker) to install
docker run mysql:5.6 mysqldump
will run mysqldump though docker, and you can choose your version there easily enough

Upgrading sqlite3 on Centos 7

Does anyone know how to upgrade sqlite3 on Centos7. The repos only have up to version 3.7.
I downloaded the source code and compiled. Replaced binaries. If I type sqlite/sqlite3 --version then it's 3.31.
If I run rails then it's stuck at 3.7.
DNF is stuck on 3.7 too.
I read that Centos7 stays at this version. There's no easy upgrade path to Centos8 without reinstall so trying to avoid that.
Uninstall the package from Centos. Then, do a normal source install of sqlite afterwards.

How can I learn ubunu postgresql version as default?

When I install the ubuntu server, the postgresql repository package names are installed on server automatically. So when I type command sudo apt-get install postgresql it will start installation. But which version will be installed? I don't know it.
So how can I learn which version will be installed?

sudo yum install gitlab-ce "Nothing to Do" when trying to Upgrade to latest version of gitlab

I am trying to update to the latest version of gitlab on my CentOS server. I am currently running Omnibus version 8.3.2, which has a security issue. I am using the instructions from the update page:
sudo yum install gitlab-ce
Whenever I run this command I get a "Nothing to Do" from the Yum command.
Loaded plugins: refresh-packagekit, security, ulninfo
Setting up Install Process
Nothing to do
I have also tried a manual update with a .rpm file and I get conflict errors because it isn't removing the older version. What am I missing in order to upgrade my version? I am new to this so I apologize if I am over complicating things. I really don't want to uninstall and re-install the latest version.
Thanks in advace

how install rvm on RHL7 using centos repo

How to install rvm(ruby) on RHL7 using centos repo.
I know if we are using centos repository we should be using centos OS and not RedHat, but we have a proprietary software that require Redhat.
when I try to install ruby 1.93 using rvm I got this:
rvm install 1.9.3
Searching for binary rubies, this might take some time.
No binary rubies available for: redhat/6/x86_64/ruby-1.9.3-p551.
Continuing with compilation. Please read 'rvm help mount' to get more information on binary rubies.
Checking requirements for redhat.
Unable to locate SystemId file. Is this system registered?
Our client does not have registered system with redhat, So I did configure centos repository.
But how can I tell RVM to use this centos repository?
I managed the problem running:
rvm autolibs read-only
In that way rvm do not try to download the dependencies from redhat. But it tell us what is missing, so we can install what is missing manually with yum install from centos repository.
RedHat uses the concept of software collection to offer update packages for Ruby, Python, etc:
softwarecollections
For your case, they have software collection for Ruby193 and Ruby22.
On each page you will find instructions on how to use it.