简体   繁体   English

Web2py部署问题:无法启用服务器

[英]Web2py Deployment issue: can't make server live

I am trying to implement web2py in EC2. 我正在尝试在EC2中实现web2py。 I followed simple official guide but its not working for me. 我遵循简单的官方指南,但对我不起作用。 These are the steps I've followed just now and I can't open it in my local browser. 这些是我刚刚执行的步骤,无法在本地浏览器中打开。 Objective here is to access site from EC2 deployment to server locally on my home computer. 这里的目标是从EC2部署访问站点到我的家用计算机本地的服务器。 Can someone please point me to right direction? 有人可以指出我正确的方向吗? Thanks 谢谢

In your Web2Py folder there is '/scripts' and it helps you to deploy web2py from scratch automatically. 在Web2Py文件夹中有“ / scripts”,它可以帮助您自动从头开始部署web2py。 You don't need to do any research, just run one of the script according to the type of your machine you are using on EC2. 您无需进行任何研究,只需根据您在EC2上使用的计算机类型运行脚本之一。 Coz there are different scripts as per OS. 因为每个操作系统有不同的脚本。 Run the shell script with root and that's it. 使用root运行shell脚本,仅此而已。 You can access your site at ip:8000 by default. 默认情况下,您可以通过ip:8000访问您的站点。 You can change the .sh or script file if you need to use some other port for deployment in test phase. 如果需要在测试阶段使用其他端口进行部署,则可以更改.sh或脚本文件。 @Tarun it doesn't hurt to click on a link and I am doing this all the time when coders paste gist around. @Tarun单击链接并没有什么害处,编码人员粘贴要点时,我一直在这样做。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM