installation – How do I install PHP 7 on Oracle Linux?

I have an Oracle Linux 7.7 instance in the Oracle cloud.
I want to install PHP 7.2 on it.
Previously, I installed PHP 7 on different versions of Linux, but could not find proper documentation, instructions, or instructions for Oracle Linux.

I have PHP 7.2 installed with the following command sudo yum install rh-php72 but when I run

php --version it does not work.

Has anyone installed PHP 7 under Oracle Linux in the cloud?

I have activated the following repos

ol7_UEKR5/x86_64
ol7_addons/x86_64
ol7_developer/x86_64
ol7_developer_EPEL/x86_64
ol7_ksplice            
ol7_latest/x86_64
ol7_optional_latest/x86_64
ol7_software_collections/x86_64

Could you please give me a reference or give steps to install PHP 7?
Thank you in advance.

How do I install Mongodb on the server?

Installed the Ubuntu 16.04 server.
Next I try to install Mongodb 4.2 according to the instructions on the official website.

After entering the command (step 2)

echo "deb (arch = amd64) https://repo.mongodb.org/apt/ubuntu
xenial / mongodb-org / 4.2 multiverse "| sudo tea
/etc/apt/sources.list.d/mongodb-org-4.2.list

I get this mistake

Enter image description here

sudo: Host sarnormail-vps-10 can not be resolved

deb (arch = amd64) https://repo.mongodb.org/apt/ubuntu
xenial / mongodb-org / 4.2 multiverse

Will you help me to find out what it means?

sudo: Host sarnormail-vps-10 can not be resolved

Boot – 'Install Ubuntu' will not show any allocated space or 'Delete Windows and install Ubuntu'

I'm trying to replace Windows 10 with Ubuntu 19.04. I have a new HP Pavilion x360 laptop with 4GB of RAM. I've seen tutorials on how to download Ubuntu, but I'm still having trouble installing it.

I do not have the option "delete windows and install Ubuntu". I just go to the language options, to the wlan setup and to the installation type where i have to enter the partitions manually.

The "Bootloader Installation Device" only gives me 15.7 GB (probably from my USB) instead of the unallocated space I created on Windows. Ubuntu does not seem to find the allocated space, and I've scrolled countless forums and tried every command I've been recommended.

Does anyone have a solution or an alternative?

(Windows is not hibernating / power saving mode.) SAMA operations are no longer an option on Windows 10. I have already fixed everything in the BIOS, can I just download Ubuntu without dual boot or USB …)

What is the preferred way to install a new Windows installation on an SSD that already has a Windows installation?

That's why I have an SSD (120 GB) with Windows. I try to keep it from other things, but things have accumulated over the years and now it is almost full.

I'll build a new PC soon, but keep all my old drives. Since I have an OEM version of Windows, I have to buy a new version and plan to install it on the same SSD.

Now, do I have the right feeling that the new Windows installation simply formats the SSD and rewrites the new installation? Or do I have to do something else?

I would prefer not to delete everything manually. Also, this SSD must work until I plug it into my new PC and install the new operating system.

I'm sorry if I do not make sense, I do not know all the jargon. Feel free to ask if I'm unclear.

To install Linux on a USB flash drive to make the installation compatible with the macOS bootloader

I want to install Linux on a USB flash drive so my Mac can run it from the Start menu.

When I burn a Linux live CD to a USB flash drive, my Mac displays it in the Start menu. However, if I install it on a USB flash drive, the installation does not appear in the Start menu.

This happens according to this article because the EFI partition used by macOS expects the EFI partition to have a different format (HFS +) while using Linux (VFAT). I do not want to use the complicated approach / complicated hacks in this article because I always damage my drive when fiddling with such things. I would like to have a simple solution.

What I've tried is to use the old Master Boot Record installation without an EFI partition; but that did not work. This could be because Grub does some weird things.

Does anyone have experience with this problem or any tips? Maybe there is another boot loader that avoids these problems?

PS: I also know rEFInd, but it has to be installed on my macOS bootloader. I do not like that because Boot Camp sometimes overwrites it and it has a chaotic reinstallation process. Maybe I can install rEFInd on the USB? Does it work?

Lightning Network – ELIFECYCLE error while trying to install filebazaar

I tried to install filebazaar on Ubuntu 18.04 and get an error message on the canvas Module … does anyone know this problem? I've worked through all the github issues of Node Canvas (like this one I left a comment on), but so far none of the solutions work for me.

Here's the command I'm running:

$ sudo npm install -g filebazaar

And here is the error output:

$ sudo npm install -g canvas@1.6.13

> canvas@1.6.13 install /usr/local/lib/node_modules/canvas
> node-gyp rebuild

