如何在AWS亚马逊云上运行Angular应用
生活随笔
收集整理的這篇文章主要介紹了
如何在AWS亚马逊云上运行Angular应用
小編覺得挺不錯的,現在分享給大家,幫大家做個參考.
這是我的亞馬遜AWS登陸后的頁面:
Using username “ubuntu”
Authenticating with public key “imported-openssh-key”
Welcome to Ubuntu 18.04.1 LTS (GNU/Linux 4.15.0-1021-aws x86_64)
- Documentation: https://help. ubuntu.com
- Management: https://landscape. canonical.com* Support:. https://ubuntu. com/advantage
System information as of Thu Feb 28 07:09:50 UTC 2019
System load: 0.0sage of /: 18.8% of 15.45GBMemory usage: 7%Swap usage: 0%
Processes:
Users logged in:
IP address for etho:
134
1 - ‘snap info’ now shows the freshness of each channel.Try ‘snap info microk8s’ for all the latest goodness
Get cloud support with Ubuntu Advantage Cloud Guest:http://www.ubuntu.com/business/services/cloud
Canonical Livepatch is available for installation.
Reduce system reboots and improve kernel security. Activate at:
切換到AWS上存放angular應用的文件夾下,命令ng build,然后:
ng serve --port 3000 --host 0.0.0.0
然后就能看到Angular應用運行在AWS上了:
要獲取更多Jerry的原創文章,請關注公眾號"汪子熙":
總結
以上是生活随笔為你收集整理的如何在AWS亚马逊云上运行Angular应用的全部內容,希望文章能夠幫你解決所遇到的問題。
- 上一篇: 乘联会崔东树:1-3 月全国召回 43
- 下一篇: SAP透明工厂和弹性制造的原型mocku