The Blog of Tom Webster

Chronic Ranter, Reviewer, and Developer

Adventures in Adventure 3: The Museum of Science and Industry / McDonalds

  2010-01-05 17:37:00 PST

Well, we decided to head out to the Museum of Science and Industry, we took a ton of video, and I'll let that speak for itself:


We did head out to Chicago's Double-Decker McDonalds to grab some food before we headed back to Ohio:

I'm working on some quick editing of another video of us just driving through the city.

And that's about it for our Chicago adventure. I'm sure we'll be taking another trip up there sometime, but until then, enjoy those videos. Stay tuned for more Server-Bits, I'll be finishing up another one here soon.

Adventures in Adventure 2: Pizza, Tech, Cabbies, and The Blues

  2010-01-03 05:24:00 PST

First off: The trains in Chicago are wonderful. Cheap, easy, a much better option than finding parking (usually about $16-$20 bucks a day) on the street. Buses are pretty nice too. Public transit isn't the awful boon that most people make it out to be if managed correctly. A few hours in and we were planning routes around city blocks easily enough. The experience in this city makes me wish that there was more (and better managed) public transit in the US. We stopped by the Sears Tower (Now, The Willis Tower), and decided to take their Skybox tour. Here is the video there:

We also went to Gino's East of Chicago Pizza. THE Chicago Pizza Place. The food was less like Pizza and more like Soup. It was absolutely amazing. Rob and I couldn't even finish the small pizza we ordered. Gino's is officially the best pizza I have ever consumed.

We also traveled to the Museum of Technology and Industry (Video still pending, TONS of content), it wasn't the most comprehensive museum I've been to, but it had more than its fair share of "Good shit that was amazing." moments. Like I said, video still pending, but when it is up, I'll make sure to post it.

Totally forgot to talk about the Blues bar we went to! We hit up Buddy Guys Legends bar, great atmosphere, food was a good price, drink prices were through the roof, but it was a good time overall. The music selection was good, the guys on-stage were plenty talented, but we felt the music lacked feeling, like playing the Blues was more of their night job, just doing it to get by, they weren't really feeling the music they were playing. Other than that, a wonderful experience.

Side note: Cabbies like to take the long way around, unless you wanna get jacked an extra $.50, make sure you're riding with someone who knows their way around town (Thanks, Rob).

Adventures in Adventure 1: Chicago Arrival

  2010-01-02 08:47:00 PST

We are here in Chicago. We're staying in the Chicago South Loop Hotel, not the fanciest place around, but it more than serves its purpose as a sleep/shower joint. Right now we're online trying to figure out which pizza options are open to us at this time of night (1:52 AM).
New Info:

(2:23 AM) Apparently there is no such thing as authentic Chicago-style pizza past midnight.

Video of hotel room [coming soon]:

Server-Bits #3: Setting up SSH

  2009-12-29 14:58:00 PST

Now that you have a server built, the first thing we need to do is get SSH set up. SSH will allow you to remote control your computer from anywhere that has an internet connection. You will need to forward port 22 on your router if you want to hit it from the outside.

  1. Just a reminder: Make sure your user password is lengthy and complicated. *The last thing you want is for someone to waltz into your machine using the password 'password'. SSH will give an attacker *direct access to your entire machine. While it is an extremely useful tool, it can be utter hell if misued.
  2. Next, open up a terminal. The command you want is 'sudo apt-get install openssh-server'.
    Now wait patiently for the program to finish installing.

  3. If you'd like to test SSH, use the command 'ssh localhost', ssh should ask you if you would like to trust the server on the other end, then it should ask you for your password.

  4. You have just established an SSH connection to your server. Congrats.

  5. A few things to keep in mind about SSH: To give someone SSH access to your computer [Known as giving someone a Shell Account], you would create a new user as you would usually do (either through the GUI or the command 'adduser'), and they are automatically granted SSH access.

  6. To establish an ssh connection, you will need a Terminal Emulator, the most popular program for Windows is called PuTTY. On any Linux or Mac OSX machine, you can just open up a terminal and type 'ssh username@host.com' to connect (You will be using your DynDNS hostname). If your username was 'samurailink3' and your domain was 'google.com', you could use 'ssh samurailink3@google.com' to establish a connection.

