如何通过 FTP 帐户设置 Apache 服务器
我已经在 Django 中开发了一个 Web 应用程序,想要上网 我可以通过 FTP 访问托管服务器 我是“设置网站”的初学者 我想知道如何在该服务器上安装 apache 并拥有我的应用程序工作
请提供详细信息,因为我是新手,任何链接或教程都会有很大帮助,
提前致谢
I have developed a web application in Django and would like to go online i have an FTP access to the hosting server I am a beginner to "setting up a website" i would like to know how to install apache on that server and have my application working
Kindly provide detailed info as i am newbie, any links or tutorials would help a lot
Thanks in advance
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
如果您只有计算机的用户级别访问权限(即:您没有 root 权限),那么您将无法控制 Web 服务器的运行,并且只能在有限的范围内控制其设置。如果服务器不能满足您的需求,您将不得不考虑联系您的提供商或寻找不同的托管包。
通常,如果它是托管服务器,管理员将已经运行 Apache 等 Web 服务器软件。您只需上传您想要显示的内容(通常上传到名为“public_html”或类似目录的目录),当有人访问您的网站时,它就会显示。希望他们支持 Django 之类的东西,否则你可能需要考虑其他选项。
您的托管提供商很可能有关于如何上传您的网站的具体且最相关的说明。
If you only have user level access to the machine (ie: you don't have root), then you won't be able to control what web server runs and you can only control its settings to a limited regard. You will have to consider contacting your provider or looking for a different hosting package if the server doesn't meet you needs.
Typically, if it is a hosting server, the administrators will already have web server software like Apache running. You simply just have to upload what you would like to have displayed (typically to a directory called "public_html" or something like that), and it will display when someone visits your site. Hopefully they support things like Django, otherwise you might need to look at other options.
Your hosting provider is most likely to have specific and the most relevant instructions for how to upload your website.