gyp ERR! configure error 
gyp ERR! stack Error: EACCES: permission denied, mkdir '/usr/local/lib/node_modules/canvas/build'
gyp ERR! System Linux 4.15.0-55-generic
gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /usr/local/lib/node_modules/canvas
gyp ERR! node -v v12.5.0
gyp ERR! node-gyp -v v3.8.0
gyp ERR! not ok 
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! canvas@1.6.13 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the canvas@1.6.13 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/chris/.npm/_logs/2019-09-17T20_39_13_514Z-debug.log

Any help is appreciated 🙂

installation – If you install Oracle Database 18c in the background, exit code 6 is returned if you use -ignorePrereqFailure

I'm trying to install Oracle 18c in a Docker image, but my builds still fail because Oracle also exists when using -ignorePrereqFailure with code 6.

Successfully Setup Software with warning(s).
The command '/bin/sh -c /tmp/database/runInstaller -silent -ignorePrereqFailure -waitforcompletion -responsefile /tmp/db_install.rsp' returned a non-zero code: 6

I have reviewed the log and all failed prerequisite checks are IGNORABLE.

Is there a way to ignore the warnings and finish with 0? In 12cR1, I used -ignoreSysPrereqs and -ignorePrereq to do this, but they do not work for Oracle 18c

homebrew – brew cask install java6 – Can not install on volume / as it is disabled – MacOS 10.15 Beta

I have uninstalled / reinstalled Brew.
macOS gatekeeper turned off,
csrutil is disabled,
and a few other things though brew cask install java6 always results:

> $ brew cask install java6                                        ⬡ 8.11.4 [±OLYM-152-optimizely-web-per-banner ✓]
==> Satisfying dependencies
==> Downloading https://support.apple.com/downloads/DL1572/en_US/javaforosx.dmg
Already downloaded: /Users/mmooring/Library/Caches/Homebrew/downloads/ef0dff3db9496248774373eb3eba27a50a91e83edda3fe32d2197db15a5ffc69--javaforosx.dmg
==> Verifying SHA-256 checksum for Cask 'java6'.
==> Installing Cask java6
==> Running installer for java6; your password may be necessary.
==> Package installers may write to any location; options such as --appdir are ignored.
installer: Cannot install on volume / because it is disabled.
installer: A newer version of this package is already installed.
==> Purging files for version 1.6.0_65-b14-468 of Cask java6
Error: Failure while executing; `/usr/bin/sudo -E -- env LOGNAME=mmooring USER=mmooring USERNAME=mmooring /usr/sbin/installer -pkg /usr/local/Caskroom/java6/1.6.0_65-b14-468/JavaForOSX.pkg -target /` exited with 1. Here's the output:
installer: Cannot install on volume / because it is disabled.
installer: A newer version of this package is already installed.
Follow the instructions here:
  https://github.com/Homebrew/homebrew-cask#reporting-bugs
/usr/local/Homebrew/Library/Homebrew/system_command.rb:111:in `assert_success'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:52:in `run!'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:29:in `run'
/usr/local/Homebrew/Library/Homebrew/system_command.rb:33:in `run!'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:59:in `block in run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:65:in `with_choices_file'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:52:in `run_installer'
/usr/local/Homebrew/Library/Homebrew/cask/artifact/pkg.rb:34:in `install_phase'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:214:in `block in install_artifacts'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/System/Library/Frameworks/Ruby.framework/Versions/2.6/usr/lib/ruby/2.6.0/set.rb:777:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:205:in `install_artifacts'
/usr/local/Homebrew/Library/Homebrew/cask/installer.rb:103:in `install'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:23:in `block in run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `each'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/install.rb:16:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd/abstract_command.rb:36:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:92:in `run_command'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:158:in `run'
/usr/local/Homebrew/Library/Homebrew/cask/cmd.rb:123:in `run'
/usr/local/Homebrew/Library/Homebrew/cmd/cask.rb:9:in `cask'
/usr/local/Homebrew/Library/Homebrew/brew.rb:102:in `
'

I tried and answers from this Apple StackExchange question:
How do I start an app that requires Java SDK on macOS Catalina 10.15?

Any help is appreciated as I am now locked for a few days. 🙇🏻♂️

apt – How do I install current versions of rbenv and ruby-build?

I install rbenv as follows:

$ sudo apt-get install rbenv

This will be installed rbenv@1.1.1 and ruby-build@20170726,

When I try to use these versions to install Ruby, I can not install versions higher than those 2.5.0-dev

How can I install later versions of rbenv and ruby-build?

Is there another repository to add to? sources.list?