💾 Archived View for gmi.noulin.net › gitRepositories › systemSetup › file › rhel_centos › 1-system.s… captured on 2024-08-25 at 00:53:45. 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

1-system.sh (2098B)

     1 # setup apt sources for non-free pacakges
     2 dnf check-update
     3 # enable epel for extra packages
     4 dnf --enablerepo=extras install epel-release
     5 sed -i 's/enabled=0/enabled=1/g' /etc/yum.repos.d/CentOS-PowerTools.repo
     6 
     7 # fail2ban < sshguard
     8 # p7zip-full glances sshuttle cmatrix kpcli unison python-nose python-nose2-cov python-nosexcover links cowsay sl llgal pixz uncrustify unifdef fish lcov python-pip slurm cloc python3-dev silversearcher-ag bmon lm-sensors toilet pinentry-curses exuberant-ctags mkdocs massif-visualizer valkyrie autojump
     9 
    10 dnf install make sshguard screen ncftp rtorrent pbzip2 atop htop iftop w3m gcc clang libasan tmux ruby pcre-devel tree mc iotop qrencode figlet graphviz tig rdiff-backup pandoc elinks lynx doxygen ImageMagick graphicsmagick nmap moreutils pwgen ca-certificates zip pigz astyle valgrind gdb mutt check cppcheck ncdu source-highlight highlight erlang etckeeper ctags emacs-nox indent
    11 
    12 pip3 install ranger-fm
    13 
    14 git clone https://github.com/TinyCC/tinycc
    15 cd tinycc/
    16 ./configure
    17 make
    18 make install
    19 cd ..
    20 
    21 cp ../dotfiles/webs.sh /usr/local/bin/
    22 
    23 # git (root account)
    24 cp ../dotfiles/.gitconfig /root/
    25 mkdir /root/.gittemplates
    26 cp -R ../dotfiles/.gittemplates/* /root/.gittemplates/
    27 git config --global user.email "you@example.com"
    28 git config --global user.name "Your Name"
    29 
    30 # diff-so-fancy
    31 git clone https://github.com/so-fancy/diff-so-fancy.git
    32 cp diff-so-fancy/diff-so-fancy /usr/local/bin/
    33 mkdir /usr/local/bin/lib
    34 cp diff-so-fancy/lib/DiffHighlight.pm /usr/local/bin/lib/
    35 
    36 # sheepy
    37 git clone https://spartatek.se/git/sheepy.git
    38 cd sheepy
    39 ./install.sh
    40 spm -g install sheepyExamples
    41 spm -g install hidir
    42 
    43 # git-off
    44 git clone https://noulin.net/git/git-off.git
    45 export OFF=`pwd`/git-off/c/git-off.c
    46 cd /usr/local/bin
    47 ln -s $OFF git-off
    48 cd -
    49 
    50 # etckeeper
    51 # error in debian stretch
    52 mkdir /etc/.git/hooks
    53 etckeeper init
    54 
    55 # install pick
    56 apt-get install -y autotools-dev automake
    57 git clone https://github.com/mptre/pick
    58 cd pick
    59 ./autogen.sh
    60 ./configure
    61 make install clean
    62 cd ..
    63 
    64 # install yank
    65 git clone https://github.com/mptre/yank
    66 cd yank
    67 make install clean
    68 cd ..
    69 
    70 # end