This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
# This script is used to check if the podman or docker command is available | |
# Author: @rafex (Raúl González) | |
pods_manager_command_name="docker" | |
function valid_podman() { | |
if ! pods_manager_loc="$(type -p "$pods_manager_command_name")" || [[ -z $pods_manager_loc ]]; then | |
echo "$pods_manager_command_name not found, trying with podman" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"installationPath" : "/opt/java", | |
"sudo" : 1, | |
"install" : "graalvm", | |
"vendors":[ | |
{ | |
"vendor" : "ibm", | |
"version" : "8", | |
"arch" : "x64", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run script with root | |
PATH_NODE_MODEULES="/opt/nodejs/19.6.0/lib/node_modules" | |
npm install --global yarn | |
update-alternatives --install /usr/bin/yarn yarn ${PATH_NODE_MODEULES}/yarn/bin/yarn 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# run script with root | |
VERSION_NODEJS="19.6.0" | |
BASE_PATH="/opt/nodejs" | |
curl --create-dirs -O --output-dir ${BASE_PATH} https://nodejs.org/dist/v${VERSION_NODEJS}/node-v${VERSION_NODEJS}-linux-x64.tar.xz | |
mkdir -p ${BASE_PATH}/${VERSION_NODEJS} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 10.x | |
#more :http://sukharevd.net/wildfly-8-installation.html | |
#author :Dmitriy Sukharev | |
#date :2016-06-18T02:45-0700 | |
#usage :/bin/bash wildfly-install.sh | |
#tested-version1 :10.0.0.CR3 | |
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22 | |
#tested-version2 :10.0.0.Final |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#title :wildfly-install.sh | |
#description :The script to install Wildfly 10.x | |
#usage :/bin/bash wildfly-install.sh | |
#tested-version1 :10.0.0.Final | |
#tested-distros1 :Ubuntu 15.10; Debian 7,8; CentOS 7; Fedora 22 | |
#tested-version2 :10.1.0.Final | |
#tested-distros2 :Debian 8, Centos 6 | |
WILDFLY_VERSION=10.1.0.Final |