Advertisement
metalx1000

2020 Setup

Sep 8th, 2020 (edited)
1,023
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 1.68 KB | None | 0 0
  1. user=metalx1000
  2. adduser $user
  3.  
  4. apt-get install aptitude xorg xclip vim dos2unix gpm git map gimp ffmpeg mplayer sudo zathura zsh wmctrl i3 aptitude socat
  5.  
  6. apt-get pulseaudio paprefs pavucontrol alsa-tools-gui alsa-utils cups axel xinput hexedit binwalk xautomation
  7.  
  8. apt-get kdenlive blender zynaddsubfx imagemagick lmms aria2 sshpass rsync xdotool lolcat sqlite3
  9.  
  10. apt-get install mtp-tools mtpfs #For Android and other MTP storage devices
  11.  
  12. apt install fonts-noto-color-emoji kdeconnect ifconfig net-tools  i3blocks dunst prboom-plus libnotify-bin mpv python2 numlockx feh network-manager ecryptfs-utils openssh-server conky xautolock nextcloud-desktop syncthing
  13.  
  14. apt install feh firefox git gcc i3 i3blocks libnotify-bin libsane-hpaio mpv numlockx pcmanfm prboom-plus deepin-screenshot
  15.  
  16.  
  17. chsh -s /bin/zsh root
  18. chsh -s /bin/zsh $user
  19. vim /etc/hosts
  20.  
  21. ln -sf /usr/share/zoneinfo/America/New_York /etc/localtime
  22. /sbin/hwclock --systohc
  23.  
  24. adduser $user sudo
  25. visudo
  26.  
  27. apt-get install apache2 mysql-server phpmyadmin
  28. mkdir ~/www
  29. ln -s ~/www /var/www/html/$user
  30.  
  31. ln -s /media/metalx1000/DATA/media /home/metalx1000/www/media
  32. ln -s /media/metalx1000/DATA /home/metalx1000/data
  33.  
  34.  
  35. #vim setup
  36. cd /home/metalx1000/www
  37. git clone "https://gitlab.com/metalx1000/My-Vim-Setup.git"
  38. cd My-Vim-Setup
  39. ./install.sh full
  40.  
  41. usermod -a -G pulse,pulse-access,vboxusers,dialout metalx1000
  42.  
  43. ####for rtl firmware warnings####
  44. sudo mkdir /lib/firmware/rtl_nic
  45. cd /lib/firmware/rtl_nic
  46. wget -qO- "https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/rtl_nic/"|\
  47.   cut -d\' -f2|\
  48.   grep rtl|\
  49.   grep linux|while read l;
  50.   do
  51.      sudo wget "https://git.kernel.org$l";
  52.   done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement