This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
user:smeas:portfolio:hpc0project1 [2013/05/06 15:49] – [Attributes] smeas | user:smeas:portfolio:hpc0project1 [2013/05/06 15:49] (current) – [Reflection] smeas | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ======Project: | ||
+ | What is a Virtual Private Server, you ask? Basically, you can think of it as your own personal Lab46. | ||
+ | |||
+ | Why a Virtual Private Server, you ask? Because there are so many things you can do with it. | ||
+ | |||
+ | =====Objectives===== | ||
+ | Lets face it. Lab46 is awesome. Having a centralized place to work on stuff, store things, and etc. is incredible. But, what if you wanted to go a step further? That's where a Virtual Private Server (VPS) comes in. Imagine it as your own personal Lab46, which you have complete control over. This project/ | ||
+ | |||
+ | |||
+ | =====Background===== | ||
+ | Since I don't have the world' | ||
+ | =====Scope===== | ||
+ | For this project, I plan to have a fully functional server set up which I can use for a multitude of things. The two main uses for the server will be for me to do my programming on, and to use as a web and FTP server for myself. | ||
+ | |||
+ | =====Procedure===== | ||
+ | ====Step 1==== | ||
+ | ===Finding a VPS Host=== | ||
+ | The first (and probably most important step) is deciding on a host for your server. If you have a speedy internet connection, you could easily make your own server computer and host it yourself. And if so, great! Unfortunately though, since I don't, this project will focus on dedicated server hosting. | ||
+ | |||
+ | There are many choices when it comes to server hosting, from big names to little names. Some big name companies that offer VPS hosting (or equivalent) are Google (Google Compute Engine), Amazon (EC2 servers), and GoDaddy. There are many others out there, however. Some companies charge a flat monthly rate, some charge a rate per usage hour, and others still offer a combination of the two. | ||
+ | |||
+ | For my purposes and price range, I decided to go with [[http:// | ||
+ | |||
+ | Once you've decided on a server host, then you need to decide on a server plan. Linode offers quite a few server plans, ranging from low end (512 MB of RAM, 24 GB of storage, and a 2 TB monthly transfer, for $19.95 per month) all the way up to very high end (20 GB of RAM, 960 GB of storage, and 20 TB month transfer rate, for a low, low $799.95 per month). I decided to start out with the low end 512 MB plan. Now, if you know anything about computers (which if you're reading this, I certainly hope you do), 512 MB might not seem like a lot. But when you're running a server, you don't use that much RAM, because you don't have memory hogs bogging it down (when idling and running htop, my server runs around 93 MB of memory). And the plus side is, you can always upgrade to a higher plan if need be later. | ||
+ | |||
+ | ====Step 2==== | ||
+ | ===The Initial Configuration=== | ||
+ | After you get a server, the next step is the initial configuration. The first part will vary a little by server host. With Linode, I was asked to create a root password, specify the partition size I wanted to use, and then select a Linux distribution for my server. For my server, I'm using Ubuntu 12.10 64 bit. If you choose a distro besides Debian or Ubuntu, some of things may vary from what I've written here. | ||
+ | |||
+ | After then was taken to my dashboard. From the dashboard, I could do the main things that needed to be done. My server could be started/ | ||
+ | |||
+ | Once you have your server' | ||
+ | |||
+ | The first thing you might notice is that you have a very ugly hostname. This is a pretty easy fix though. The hostname is stored in the file "/ | ||
+ | |||
+ | You will also need to edit the "/ | ||
+ | |||
+ | Once you've edited the / | ||
+ | |||
+ | The next step is creating a user, since you don't want to be logging in as root all the time! To do this, you can use the very handy " | ||
+ | |||
+ | If this user is going to be given access to the sudo command (which if it's your username, it should be), you will next need to set that up. This can be done with the " | ||
+ | |||
+ | Now, you can disconnect from your server and reconnect using your own username, which you'll use to connect normally. | ||
+ | |||
+ | To check to make sure you set up sudo correctly, do a quick command with sudo to make sure it works. | ||
+ | |||
+ | Congratulations! You've completed the initial set up of your server! Now it's time to expand out and make it work exactly how YOU want it to work! | ||
+ | |||
+ | |||
+ | =====References===== | ||
+ | In performing this project, the following resources were referenced: | ||
+ | |||
+ | * URL1 | ||
+ | * URL2 | ||
+ | * URL3 (provides useful information on topic) | ||
+ | * URL4 | ||
+ | |||
+ | Generally, state where you got informative and useful information to help you accomplish this project when you originally worked on it (from Google, other wiki documents on the Lab46 wiki, etc.) |