not really known
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.

119 lines
2.3 KiB

  1. #!/bin/bash
  2. echo Installing standard software
  3. sudo dnf update -y
  4. sudo dnf upgrade -y
  5. sudo dnf install zsh -y
  6. sudo dnf install git -y
  7. sudo dnf install node -y
  8. sudo dnf install npm -y
  9. sudo dnf install python3 -y
  10. sudo dnf install rsync -y
  11. sudo dnf install htop -y
  12. sudo dnf install fuse-exfat -y
  13. sudo dnf install imagemagick -y
  14. sudo dnf install texlive-scheme-full -y
  15. sudo dnf install pandoc -y
  16. sudo dnf -y install mariadb-server mariadb
  17. sudo systemctl start mariadb.service
  18. sudo systemctl enable mariadb.service
  19. # fix multi media issue with firefox
  20. sudo dnf groupupdate multimedia
  21. sudo dnf install darktable -y
  22. echo Configuring zsh
  23. # Configuring zsh as default shell
  24. chsh -s /bin/zsh
  25. sh -c "$(wget https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh -O -)"
  26. echo Setting global git config
  27. # Set up github configuration
  28. git config --global user.name "jrtechs"
  29. git config --global user.email "jeffery@jrtechs.net"
  30. git config --global core.editor "vim"
  31. echo Installing bash manager
  32. cd /home/jeff
  33. # Personal mount points used
  34. mkdir media
  35. mkdir public
  36. mkdir work
  37. mkdir scripts
  38. cd scripts
  39. git clone https://github.com/jrtechs/bash_manager.git
  40. sudo dnf install sshfs -y
  41. sudo dnf install fuse -y
  42. cd ..
  43. git clone https://github.com/jrtechs/dot_files.git
  44. cp dot_files/.vimrc ./.vimrc
  45. cp dot_files/.zshrc ./.zshrc
  46. cp dot_files/.gitconfig ./.gitconfig
  47. cp dot_files/.ideavimrc ./.ideavimrc
  48. cp dot_files/.bashrc ./.bashrc
  49. echo Enabling non-root users to mount ssh drives
  50. # Enables non-root users to mount ssh drives
  51. echo "user_allow_other" >> /etc/fuse.conf
  52. echo Installing all the fun software with snap.
  53. # On Work Stations
  54. sudo dnf install snapd -y
  55. ## Discord
  56. snap install discord
  57. ## Slack
  58. snap install slack --classic
  59. snap install spotify
  60. snap install obs-studio
  61. snap install vscode --classic
  62. snap install vlc
  63. snap install chromium
  64. snap install mailspring
  65. snap install gimp
  66. ## JetBrains Stuff
  67. snap install pycharm-community --classic
  68. snap install intellij-idea-community --classic
  69. snap install phpstorm --classic
  70. snap install webstorm --classic
  71. # SSH stuff
  72. sudo dnf install openssh-server -y
  73. sudo systemctl start sshd.service
  74. sudo systemctl enable sshd.service
  75. sudo dnf -y install fail2ban
  76. sudo systemctl start fail2ban
  77. sudo systemctl enable fail2ban
  78. # Desktop Environment
  79. sudo dnf -y group install "Xfce Desktop"
  80. echo Restart!!
  81. sudo reboot