Skip to content

Instantly share code, notes, and snippets.

OwnCloud on Proxmox in local network 101

Create OwnCloud container from template

https://pve.proxmox.com/wiki/Linux_Container

tldr: In your proxmox instance:

pveam update
pveam available | grep cloud
# find owncloud template name and download it
@miooochi
miooochi / pve-trick-sriov-vf-configuration
Last active February 1, 2024 10:46
Enable SR-IOV VF on Proxmox 7+
# The following is a step-by-step example for enabling SR-IOV VF on Promxox 7+ with BCM57810 10G NIC
---
References
https://forum.proxmox.com/threads/enabling-sr-iov-for-intel-nic-x550-t2-on-proxmox-6.56677/
https://zhuanlan.zhihu.com/p/91197211
https://zhuanlan.zhihu.com/p/356437308
https://zhiliao.h3c.com/Theme/details/24770
https://blog.csdn.net/Jackykxy/article/details/120585563
@kiler129
kiler129 / prevent-host-driver-in-pci-pass.md
Last active April 13, 2024 02:02
Definitely prevent stubborn devices from being bound by the host driver in PCI passthrough scenario

Scenario

You're running a KVM-based virtualization. You want to do PCI/PCIe passthrough of some device. You don't want it to attach to the host OS at all.

Your device looks like that:

00:1f.2 SATA controller [0106]: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller [8086:1c02] (rev 05)
	Subsystem: Hewlett-Packard Company 6 Series/C200 Series Chipset Family 6 port Desktop SATA AHCI Controller [103c:330d]
	Kernel driver in use: ahci
	Kernel modules: ahci
@AntaeusNar
AntaeusNar / SSH2FA.MD
Last active June 19, 2023 21:10
Enabling SSH Key authentication with 2 Factor Authentication via Google Authenticator and Fail2Ban on Ubuntu 18.04

SSH Key with 2FA

  1. Add the client users's ssh-rsa pubilic key to the server user's ~/.ssh/authorized_keys file.

The rest of the this will be done on the server as the user that will be logged in with the key and 2fa.

  1. Install the Google Authenticator PAM helper

sudo apt update && sudo apt upgrade -y - Always a good idea to update everything before starting

sudo apt install libpam-google-authenticator - This is the module for PAM which allows for 2fa via google

Ultimate Beginner's Guide to Proxmox GPU Passthrough

mirror of The Ultimate Beginner's Guide to GPU Passthrough (Proxmox, Windows 10) by /u/cjalas

>Welcome all, to the first installment of my Idiot Friendly tutorial series! I'll be guiding you through the process of configuring GPU Passthrough for your Proxmox Virtual Machine Guests. This guide is aimed at beginners to virtualization, particularly for Proxmox users. It is intended as an overall guide for passing through a GPU (or multiple GPUs) to your Virtual Machine(s). It is not intended as an all-exhaustive how-to guide; however, I will do my best to provide you with all the necessary resources and sources for the passthrough process, from start to finish. If something doesn't work properly, please check /r/Proxmox, /r/Homelab, /r/VFIO, or

@Log1x
Log1x / debloatNox.md
Last active June 26, 2024 06:51
Debloating & Optimizing Nox

Debloating Nox

Nox, despite being the most feature-filled Android emulator, has a lot of negativity surrounding it due to their antics when it comes to making income off of their program. It is known for running repeated advertisments in the background, calling home and passing along system information (outside of your Android instance) as well as a vast amount of potentially sensitive data in an encrypted payload back to their multitude of servers. With the following preventitive measures, we can stop a majority of this happening as well as greatly improve the overall performance.

  1. Download and Install a fresh copy of Nox. The latest version is fine (for now). If you already have it installed, that is fine too. No need to reinstall.

  2. Enable Root Mode on Nox by clicking the gear icon and then checking the Root Startup box.

  3. Install a new Launcher from the Play Store. ANYTHING but Nox's default. I suggest [Nova Launcher](https://play.google.com/s