Skip to content

Instantly share code, notes, and snippets.

@ssvaidya
ssvaidya / SetIISACLPerms.ps1
Created December 13, 2016 16:22
Set ACL Permissions for an IIS Directory
Clear-Host
$WebsiteDir = "G:\Websites\DemoApp"
[string[]] $ACLPerms = "Administrators", "IIS_IUSRS", "IUSR"
#Assign the ACL Permissions
foreach ($permission in $ACLPerms)
{
$AccessRule =New-Object System.Security.AccessControl.FileSystemAccessRule($permission,"FullControl","ContainerInherit,ObjectInherit","InheritOnly","Allow")
@inetshell
inetshell / 5_steps_for_creating_templates_and_vms_on_proxmox_using_linux_distros_cloud_images.md Creating Templates and Virtual Machines on Proxmox using cloud images from various Linux distributions.

5 Steps for Creating Templates and Virtual Machines on Proxmox using Linux Distro's Cloud Images

This tutorial guides you through the process of creating Templates and Virtual Machines on Proxmox using cloud-based images from various Linux distributions. We provide clear instructions for Alma Linux 9, Amazon Linux 2, CentOS 9, Fedora 38, Oracle Linux 9, RHEL 9, Rocky Linux 9, and Ubuntu 23.04 Lynx Lobster.

Note: The instructions have been tested on Proxmox 8.0.4.

Let's begin by choosing the cloud-based image. If you already have your preferred Linux distribution, skip to the 1st step.

To assist in making informed choices when selecting a Linux distribution for your virtual machines, we've compiled a table showcasing key characteristics of each cloud image. This table provides a snapshot of important attributes, including kernel version, Python version, number of processes initialized after boot, number of packages installed, free memory after boot, VM disk size, root partition disk size, used size on t