Interested in learning Linux? Need hosting? Free shells!

post by JohnWittle · 2012-09-09T05:35:43.389Z · score: 28 (31 votes) · LW · GW · Legacy · 37 comments

Contents

  Sign up form: Click Here
None
37 comments

Sign up form: Click Here

 

I own a personal server running Debian Squeeze which has a 1Gb/s symmetric connection and 15TB per month bandwidth.

I am offering free shell accounts to lesswrongers, with one contingency:

You'll be placed in a usergroup, 'lw', as opposed to various other usergroups for various other communities I belong to, which will be in other usergroups. Anything that ends up in /var/log is fair game. I intend to make lots of graphs and post them on all the communities I belong to. There won't be any personally identifying data in anything that ends up publicly.

Your shell account will start out with a disk quota of 5g, and if you need more you can ask me. I'm totally cool with you seeding your torrents. I do not intend to terminate accounts at any point for inactivity or otherwise; you can reasonably expect to have access for at least a year, probably longer.

Fill out the form at the top of the page, query me on freenode's irc (JohnWittle), send me an email: johnwittle@gmail.com, or reply to this thread with your own contact information.

If you'd like to ask questions about the server, or what good such a service might be for you, point your IRC client at johnwittle.com and /join #shells (you should also do this if you sign up), or find me on freenode, or comment below.

Also, while the results of my analysis are likely to go in Discussion, I was wondering if this offering of free service itself might go in discussion. I asked in IRC and was told that advertisements are seriously frowned upon and that I would lose all my karma. I was told that this is not too similar to advertising, and that it would fly.

Edit: As far as illicit activities go... I am precommitting here to fully cooperating with any law enforcement entities who approach me with regards to the server. By using the server, you are agreeing to abstain from any activities which will get me in trouble even if I cooperate fully with law enforcement.

37 comments

Comments sorted by top scores.

comment by maia · 2012-09-09T08:20:48.613Z · score: 4 (4 votes) · LW(p) · GW(p)

This isn't an ad, it's a public service. :)

comment by [deleted] · 2012-09-10T19:30:54.655Z · score: 2 (2 votes) · LW(p) · GW(p)

Is there only one IP addr? How would that work with multiple people trying to do web hosting?

comment by JohnWittle · 2012-09-10T19:41:51.597Z · score: 2 (2 votes) · LW(p) · GW(p)

Apache virtual hosts. For instance:

'johnwittle.com' is registered and has its A record pointed at the server, so when you type johnwittle.com into your browser, it goes to 98.158.26.222 (the ip of the server).

Now, apache, the webserver, has the following in its configuration files:

<VirtualHost *:80>                              #look for connections coming in on port 80
ServerName dbaupp.johnwittle.com  #if the requested URL is this url...
DocumentRoot /home/dbaupp/www #...use this directory as root
</VirtualHost>

Then you just set up a virtualhost block for every domain/subdomain you want.

comment by [deleted] · 2012-09-10T19:55:28.380Z · score: 0 (0 votes) · LW(p) · GW(p)

and fcgi 404 handler or whatever would be set up similarly?

comment by JohnWittle · 2012-09-10T20:37:36.143Z · score: 0 (0 votes) · LW(p) · GW(p)

the two lines i posted are the bare minimum needed to set a vhost. Things like 404 pages, per-vhost access and error logs, servername aliases (*.foo.com to www.foo.com), etc. are all possible.

Afaik, this is the standard method of going about doing this.

comment by PhilGoetz · 2012-09-10T01:27:32.476Z · score: 2 (2 votes) · LW(p) · GW(p)

What if we already know Linux and just want to use a server?

comment by JohnWittle · 2012-09-10T02:46:56.327Z · score: 1 (1 votes) · LW(p) · GW(p)

Go ahead and sign up!

comment by bluecomet · 2012-09-09T18:43:37.641Z · score: 2 (2 votes) · LW(p) · GW(p)

One of the more popular uses of shell accounts is as an internet proxy. I assume that you'd rather not have people doing highly illegal stuff through your server, but could you specify what you're okay with? Some of the things you should mention are piracy, porn, pissing off the US/China/Anonymous, running a tor relay/exit node.

comment by JohnWittle · 2012-09-09T23:23:15.836Z · score: 0 (0 votes) · LW(p) · GW(p)

I already run a tor relay node on the server; luckily most things of this nature require root access, which will not be given.

I will update the OP with relevant information.

comment by JohnWittle · 2012-09-14T21:40:11.697Z · score: 1 (1 votes) · LW(p) · GW(p)

Does anybody have any specific ideas as to:

  • How to get people who have signed up for the purposes of learning to actually sit down in a talk session with me and learn?
  • What should be taught first? My current plan is, getting people to understand how configuration files in linux are like preferences in windows, and getting them to set up a .bashrc file with aliases and a custom PS1 prompt, to get used to the idea of a) rc files b) editing things with a text editor
  • Is vimtutor any good? I learned vim before vimtutor was available, and I went through the exercises a little bit and they seemed good, but how is retention?
