First things first !
sudo apt update
sudo apt upgrade
sudo apt-get install build-essential git
# Update & Upgrade the System | |
sudo apt-get update | |
sudo apt-get upgrade | |
# Install dependencies there might be more based on your system | |
# However below instructions are for the fresh Ubuntu install/server | |
# Please carefully watch the logs because if something could not be install | |
# You have to make sure it is installed properly by trying the command or that particular | |
# dependency again |
#! /bin/sh | |
# ZFS health version for Ubuntu | |
# You must install the package "dateuils" from the univers | |
# | |
# Based on Calomel.org | |
# https://calomel.org/zfs_health_check_script.html | |
# FreeBSD ZFS Health Check script | |
# zfs_health.sh @ Version 0.16 | |
# Check health of ZFS volumes and drives. On any faults send email. |
## Configure eth0 | |
# | |
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 | |
DEVICE="eth0" | |
NM_CONTROLLED="yes" | |
ONBOOT=yes | |
HWADDR=A4:BA:DB:37:F1:04 | |
TYPE=Ethernet | |
BOOTPROTO=static |
#!/bin/bash | |
db=$1 | |
user=$2 | |
passwd=$3 | |
if [ "$db" = "" ]; then | |
echo "Usage: $0 db_name user password" | |
exit 1 | |
fi | |
clear | |
for sql_file in *.sql; do |