Skip to content

Instantly share code, notes, and snippets.

View logan9t8's full-sized avatar
💭
On sabbatical

Dinesh logan9t8

💭
On sabbatical
View GitHub Profile
@logan9t8
logan9t8 / SQL.md
Created September 1, 2024 15:53
SQL Installation in Arch Linux

MySQL

git clone https://aur.archlinux.org/packages/mysql
cd mysql
makepkg -si
sudo mysqld --initialize --user=mysql --basedir=/usr --datadir=/var/lib/mysql
sudo mysql_secure_installation
sudo chown -R mysql:mysql /var/lib/mysql
sudo systemctl enable --now mysqld.service
sudo mysql
@logan9t8
logan9t8 / Install.ps1
Created June 13, 2023 05:23
Install Hadoop on windows
##Run this file with the below command
# powershell -ExecutionPolicy Bypass -File .\Install.ps1
## Check if the script is already running with administrative privileges
$isAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole]::Administrator)
# If not running as admin, re-launch the script with elevated privileges
if ( -not $isAdmin) {
# Build the new process start info
$psi = New-Object System.Diagnostics.ProcessStartInfo