Skip to content

Instantly share code, notes, and snippets.

View Razva's full-sized avatar

Razvan Rosca Razva

View GitHub Profile
@Razva
Razva / gist:e7304fb80a210639107a35838dee2832
Last active July 2, 2020 10:50
Minecraft Server Versions
=== JAVA
Official
- * Vanilla - https://www.minecraft.net/en-us/
Plugins
- * Paper - https://papermc.io/
- Spigot
- Sponge
- CraftBukkit

Keybase proof

I hereby claim:

  • I am razva on github.
  • I am razva (https://keybase.io/razva) on keybase.
  • I have a public key ASBiGwCTZ8tIjfODjHpOmRoeIaMez0R--PV4DhIYx4xBVAo

To claim this, I am signing this object:

@Razva
Razva / RAID + LVM
Last active February 24, 2017 13:46
fdisk -l
mdadm --create /dev/mdX --level=1 --raid-devices=2 /dev/hdX1 /dev/hdX1
mdadm --detail --scan /dev/mdX >> /etc/mdadm/mdadm.conf
mdadm --query --detail /dev/mdX
pvcreate /dev/mdX
pvscan
pvdisplay
vgcreate NameVG /dev/mdX
vgscan
vgdisplay
@Razva
Razva / SmartMonTools Install
Last active February 24, 2017 13:45
Y / N
printf "\nThis script will install, check, enable, test and activate SmartMonTools.\n"
read -p "Do you want to continue? Y/N " -n 1 -r
if [[ $REPLY =~ ^[Yy]$ ]]
then
printf '\n'
printf %s "Installing smartmontools ... "
#rm -rf smartmon-install.log &>/dev/null
yum install -y smartmontools >> smartmon-install.log
printf '%s\n' "DONE!"
echo "========"