亚马逊 ec2 连接不上

The general consensus of opinion, is that self hosting a WordPress blog is the best way forward for blogging success. It provides the most flexibility and control over your writing platform. The problem is, what happens if you don’t want to spend time setting up a hosted domain? What if you are not sure how?

普遍的共识是,自我托管WordPress博客是博客成功的最佳途径。 它为您的书写平台提供了最大的灵活性和控制力。 问题是,如果您不想花费时间来设置托管域,会发生什么? 如果不确定如何呢?

That might be the time to consider a hosted solution in the cloud. Hosting WordPress in the cloud means that all the server/database requirements are looked after for you. All you have to do is start creating your content. Well, nearly. There will be a small amount of setting up to do.

那可能是时候考虑在云中托管解决方案了。 将WordPress托管在云中意味着您可以满足所有服务器/数据库要求。 您要做的就是开始创建内容。 好吧,差不多。 将有少量设置要做。

In this article I’m going to show you how to set up a WordPress blog using the popular Amazon EC2 cloud, with a little help from BitNami.

在本文中,我将向您展示如何在BitNami的帮助下,使用流行的Amazon EC2云建立WordPress博客。

亚马逊什么? (The Amazon What?)

Here is what it says about EC2 on the Amazon Web Services web site:

这是有关 Amazon Web Services网站上EC2的内容:

“Amazon Elastic Compute Cloud (Amazon EC2) is a web service that provides resizable compute capacity in the cloud. It is designed to make web-scale computing easier for developers.”

“ Amazon Elastic Compute Cloud(Amazon EC2)是一项网络服务,可在云中提供可调整大小的计算能力。 它旨在使开发人员更容易进行Web规模的计算。”

Yes, and with some help from BitNami, you don’t even need to be a developer:

是的,在BitNami的帮助下,您甚至不必成为开发人员:

“BitNami provides free, ready to run environments for your favourite open source web applications and frameworks, including Drupal, Joomla!, WordPress, PHP, Rails, Django and many more.”

“ BitNami为您喜欢的开源Web应用程序和框架(包括Drupal,Joomla!,WordPress,PHP,Rails,Django等)提供免费的,随时可运行的环境。”

So what that means is, we can get ourselves an Amazon Web Services account, and then use that to host a Bitnami WordPress installation. Then you’ll be writing in the cloud in no time.

因此,这意味着,我们可以为自己获取一个Amazon Web Services帐户,然后使用该帐户托管Bitnami WordPress安装。 然后,您将立即在云中书写。

因此,首先,获得一个Amazon Web Services帐户-免费 (So first, get an Amazon Web Services Account – it’s free)

Point your browser at http://aws.amazon.com and click the “Sign Up” button. You can run a micro server for 1 year free at the moment, so be sure and choose the “I am a new user” option. Don’t confuse this Amazon account with your Amazon retail account. The AWS system is completely different.

将您的浏览器指向http://aws.amazon.com ,然后单击“注册”按钮。 您现在可以免费运行微型服务器1年,因此请确保并选择“我是新用户”选项。 请勿将此Amazon帐户与您的Amazon零售帐户混淆。 AWS系统完全不同。

You will then go through a typical sign up form, and you will be prompted to enter credit card information. However, you will not be charged for the first year if you run a single micro server.

然后,您将通过典型的注册表单,然后将提示您输入信用卡信息。 但是, 如果您运行一台微型服务器,则第一年无需付费。

The final part of the account sign up involves Amazon’s automated service phoning you on the number you provided in the contact details section. It will ask you to either type, or say the pin number that will appear in your browser window. I found typing it didn’t work, whereas speaking it worked immediately.

帐户注册的最后一部分涉及Amazon的自动化服务,该服务会通过您在“联系方式”部分中提供的电话号码给您打电话。 它将要求您输入或说出出现在浏览器窗口中的密码。 我发现键入不起作用,而说出来则立即起作用。

