Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # pick keybaord layout
- select US english QWERTY
- # hostname
- host
- # which pages to install
- ports
- lib32
- # partitioning
- Auto (ZFS)
- Encrypt Swap (Yes)
- Swap Size (3G)
- Encrypted Disks (Yes)
- Set Decryption Passphrase
- # network
- select iwn0
- Regdomain/country (No)
- Pick WiFi and enter Key
- IPv4 (yes)
- DHCPD (yes)
- IPv6 (no)
- # system configuration
- Start at boot:
- moused
- powerd
- dumpdev
- # system hardening
- yes to all
- # add user
- username: user
- full name: User
- Uid: *hit enter*
- login group: wheel
- invite to other groups: games
- login class: default
- shell: csh
- home directory: default
- home directory permissions: default
- use password-based authentication: yes
- use an empty password: no
- use a random password: no
- enter password
- lock out the account after creation: no
- # post install
- login as root
- # shut off the beep in the tty:
- kbdcontrol -b quiet.off
- vi /etc/rc.conf:
- allscreens_kbdflags="-b quiet.off"
- # update the system and install packages:
- pkg update
- pkg install:
- # shell:
- zsh
- # editor:
- neovim
- # multiplexsion:
- tmux
- # terminal:
- rxvt-unicode
- urxvt-perls
- # desktop/window manager:
- i3-gaps
- i3status
- # lockscreen:
- slim
- # music and video:
- musicpd
- mpc
- ncmpcpp
- ncmpc
- mpv
- # network:
- tor
- i2p
- # file management:
- thunar
- py36-ranger
- # application menu:
- dmenu
- # customuization tools:
- lxappearance
- feh
- dunst
- compton
- # utilities:
- tree
- scrot
- rkhunter
- neofetch
- htop
- wget
- git
- cmake
- gimp
- transmission-cli
- unzip
- ctags
- psearch
- kid3-qt4
- gmake
- # social media:
- pidgin
- pidgin-otr
- pidgin-libnotify
- irssi
- irssi-otr
- qtox
- # web browsing
- w3m
- qutebrowser
- # programming
- py36-ipython
- py36-pip
- py36-pip-tools
- py36-virtualenv
- # other:
- xorg
- noto-lite
- liberation-fonts-ttf
- sudo
- # edit sudoers file
- visudo:
- Add to the top:
- Defaults insults
- Uncomment:
- %wheel ALL=(ALL) ALL
- run poweroff and such without needing a password:
- uncomment:
- %wheel ALL=(ALL) NOPASSWORD: ALL
- then edit it to be as follows:
- %wheel ALL=
- # add to /etc/rc.conf
- vi /etc/rc.conf:
- hald_enable="YES"
- dbus_enable="YES"
- performance_cx_lowest="Cmax"
- economy_cx_lowest="Cmax"
- moused_flags="-VH"
- # add to /boot/loader.conf
- vi /boot/loader.conf:
- kern.vty=vt
- hw.vga.textmode="1"
- acpi_ibm_load="YES"
- acpi_video_load="YES"
- hint.p4tcc.0.disabled=1
- hint.acpi_throttle.0.disabled=1
- drm.i915.enable_rc6=7
- kern.vty=vt
- # add user to video group
- pw groupmod video -m user
- # edit fstab
- vi /etc/fstab:
- proc /proc procfs rw 0 0
- # configure xorg
- X -configure
- cp /root/xorg.conf.new /etc/X11/xorg.conf
- # edit .xinitrc for root and user
- vi ~/.xinitrc:
- /usr/local/bin/i3
- logout and login as user
- vi .xinitrc:
- /usr/local/bin/i3
- logout then login as root again
- # enable services
- sysrc slim_enable=yes
- sysrc tor_enable=yes
- # turn off beep in xorg
- xset b 0
- sudo vi /etc/sysctl.conf:
- hw.syscons.bell=0
- # change shell for user to zsh
- # as user run:
- sudo chsh -s /usr/local/bin/zsh
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement