master
Raw Download raw file
  1<?xml version="1.0" encoding="utf-8"?>
  2<feed xmlns="http://www.w3.org/2005/Atom">
  3
  4  <title><![CDATA[Category: 10.10 | BryFry]]></title>
  5  <link href="http://bryfry.github.com/blog/categories/10-10/atom.xml" rel="self"/>
  6  <link href="http://bryfry.github.com/"/>
  7  <updated>2013-03-05T07:22:42-05:00</updated>
  8  <id>http://bryfry.github.com/</id>
  9  <author>
 10    <name><![CDATA[bryfry]]></name>
 11    
 12  </author>
 13  <generator uri="http://octopress.org/">Octopress</generator>
 14
 15  
 16  <entry>
 17    <title type="html"><![CDATA[Moving Window Buttons back to the right in Ubuntu 10.04+]]></title>
 18    <link href="http://bryfry.github.com/blog/2011/06/10/moving-window-buttons-ubuntu/"/>
 19    <updated>2011-06-10T00:00:00-04:00</updated>
 20    <id>http://bryfry.github.com/blog/2011/06/10/moving-window-buttons-ubuntu</id>
 21    <content type="html"><![CDATA[<p>I have gone and looked this up too many times.  So for you and me both here is the long and short of it.  The simple command that will move the windows buttons (minimize, maximize, and close) back to the right side, where all proper window buttons should be.</p>
 22
 23<p>``` bash</p>
 24
 25<h1>move windows back to the right side in Ubuntu 10.04+</h1>
 26
 27<p>$ gconftool-2 --set /apps/metacity/general/button_layout type string menu:minimize,maximize,close
 28```</p>
 29
 30<p>Update: I have confirmed that this does also work with all Ubuntu distros up through 12.04</p>
 31]]></content>
 32  </entry>
 33  
 34  <entry>
 35    <title type="html"><![CDATA[EFF Tor Challenge + Amazon EC2 Free Usage Tier]]></title>
 36    <link href="http://bryfry.github.com/blog/2011/06/01/eff-tor-challenge-amazon-ec2-free-usage-tier/"/>
 37    <updated>2011-06-01T00:00:00-04:00</updated>
 38    <id>http://bryfry.github.com/blog/2011/06/01/eff-tor-challenge-amazon-ec2-free-usage-tier</id>
 39    <content type="html"><![CDATA[<p>Goal: Setup a Tor Node (Exit) on a <a href="http://aws.amazon.com/free/">Free Usage Tier</a> Amazon VPS Image (EC2).  This and easy and free way to join the EFF in their annonced <a href=”https://www.eff.org/torchallenge”>TOR Challenge</a>.</p>
 40
 41<p>What you'll need:</p>
 42
 43<ul>
 44<li>Amazon AWS Account</li>
 45<li>Some basic Linux know-how</li>
 46</ul>
 47
 48
 49<p>First setup your new instance with the below specs.  Check the <a href="https://help.ubuntu.com/community/EC2StartersGuide">EC2StarterGuide</a> and the <a href="http://cloud.ubuntu.com/ami/">Ubuntu Cloud AMI Finder</a> for help.</p>
 50
 51<p>AMI: Micro (free usage tier) - Ubuntu 10.10 - x86_64 - EBS - (ami-cef405a7)</p>
 52
 53<ul>
 54<li>Use the default Instance Properties</li>
 55<li>Create a new Key Pair</li>
 56<li>Create new Security Group (name it something recognizable, like tor)</li>
 57<li>Add SSH + 9001 ports to the security group.</li>
 58</ul>
 59
 60
 61<p>Now that the VPS is up and running login to it, run some updates, install and configure Tor.</p>
 62
 63<p>``` bash</p>
 64
 65<h1>replace with your new key name and ec2 address.</h1>
 66
 67<p>ssh -i yournewkey.pem ubuntu@ec2-xxx-xxx-xxx-xxx.yyyyyyyy.amazonaws.com
 68sudo apt-get update
 69sudo apt-get upgrade</p>
 70
 71<h1>add the tor project repository</h1>
 72
 73<p>sudo apt-add-repository \</p>
 74
 75<pre><code> 'deb http://deb.torproject.org/torproject.org maverick main'
 76</code></pre>
 77
 78<p>sudo apt-get update</p>
 79
 80<h1>install tor</h1>
 81
 82<p>sudo apt-get install tor tor-geoipdb</p>
 83
 84<h1>make a backup of the standard config file</h1>
 85
 86<p>sudo mv /etc/tor/torrc /etc/tor/torrc.bak
 87```</p>
 88
 89<p>Edit /etc/tor/torrc or create a new config from scratch and make it look like this</p>
 90
 91<p><code>text /etc/tor/torrc
 92SocksPort 0 # we are not going to make local connections, aka a simple relay
 93ORPort 9001 # what port to advertise for incoming Tor connections
 94Nickname xxxxxxxxxxxxx # Give your node a nickname for the EFF Tor Challange
 95BandwidthRate 300 KB
 96BandwidthBurst 350 KB
 97AccountingStart month 1 00:00
 98AccountingMax 3 GB
 99</code></p>
100
101<p>The last two lines of this is important.  We want to make sure our node does not use enough traffic to use up the entire allowed free bandwidth that a free image is allotted because then you will have to start paying for those bits.  You could up it to around 15 GB which is where you start paying but we can start low for now.  Finally, we can startup Tor.  I like to use screen to run it so startup a new screen and run tor.</p>
102
103<p><code>bash
104screen -S tor
105/usr/sbin/tor
106</code></p>
107
108<p>Watch for errors, if none show up, head over to <a href="http://metrics.torproject.org/relay-search.html">http://metrics.torproject.org/relay-search.html</a> and after an hour or so you should be able to search for your node's nickname.</p>
109
110<p>When your done don't forget to submit your new node's nickname to the <a href="https://www.eff.org/torchallenge/report/">EFF's Tor Challenge</a>!</p>
111
112<p>Resources Used:</p>
113
114<ul>
115<li><a href="https://www.eff.org/torchallenge">https://www.eff.org/torchallenge</a></li>
116<li><a href="http://en.wikibooks.org/wiki/How_to_Protect_your_Internet_Anonymity_and_Privacy/Your_own_TOR_node_on_Amazon_EC2">http://en.wikibooks.org/wiki/How_to_Protect_your_Internet_Anonymity_and_Privacy</a></li>
117<li><a href="http://cloud.ubuntu.com/ami/">http://cloud.ubuntu.com/ami/</a></li>
118<li><a href="https://help.ubuntu.com/community/EC2StartersGuide">https://help.ubuntu.com/community/EC2StartersGuide</a></li>
119<li><a href="http://aws.amazon.com/free/">http://aws.amazon.com/free/</a></li>
120</ul>
121
122]]></content>
123  </entry>
124  
125</feed>