Is any way to offline install Devtoolset-3 on CentOS 6.8? - linux

The steps to install Devtoolset-3 at CentOS by yum are here.
sudo yum install centos-release-scl
sudo yum install devtoolset-3
scl enable devtoolset-3 bash
But I do not have the network access ability at my CentOS 6.8 server. (I can access network at other PC.)
Is there any Devtoolset-3 installer to be downloaded for offline installation?
I would like to upgrade binutils by installing Devtoolset-3. Is there any other way to upgrade binutils if I have no connection?

Related

How to Install Postgresql 11 in Amazon Linux AMI?

How do I install Postgresql 11 on Amazon Linux 2018.03 (specifically, not AMZ Linux 2) on Elastic Beanstalk?
I want to install a package and not manually build a binary. If an autoscale machine boots and has to build the entire PG binary, it'll take significantly longer on a t2/t3.micro.
I'm looking for pg_dump.
[Edit] Making more verbose, explain why building does not work for my situation.
The key was the PGDG is no longer available to Amazon Linux's yum since 9.3 so the individual pieces must be installed.
# Remove old Postgres
yum remove -y postgresql postgresql-server
# Install Postgres 11
yum install -y https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-6-x86_64/postgresql11-libs-11.4-1PGDG.rhel6.x86_64.rpm
yum install -y https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-6-x86_64/postgresql11-11.4-1PGDG.rhel6.x86_64.rpm
yum install -y https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-6-x86_64/postgresql11-server-11.4-1PGDG.rhel6.x86_64.rpm
[edit]
Replace the 11.4 in each link above with any version you need available at https://download.postgresql.org/pub/repos/yum/11/redhat/rhel-6-x86_64/
sudo yum update
sudo amazon-linux-extras install postgresql11
Looks like there's no PostgreSQL 11 pre-built binary distribution for Amazon Linux. The way I solve it was to build from source code:
wget https://ftp.postgresql.org/pub/source/v11.5/postgresql-11.5.tar.gz
tar zxvf postgresql-11.5.tar.gz
cd postgresql-11.5
./configure --without-readline
make
make install
By default, it will install pg_dump into /usr/local/pgsql/bin/pg_dump.
This is an extended version of #nitsujri answer. I can't comment their comment, so I will create new answer here.
Install prerequisites:
sudo yum install readline-devel
sudo yum group install "Development Tools"
Download PostgreSQL source code and install the distro:
wget https://ftp.postgresql.org/pub/source/v11.5/postgresql-11.5.tar.gz
tar zxvf postgresql-11.5.tar.gz
cd postgresql-11.5
./configure
make
sudo make install
Add this line to your ~/.bashrc. After that relogin to an EC2 instance.
export PATH=/usr/local/pgsql/bin:$PATH

VirtualBox VERR_VM_DRIVER_VERSION_MISMATCH on Ubuntu

I trying to install VirtualBox on Ubuntu 14.04. I've installed VirtualBox from Ubuntu repository:
sudo apt-get install virtualbox
Then I added my user to vboxusers:
sudo usermod -G vboxusers -a user
I also installed an extrapack for my vb vsion:
wget http://download.virtualbox.org/virtualbox/5.0.10/Oracle_VM_VirtualBox_Extension_Pack-4.3.36-105129.vbox-extpack
sudo vboxmanage extpack install Oracle_VM_VirtualBox_Extension_Pack-5.0.10-104061.vbox-extpack
But when I trying to start vm, I get an error:
RTR3InitEx failed with rc=-1912 (rc=-1912)The VirtualBox kernel modules do not match this version of VirtualBox. The installation of VirtualBox was apparently not successful. Executing '/etc/init.d/vboxdrv setup'may correct this. Make sure that you do not mix the OSE version and the PUEL version of VirtualBox.
where: supR3HardenedMainInitRuntime
what: 4
VERR_VM_DRIVER_VERSION_MISMATCH (-1912) - The installed support driver doesn't match the version of the user.
And I have no /etc/init.d/vboxdrv file.
How can I fix this problem?
I've removed all the virualbox packages:
sudo apt-get purge 'virtualbox*'
Then I've installed virtualbox v.5
sudo apt-get install virtualbox-5.0
After that I've enabled virtualization in BIOS.
Now it works.
Check what version of virtualbox you installed
dpkg --list 'virtualbox*'
may be it's not aligned with the Extension pack.
Remove your installation
sudo apt-get autoremove 'virtualbox*'
Don't install fron Ubuntu repositories but run a fresh installation following the instuctions from official Oracle Virtualbox Download page about Debian-based Linux distributions.
Check that Virtualbox is running before installing the Extension pack.
I had the same error starting a vm client in ubuntu 16.4 .
Coincidentally I noticed in the file /var/crash/_usr_lib_virtualbox_VirtualBox.0.crash the following message:
Title: VirtualBox crashed with SIGABRT in QMessageLogger::fatal()
UnreportableReason: Sie haben einige veraltete Paketversionen
installiert. Bitte aktualisieren Sie die folgenen Pakete und prüfen
Sie, ob das Problem danach noch auftritt:
virtualbox-dkms
Translated: You have some outdated package versions installed. Please update the following packages and check, if the problem still occurs after that:
After the command:
sudo apt-get install --only-upgrade virtualbox-dkms
all was OK :)

Hamachi not installed on Centos 7 when i follow this steps