You will then receive an email welcoming you to the service. It will contain links to the AWS portal where you can find the access keys you will need to use the service. We’ll get back to those shortly. First, you need an account with the BitNami cloud.

然后,您将收到一封欢迎您使用该服务的电子邮件。 它将包含指向AWS门户的链接,您可以在其中找到使用该服务所需的访问密钥。 我们将尽快回复。 首先,您需要使用BitNami云帐户。

获取一个BitNami云帐户 (Get a BitNami cloud account)

Amazon EC2 in the raw is not for the faint-hearted. There is quite a lot to learn about: how to deploy to it, and config it. Enter BitNami. By deploying to your Amazon cloud via BitNami, all the technical pain is dealt with.

原始的Amazon EC2不适合胆小者。 有很多要学习的知识:如何对其进行部署和配置。 输入BitNami。 通过BitNami部署到您的Amazon云中,可以解决所有技术难题。

You get:

你得到:

  1. A properly configured server, with the operating system, and required software installed.正确配置的服务器,带有操作系统和必需的软件。
  2. The application(s) you want to run installed just by clicking a button.您想要运行的应用程序只需单击一个按钮即可安装。
  3. Any database requirements installed and configured for you.为您安装和配置的任何数据库要求。
  4. Automatic backups自动备份

Point your browser to http://bitnami.org/cloud and sign up for an account (free). The sign up process is just like any other sign up process until you get to near the end:

将浏览器指向http://bitnami.org/cloud并注册一个帐户(免费)。 注册过程就像其他注册过程一样,直到结束为止:

Following the link to add your AWS credentials provides you with another simple form:

单击添加您的AWS凭证的链接可以为您提供另一种简单形式:

Once you have entered the required information you will be sent into the dashboard. The dashboard is where you do all of your setting up and configuring. We can now hit the big Create Server button:

输入所需的信息后,您将被发送到仪表板。 仪表板是您进行所有设置和配置的地方。 现在,我们可以点击“ 创建服务器”按钮:

Now we get to the important screen. The server configuration screen is where you choose all the settings that you require:

现在我们进入重要屏幕。 在服务器配置屏幕上,您可以选择所需的所有设置:

选择一个应用 (Choose an application)

The first option is to choose an application:

第一个选择是选择一个应用程序:

Since we are focusing on WordPress, that’s the application we’ll choose.

由于我们专注于WordPress,因此我们将选择该应用程序。

设置配置选项 (Set the configuration options)

You can now click on the application options button to set the WordPress credentials you want to use:

现在,您可以单击应用程序选项按钮来设置要使用的WordPress凭据:

You should also add email credentials via the Email Configuration tab. This is so that you can receive emails from your WordPress site.

您还应该通过“电子邮件配置”选项卡添加电子邮件凭据。 这样,您就可以接收来自WordPress网站的电子邮件。

选择操作系统 (Choice of operating system)

If Ubuntu is not your thing, you can choose a different Linux OS too:

如果不是Ubuntu,那么您也可以选择其他Linux操作系统:

建立并启动 (Build and Launch)

Now you can hit the build and launch button, and go and have a cup of tea. Bitnami will now create your server and set it running for you. You even get a nice email from them once your server is up and running.

现在,您可以点击构建和启动按钮,然后去喝杯茶。 Bitnami现在将创建您的服务器并将其设置为运行。 一旦服务器启动并运行,您甚至会从他们那里收到一封不错的电子邮件。

访问您的服务器 (Access your server)

Click on view in the running servers section of your dashboard, and your new web site will open in a new browser tab:

在仪表板,和你的新网站将在新的浏览器标签页中打开的正在运行的服务器部分点击查看

Click Access my applications and you will be presented with the installed applications page:

单击访问我的应用程序 ,将显示已安装的应用程序页面:

Click the Access link, and there, in all its glory, will be your WordPress installation. Add ‘wp-admin’ to the url in the address bar, and you can access the normal WordPress administration panel.

