Home  >  Article  >  System Tutorial  >  Setting up a Linux server on Amazon Cloud, what should you do?

Setting up a Linux server on Amazon Cloud, what should you do?

PHPz
PHPzforward
2024-02-18 08:00:28331browse

In one hour, you can build your own Linux server on the Amazon Cloud. No joke. It's really simple. Please read below.

There are various types of Linux servers. The most complex ones require you to be a RedHat Certified Engineer (RHCE). Many of them require you to do more than just download a distribution, burn it to a disc, install and boot your new bare metal. And, for example, if you have a special job on the server and your boss wants it to be completed today, what should you do? Well, a wise choice is TurnKeyLinux.

Using TurnKeyLinuxforeign linux server, the only hardware you need is any device that can use a web browser and a credit card. This is because, even though you can get TurnKeyLinux running on regular servers or on VMWare, OpenStack, and OpenVZ, the easiest and fastest way to do it is to put your servers on Amazon Elastic Compute Cloud (EC2).

Here's how it works.

TurnKeyLinux, until recently, was always built on UbuntuLinux10.04. Today, the core TurnKeyLinux is being migrated to the older but robust DebianSqueeze (6.0.4) Linux distribution. And, "Lima" means people who need a server don't have to worry about what's going on under the hood. Yes, all you need to do is choose the right TurnKeyLinux server.

You see, TurnKey offers over 45 different, ready-made servers. This kind of server includes a basic LinuxApache; MySQL, PHP/Python/Perl (LAMP) stack; multiple content management systems, such as Drupalforeign linux server, Joomla and WordPress; communication systems, including Zimbra Electronics SMS and ejabberd instant messaging; programming platforms; and basic office servers such as file servers and primary domain controllers for Windows network systems. In fact, no matter what kind of server you need, TurnKey can design one for you.

To get a server of your own, the next step is to teach you how to do it.

First of all, for Linux server maintenance, you need to register an account. You can do this manually or log in using OpenID.

In both cases, you pick up or are redirected to a screen that lets you install resources on EC2 for your server. To complete it, you need to have an Amazon Cloud Estimating Service (AWS) account.

Building an AWS account is as easy as building an Amazon account to buy books. In fact, if you have an Amazon account, you are only half a step away from getting an AWS account. After you have an AWS account, you must log in to EC2 yourself.

国外服务器地址及端口_国外linux服务器_架设国外服务器

You will be asked to provide a payment form for Amazon EC2 services. This charge is based on the hour (for example, 9 cents per hour for a large cloud server).

After completing this, you need to obtain the AWS access account book.

国外服务器地址及端口_国外linux服务器_架设国外服务器

When you have "AccessKeyID" and "SecretAccessKey", you can continue to build your server on EC2. You simply cut and paste the alphanumeric values ​​into the table box, and then...

You select the level of service you want. Let's say you just want to browse. In these cases you should choose the Hobby option or try a microserver. TurnKeyLinux doesn't charge a fee for its Hobby option, and Amazon does if you don't use micro instances. If you want to keep costs to a minimum, choose the microserver option. With it, Amazon pays no fees for the first year you use the microserver.

国外服务器地址及端口_国外linux服务器_架设国外服务器

国外服务器地址及端口_架设国外服务器_国外linux服务器

Next, you can enable backup storage on Amazon's Simple Storage Service S3 or start setting up your first server. TurnKey and Amazon give first-time users 10GB of free S3 storage, so you can skip setting up S3 backup until you feel you really need a working server.

On the next page, you will select the server you want to run on from a drop-down menu. Just for my own entertainment, I want to improve my own BitTorrent server.

Now, you have to decide which Amazon EC2 cloud you want to use, how big the server is, the Internet name of the server, etc. Actually it's optional, but I highly recommend you determine your root and app passwords here. Then click the "launch" button.

国外linux服务器_架设国外服务器_国外服务器地址及端口

Now the server will start. After the first startup, the server will manually install the latest patches. With TurnKeyLinux, your server is always up to date.

You can see that my BitTorrent server has a virtual CPU, 613MB of video memory and 10GB of storage space. I don’t have to decide any of that myself. TurnKey did it for me.

While waiting for all the patches to install, I can set up my firewall. I am a "safety control". By default, the TurnKeyLinux device only has the necessary network ports, which are opened only for its working purpose, and the others are turned off.

My server told me it was already fine! Right?

国外服务器地址及端口_架设国外服务器_国外linux服务器

Well, we still need to design the website. I can only access it via an IPv4 address because its domain name hasn't had time to propagate through the domain name system.

国外服务器地址及端口_国外linux服务器_架设国外服务器

Okay, now my BitTorrent server is online, but can I access the Webmin management interface? Yes, it works fine too.

So, you’re done. In less than an hour—and most of that time spent taking screenshots—I went from scratch to setting up a Linux server on the Amazon cloud.

It’s so easy. Yes, setting it up the way you want it - like giving my website a better name, replacing this one that's not so eye-catching - takes more time, but with TurnKeyLinux, anyone interested in Linux and Anyone with some knowledge of the Internet can have his or her own server.

Try it. I think you'll like it! And, for a price like this, how could you go wrong?

The above is the detailed content of Setting up a Linux server on Amazon Cloud, what should you do?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:itcool.net. If there is any infringement, please contact admin@php.cn delete