如何通过FTP帐户设置Apache服务器

时间:2022-10-06 08:17:40

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

我在Django开发了一个Web应用程序,并希望上线我有一个FTP访问托管服务器我是“设置一个网站”的初学者我想知道如何在该服务器上安装apache并拥有我的应用程序加工

Kindly provide detailed info as i am newbie, any links or tutorials would help a lot

请提供详细信息,因为我是新手,任何链接或教程都会有很大帮助

Thanks in advance

提前致谢

1 个解决方案

#1


1  

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.

如果您只具有对计算机的用户级访问权限(即:您没有root用户),那么您将无法控制运行的Web服务器,并且您只能在有限的情况下控制其设置。如果服务器不能满足您的需求,您将不得不考虑联系您的提供商或寻找不同的托管包。

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.

通常,如果它是托管服务器,管理员将已经运行像Apache这样的Web服务器软件。您只需上传您想要显示的内容(通常是上传到名为“public_html”或类似内容的目录),当有人访问您的网站时,它会显示。希望他们支持像Django这样的东西,否则你可能需要查看其他选项。

Your hosting provider is most likely to have specific and the most relevant instructions for how to upload your website.

您的托管服务提供商最有可能拥有有关如何上传您网站的具体和最相关的说明。

#1


1  

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.

如果您只具有对计算机的用户级访问权限(即:您没有root用户),那么您将无法控制运行的Web服务器,并且您只能在有限的情况下控制其设置。如果服务器不能满足您的需求,您将不得不考虑联系您的提供商或寻找不同的托管包。

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.

通常,如果它是托管服务器,管理员将已经运行像Apache这样的Web服务器软件。您只需上传您想要显示的内容(通常是上传到名为“public_html”或类似内容的目录),当有人访问您的网站时,它会显示。希望他们支持像Django这样的东西,否则你可能需要查看其他选项。

Your hosting provider is most likely to have specific and the most relevant instructions for how to upload your website.

您的托管服务提供商最有可能拥有有关如何上传您网站的具体和最相关的说明。