comment by shminux · 2012-09-14T22:06:10.302Z · score: 0 (0 votes) · LW(p) · GW(p)

How to get people who have signed up for the purposes of learning to actually sit down in a talk session with me and learn?

I'm guessing that most of those who signed up and plan on using their account already know the ropes well enough to not need tutoring.

What should be taught first? My current plan is, getting people to understand how configuration files in linux are like preferences in windows, and getting them to set up a .bashrc file with aliases and a custom PS1 prompt, to get used to the idea of a) rc files b) editing things with a text editor

What is your goal here? Getting people to learn this 1970's cutting-edge technology? Personally, I forget the details after only a few months of disuse, and have to look it up again if necessary. As for editing, I use vi when there is absolutely no other choice (cat, pico, nano, k100... no emacs, please). The only vi commands that I find essential enough to remember are /, I, Esc, q! and w. Any real editing can be done on a box with some form of GUI (almost always available, given that your shell is remote) and then pasted into the vi window.

comment by JohnWittle · 2012-09-15T17:00:00.658Z · score: 1 (1 votes) · LW(p) · GW(p)

Quite a few people who emailed me told me they were specifically interested in learning linux; that they had installed ubuntu on a laptop but never touched the terminal, or that they had never touched linux and had to be showed how to login, etc. Because this is lesswrong, those people for the most part have actually done some stuff on their own instead of just never logging in again, but I feel like I could be doing more.

The value in learning the inner workings of an operating system should be self-evident, no matter how you scorn it. It is a human-designed self-contained deterministic purpose-driven system from start to finish, with many layers of complexity, which on its own is good enough reason for me, but after you spend an afternoon debugging something that went wrong with your ssh-agent, or with your .rtorrent.rc, you are going to understand those programs on a technical level instead of an intuitive level, and that does make a difference. It's also an option that Windows never gives you.

comment by Kawoomba · 2012-09-09T06:23:02.851Z · score: 1 (3 votes) · LW(p) · GW(p)

What's the benefit vis-a-vis, say, just using a free Knoppix CD?

comment by JohnWittle · 2012-09-09T07:37:41.875Z · score: 9 (9 votes) · LW(p) · GW(p)

Well, it isn't your computer; it's my computer, sitting in a server farm somewhere in Sunnyvale, California. It has nearly 100% uptime (3 minutes of downtime over the last year), a static IP address you can point domains at or use to host your own Counter Strike or Minecraft server, and particularly it has a 1Gb/s (128 megabytes per second) sustained upload and download speed, so you could actually host a high-bandwidth popular media streaming server or website or something. Because it is only accessible remotely, it forces you to use the terminal, which means you will be diving into the 'real stuff' right away.

To the layman, this means you can host your very own website! For free, none of this $20/month business!

Also, there's a small community of users on the server who like to talk to each other using the rudimentary posix 'talk' program, localhost irc, etc.

Also, I love teaching people about linux, telling them about all the cool projects they can set up if they only have a linux box with a static IP, and I will talk your ears off if you want me to, while guiding you through learning things.

Or if you aren't interested in learning and are just looking for a persistent box to use 'screen' to stay logged into IRC all the time, I can give you that too (latest weechat git builds, latest irssi source builds, etc)

It'll also give you a great feel of what it was like to use a computer in the 1980's.

The benefit here isn't the operating system, it's the persistent uptime, the community, the static IP, and the extremely high thoroughput connection.

comment by lsparrish · 2012-09-22T02:30:31.557Z · score: 0 (0 votes) · LW(p) · GW(p)

I recommend using tmux as an alternative to screen, which lets you use multi-pane windows, and also lets you keep a live session going even when you get disconnected. I don't like the default prefix of ctrl-b, but I find alt-a to be suitable. To get this, add the following to your .tmux.conf file:

set-option -g prefix M-a

Then type 'tmux' to load it up.

comment by JohnWittle · 2012-09-24T07:58:56.199Z · score: 0 (0 votes) · LW(p) · GW(p)

