# Check Firewalld
sudo firewall-cmd --stateThis guide explains how to safely update a feature branch from master in Git, using either merge or rebase, before creating or completing a pull request. Use this tutorial when your branch is out of date with the master branch, or when modifications are frequently made to the master branch during this time period.
GitHub often shows messages like:
To have another Python versions for the Linux Users without impacting the operating system, the best approach is to install Python locally in the user's home directory. This method avoids requiring root/sudo access and does not alter the system-wide Python installation.
To install Python (e.g.: 3.9.25) locally for a user without sudo access, including the pip module, follow these steps:
This file contains hidden or 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 | |
| #https://hub.docker.com/r/portainer/agent | |
| AGENT_VERSION="2.33.3-alpine" | |
| # Check if the script is being run as root. | |
| if [ "$(id -u)" -eq 0 ]; then | |
| echo "This script should not be run as root. Run it as a non-root user." | |
| exit 1 | |
| fi |
This file contains hidden or 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 | |
| # Releases: https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases | |
| ARCH="x64" | |
| FFMPEG_VER="0.114.0" | |
| FFMPEG_URL="https://github.com/nwjs-ffmpeg-prebuilt/nwjs-ffmpeg-prebuilt/releases/download/$FFMPEG_VER/$FFMPEG_VER-linux-$ARCH.zip" | |
| #OPERA_LIB="/usr/lib64/opera" | |
| OPERA_LIB="/usr/lib64/opera-stable" | |
| TMP_DIR="/tmp/operalib" |
This file contains hidden or 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 | |
| # -- ------------------------------------------------------------------------------------------------ | |
| # Author: alexolinux | |
| # This script to install and configure a Kubernetes cluster with control-plane and nodes. | |
| # -- ------------------------------------------------------------------------------------------------ | |
| # https://kubernetes.io/docs/setup/production-environment/tools/kubeadm/create-cluster-kubeadm/ | |
| # https://kubernetes.io/docs/tasks/administer-cluster/kubeadm/kubeadm-upgrade/ | |
| # -- ------------------------------------------------------------------------------------------------ |
This file contains hidden or 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 | |
| # Detect RHEL version | |
| if [ -f /etc/os-release ]; then | |
| . /etc/os-release | |
| RHEL_VERSION=$(echo $VERSION_ID | cut -d '.' -f1) | |
| else | |
| echo "Unable to determine OS version." | |
| exit 1 | |
| fi |
NewerOlder
