Advertisement
niammuddin

install nginx stable latest version ubuntu 12.04

Dec 30th, 2013
173
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.40 KB | None | 0 0
  1. /etc/apt/sources.list
  2.  
  3. deb http://nginx.org/packages/ubuntu/ precise nginx
  4. deb-src http://nginx.org/packages/ubuntu/ precise nginx
  5.  
  6. apt-get update
  7.  
  8. akan ada error key, catat key yang muncul lalu run dengan ini
  9.  
  10. apt-key adv --keyserver keyserver.ubuntu.com --recv-keys MASUKKAN_KEY_DISINI
  11.  
  12. apt-get update
  13.  
  14. apt-get install nginx
  15.  
  16. reboot
  17.  
  18. nginx -v
  19.  
  20. hasilnya nginx versi stable terbaru official
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement