1-system.sh (2791B)
1 # download and copy to usb key 2 # dd if=Downloads/FreeBSD-12.1-RELEASE-amd64-memstick.img of=/dev/sdd bs=1M conv=sync 3 4 # invite user to video wheel webcamd 5 # pw user mod user -G wheel 6 7 # pkg install vim 8 9 # ssh server setup: 10 # /etc/rc.conf 11 # sshd_enable="YES" 12 # /etc/rc.d/sshd start 13 14 # pkg install xorg 15 # pw groupmod video -m user || pw groupmod wheel -m user 16 # pkg install drm-kmod 17 # vim /etc/rc.conf 18 # >> kld_list="/boot/modules/i915kms.ko" 19 # edit file 20 # pkg install xdm 21 # vim /etc/ttys 22 # >> on line ttyv8, change the off to on 23 # pkg install xfce 24 # vim /etc/rc.conf 25 # >> dbus_enable="YES" 26 # echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xinitrc 27 # echo ". /usr/local/etc/xdg/xfce4/xinitrc" > ~/.xsession 28 29 pkg install sshguard wget tmux gcc gdb tree py37-ranger mc htop w3m tig imagemagick curl screen mc ncftp rtorrent pbzip2 atop tcc py37-sshuttle cmatrix kpcli iftop unison graphviz hs-pandoc elinks links nmap figlet zip lynx cowsay sl rdiff-backup graphicsmagick pwgen rsync pigz pixz astyle uncrustify valgrind doxygen fish lcov slurm-wlm cloc the_silver_searcher ncdu mutt bmon cppcheck check llvm90 toilet ctags py37-mkdocs source-highlight highlight 30 31 # missing 32 # iotop qrencode llgal unifdef massif-visualizer valkyrie etckeeper autojump 33 34 35 # dd if=Downloads/GhostBSD-20.04.1.iso of=/dev/sdd bs=4M 36 # dd if=Downloads/FuryBSD-12.1-XFCE-2020042001.iso of=/dev/sdd bs=4M 37 38 # furybsd: 39 # /etc/rc.conf 40 # linux_enable="YES" 41 # kld_list="sysctlinfo cuse utouch" 42 # allscreens_kdbflags="-b quiet.off" 43 # dhcpcd_enable="YES" 44 # webcamd_enable="YES" 45 # wlans_iwm0="wlan0" 46 # ifconfig_wlan0="WPA" 47 # lightdm_enable="YES" 48 49 # pkg 50 # mesi-dri 51 # mesa-libs 52 # utouch-kmod 53 54 # xf86-input-edev 55 # xf86-input-keyboard 56 # xf86-input-libinput 57 # xf86-input-mouse 58 # xf86-video-cirrus 59 # xf86-video-scfb 60 # xf86-video-vesa 61 # wpa-supplicant_gui 62 # webcamiod 63 # doas 64 # sudo 65 66 67 # ghostbsd 68 # /etc/rc.conf 69 # kld_list="linux linux64 cuse /boot/modules/amdgpu.ko /boot/modules/radeonkms.ko /boot/modules/i915kms.ko" 70 71 # pkg 72 # xf86-input-synaptics 73 # xf86-input-vmmouse 74 # xf86-video-intel 75 76 # drm-fbsd12.0-kmod 77 # gpu-firmware-kmod 78 79 # vim 80 # sed -i 's/"syntax on/syntax on/g' /etc/vim/vimrc 81 # cp vimrc.local /etc/vim/vimrc.local 82 83 cp ../dotfiles/webs.sh /usr/local/bin/ 84 85 # git (root account) 86 cp ../dotfiles/.gitconfig /root/ 87 mkdir /root/.gittemplates 88 cp -R ../dotfiles/.gittemplates/* /root/.gittemplates/ 89 git config --global user.email "you@example.com" 90 git config --global user.name "Your Name" 91 92 # diff-so-fancy 93 git clone https://github.com/so-fancy/diff-so-fancy.git 94 cp diff-so-fancy/diff-so-fancy /usr/local/bin/ 95 mkdir /usr/local/bin/lib 96 cp diff-so-fancy/lib/DiffHighlight.pm /usr/local/bin/lib/ 97 98 # sheepy 99 git clone https://spartatek.se/git/sheepy.git 100 cd sheepy 101 ./install.sh 102 spm -g install sheepyExamples 103 spm -g install hidir 104 105 # end