Skip to content

Instantly share code, notes, and snippets.

@roymanigley
Last active August 11, 2022 07:59
Show Gist options
  • Save roymanigley/0def5b428dd46981e86bd985466a680a to your computer and use it in GitHub Desktop.
Save roymanigley/0def5b428dd46981e86bd985466a680a to your computer and use it in GitHub Desktop.
setup openbsd
installation and configuration for
 ▄██████▄     ▄███████▄    ▄████████ ███▄▄▄▄   ▀█████████▄     ▄████████ ████████▄  
███    ███   ███    ███   ███    ███ ███▀▀▀██▄   ███    ███   ███    ███ ███   ▀███ 
███    ███   ███    ███   ███    █▀  ███   ███   ███    ███   ███    █▀  ███    ███ 
███    ███   ███    ███  ▄███▄▄▄     ███   ███  ▄███▄▄▄██▀    ███        ███    ███ 
███    ███ ▀█████████▀  ▀▀███▀▀▀     ███   ███ ▀▀███▀▀▀██▄  ▀███████████ ███    ███ 
███    ███   ███          ███    █▄  ███   ███   ███    ██▄          ███ ███    ███ 
███    ███   ███          ███    ███ ███   ███   ███    ███    ▄█    ███ ███   ▄███ 
 ▀██████▀   ▄████▀        ██████████  ▀█   █▀  ▄█████████▀   ▄████████▀  ████████▀

image

installation

  • select sg as keyboard layout (swiss german)

  • X Window System yes

  • X Window System started by xenodm yes

  • seting up partition

    do all in one partition

    1. select (C)ustom partition mode
    2. delete all partitions
    > z
    
    1. create the root partition
    > a a
    mountpoint: /
    
    1. complete and write labels
    > q
    
  • location of sets

    enter http, no proxy and select the default mirror

configuration

change to root

su

set doas (like sudo on linux)

echo "permit persist royman" > /etc/doas.conf    

install i3

doas pkg_add i3 dmenu
echo "exec i3" > ~/.xsession
cp /usr/local/share/examples/i3status/i3status.conf ~/.i3status.conf

install bash

doas pkg_add bash
doas ln -s /usr/local/bin/bash /bin/bash

install ohmyzsh

doas pkg_add zsh git
chsh -s /usr/local/bin/zsh
git clone https://github.com/robbyrussell/oh-my-zsh.git
mv oh-my-zsh .oh-my-zsh
cp .oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
echo "XTerm*Background: black\nXTerm*Foreground: white\nXTerm*selectToClipboard: true\nXTerm*faceName: Monospace\nXTerm*faceSize: 12" >> ~/.Xdefaults

install JDK and intelli CE

doas pkg_add jdk intellj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment