XAMPP Update Curl Library - xampp

I have xampp-osx-7.4.9 which is the latest version at this moment. I need curl library higher than curl 7.6 but it comes with curl 7.53.1.
How can I update curl on XAMPP VM or XAMPP Installer

Related

Oracle database rpm package not loading to CentOS using curl command

I have to install oracle database on CentOS 7.0.
As an instruction i use oracle tutorial:
https://docs.oracle.com/en/database/oracle/oracle-database/18/xeinl/procedure-installing-oracle-database-xe.html
First three steps i passed without any problem. Pre-installed package downloaded and installed successfully.
But as for the main .rpm package, I cannot download it. My download command is similar to pre-installed package:
curl -o oracle-database-xe-18c-1.0-1.x86_64.rpm https://download.oracle.com/otn-pub/otn_software/db-express/oracle-database-xe-18c-1.0-1.x86_64.rpm
After the command, I see the following:
It is worth mentioning that I am doing this in a docker container(https://hub.docker.com/r/centos/systemd/). But I also tried to do it locally and the result was similar.
I would be grateful for any help in answering the question why the .rpm package is not downloaded.
wget command solved the problem:
wget https://download.oracle.com/otn-pub/otn_software/db-express/oracle-database-xe-18c-1.0-1.x86_64.rpm
curl with -v flag showed that it cannot resolve host.
The reason was that curl does not resolve the 302 response, but wget does.

Wkhtmltopdf version for Cloud Linux

I have CloudLinux release 7.6 in my server and I used to have wkhtmltopdf linux generic version 0.12.4 previously. I am trying to upgrade wkhtmltopdf to version 0.12.5 and I noticed they no longer have generic linux version.
How do I install the latest version of wkhtmltopdf in my server that uses CloudLinux?
Can I safely install and use the 0.12.5 version for CentOS 7 instead or is my only option is to continue using the 0.12.4 generic linux version on CloudLinux?
I have installed the CentOS 7 build version of Wkhtmltopdf in my CloudLinux Release 7 and its works fine. I have been using it in my production server for a week now and havent had any issues. Since CentOS and CloudLinux are RHEL compatible, it works fine.
I installed the binaries like this:
$ wget https://downloads.wkhtmltopdf.org/0.12/0.12.5/wkhtmltox-0.12.5-1.centos7.x86_64.rpm
$ rpm -Uvh wkhtmltox-0.12.5-1.centos7.x86_64.rpm
$ which wkhtmltopdf
/usr/local/bin/wkhtmltopdf
Thanks to #Rup in comments who helped me with this.
For those who are using Cloud Linux and need to install the latest version (now 12.6) - you might get dependancy errors using the above method.
I used:
yum install -y https://github.com/wkhtmltopdf/packaging/releases/download/0.12.6-1/wkhtmltox-0.12.6-1.centos7.x86_64.rpm
Based on suggestion by ashkulz on Github

Elasticsearch 6.0: how to install license plugin

I have a pretty fresh install of Elasticsearch running, with X-pack installed. I'm trying to install sheild from Getting Started with Sheild. If I run bin/plugin install license from /usr/local/elasticsearch (OS X), I get No such file or directory. Indeed, there is no bin/plugin directory.
If I follow Installing Plugins, from sudo bin/elasticsearch-plugin install [plugin_name], I get a list of commands and options, but it doesn't look like anything installs.
The Getting Started with Shield section does mention ES_HOME, but doesn't explain what this is.
How do I install the license plugin into Elasticsearch?
AFAIK, Shield is now part of X-pack, you don't need to install it. But only its license through license endpoint:
curl -XPUT -u elastic 'http://<host>:<port>/_xpack/license' -H "Content-Type: application/json" -d #license.json

Installing Oracle in RHEL7 (IBM linuxone Community cloud)

I am trying to install oracle on the IBM linuxone community cloud: RHEL 7.
I have downloaded the oracle zip file using below link:
curl -jkL -H "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jre-8u131-linux-x64.tar.gz -o jre-8u131-linux-x64.tar.gz
what must i do next to unzip and install the oracle in RHEL7?
Follow this tutorial.
https://java.com/en/download/help/linux_x64rpm_install.xml
Donwload RPM and install.
Also you can try OpenJDK.
su -c "yum install java-1.8.0-openjdk"

Uninstall CURL from Mac

Can someone tell me how can I uninstall CURL from Mac ?.
I have deleted the folder containing curl from Mac.
But after deleting the folder also when I run "curl -V" it shows the current version of curl along with the available protocols as seen below.
This makes me to suspect that the curl may not have been uninstalled.
curl comes with the OS. I am not sure why you would want to uninstall it but it is most likely a horrible idea as the system may depend on it.
If you had installed another version of curl (which you now removed) you can check which curl is now being called by doing a which curl. What's the output of this command?
It should be /usr/bin/curl which is what the system comes with.
In case you installed it via homebrew, you should always uninstall via brew uninstall curl. You can try issuing that command now to clean up.

Resources