How do I set up RPM on a manual install CentOS 7 - linux

I am following the instructions from the CentOS website to manually install CentOS 7 (http://wiki.centos.org/HowTos/ManualInstall) but the guide seems to have some quality issues. I've partitioned the storage fine and now onto setting up RPM. Unfortunately I am at a loss on how to do this. I am doing this on VMware Workstation 10 and the host OS is Ubuntu 14.04.

Related

How to list out all the distros available in windows subsystem for Linux in windows using windows PowerShell?

I installed the WSL form Microsoft store and the I have tried to get the list of distros using the below command.
wsl.exe --list --online
But I got the below error.
Failed to fetch the list distribution from 'https://raw.githubusercontent.com/microsoft/WSL/master/distributions/DistributionInfo.json'. A connection with the server could not be established
Error code: Wsl/WININET_E_CANNOT_CONNECT
I am facing the same issue and I think it has something to do with IPv6 connectivity in Windows.
As https://raw.githubusercontent.com/* is IPv6 only.
curl google.com
works but
curl raw.githubusercontent.com
doesn't.
As a workaround to this problem, you can enable Virtual Machine Platform through Turn Windows Feautures On or Off menu and install WSL2 and WSL distro of your choice from Microsoft Store.
On Windows 10, I am having this same issue. I just performed wsl --update, so I am on the latest WSL 2.
I am finding that DNS Servers include 2 that are ipv6 addresses.
I can open https://raw.githubusercontent.com in my browser, and I can curl it from wsl command line, but from Windows Command Prompt, wsl --install Ubuntu fails with "Failed to fetch the list distribution".
I suspect it all has to do with the DNS Name resolinvg to an IPv6 address that curl and the browser can handle but the wsl subsystem cannot?
To test this I added an entry to my windows hosts file C:\Windows\System32\drivers\etc\hosts, ie:
185.199.110.133 raw.githubusercontent.com
and in a new Command Prompt Window, wsl -l -o works as expected, ie:
c:\> wsl -l -o
The following is a list of valid distributions that can be installed.
Install using 'wsl.exe --install <Distro>'.
NAME FRIENDLY NAME
Ubuntu Ubuntu
Debian Debian GNU/Linux
kali-linux Kali Linux Rolling
SLES-12 SUSE Linux Enterprise Server v12
SLES-15 SUSE Linux Enterprise Server v15
Ubuntu-18.04 Ubuntu 18.04 LTS
Ubuntu-20.04 Ubuntu 20.04 LTS
Ubuntu-22.04 Ubuntu 22.04 LTS
OracleLinux_8_5 Oracle Linux 8.5
OracleLinux_7_9 Oracle Linux 7.9

How to make a compatible application with CQtDeployer for any version of Linux/Ubuntu?

I deployed my Qt Gui application with CQtDeployer on Ubuntu 18.04.
But, I can't run it on Ubuntu 16.04 / Ubuntu 14.04.
It has an error on version.
How can I fix it?
Just build and deploy your application on ubuntu 14.04
Your distribution not run because you build and deploy application on OS that has new version of (libc/libz) library.
So, If you want to create distribution that will be works correctly on all versions of your OS then you need to build and deploy application must early OS version.
Example
Application that was built on ubuntu 16.04 will be works great on ubuntu 18.04 , 20.04 and may be 22.04
But not 14.04 because minimum required libc level is some as on ubuntu 16.04.
How to get cqdeployer on ubuntu 14.04
Install from snap store:
sudo snap install cqtdeployer
sudo snap connect cqtdeployer:process-control
sudo snap connect cqtdeployer:removable-media
sudo snap connect cqtdeployer:system-backup
And NOTE
The ubuntu 14.04 too old. So i recommend to drop support of ubuntu 14.04.
User Ubuntu 16.04 as main build machine.

How to install #hyperledger-fabric setup on centOS?

I have a server in my lab running centOS operating system, and i am connecting to the server using ubuntu installed on my windows laptop. I want to install hyperledger fabric on this lab server (centOS). but I am new to centOS as well ubuntu. have no idea, where to start and how. I need help to install hyperledger fabric platform on this centOS server.
have surf the Internet but not found any good information about centOS commands and support.
I need all steps to install hyperledger platform on centOS server.

Cannot upgrade libc6, "Already newest version"

I have recently installed Linux Mint on a new machine and I am trying to download virtual box.
The problem is it won't download because of this error:
Error: Dependency is not satisfiable: libc6 (>=2.27)
When I run:
sudo apt-get install libc6
It tells me
libc6 is already the newest version (2.23-0ubuntu10).
When I update the cache of my software sources I get the message that it could not download all repository indexes so I assume it might be related to that but I have no idea how to fix it.
Sometimes it happens when you try to run the wrong version (build) of the application in your system.
As an example, the current Virtualbox version is 6.1.22. And I download it for the Ubuntu 19.10 / 20.04 / 20.10 / 21.04 host because there is no separate download link available for Linux Mint distribution. But my Linux Mint distribution is 19.3 cinnamon and Mint 19.3 is based on Ubuntu 18.04 LTS. So, the Virtualbox version which is built for Ubuntu 20.04, 20.10, 21.04 is not going to work for the distribution which is using Ubuntu 18.04. This is the reason for getting ( Error: Dependency is not satisfiable: libc6 (>=2.29) ) error.
When I downloaded the Virtualbox which is particularly built for Ubuntu 18.04 everything worked fine :)
For more clarity watch this video https://www.youtube.com/watch?v=1K2zx32tBwA
OR, just download the VirtualBox from the Software Center. that will work fine too.
I couldn't solve the issue but I managed to download virtual box through the software manager.

How to install Vagrant on Linux RHEL server

I have to install Vagrant on Linux RHEL server. But somehow I couldn't manage to get any Vagrant installable available for Linux RHEL server on their site.
Please let me know if you have any idea about the same.
Thanks
For RedHat series, you should be able to download the RPM from vagrant site directly, for the latest version (currently 1.9.2) its https://releases.hashicorp.com/vagrant/1.9.2/vagrant_1.9.2_x86_64.rpm?_ga=1.16662838.1064717159.1478512035 (for 64 bits) or https://releases.hashicorp.com/vagrant/1.9.2/vagrant_1.9.2_i686.rpm?_ga=1.4161840.1064717159.1478512035 (for 32 bits)

Resources