Skip to content

Instantly share code, notes, and snippets.

@muse-sisay
muse-sisay / README.md
Last active August 1, 2022 18:17
Kubeadm: Kubernetes install bash script (Ubuntu)

K8s: Kubeadm install bash script (Ubuntu)

A bash script for installing Kubernetes using Kubeadm. Forked from killer-sh/cks-course-environment.

Usage

  • To setup a master node
./install.sh -v 1.23.6 -M
@muse-sisay
muse-sisay / introduction.md
Last active June 12, 2022 01:43
Rosariosis Installation Guide

Rosariosis Installation Guide

Rosariosis is a full-featured Student Information System. GitHub

This is a detailed Rosariosis installation guide for openSUSE and RedHat based distributions. The offical Rosariosis guide can be found here.

Table of Contents

@muse-sisay
muse-sisay / Find-perm.md
Created September 5, 2021 19:13
LFCS objective: Find Command

1 = w
2 = x
3 = wx 4 = r
5 = rx
6 = rw
7 = rwx


@muse-sisay
muse-sisay / Access Permission.md
Last active September 5, 2021 15:49
LFCS objective: Controlling Access to Files
421
rwx

Effect rwx on Files and Directories

PERMISSION EFFECT ON FILES EFFECT ON DIRECTORIES
@muse-sisay
muse-sisay / cornAndswap.md
Last active September 4, 2021 13:41
LFCS objective: Scheduling Tasks with cron & Managing Swap space

Scheduling Tasks with cron

minute hour day_of_month month day_of_week $USER COMMAND

  • man 5 cron for explanation
  • /var/spool/cron directory where cron checks for user jobs

Handy way of having a reference.

$ cat /etc/crontab >> /var/spool/cron/$USER
@muse-sisay
muse-sisay / RAID.md
Last active August 31, 2021 18:40
LFCS objective: Create and manage RAID devices

RAID

Redundant Array of Independent Disks

  • A glance at what RAID is. /RAID is not a backup
  • Overview of mdadm command
  • Creating RAID 0 and RAID 5 Array
  • Automounting RAID array at boot

Additional

  • We will look at adding and removing disk from array
@muse-sisay
muse-sisay / adding-private-key-to-windows-server-2016.md
Created June 29, 2021 19:22
Adding private key to Windows Server 2016

Getting the following error when trying to SSH into your windows machine?

Permission denied (publickey,keyboard-interactive).

This is probably because PasswordAuthentication is set to no. It also maybe that you haven't added your public key to the server. To add your public key follow these steps

Step 1: Generate on SSH Key pair