💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › debian › 5-system.sh.gmi captured on 2024-08-25 at 05:44:27. Gemini links have been rewritten to link to archived content

View Raw

More Information

⬅️ Previous capture (2023-01-29)

-=-=-=-=-=-=-

systemSetup

Log

Files

Refs

README

LICENSE

5-system.sh (1743B)

     1 # setup apt sources for non-free pacakges
     2 sed -i 's/stretch main/stretch main contrib non-free/g' /etc/apt/sources.list
     3 sed -i 's/stretch\/updates main/stretch\/updates main contrib non-free/g' /etc/apt/sources.list
     4 
     5 apt-get update -y
     6 apt-get upgrade -y
     7 apt-get remove -y vim-tiny
     8 apt-get install -y fail2ban net-tools curl wget tmux build-essential tree apt-transport-https screen ranger mc vim-nox p7zip-full pbzip2 atop htop glances tcc sshuttle jigdo-file openssh-server ntp kpcli iftop iotop unison qrencode apt-file libpcre3-dev elinks w3m links nmap zip lynx apt-src tig rdiff-backup moreutils pwgen unattended-upgrades rsync ca-certificates pigz pixz astyle uncrustify unifdef valgrind fish gdb lcov silversearcher-ag ncdu bmon cppcheck check clang-3.9 exuberant-ctags mkdocs source-highlight highlight locate etckeeper autojump
     9 
    10 # vim
    11 sed -i 's/"syntax on/syntax on/g' /etc/vim/vimrc
    12 cp vimrc.local /etc/vim/vimrc.local
    13 
    14 cp ../dotfiles/webs.sh /usr/local/bin/
    15 
    16 # git (root account)
    17 cp ../dotfiles/.gitconfig /root/
    18 mkdir /root/.gittemplates
    19 cp -R ../dotfiles/.gittemplates/* /root/.gittemplates/
    20 git config --global user.email "you@example.com"
    21 git config --global user.name "Your Name"
    22 
    23 # diff-so-fancy
    24 git clone https://github.com/so-fancy/diff-so-fancy.git
    25 cp diff-so-fancy/diff-so-fancy /usr/local/bin/
    26 mkdir /usr/local/bin/lib
    27 cp diff-so-fancy/lib/DiffHighlight.pm /usr/local/bin/lib/
    28 
    29 # sheepy
    30 git clone https://spartatek.se/git/sheepy.git
    31 cd sheepy
    32 ./install.sh
    33 spm -g install sheepyExamples
    34 
    35 # git-off
    36 git clone https://noulin.net/git/git-off.git
    37 export OFF=`pwd`/git-off/c/git-off.c
    38 cd /usr/local/bin
    39 ln -s $OFF git-off
    40 
    41 # etckeeper
    42 # error in debian stretch
    43 mkdir /etc/.git/hooks
    44 etckeeper init
    45 
    46 # end
    47 apt-get autoremove -y