单击“ 访问”链接,就可以看到您的WordPress安装。 在地址栏中的网址中添加“ wp-admin”,即可访问普通的WordPress管理面板。

外壳访问 (Shell Access)

If you wish to access your server via SSH, you can, after you have completed a couple of import tasks:

如果您希望通过SSH访问服务器,则可以在完成几个导入任务之后:

1.获取密钥对 (1. Get your key pair)

Download your key pair from the manage server section of your Bitnami web admin area:

从Bitnami Web管理区域的“ 管理服务器”部分下载密钥对:

2.设置权限 (2. Set permissions)

You will need to set the permissions on the file you have downloaded, so in the console/terminal do:

您将需要对下载的文件设置权限,因此在控制台/终端中执行以下操作:

chmod 666 bitnami-hosting.pem

Thant will ensure that only you have read/write access.

Thant将确保只有您具有读/写访问权限。

If you are on Windows, follow the advice in the Bitnami wiki.

如果您使用Windows,请遵循Bitnami Wiki中的建议。

Make sure you put the .pem file somewhere easy to remember!

确保将.pem文件放在容易记住的地方!

3.通过SSH连接 (3. Connect over ssh)

In the console/terminal you can then connect with:

然后,您可以在控制台/终端中连接:

ssh -i bitnami-hosting.pem bitnami@your-chosen-site-name.bitnami.com

You will then have shell access to your server. Though, there is no particular reason that you need to do this as most of the common server management tasks can be carried out from the web admin area in your Bitnami account. But if you like to dabble in the more technical side of things, you have shell access to achieve that.

然后,您将具有对服务器的Shell访问权限。 但是,您并不需要这样做,因为大多数常见服务器管理任务都可以从Bitnami帐户的Web管理区域中执行。 但是,如果您喜欢涉猎更多技术方面的内容,则可以使用Shell来实现这一目标。

最后… (Finally…)

It is probably wise to take a breath and think through want we have here. A full WordPress installation hosted on Amazon EC2. Not only that, but it needed no real technical server knowledge to get up and running. It certainly isn’t the cheapest way to run a WordPress installation once the free year is up, but it has to be one of the most painless ways to get a fully configured Linux server up and running, and on a cloud hosting service too.

深吸一口气,想一想我们在这里,这可能是明智的。 在Amazon EC2上托管的完整WordPress安装。 不仅如此,而且不需要真正的服务器技术知识即可启动和运行。 一旦免费一年结束,它当然不是运行WordPress安装的最便宜的方法,但是它必须是使完全配置的Linux服务器并在云托管服务上运行的最轻松的方法之一。

翻译自: https://www.sitepoint.com/setting-up-wordpress-on-amazon-ec2/

亚马逊 ec2 连接不上