Note: You don't have to use a domian, IP addresses work as well: 'ssh samurailink3@64.233.169.105'.

Cool things to try:

  1. On machines that are running an X-Server (Most any Linux machine), you can remotely display graphical applications with '-X': 'ssh -X samurailink3@google.com', then I can run 'firefox', and the instance of FireFox over at google.com will be displayed on this screen. Note: This is stupidly slow. Really really slow. But it is secure.
  2. SSH tunneling to secure otherwise insecure protocols (We will get into this in a later tutorial).
  3. SFTP: You can use most any FTP program (Such as FileZilla) to easily transfer files to and from the host machine [Just make sure to specify port 22!].
  4. If you want to set a pre-login banner to SSH, create a new text file [/etc/ssh/banner] and put any text you would like in that file, save, exit your text editor {Protip: You can use the command 'nano' to edit text in a terminal, you can then use Ctrl+X to exit to editor, answer yes or no to whether or not you would like to save. Example: 'nano /etc/ssh/banner'}. Now, edit your sshd config file [/etc/ssh/sshd_config] and add the line 'Banner /etc/ssh/banner'. Save and exit. Next time you attempt to log into SSH, you will be greeted by whatever text is in /etc/ssh/banner!
  5. If you would like to set a post-login message to SSH, (On Ubuntu 9.10), you must first disable update-motd. You can do this by running 'sudo update-motd --disable'. Then edit the text file [/etc/motd] to say whatever you want. When a user successfully logs into SSH, they will see whatever is in this text file.
  6. Remember: If you change any configuration, restart your SSH server with this command 'sudo /etc/init.d/ssh restart'. {Protip: Changing a configuration file for a service in Linux doesn't mean you have to restart your computer, that's the Windows way of thinking. The vast majority of the time, all you need to do is restart the service. These scripts are located in /etc/init.d/. We will cover them when the time is right.}

For now: Enjoy remote administration of your machine!

About Server-Bits:

If you've ever wanted to get started building a server, right in your own backyard, kitchen, closet, mother's closet, mother's basement, then this is the read for you. Aimed at the not-so-technical-but-willing-to-learn, this will give you everything you need to build... that monster-server you've dreamed of. My goal: To give you a working, rocking server, for free, that you can use daily.

Server-Bits #2: Routers and DynDNS

  2009-12-23 22:39:00 PST

Ok! Now that you have a working Ubuntu box, we need to forge a path to get to it from the outside. This tutorial will be... well.. completely and utterly useless unless you follow the next one. Especially the next one. The first thing we need to do is set up your router to forward ports. You should become extremely familiar with this process, as you'll be doing a great deal of port forwarding over the next few tutorials.
The first thing you will want to do is head over to PortForward.com, look up your router model, follow the general instructions.

The basic ports you should forward are:

For now... This list will grow as we add more to your server.

Now... We need to get you off of that bare IP address, and onto a domain name. Sure, you could spend the $10 bucks a year to buy out a .com domain name, but this tutorial is based around the idea that you want to spend as little as possible. This is where DynDNS comes in. Head over to DynDNS.com and create yourself a free account. Go ahead and go to the "My Hosts" section and add a new hostname.

Now... this is the important part: Naming. Go ahead, no rules here, one of the most pivitol moments in creating your network will be naming your network. Service type can remain at "Host with IP Address", and go ahead and use your external IP address. You can leave "Mail Routing" unchecked for now. It will take a bit for the DNS records to propagate throughout the internet. I've had this process take 10 minutes, I've had this process take 4 hours. Just sit back, have a mug of coffee, and enjoy yourself, you are well on your way to having a workable server.

We will get to testing your domain in the next tutorials.

Still coming up:

About Server-Bits:

If you've ever wanted to get started building a server, right in your own backyard, kitchen, closet, mother's closet, mother's basement, then this is the read for you. Aimed at the not-so-technical-but-willing-to-learn, this will give you everything you need to build... that monster-server you've dreamed of. My goal: To give you a working, rocking server, for free, that you can use daily.

Page: 28 of 31