i use the ` key, which I have yet to find a use for in any situation ever. since 90% of the time, the next key you're going to press is a number key, this works really well.

comment by lsparrish · 2012-09-24T17:21:00.467Z · score: 0 (0 votes) · LW(p) · GW(p)

Good point. Actually it is useful in bash scripting when you want to include the output of a command in the arguments of another. However you can get it to work when you press the key twice by using send-prefix like so:

set-option -g prefix `
bind-key ` send-prefix

The only disadvantage is that now you can't copy and paste without losing your backticks, and possibly triggering an action you didn't intend. I haven't yet run into a situation where this was relevant though.

comment by JohnWittle · 2012-09-09T23:20:55.566Z · score: 0 (0 votes) · LW(p) · GW(p)

Reply here with contact information, should you be opposed to email or IRC.

  • Lesswrong Username
  • Email Address (obfuscated)
  • Preferred shell username
comment by arundelo · 2012-09-11T01:30:18.202Z · score: 1 (1 votes) · LW(p) · GW(p)

LW username: arundelo
email address: echo "$LW_USERNAME^hotmail.com" | tr ^ @
preferred shell username: arundelo

Thanks!

comment by RobertLumley · 2012-09-20T18:17:14.121Z · score: 0 (0 votes) · LW(p) · GW(p)

Username: RobertLumley

E-mail: "r" + My last name + "1" @gmail.com

Preferred username in decreasing order of preference: robert, rlumley, robertl

Thanks!

comment by AllanGering · 2012-09-11T21:34:32.289Z · score: 0 (0 votes) · LW(p) · GW(p)
  • LW username: AllanGering.
  • Email: My first name + "j" + my last name at gmail dot com.
  • Usernames in decreasing order of preference: allan, allang, agering.

Thank you, this is a wonderful initiative!

comment by alexgreen728 · 2012-09-11T14:12:43.977Z · score: 0 (0 votes) · LW(p) · GW(p)

Lesswrong Username: alexgreen728

Email Address (obfuscated): [LW username] in safe-mail.net

Preferred shell username: alexgreen728

Thanks!

comment by komponisto · 2012-09-11T02:23:24.066Z · score: 0 (0 votes) · LW(p) · GW(p)
  • LW username: komponisto
  • Email address: [my LW username]["at"-symbol][US domain of Yahoo! Inc] OR: [that other address from which I sent an email to you that you haven't replied to yet]
  • preferred shell username: komponisto

EDIT: And thank you, of course!

comment by John_Maxwell (John_Maxwell_IV) · 2012-09-11T02:05:04.270Z · score: 0 (0 votes) · LW(p) · GW(p)

LW username: John_Maxwell_IV
email address (nice idea arundelo): echo "dyzwmwxgzbyw@gmwix.com" | tr 'wxyz' 'alre'
preferred shell username: "john" if you've got it; "johniv" otherwise

Thank you!

comment by Jayson_Virissimo · 2012-09-10T10:49:06.416Z · score: 0 (0 votes) · LW(p) · GW(p)
  1. See above. Yeah, that is my real name.
  2. My first name dot my last name at ASU dot EDU.
  3. Exactly the same as my username.

You sir, are a badass.

comment by komponisto · 2012-09-11T10:04:10.997Z · score: 1 (1 votes) · LW(p) · GW(p)

See above. Yeah, that is my real name.

Wow....really? I had always been reading it as a (possibly ironic) self-congratulatory pseudonym.

comment by Jayson_Virissimo · 2012-09-11T11:39:37.967Z · score: 3 (3 votes) · LW(p) · GW(p)

Wow....really? I had always been reading it as a (possibly ironic) self-congratulatory pseudonym.

Yeah, apparently my extreme manliness has acausal effects on my ancestors' naming conventions.

comment by JohnWittle · 2012-09-10T23:23:53.728Z · score: 0 (0 votes) · LW(p) · GW(p)

Email sent

comment by bluecomet · 2012-09-09T18:21:47.414Z · score: 0 (0 votes) · LW(p) · GW(p)

Contact information goes here, as a reply to this comment.

(I have no relation to JohnWittle, I'm just trying to keep the thread tidy in case it becomes popular. I will delete this comment if JohnWittle asks me.)

comment by dbaupp · 2012-09-09T18:51:01.231Z · score: 1 (1 votes) · LW(p) · GW(p)

(If a comment like this is wanted, then it is probably better for it to be by JohnWittle, otherwise a reply to this thread might go unnoticed, as you get the notification, not JohnWittle.)

comment by JohnWittle · 2012-09-09T23:20:33.509Z · score: 0 (0 votes) · LW(p) · GW(p)

Indeed, I'll make the comment now. Bluecomet: please delete.

comment by Alicorn · 2012-09-09T23:21:45.194Z · score: 0 (0 votes) · LW(p) · GW(p)

Bluecomet can't delete while there are replies beneath the comment, if I remember correctly how this works.

comment by JohnWittle · 2012-09-09T23:28:41.425Z · score: 0 (0 votes) · LW(p) · GW(p)

He can 'retract' it, which is good enough.

comment by krishnaxp · 2012-09-15T04:38:19.996Z · score: -2 (2 votes) · LW(p) · GW(p)

The cost of ball is $0.05.

comment by krishnaxp · 2012-09-14T08:03:16.530Z · score: -4 (4 votes) · LW(p) · GW(p)

. Lesswrong Username : krishnaxp . Email Address : upreti.manu@yahoo.com

*. Preferred shell username : krishnaxp

than yu :)

comment by JohnWittle · 2012-09-14T21:19:13.756Z · score: 2 (4 votes) · LW(p) · GW(p)

You are not an active member of the Lesswrong community. You joined solely for this shell account. Go work on your English, read the sequences, and come back.

If you can answer this question, I'll reconsider:

A bat and a ball, together, cost $1.10. The bat costs $1 more than the ball. How much does the ball cost?

comment by krishnaxp · 2012-09-13T09:55:09.353Z · score: -8 (8 votes) · LW(p) · GW(p)

Hello john can u tell me plz ,, how can i get shell account ??