Skip to content

Instantly share code, notes, and snippets.

@sasha-id
sasha-id / proxmoxlxcjellyfin.md
Created September 30, 2024 06:51 — forked from parasbhanot/proxmoxlxcjellyfin.md
Proxmox LXC Alpine Docker Jellyfin

How to setup VA-API within Proxmox LXC Unprivileged container

Proxmox configuration

No drivers need to be installed on the proxmox, from now called host.

Find GIDs of video and render group on host:

cat /etc/group | grep video

cat /etc/group | grep render

@sasha-id
sasha-id / README.md
Created September 13, 2024 06:16 — forked from kdmukai/README.md
Create a Bitcoin Core node in Proxmox

Create a Bitcoin Core Node CT in Proxmox

Create the CT:

  • Debian 12 image
  • 4GB system disk in local-lvm
  • 6GB RAM, 0 swap

Add a data disk mount point

In the CT's "Resources" > "Add" > "Mount point":

  • Storage: "Directory" disk from above
@sasha-id
sasha-id / gist:2df77ec7c3b27b965f3b7ac0a997ce36
Created January 21, 2021 05:45 — forked from den-crane/gist:6eff375752a236a456e1b3dc2ca7db62
Clickhouse example AggregatingMergeTree, (max, min, avg ) State / Merge
DROP TABLE IF EXISTS requests;
CREATE TABLE requests (
request_date Date,
request_time DateTime,
response_time Int,
request_uri String)
ENGINE = MergeTree(request_date, (request_time, request_uri), 8192);
@sasha-id
sasha-id / ssl_puma.sh
Last active September 14, 2019 05:45 — forked from tadast/ssl_puma.sh
localhost SSL with puma
#
# Use just this:
openssl req \
-newkey rsa:2048 \
-x509 \
-nodes \
-keyout server.key \
-new \
@sasha-id
sasha-id / README
Created March 23, 2012 02:45
MongoDB init script for a sharding node.
To install this init script, you should save mongodb to /etc/init.d/ and mongosharding.conf to /etc/
then run the following commands as root or with sudo:
chmod 755 /etc/init.d/mongodb
chown root:root /etc/init.d mongodb
update-rc.d mongodb defaults
This installation procedure was tested on UBUNTU 11.10