DangerOS(Dangerous) is a spin on the Rocky Linux Operating System: Streamlined specifically for use in Media Generation, Content Creation & Visual Effects.
- Ubiquitous Dark Mode
- Windows 11 layout
- MacOS layout
- A usable desktop (shortcuts, etc)
- Useful default applications
- Useful codecs for Media stuff
- Remote Desktop features
- Automated install
- Step by Step install
- Ansible install
- Houdini
- Unreal
- Nuke
- Maya
- Blender
- Resolve
- OpenRV
- Deadline
- Natron
- 3ds Max
- After Effects
- Premiere
- Photoshop
- Reaper
- Reason
- Ableton Live
- Pro Tools
Warning
Use bash scripts at your own risk, read the code carefully before executing. We trust you have received the usual lecture from the local System Administrator. It usually boils down to these three things:
- Respect the privacy of others.
- Think before you type.
- With great power comes great responsibility.
1. Download this repository as a .zip file, extract, go into the /distro/rocky folder and run:
sudo ./rocky_autoinstall_v02.sh
Tip
Lean more about ansible here: https://www.ansible.com/how-ansible-works/
1. Playbook:
comming soon...
https://rockylinux.org/download | https://dl.rockylinux.org/pub/rocky/9/live/x86_64/Rocky-9-Workstation-x86_64-latest.iso
Tip
The workstation ISO is recommeded for this install. There are a sperate set of instructions for a minimal server install.
- Download and install vendtoy on a usb thumb drive and copy the ISO to it.
- Set system to boot to thumbdrive in the system bios.
- Follow the install instructions for the iso and ideally install onto an nvme drive on the system.
- reboot the system and login as an admin/sudo user and open the terminal.
Warning
The renaming instructions are mostly done via the gnome terminal after the base OS install.
sudo dnf update -y
sudo dnf install nano -y
sudo dnf install git -y
sudo nano /etc/dnf/dnf.conf
# Add the following lines:
max_parallel_downloads=10
fastestmirror=True
sudo nano /etc/selinux/config
Add this line:
- SELINUX=disabled
sudo dnf install tcsh -y
sudo dnf install epel-release -y
download then double cliek to install
cd ~/Downloads
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/rpm/mesa-libGLU-9.0.1-6.el9.x86_64.rpm --output 'mesa-libGLU-9.0.1-6.el9.x86_64.rpm'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/rpm/rpmfusion-free-release-9.noarch.rpm --output 'rpmfusion-free-release-9.noarch.rpm'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/rpm/rpmfusion-nonfree-release-9.noarch.rpm --output 'rpmfusion-nonfree-release-9.noarch.rpm'
sudo dnf install flatpak -y
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo
sudo dnf install timeshift -y
sudo dnf install fastfetch -y
cd /usr/share/fonts
sudo mkdir meslo-lgs-nf
cd meslo-lgs-nf
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font-mono/MesloLGSNerdFontMono-Bold.ttf --output 'MesloLGSNerdFontMono-Bold.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font-mono/MesloLGSNerdFontMono-BoldItalic.ttf --output 'MesloLGSNerdFontMono-BoldItalic.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font-mono/MesloLGSNerdFontMono-Italic.ttf --output 'MesloLGSNerdFontMono-Italic.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font-mono/MesloLGSNerdFontMono-Regular.ttf --output 'MesloLGSNerdFontMono-Regular.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font-propo/MesloLGSNerdFontPropo-Bold.ttf --output 'MesloLGSNerdFontPropo-Bold.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font-propo/MesloLGSNerdFontPropo-BoldItalic.ttf --output 'MesloLGSNerdFontPropo-BoldItalic.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font-propo/MesloLGSNerdFontPropo-Italic.ttf --output 'MesloLGSNerdFontPropo-Italic.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font-propo/MesloLGSNerdFontPropo-Regular.ttf --output 'MesloLGSNerdFontPropo-Regular.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font/MesloLGSNerdFont-Bold.ttf --output 'MesloLGSNerdFont-Bold.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font/MesloLGSNerdFont-BoldItalic.ttf --output 'MesloLGSNerdFont-BoldItalic.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font/MesloLGSNerdFont-Italic.ttf --output 'MesloLGSNerdFont-Italic.ttf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/fonts/meslolgs-nerd-font/MesloLGSNerdFont-Regular.ttf --output 'MesloLGSNerdFont-Regular.ttf'
- Terminal theme, dot files, logo
cd ~/
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/terminal/gnome-terminal-profiles.dconf --output 'gnome-terminal-profiles.dconf'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/terminal/.bashrc --output '.bashrc'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/terminal/.bash_aliases --output '.bash_aliases'
sudo curl -L https://github.com/DangerDrome/DangerOS/raw/main/terminal/logo_02.txt --output 'logo_02.txt'
exec bash
- load theme
load
c
ff
sudo dnf install xrdp -y
sudo systemctl start xrdp
sudo systemctl enable xrdp
sudo firewall-cmd --permanent --add-port=3389/tcp
sudo firewall-cmd --reload
Rocky:
sudo dnf config-manager --add-repo=https://download.docker.com/linux/centos/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io -y
sudo systemctl enable --now docker
Fedora:
sudo dnf -y install dnf-plugins-core
sudo dnf-3 config-manager --add-repo https://download.docker.com/linux/fedora/docker-ce.repo
sudo dnf install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo systemctl enable --now docker
sudo mkdir -p /opt/stacks /opt/dockge
cd /opt/dockge
sudo curl https://raw.githubusercontent.com/louislam/dockge/master/compose.yaml --output compose.yaml
sudo docker compose up -d
follow command promt instructions
curl -fsSL https://tailscale.com/install.sh | sh
flatpak install dev.deedles.Trayscale -y
sudo dnf install ntfs-3g -y
sudo dnf install python3-pip -y
sudo dnf install gnome-tweaks -y
Rocky:
sudo dnf install gnome-extensions-app-40.0-3.el9.x86_64 -y
Fedora:
sudo dnf install gnome-extensions-app-40.0-3.el9.x86_64 -y
flatpak install flathub com.mattjakeman.ExtensionManager -y
sudo flatpak override --env=GTK_THEME=Adwaita:dark com.mattjakeman.ExtensionManager
sudo pip install --upgrade git+https://github.com/essembeh/gnome-extensions-cli -y
You can use the nvidia-smi command after install/reboot to check the drivers
sudo dnf config-manager --add-repo http://developer.download.nvidia.com/compute/cuda/repos/rhel9/$(uname -i)/cuda-rhel9.repo
sudo dnf install kernel-headers-$(uname -r) kernel-devel-$(uname -r) tar bzip2 make automake gcc gcc-c++ pciutils elfutils-libelf-devel libglvnd-opengl libglvnd-glx libglvnd-devel acpid pkgconfig dkms -y
sudo dnf module install nvidia-driver:latest-dkms -y
echo "blacklist nouveau" | sudo tee /etc/modprobe.d/blacklist-nouveau.conf
echo 'omit_drivers+=" nouveau "' | sudo tee /etc/dracut.conf.d/blacklist-nouveau.conf
sudo dracut --regenerate-all --force
sudo depmod -a
Tip
You can search for flatpak apps via the command line:
flatpak search <app-name>
flatpak install flathub net.nokyan.Resources -y
sudo flatpak override --env=GTK_THEME=Adwaita:dark net.nokyan.Resources
flatpak install --user flathub org.remmina.Remmina -y
sudo flatpak install org.gnome.Boxes -y
flatpak install flathub org.gnome.Calendar -y
sudo flatpak override --env=GTK_THEME=Adwaita:dark org.gnome.Calendar
sudo flatpak install com.vixalien.sticky -y
sudo flatpak install io.posidon.Paper -y
flatpak install flathub com.visualstudio.code -y
flatpak install flathub md.obsidian.Obsidian -y
flatpak install io.github.celluloid_player.Celluloid -y
flatpak install com.vysp3r.ProtonPlus -y
sudo flatpak override --env=GTK_THEME=Adwaita:dark com.vysp3r.ProtonPlus
flatpak install com.valvesoftware.Steam -y
flatpak install io.github.shiftey.Desktop -y
sudo dnf install python3-qt5 -y
sudo dnf install libXScrnSaver-devel-1.2.3-10.el9. -y
sudo dnf install libGLU -y
sudo dnf install libnsl -y
sudo flatpak install fr.natron.Natron -y
sudo flatpak install flathub org.blender.Blender -y
In a terminal:
gsettings set org.gnome.desktop.interface text-scaling-factor 1.5
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'
Install it in the root folder:
sudo wget -qO- https://git.io/papirus-icon-theme-install | sh
Install it in the root folder:
sudo wget -qO- https://git.io/papirus-folders-install | sh
Switch folder color to Grey:
papirus-folders -C grey --theme Papirus-Dark
Download the themes zip:
Extract and copy the folder to the themes directory:
cd /usr/share/themes
sudo cp -r /home/danger/Downloads/Adwaita-gray-dark
For running Virtual Machines.
Tip
https://www.reddit.com/r/homelab/comments/b5xpua/the_ultimate_beginners_guide_to_gpu_passthrough/
1. Configure the Grub:
nano /etc/default/grub
# Change this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
# To this line:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on"
# Or with additional commands:
GRUB_CMDLINE_LINUX_DEFAULT="quiet amd_iommu=on iommu=pt pcie_acs_override=downstream,multifunction nofb nomodeset video=vesafb:off,efifb:off"
# Save & Exit
update-grub
2. VFIO Modules:
nano /etc/modules
# Add the following to the 'modules' file:
vfio
vfio_iommu_type1
vfio_pci
vfio_virqfd
# Save & Exit nano(ctrl+o, ctrl+x)
3. IOMMU interrupt remapping:
echo "options vfio_iommu_type1 allow_unsafe_interrupts=1" > /etc/modprobe.d/iommu_unsafe_interrupts.conf
echo "options kvm ignore_msrs=1" > /etc/modprobe.d/kvm.conf
4. BlackListing Drivers:
echo "blacklist radeon" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nouveau" >> /etc/modprobe.d/blacklist.conf
echo "blacklist nvidia" >> /etc/modprobe.d/blacklist.conf
5. Adding GPU to VFIO:
lspci -v | grep NVIDIA
# Find you GPU Number and run the following, for example:
lspci -n -s 01:00
# Take note of the vendor id codes: **10de:1b81** and **10de:10f0**.
# Now we add the GPU's vendor id's to the VFIO, for example:
echo "options vfio-pci ids=10de:1b81,10de:10f0 disable_vga=1"> /etc/modprobe.d/vfio.conf
# Finally, run this:
update-initramfs -u
# restart
reset




