Skip to content

DangerOS is an Open Source operating system for Media & Content Creation.

License

Notifications You must be signed in to change notification settings

DangerDrome/DangerOS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

440 Commits
 
 
 
 
 
 
 
 

Repository files navigation



image

An operating system for Media Creation.



image

image

image

Features

DangerOS(Dangerous) is a spin on the Rocky Linux Operating System: Streamlined specifically for use in Media Generation, Content Creation & Visual Effects.

Features include

  • 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

Apps include

  • Houdini
  • Unreal
  • Nuke
  • Maya
  • Blender
  • Resolve
  • OpenRV
  • Deadline
  • Natron
  • 3ds Max
  • After Effects
  • Premiere
  • Photoshop
  • Reaper
  • Reason
  • Ableton Live
  • Pro Tools


Automated Install

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

image








Ansible install

Tip

Lean more about ansible here: https://www.ansible.com/how-ansible-works/

1. Playbook:

comming soon...



Step by step install

Base system stuff

1. Download rocky linux

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.

  1. Download and install vendtoy on a usb thumb drive and copy the ISO to it.
  2. Set system to boot to thumbdrive in the system bios.
  3. Follow the install instructions for the iso and ideally install onto an nvme drive on the system.
  4. 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.


2. update system [R][F]

sudo dnf update -y

2. install Nano [R]

sudo dnf install nano -y

3. Install Git [R]

sudo dnf install git -y

3. Speed up dnf installs [R]

sudo nano /etc/dnf/dnf.conf

# Add the following lines:
max_parallel_downloads=10
fastestmirror=True

4. Disable SELinux [R][F]

sudo nano /etc/selinux/config 

Add this line:

  • SELINUX=disabled

5. install tcsh [R][F]

sudo dnf install tcsh -y

6. install epel repo [R]

sudo dnf install epel-release -y

7. install aditional rpms (rpmfusion,mesa) [R]

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'

8. install flatpak & the flathub repo [R]

sudo dnf install flatpak -y
sudo flatpak remote-add --if-not-exists flathub https://dl.flathub.org/repo/flathub.flatpakrepo

9. install timeshift (Backups) [R][F]

sudo dnf install timeshift -y

9. install fastfetch (System info fetcher) [R][F]

sudo dnf install fastfetch -y

10. Install mono icon fonts for the terminal [R][F]

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'

11. Install terminal customisations [R][F]

  • 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

12. Install xrdp [R][F]

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

12. Install Docker [R][F]

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

12.1. Install Dockge (An easy way to run docker compose) [R][F]

Create directories that store your stacks and stores Dockge's stack

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

13. Install tailscale (VPN) [R][F]

follow command promt instructions

curl -fsSL https://tailscale.com/install.sh | sh

14. Install TrayScale (A tailscale GUI, has Wayland issues on Rocky, skip for now.) [F]

flatpak install dev.deedles.Trayscale -y

15. Install ntfs stuff (For mounting any ntfs drives) [R]

sudo dnf install ntfs-3g -y

16. Install pip (Ror python packages) [R][F]

sudo dnf install python3-pip -y

17. Install gnome-tweaks [R][F]

sudo dnf install gnome-tweaks -y

18. Install gnome-extensions [R][F]

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

19. Install Gnome Extension Manager [R][F]

flatpak install flathub com.mattjakeman.ExtensionManager -y
sudo flatpak override --env=GTK_THEME=Adwaita:dark com.mattjakeman.ExtensionManager

20. Install gnome extension CLI (Not sure if this is needed, still testing, skip for now)

sudo pip install --upgrade git+https://github.com/essembeh/gnome-extensions-cli -y

21. Install Nvidia Drivers [R][F]

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




General Apps

Tip

You can search for flatpak apps via the command line:

flatpak search <app-name>

1. Install Resources (A Windows-like Task Manager) [R][F]

flatpak install flathub net.nokyan.Resources -y
sudo flatpak override --env=GTK_THEME=Adwaita:dark net.nokyan.Resources

2. Install Remmina (Remote Desktop Client) [R][F]

flatpak install --user flathub org.remmina.Remmina -y

3. Install Boxes (Simple Virtual machine software) [R][F]

sudo flatpak install org.gnome.Boxes -y

4. Install Calendar [R]

flatpak install flathub org.gnome.Calendar -y
sudo flatpak override --env=GTK_THEME=Adwaita:dark org.gnome.Calendar

5. Install Sticky Notes [R][F]

sudo flatpak install com.vixalien.sticky -y

6. Install Paper (very simple markdown notes) [R][F]

sudo flatpak install io.posidon.Paper -y

7. Install VSCode [R][F]

flatpak install flathub com.visualstudio.code -y

8. Install Obsidian [R][F]

flatpak install flathub md.obsidian.Obsidian -y

9. Install Celluloid [R][F]

flatpak install io.github.celluloid_player.Celluloid -y

10. Install ProtonPlus (for steam) [R][F]

flatpak install com.vysp3r.ProtonPlus -y
sudo flatpak override --env=GTK_THEME=Adwaita:dark com.vysp3r.ProtonPlus

11. Install Steam (for games/ nvidia testing) [R][F]

flatpak install com.valvesoftware.Steam -y

11. Install Github Desktop [R][F]

flatpak install io.github.shiftey.Desktop -y




DCC apps

1. Install RV.

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 

1. Install Natron (why? cli automation stuff)

sudo flatpak install fr.natron.Natron -y

2. Install Blender

sudo flatpak install flathub org.blender.Blender -y




DE customisation


1. Increase the screen sacle so you can actually read stuff.

In a terminal:

gsettings set org.gnome.desktop.interface text-scaling-factor 1.5
gsettings set org.gnome.desktop.interface gtk-theme 'Adwaita-dark'

1. Install Papirus Icons [R][F]

Install it in the root folder:

sudo wget -qO- https://git.io/papirus-icon-theme-install | sh

2. Install Papirus Folder Colors [R][F]

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

3. Install custom Adwaita-dark themes [R][F]

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 

NOTE: GPU passthrough

For running Virtual Machines.


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



About

DangerOS is an Open Source operating system for Media & Content Creation.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published