解決在Ubuntu Server 22.04安裝NGINX(nginx.org)失敗
第一次在 Ubuntu Server 22.04 安裝 NGINX,參考官方教學與另一篇都覺得寫的不錯,反正就是 apt install nginx
就結束了。看到應該這裡就知道,事情沒那麼簡單,因為參考了一些文件,安裝的都不是很順利,因此記下此筆記一篇。
官方教學與另一篇我覺得都寫的不錯:
- https://ubuntu.com/tutorials/install-and-configure-nginx
- https://www.digitalocean.com/community/tutorials/how-to-install-nginx-on-ubuntu-20-04
但執行起來怎麼問題一堆: