如何使用 Aamazon Web Server 在我的域的子目录上安装 Wordpress

How to install Wordpress on subdirectory of my domain using Aamazon Web Server

Hi, I am trying to install a WordPress in a subdirectory "domain.com/wordpres". But I don't know anything about Amazon Web Server. I tried youtube and google. but they only show that how to install WordPress on AWS. nothing more in deep detail.

请帮助我,如果有人知道如何在 AWS 服务器上我的域的子目录上安装 WordPress,或者建议我任何合适的 post/tutorial.

谢谢。

就像伙计们说的,你需要正常安装 wordpress。

首先你需要连接你的实例,这是一个虚拟服务器,常用的是ssh协议。 我建议阅读文档。

对于 linux 实例:https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/AccessingInstances.html

对于 Windows 实例:https://docs.aws.amazon.com/AWSEC2/latest/WindowsGuide/connecting_to_windows_instance.html

第二步是正常安装您的 Web 服务器,LAMP 或 WAMP,具体取决于您的实例,我推荐 apache,mysql 或 MariaDB 以及最新版本的 php,但存在一个很多网络服务器软件供您选择。如果您没有经验,请阅读以下内容:https://docs.aws.amazon.com/es_es/AWSEC2/latest/UserGuide/install-LAMP.html

最后你需要下载需要的wordpress版本,编辑配置文件(wp-config.php)和运行。 如果您没有经验,请阅读以下内容:https://docs.aws.amazon.com/es_es/AWSEC2/latest/UserGuide/hosting-wordpress.html

注意:如果您需要 "domain.com/wordpress" 可以使用 apache 中的 VirtualHost。 文档:https://httpd.apache.org/docs/2.4/vhosts/examples.html