I'm trying to install Hamachi on Centos 7, i follow this documents but it was for Centos 5 ,6
Install and Configure LogMeIN ( Hamachi ) on RHEL/CentOS 5/6
Also the link of latest logmein-hamachi is not working, so i use latest version from this link
LogMeIn Hamachi for Linux
and download last version of hamachi by this command line
wget https://secure.logmein.com/labs/logmein-hamachi-2.1.0.139-1.x86_64.rpm
And the file is successfully downloaded, but when i try to run this command to install hamachi
rpm -ivh logmein-hamachi-2.1.0.139-1.x86_64.rpm
it is not installed
You can use the yum software package manager to install rpm packages.
Try:
yum localinstall logmein-hamachi-2.1.0.139-1.x86_64.rpm

Installing RedHawk on CentOS7

CentOS 7 has been out nearly a year now. Has anyone installed RedHawk on CentOS 7? I do not see binaries available on the RedHawk download page. Has anyone successfully built it from sources? Are there issues?
I also do not find RPMs for omniORB-servers or omniORB-devel. Has anyone succeeded in building these on CentOS7?
Terry, Ive built redhawk yum repositories for CentOS7 which you can find below however a few things to note:
As Ryan pointed out, currently redhawk only officially supports CentOS6 and Ubuntu, these rpms are not offically built and distributed by redhawksdr.org. However if you do have any issues with them or find any problems please feel free to feed this back to me.
These RPMs were originally built prior to Fedora packaing omniORB 4.2. To account for this, I built and packaged omniORB 4.1 for CentOS7 which is the same version redhawk uses on CentOS6. My omniORB41 package and EPEL's omniORB (v4.2) package conflict so you cannot have the epel package installed. I have not tested redhawk with omniORB 4.2 which is why I packaged the older 4.1 version.
You can find the 1.10.1 yum repository here:
http://yum.axiosengineering.com/redhawk/1.10.1/el7/x86_64/
I will hopefully soon update with 1.10.2
You will also need the dependency repository here:
http://yum.axiosengineering.com/redhawk-deps/1.10/el7/x86_64/
To install via yum, create the file /etc/yum.repos.d/redhawk_axios.repo
With the following text:
[redhawk]
name=UNOFFICIAL REDHAWK 1.10.1
baseurl=http://yum.axiosengineering.com/redhawk/1.10.1/el7/x86_64/
enabled=1
gpgcheck=0
[redhawk-deps]
name=UNOFFICIAL REDHAWK DEPS
baseurl=http://yum.axiosengineering.com/redhawk-deps/1.10/el7/x86_64/
enabled=1
gpgcheck=0
Then from a terminal:
sudo yum clean all
sudo yum install redhawk* frontendInterfaces* bulkioInterfaces* GPP-*
REDHAWK is only officially supported on CentOS 6 and Ubuntu 14.04. omniORB should now be in Fedora EPEL 7:
https://apps.fedoraproject.org/packages/omniORB
I recently installed Redhawk 2.3.0 on Centos 7.9 by following these instructions https://redhawksdr.org/2.3.0/manual/installation/
The exact commands I used:
mkdir ~/Documents/Redhawk
cd ~/Documents/Redhawk
sudo yum install https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
wget https://github.com/RedhawkSDR/redhawk/releases/download/2.3.0/redhawk-yum-2.3.0-el7-x86_64.tar.gz
tar xzvf redhawk-yum-2.3.0-el7-x86_64.tar.gz
cd redhawk-2.3.0-el7-x86_64
sudo yum install -y redhawk-release*.rpm
sudo nano /etc/yum.repos.d/redhawk.repo
Content of /etc/yum.repos.d/redhawk.repo:
[redhawk]
name=REDHAWK Repository
baseurl=file:///home/causer/Documents/Redhawk/redhawk-2.3.0-el7-x86_64
enabled=1
gpgcheck=1
gpgkey=file:///etc/pki/rpm-gpg/RPM-GPG-KEY-redhawk
Once the file is saved (ctrl+x, y), in the same directory as before:
sudo yum groupinstall "REDHAWK Runtime"
. /etc/profile.d/redhawk.sh
. /etc/profile.d/redhawk-sdrroot.sh
sudo /usr/sbin/usermod -a -G redhawk causer
sudo nano /etc/omniORB.cfg
sudo $OSSIEHOME/bin/cleanomni
sudo systemctl enable omniNames.service
sudo systemctl enable omniEvents.service
Copy redhawk.desktop to the desktop and run it (rpm -qpl on the redhawk-ide-xyz.rpm its near the bottom of the list)
sudo yum install java-1.8.0-openjdk-javadoc

How to install Xvfb (X virtual framebuffer) on Redhat 6.5?

I have tried to install the Xvfb on red-hat 6.5 using
yum -y install xorg-x11-server-Xvfb
but it is not installed and it is giving msg that
No package xorg-x11-server-Xvfb available.
Error: Nothing to do
Plese help me to install Xvfb on Redhat 6.5 to remove the headless exception in the Applet.
Thanks.
The xorg-x11-server-Xvfb package is officially available from RedHat for RHEL 6 and RHEL 7 under the Optional channel (RHEL Workstation Optional, or RHEL Server Optional).
From the comments: To enable the optional repo: subscription-manager repos --enable rhel-7-server-optional-rpms and then you can install the package with yum install xorg-x11-server-Xvfb
I was able to download the RPM and then install it locally after reading this article
wget http://vault.centos.org/6.2/os/x86_64/Packages/xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm
yum localinstall xorg-x11-server-Xvfb-1.10.4-6.el6.x86_64.rpm

Resources