亚马逊 ec2 连接不上_在Amazon EC2上设置WordPress相关推荐

  1. 亚马逊中国云计算服务器,云计算实战:Amazon EC2之初体验

    [IT168 资讯]由于项目的需要,这几个月都在使用Amazon的EC2.这个东西对于国内的用户来说比较陌生,但是听国外的同事说,这在美国可是相当流行.这里简单介绍一下,大家有兴趣也可以试试.[本文转 ...

  2. 亚马逊账户锁定无法登陆_如何删除您的亚马逊账户

    亚马逊账户锁定无法登陆 Deleting your Amazon account is the only way to completely erase your purchase history. ...

  3. 亚马逊asin关键词排名追踪_亚马逊卖家快速提升关键词排名,这几点需要重视...

    亚马逊卖家如何提升关键词排名,是很多人比较头疼的问题,也是非常重要的问题. 毕竟亚马逊A9算法只认关键词,却并不认识产品,关键词就是产品的识别码,描述不精准或者错误的关键词,将给你的listing带来 ...

  4. 关于amazon亚马逊SP-API申请注册,amazon亚马逊SPAPI开发人员资料注册,amazon亚马逊Selling Partner API申请注册详细指导

    关于amazon亚马逊SPAPI开发人员资料注册,amazon亚马逊开发人员资料申请注册,amazon亚马逊销售合作伙伴 API申请注册,amazon亚马逊SP-API申请注册,amazon亚马逊Se ...

  5. 亚太成为第一季度全球存储市场唯一增长地区;亚马逊云科技在中国区域推出Amazon ECS Anywhere | 全球TMT...

    行业观察 Gartner公布2021年第一季度全球存储市场报告,报告显示,一季度全球存储市场销售额317亿元,出货量7.5万台,同比下滑2%.5%.受新冠疫情影响,企业存储市场在全球各地区的表现喜忧参 ...

  6. 亚马逊 ec2 连接不上_在Amazon EC2上轻松进行蓝绿色部署

    亚马逊 ec2 连接不上 Amazon EC2容器服务(ECS)是Amazon用于运行和编排Docker容器的解决方案. 它提供了一个接口,用于定义和部署可在EC2实例集群上运行的Docker容器. ...

  7. 亚马逊fire充不上电_如何在Amazon Fire Tablet或Fire HD 8上安装Google Play商店

    亚马逊fire充不上电 Amazon's Fire Tablet normally restricts you to the Amazon Appstore. But the Fire Tablet ...

  8. 亚马逊asin关键词排名追踪_亚马逊listing关键词的挖掘和布局!让产品关键词排名上首页...

    卖家都知道亚马逊A9算法决定listing的排名,而A9算法的运作规律是根据listing中的关键词的相关性来决定产品排名的,相关性主要包括这几个方面:一是关键词与listing本身的相关性:二是客户 ...

  9. 亚马逊fire充不上电_如何在Amazon Fire TV上使用Alexa语音助手

    亚马逊fire充不上电 Unbeknownst to many Amazon Fire TV and Fire TV Stick owners, you can easily access Amazo ...

最新文章

  1. python中*的用法
  2. 利用nginx的fastcgi_cache模块来做缓存
  3. 进程特征码遍历VC版
  4. 深度学习 end2end
  5. ubuntu~快捷键
  6. 【ABAP增强】基于源代码的增强
  7. SCP 报错 not a regular file
  8. JAVA进阶教学之(Date日期的处理)
  9. 谷歌浏览器中文版_中国科学家设计超薄指尖传感器,厚度不到A4纸五分之一 / 谷歌发布地图时光机:百年前,你家街道啥样?/ AI看图说话首超人类...
  10. html自动图片墙,基于html5实现的图片墙效果
  11. 表单在线生成 html代码,JSP实现用于自动生成表单标签html代码的自定义表单标签...
  12. matlab 命令打开ANSYS,matlab如何调用ansys
  13. Dubbo错误No provider available for the service
  14. The following packages are not available
  15. 2020年最新微博相关数据API+一站式获取个人微博信息+套娃、批量式获取微博用户信息
  16. http://cdn.ac.nbutoj.com/Problem/view.xhtml?id=1184Elaine's Queue
  17. [算法]算法学习05
  18. wordpress调用the_excerpt()不带p标签
  19. mysql show-warnings_MySQL-show warnings
  20. CentOS7光盘定制化

热门文章

  1. java visibility_CSS visibility属性
  2. matlab 与eyelink,EyeLink眼动追踪系统
  3. Python应用实战案例:Python编程环境配置(Anaconda、Jupyter、GPU环境)
  4. 为什么 1 KB = 1024 B? 1 MB = 1024 KB?
  5. android button属性
  6. 学校食堂简易点餐管理系统(含用户登录且密码隐藏)C++
  7. Java Script 秒表计时器 ( 源码 + 分析 )
  8. tbc新服务器消息,TBC最新消息泄露:将分为4个阶段,详细内容分析
  9. 京东数据库泄露事件分析
  10. 利用新浪微博来控制电脑