You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

README.md 1.8 KiB

6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
6 months ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293
  1. # server-dots
  2. This repository acts as a minimal set of dotfiles that require (hopefully) no
  3. installation needs/dependencies to maximize portability across servers that I
  4. work on with and without administrative rights. Also should work on all linux
  5. distributions. Tested on Ubuntu, RHEL7, RHEL8, Centos7, Arch Linux.
  6. ## Install
  7. Prerequisites:
  8. - `git`
  9. - `make`
  10. ### Clone
  11. ```
  12. ~$ git clone https://git.mehalter.com/mehalter/server-dots.git
  13. ~$ cd server-dots
  14. ```
  15. ### Install
  16. Initial set up to automate the whole set up process except `tmux` which
  17. requires manual choice. (NOTE: This should only be run the first time as `fzf`
  18. complains if it already exists, use specific application targets to do updates)
  19. ```
  20. ~$ make install
  21. ```
  22. (Log out/log in needed for all changes to take effect)
  23. ### Bash
  24. Set up bash configuration and aliases
  25. ```
  26. ~$ make bash
  27. ```
  28. (Log out/log in needed for all changes to take effect)
  29. ### Starship Prompt
  30. Set up [starship prompt](https://github.com/starship/starship) for shells
  31. ```
  32. ~$ make starship
  33. ```
  34. ### FZF
  35. Set up [fzf](https://github.com/junegunn/fzf) for command line fuzzy finding
  36. (git is needed for this install)
  37. ```
  38. ~$ make fzf
  39. ```
  40. ### Tmux
  41. Set up [tmux](https://github.com/tmux/tmux) configuration. Centos/RHEL
  42. repositories have up to `tmux-1.8`, so I have included a configuration file for
  43. both <2.0 and ≥2.0. Change `tmuxN` to either `tmux1` (<2.0) or `tmux3` (≥2.0)
  44. ```
  45. ~$ make tmuxN
  46. ```
  47. ### Vim
  48. Set up vim configuration files
  49. ```
  50. ~$ make vim
  51. ```
  52. If git is not available or you don't want to use plug-ins, you can also use
  53. ```
  54. ~$ make vim-noplug
  55. ```
  56. ### SSH Keys
  57. Add all public keys (`.pub`) in `ssh/` to `~/.ssh/authorized_keys`
  58. ```
  59. ~$ make ssh
  60. ```
  61. (fork this repository and place your own `.pub` files in the `ssh` folder)