Skip to content

Instantly share code, notes, and snippets.

View akamas's full-sized avatar

SAnker akamas

View GitHub Profile
@akamas
akamas / expanding-an-lvm-across-disks
Created July 2, 2021 06:15
expanding an LVM across multiple disks
https://www.tyler-wright.com/expanding-an-lvm-across-disks
@akamas
akamas / OneRowInstallSDebxfce4.sh
Created July 10, 2021 22:46
OneRowInstallSDebxfce4.sh
apt update -y && apt upgrade -y
apt update && apt upgrade -y && apt install ubuntu-desktop xfce4 dbus-x11 xrdp net-tools -y && apt autoremove -y && /etc/init.d/xrdp start
echo xfce4-session > ~/.xsession
# 3 # Firefox + Synaptic
apt install synaptic -y && apt-key adv --keyserver keyserver.ubuntu.com --recv-keys A6DCF7707EBC211F && echo "deb http://ppa.launchpad.net/ubuntu-mozilla-security/ppa/ubuntu bionic main" > /etc/apt/sources.list.d/firefox.list && apt update -y && apt install firefox -y
apt install davfs2 -y && apt install sshfs -y && apt install nfs-common -y && apt install ifupdown2 -y
# 8 AppArmor
apt-get install apparmor -y && apt-get install apparmor-utils -y && sudo apt-get install apparmor-profiles apparmor-profiles-extra -y && sudo service apparmor start
@akamas
akamas / OneRowInstallSDebxfce4.sh
Last active July 10, 2021 22:58
OneRowInstallSDebxfce4.sh
wget https://gist.github.com/6fa7662aab97de77784ca745d83bde9d.git -c -O OneRowInstallSDebxfce4.sh && mv OneRowInstallSDebxfce4.sh /usr/local/bin && cd /usr/local/bin && chmod +x OneRowInstallSDebxfce4.sh && ./OneRowInstallSDebxfce4.sh # && rm OneRowInstallSDebxfce4.sh
@akamas
akamas / mklink.psm1
Last active August 8, 2021 10:47 — forked from jpoehls/mklink.psm1
Native PowerShell wrapper for MKLINK.
@akamas
akamas / Linux-Unix, Ubuntu 18.04 LTS - 64-bit Amazon Machine Image (AMI)
Created August 14, 2021 16:48
NAKIVO Backup & Replication Free Edition | Linux/Unix, Ubuntu 18.04 LTS - 64-bit Amazon Machine Image (AMI)
Version 10.2.0 Sold by NAKIVO
201 external reviews
NAKIVO Backup & Replication is a fast, reliable, and affordable backup solution for protecting virtual, physical, cloud, and SaaS environments.
According to the vendor, NAKIVO Backup & Replication offers advanced features that increase backup performance, improve reliability, speed up
recovery, and, as a result, help save time and money.
https://aws.amazon.com/marketplace/pp/prodview-put2vk4fmvkxk?ref_=srh_res_product_title
FREE HOSTING by AWS FREE-TIER ( 750h/m )
@akamas
akamas / spone.sh
Created August 28, 2021 16:08
sprox
echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list && wget http://download.proxmox.com/debian/proxmox-ve-release-6.x.gpg -O /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg && chmod +r /etc/apt/trusted.gpg.d/proxmox-ve-release-6.x.gpg && apt update -y && echo "deb http://download.proxmox.com/debian/pve buster pve-no-subscription" > /etc/apt/sources.list.d/pve-install-repo.list && apt full-upgrade -y && apt install proxmox-ve postfix open-iscsi -y && echo "# deb https://enterprise.proxmox.com/debian/pve buster pve-enterprise" > /etc/apt/sources.list.d/pve-enterprise.list && wget https://raw.githubusercontent.com/extremeshok/xshok-proxmox/master/install-post.sh -c -O install-post.sh && bash install-post.sh && rm install-post.sh
@akamas
akamas / entire_chocolatey_setup.pp
Created September 24, 2021 07:44 — forked from ferventcoder/entire_chocolatey_setup.pp
Setting up and configuring Chocolatey with Puppet
case $operatingsystem {
'windows': {
Package {
provider => chocolatey,
}
}
}
# ensure Chocolatey is installed - host the package internally
class {'chocolatey':
@akamas
akamas / sources.list
Created September 30, 2021 03:18
ubuntu 21.04 sources.list
deb http://de.archive.ubuntu.com/ubuntu hirsute main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu hirsute main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu hirsute-updates main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu hirsute-updates main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu hirsute-security main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu hirsute-security main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu hirsute-backports main restricted universe multiverse
@akamas
akamas / spodman.sh
Last active September 30, 2021 18:58
ubuntu upgrade 20.04. to 21.04 | install podman podman-compose cockpit
rm /etc/apt/sources.list && wget https://gist.githubusercontent.com/akamas/99c959e768ed202ee3b2d8db60369928/raw/4709678cb7f35cd54a1534daebdac74332efd446/sources.list -c -O sources.list && mv sources.list /etc/apt/ && cd /etc/apt/ && chmod +x sources.list && apt update && apt-get full-upgrade -y && cd && apt-get -y install podman python3-pip && pip3 install podman-compose && alias docker=podman && apt-get install -y cockpit-podman && reboot
@akamas
akamas / sources.list
Created September 30, 2021 08:14
ubuntu 20.04 sources.list
deb http://de.archive.ubuntu.com/ubuntu focal main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu focal main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu focal-updates main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu focal-security main restricted universe multiverse
#deb-src http://de.archive.ubuntu.com/ubuntu focal-security main restricted universe multiverse
deb http://de.archive.ubuntu.com/ubuntu focal-backports main restricted universe multiverse