Skip to content

Instantly share code, notes, and snippets.

View Rusydy's full-sized avatar
🏠
Working from heaven and hell

Rusydy Rusydy

🏠
Working from heaven and hell
View GitHub Profile
@Rusydy
Rusydy / workflow.yml
Created December 6, 2025 19:39
original github flow asdf-php as of 24 October 2025
name: Main workflow
on:
pull_request:
push:
schedule:
- cron: 0 0 * * 5
jobs:
plugin-test-docker:
# send SQL files from Mac to the VM
# On Mac, set password environment variable
export MYSQL_PWD=password123
export MYSQL_USER=dev
export MYSQL_DB=database
export MYSQL_HOST=100.100.100.10
export MYSQL_SSL_MODE=DISABLED
# Run import without -p flag
for file in *.sql; do
# Install MySQL 5.7 Community Server on AlmaLinux 10
## source: https://computingforgeeks.com/install-mysql-5-7-on-centos-rhel-linux/
## Add MySQL Community Repository
sudo vim /etc/yum.repos.d/mysql-community.repo
## Disable MySQL 8.0 Community Repository
sudo dnf config-manager --disable mysql80-community

Upgrading to Complete AlmaLinux Installation

Step 1: Update the System

sudo dnf update -y

Step 2: Install Essential System Tools

# Quick Setup with Copy-Paste
## Set your username and public key
USERNAME="yourusername"
PUBLIC_KEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIxxxxxx [email protected]"
## Create user and setup
useradd -m -G wheel $USERNAME
passwd $USERNAME
mkdir -p /home/$USERNAME/.ssh
@Rusydy
Rusydy / how-to-install-openssl-1.1.1-on-centos-9-and-fedora-41.md
Last active October 8, 2025 07:22 — forked from Bill-tran/how-to-install-openssl-1.1.1-on-centos-7.md
How to install openssl 1.1.1 on CentOS 9 or Fedora 41

How To Install OpenSSL 1.1.1 on CentOS 9 or Fedora 41

This tutorial goes through how to install openssl 1.1.1 on CentOS 9

Requirements

Upgrade the system

sudo dnf -y update