My linux server setup

By Arpan Ghosh on Oct 14, 2022.

Reading time: 4 minutes.


Sources

Essential

  • Zsh : Better version of bash shell

  • Oh-my-zsh : zsh plugin manager

1
sh -c "$(wget -O- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
1
git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k
  • Zsh-z : directory jumping
1
git clone https://github.com/agkozak/zsh-z ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-z
1
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
1
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autocomplete
  • Neovim : Best CLI Text editor [apt]
1
sudo add-apt-repository ppa:neovim-ppa/unstable && sudo apt-get update && sudo apt-get install neovim
  • NvChad : Customized neovim [bob]
1
git clone https://github.com/NvChad/NvChad ~/.config/nvim --depth 1 && nvim
1
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
  • Docker : Running services within containers
1
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-compose-plugin
1
sudo apt-get remove docker-compose; VERSION=$(curl --silent https://api.github.com/repos/docker/compose/releases/latest | grep -Po '"tag_name": "\K.*\d') && DESTINATION=/usr/local/bin/docker-compose && sudo curl -L https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-$(uname -s)-$(uname -m) -o $DESTINATION && sudo chmod 755 $DESTINATION
1
sudo apt-get remove speedtest-cli ; curl -s https://packagecloud.io/install/repositories/ookla/speedtest-cli/script.deb.sh | sudo bash && sudo apt-get update && sudo apt-get install speedtest
  • Tailscale: For Tailnet connection among self devices over the internet

  • Bat: Better cat functionality

  • Fzf: fuzzy search

  • Tmux: Better terminal, with multi-device session restore support [apt]

  • Ripgrep: more efficient than grep [apt]

  • Lsd or Exa: better ls functionality

  • Duf: Better disk space analysis ( df )

  • Ranger or Browsr: File browser and content preview [apt]

  • Ncdu or dua or Dust : disk usage utility | dua<Dust=ncdu

  • Git : for git clone

  • Btop & Bottom : better than top and htop : system viewer

  • Nala : Package manager ( Better version of apt )

  • Navi : a cheatsheet manager

  • Pueue : Background parallel task manager

  • Fd : Uset friendly alternative to find command

  • Thefuck : corrects errors in previous console commands with zsh plugin

  • Lnav : Terminal log file navigator

  • Lazydocker : Docker container TUI

  • Ctop : top like interface for docker containers

  • Lazygit : Git TUI

  • Deb-get : for easy instralling and updating 3rd party .deb packages

  • tre : For directory tree generator

  • hyperfine : For comparing command runtime (benchmarking)

  • atuin : For database driven history search

  • httpie : Better curl or wget

  • Czkawka : File duplication finder

  • jq : Command line JSON processor

Optional

  • Cockpit: web console for raspberry pi

  • Glances: for system data collection

  • Cloudflare : For internet tunneling and remote usage

  • Bash-snippets: https://github.com/alexanderepstein/Bash-Snippets

  • Visidata: csv file reader and manipulator in commandline

  • Rsync: copy and sync files utility

  • Cowsay: Cows says text [apt]

  • Curl: request and download from internet [apt]

  • FFmpeg: CLI video management [apt]

  • Figlet: for ASCII text art [apt]

  • Imagemagick: CLI image manipulations [apt]

  • Flameshot: Screenshot utility

  • Hollywood: fancy hacker screen

  • Lolcat: Colored output from other commands [apt]

  • Micro: simple text editor on terminal [apt]

  • Neofetch: system details viewer on terminal [apt]

  • Moc : Music player on console [apt]

  • Xclip : X-11 based clipboard management

  • No-more-secrets : fancy encrypted text effect on terminal

  • Protonvpn-cli : Vpn service

  • Synaptic package manager : Package manager

  • Fsearch: GUI search utility

  • Pensor: Sensors data collection

  • Copyq: GUI clipboard manager

  • ddTerm : collapsible terminal - Gnome shell extention

  • Qalc : Easy unit conversions and mathematical operations on terminal [apt]

  • Httpie : User friendly interaction with HTTP servers and APIs from the terminal

  • Gping : ping with a graph TUI

  • Cronitor-cli or Healthchecks: Effective cronjob testing and monitoring

  • Motion : easy to setup webcam livestream server

    stream_quality 80
    stream_maxrate 5
    stream_port <your_port>
    stream_localhost off
    output_pictures off
    framerate 5
    ffmpeg_video_codec mpeg4
    width 640
    height 480
    auto_brightness off
    contrast 0
    saturation 0
    stream_auth_method 1
    stream_authentication <any_username>:<any_password>                   
    
  • Rmlint : Detect and remove duplicate/empty files/directories

  • Rclone : sync files and directories to and from different cloud storage providers

  • Nfty : A utility for sending push notifications to phone or desktop on demand and when commands finish

  • Pdd : Calculates date and time difference. Also works as a timer and stopwatch. Can be installed directly with apt package manager

  • Grc and Colortail : command line utility with colorized text output [ stdout, stderr, file contents, ping, ps, logfile ]



Please consider sharing this page