Advertisement
Guest User

Untitled

a guest
Jul 18th, 2018
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.37 KB | None | 0 0
  1. #Rename original sources.list file and create new sources.list
  2.  
  3. mv /etc/apt/sources.list /etc/apt/sources.list.orig
  4.  
  5. touch /etc/apt/sources.list
  6.  
  7.  
  8. #re-add sources to the sources.list (excluding the DVD)
  9.  
  10. echo "deb http://security.debian.org/debian-security stretch/updates main contrib" >> /etc/apt/sources.list
  11.  
  12. echo "deb-src http://security.debian.org/debian-security stretch/updates main contrib" >> /etc/apt/sources.list
  13.  
  14. echo "deb http://deb.debian.org/debian/ stretch-updates main contrib" >> /etc/apt/sources.list
  15.  
  16. echo "deb-src http://deb.debian.org/debian/ stretch-updates main contrib" >> /etc/apt/sources.list
  17.  
  18. echo "deb http://deb.debian.org/debian/ stretch main contrib non-free" >> /etc/apt/sources.list
  19.  
  20. echo "deb http://downloads-global.3cx.com/downloads/debian stretch main" >> /etc/apt/sources.list
  21.  
  22.  
  23. #add-Intel wireless repos
  24. echo "deb http://httpredir.debian.org/debian/ stretch main contrib non-free" >> /etc/apt/sources.list
  25.  
  26.  
  27. #download 3CX public key for install
  28.  
  29. wget -O- http://downloads-global.3cx.com/downloads/3cxpbx/public.key | apt-key add -
  30.  
  31.  
  32. #updates sources, OS an install net-tools and 3CX
  33.  
  34. apt-get -y update
  35.  
  36. apt-get -y upgrade
  37.  
  38.  
  39. #install Intel Wifi drivers
  40. apt-get -y install firmware-iwlwifi
  41.  
  42. #install Net utilities
  43. apt-get -y install net-tools
  44.  
  45.  
  46. #install 3CX Server
  47. apt-get -y install 3cxpbx
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement