Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # installation
- # pick keybaord layout
- select US english QWERTY
- # hostname
- host
- # which pages to install
- ports
- lib32
- # install with lenevo work around (yes)
- # partitioning
- Auto (ZFS)
- Encrypt Swap (Yes)
- Swap Size (3G)
- Encrypted Disks (Yes)
- stripe no redundecy
- pick your dribe
- Set Decryption Passphrase
- # change password for root
- # enter the new root password
- # network
- select iwn0
- Regdomain/country (No)
- Pick WiFi and enter Key
- IPv4 (yes)
- DHCPD (yes)
- check that resolver config is right, then hit ok
- IPv6 (no)
- # time and date config
- is CMOS utc? If not or you don't know select no
- select UTC
- time and date skip
- # 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 operator video
- 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
- check that everything is right then proceed by typing yes
- if you do not want to add more users say no
- # finish install
- # select to install the handbook, then pick your language and install it
- select exit to finish the install
- select no, then reboot
- # post install
- login as root
- # shut off the beep in the tty:
- kbdcontrol -b quiet.off
- vi /etc/rc.conf:
- # disable bell
- allscreens_kbdflags="-b quiet.off"
- vi /etc/sysctl.conf:
- # disable bell
- kern.vt.enable_bell=0
- hw.syscons.bell=0
- # update the system and install packages:
- # update the system
- pkg update && pkg upgrade
- ## to install use pkg install *packagename*
- # install your perfered shell
- ## zsh
- # editor:
- ## neovim
- # terminal multiplexsion:
- ## tmux
- # lockscreen:
- ## slim
- # music and video:
- ## musicpd
- ## musicpc
- ## ncmpcpp
- ## ncmpc
- ## mpv
- # network:
- ## tor
- # web browsing
- ## firefox
- ## qutebrowser
- ## w3m
- # file management:
- ## thunar
- ## py36-ranger
- # utilities:
- ## feh
- ## dunst
- ## tree
- ## scrot
- ## rkhunter
- ## neofetch
- ## htop
- ## wget
- ## git
- ## gimp
- ## transmission-cli
- ## unzip
- ## ctags
- ## kid3-qt4
- ## gmake
- ## automounter
- ## sudo
- ## zathura
- ## lxappearance
- # social media:
- ## pidgin
- ## pidgin-otr
- ## pidgin-libnotify
- ## irssi
- ## irssi-otr
- ## qtox
- # programming
- ## py36-ipython
- ## py36-pip
- ## py36-pip-tools
- ## py36-virtualenv
- # other:
- ## xorg-minimal
- ## xautolock
- ## xorg-server
- ## xset
- ## xrdb
- ## xev
- # games
- ## frogatto
- ## wesnoth
- ## 0ad
- ## minetest
- ## nethack36
- ## supertux2
- ## supertuxkart
- # fonts
- ## noto-lite
- ## liberation-fonts-ttf
- ## chinese/arphicttf
- ## chinese/font-std
- ## hebrew/culmus
- ## hebrew/elmar-fonts
- ## japanese/font-ipa
- ## japanese/font-ipa-uigothic
- ## japanese/font-ipaex
- ## japanese/font-kochi
- ## japanese/font-migmix
- ## japanese/font-migu
- ## japanese/font-mona-ipa
- ## japanese/font-motoya-al
- ## japanese/font-mplus-ipa
- ## japanese/font-sazanami
- ## japanese/font-shinonome
- ## japanese/font-takao
- ## japanese/font-ume
- ## japanese/font-vlgothic
- ## x11-fonts/hanazono-fonts-ttf
- ## japanese/font-mikachan
- ## korean/aleefonts-ttf
- ## korean/nanumfonts-ttf
- ## korean/unfonts-core
- ## x11-fonts/anonymous-pro
- ## x11-fonts/artwiz-aleczapka
- ## x11-fonts/dejavu
- ## x11-fonts/inconsolata-ttf
- ## x11-fonts/terminus-font
- ## x11-fonts/cantarell-fonts
- ## x11-fonts/droid-fonts-ttf
- ## x11-fonts/doulos
- ## x11-fonts/ubuntu-font
- ## x11-fonts/isabella
- ## x11-fonts/junicode
- ## x11-fonts/khmeros
- ## x11-fonts/padauk
- ## x11-fonts/stix-fonts
- ## x11-fonts/charis
- ## x11-fonts/urwfonts-ttf
- ## russian/koi8r-ps
- ## x11-fonts/geminifonts
- ## x11-fonts/cyr-rfx
- ## x11-fonts/paratype
- ## x11-fonts/gentium-plus
- # setup sudo:
- visudo:
- enable sudo insults by adding this to the top of the file:
- Defaults insults
- uncomment this line to enable sudo for user:
- %wheel ALL=(ALL) ALL
- # logout then login as user:
- logout
- *login as user*
- # make home subdirectories
- mkdir Documents Downloads Music Videos Pictures .builds
- # window manageer
- ## dwm
- cd .builds
- git clone git://git.suckless.org/dwm
- cd dwm
- edit config.mk and make the following changes:
- X11INC = /usr/X11R6/include to X11INC = /usr/local/include
- X11LIB = /usr/X11R6/lib to X11LIB = /usr/local/lib
- FREETYPEINC = /usr/include/freetype2 to FREETYPEINC = /usr/local/include/freetype2
- edit config.def.h and make the following changes:
- *paste config.def.h here*
- cp config.def.h config.h
- sudo make clean install
- # terminal
- ## rxvt-unicode
- # application menu
- ## demenu
- cd .builds
- git clone git://git.suckless.org/dmenu
- cd dmenu
- edit config.mk and make the following changes:
- X11INC = /usr/X11R6/include to X11INC = /usr/local/include
- X11LIB = /usr/X11R6/lib to X11LIB = /usr/local/lib
- FREETYPEINC = /usr/include/freetype2 to FREETYPEINC = /usr/local/include/freetype2
- # 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
- edit /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
- # edit fstab
- vi /etc/fstab:
- proc /proc procfs rw 0 0
- # enable services
- edit /etc/rc.comf:
- hald_enable="YES"
- dbus_enable="YES"
- performance_cx_lowest="Cmax"
- economy_cx_lowest="Cmax"
- moused_flags="-VH"
- slim_enable="YES"
- tor_enable="YES"
- urxvtd_enable="YES"
- # change shell for user to zsh
- # as user run:
- chsh -s /usr/local/bin/zsh
- # rebind keys
- vi /usr/local/share/X11/xkb/symbols/pc:
- change:
- key <CAPS> { [ Caps_Lock ] }
- to
- key <CAPS> { [ Escape ] }
- # edit .xinitrc
- # start dwm
- /usr/local/bin/dwm
- # set UTF-8 encoding
- # edit /etc/login.conf:
- :charset=UTF-8:\
- :lang=en_US.UTF-8:\
- :umask=022:
- # rebuild login class:
- sudo cap_mkdb /etc/login.conf
- # set single user mode unsecure
- sudo vi /etc/ttys
- change secure to insecure on the last line of the config
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement