Resources/Pony

From Noisebridge
< Resources(Difference between revisions)
Jump to: navigation, search
(Accounts: an example of editing a wiki)
(Specs)
(16 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
pony.noise is a headless Linux box at Noisebridge.
 
pony.noise is a headless Linux box at Noisebridge.
 +
 +
 +
== Refreshing pony.noise/juke ==
 +
 +
To refresh jukebox once you've added new stuff at /data/d2/music/, either:
 +
 +
* go to pony.noise/juke, config, login, config, 'update db' (bottom right of popup), or
 +
* log in to ssh://juke:noisebridge@horsy.noise, run ncmpc, hit control-u
 +
 +
... and then wait. It take a while to update the database.
  
 
== Access ==
 
== Access ==
Line 19: Line 29:
 
== Accounts ==
 
== Accounts ==
  
If you want an account, add a SSH Key and an Adduser stanza to your User: page on the wiki; see [[User:Adi]] or [[User:Rubin110]] or [[User:Miloh]] for examples.  Then contact '''via email''' someone with full sudoers on Pony (see below) for an account, please provide a link to your user page to make it easier.  Any Noisebridge member who agrees to be excellent to each other is welcome to an account.  All users get <tt>sudo apt-get</tt> access; additional administration duties will be shared as necessary (asking nice works better then threatening to root the box).
+
If you want an account:
 +
 
 +
1) Create an account on this wiki.
 +
 
 +
2) Log in to it and go to your User page. You can get to your User page from the link with your new account name at the top of any wiki page.
 +
 
 +
3) Add whatever info to your User page that you'd like to have there.
 +
 
 +
4) Add public PGP key information to your User page (described below)
 +
 
 +
To add a SSH Key and an Adduser stanza to your User: page on the wiki; see [[User:Adi]] or [[User:Rubin110]] or [[User:Miloh]] for examples.  Then introduce yourself on the [[https://www.noisebridge.net/mailman/listinfo/rack rack]] mailing list for an account.  Any Noisebridge member who agrees to be excellent to each other is welcome to an account.  All users get <tt>sudo apt-get</tt> access; additional administration duties will be shared as necessary (asking nice works better then threatening to root the box).
  
 
[[Generating_keys|Here is a tutorial on generating keys for and configuring ssh]]
 
[[Generating_keys|Here is a tutorial on generating keys for and configuring ssh]]
Line 38: Line 58:
 
* [[User:thatha]]
 
* [[User:thatha]]
 
* [[User:micah]]
 
* [[User:micah]]
 +
* [[User:Miloh]]
 +
* [[User:mct]]
 +
* [[User:Malaclyps]]
 +
* [[User:lizzard]]
 +
* [[User:yesac]]
 +
* [[User:heatxsink]]
 +
* Jack Perkins
 +
* Benny Baumann
 +
* Jeffrey Malone
  
 
== Backups ==
 
== Backups ==
Line 44: Line 73:
  
 
== Specs ==
 
== Specs ==
 +
 +
(Runs in a VM on [[Stallion]], I believe)
 
* 2GB RAM
 
* 2GB RAM
 
* 3-core 64-bit AMD CPU at 2.1 GHz
 
* 3-core 64-bit AMD CPU at 2.1 GHz
Line 49: Line 80:
 
* 2.5 TB data drives in eSATA chassis (/d1, /d2, /d3)
 
* 2.5 TB data drives in eSATA chassis (/d1, /d2, /d3)
 
* Debian Lenny (5.0 stable) 32-bit install
 
* Debian Lenny (5.0 stable) 32-bit install
 +
 +
* Can we get a 64-bit kernel at least? ([http://packages.debian.org/search?keywords=linux-image-amd64 pkg:linux-image-amd64]) -Shawn
  
 
=== df -h ===
 
=== df -h ===
Filesystem            Size  Used Avail Use% Mounted on
+
<pre>
/dev/sda5             9.2G 223M 8.5G  3% /
+
Filesystem            Size  Used Avail Use% Mounted on
tmpfs                887M     0  887M   0% /lib/init/rw
+
/dev/vda5             3.0G 1.5G 1.4G  54% /
udev                   10M 136K 9.9M   2% /dev
+
tmpfs                990M     0  990M   0% /lib/init/rw
tmpfs                887M     0  887M   0% /dev/shm
+
udev                 985M 132K 985M   1% /dev
/dev/sda1             942M   32M 863M  4% /boot
+
tmpfs                990M     0  990M   0% /dev/shm
/dev/sda8              46G  181M  44G   1% /tmp
+
/dev/vda1             194M   33M  152M 18% /boot
/dev/sda7              92G 480M  87G  1% /usr
+
/dev/vda9            2.0G   69M  1.9G  4% /tmp
/dev/sda9             9.2G 372M  8.4G   5% /var
+
/dev/vda6            6.9G  5.6G 1.1G  85% /usr
/dev/sda11            9.2G  153M  8.6G  2% /var/log
+
/dev/vda7             6.9G 1.4G 5.2G  21% /var
/dev/sda10            9.2G 150M 8.6G  2% /var/tmp
+
/dev/vda8            5.0G 1.9G 2.9G  40% /var/log
/dev/sda12            92G  188M  87G  1% /var/www
+
/dev/mapper/pony--data-home
  /dev/sda14            368G 195M 349G  1% /home
+
                      504G 183G 296G 39% /home
/dev/sda13            46G  180M  44G  1% /scratch
+
/dev/mapper/pony--data-d
  /dev/sdc1            917G 200M 908G  1% /d1
+
                      1.8T 1.5T 223G 87% /data
/dev/sdb1            688G  198M  681G  1% /d2
+
/dev/mapper/pony--data-www
  /dev/sde1            688G 198M  681G   1% /d3
+
                      9.9G 222M 9.2G   3% /var/www
 
+
</pre>
=== dmesg ===
+
[[Pony/dmesg]]
+
  
 
= O&M =
 
= O&M =
Line 77: Line 108:
  
 
Use the IP PDU documented on the [[Network]] page.
 
Use the IP PDU documented on the [[Network]] page.
 +
 +
[[Category:Servers]] [[Category:Physical infrastructure]]

Revision as of 00:29, 23 January 2013

pony.noise is a headless Linux box at Noisebridge.


Contents

Refreshing pony.noise/juke

To refresh jukebox once you've added new stuff at /data/d2/music/, either:

  • go to pony.noise/juke, config, login, config, 'update db' (bottom right of popup), or
  • log in to ssh://juke:noisebridge@horsy.noise, run ncmpc, hit control-u

... and then wait. It take a while to update the database.

Access

  • From the main Noisebridge network, the IP address is 172.30.0.30, and DNS has it at pony.noise.
  • From the Internet or the noisebridge-dsl wifi, a NAT port is forwarded from pony.noisebridge.net.

SSH information

RSA key fingerprint is 9d:af:f4:94:70:65:ab:b2:af:a1:ad:03:2b:36:e6:43.

With the following stanza in ~/.ssh/config, you can ssh pony from outside, and ssh pony.local from inside.

Host pony | pony.local
   Hostname pony.noisebridge.net
   ForwardAgent no
   ForwardX11 no

Accounts

If you want an account:

1) Create an account on this wiki.

2) Log in to it and go to your User page. You can get to your User page from the link with your new account name at the top of any wiki page.

3) Add whatever info to your User page that you'd like to have there.

4) Add public PGP key information to your User page (described below)

To add a SSH Key and an Adduser stanza to your User: page on the wiki; see User:Adi or User:Rubin110 or User:Miloh for examples. Then introduce yourself on the [rack] mailing list for an account. Any Noisebridge member who agrees to be excellent to each other is welcome to an account. All users get sudo apt-get access; additional administration duties will be shared as necessary (asking nice works better then threatening to root the box).

Here is a tutorial on generating keys for and configuring ssh

Requests to change a user's shell after the account has been created will require a personal favor or a Double Dare. (Or you can simply use chsh.)

Full sudoers (updated 20100222):

Backups

There Are No Backups.

Specs

(Runs in a VM on Stallion, I believe)

  • 2GB RAM
  • 3-core 64-bit AMD CPU at 2.1 GHz
  • 750GB system drive
  • 2.5 TB data drives in eSATA chassis (/d1, /d2, /d3)
  • Debian Lenny (5.0 stable) 32-bit install

df -h

Filesystem            Size  Used Avail Use% Mounted on
/dev/vda5             3.0G  1.5G  1.4G  54% /
tmpfs                 990M     0  990M   0% /lib/init/rw
udev                  985M  132K  985M   1% /dev
tmpfs                 990M     0  990M   0% /dev/shm
/dev/vda1             194M   33M  152M  18% /boot
/dev/vda9             2.0G   69M  1.9G   4% /tmp
/dev/vda6             6.9G  5.6G  1.1G  85% /usr
/dev/vda7             6.9G  1.4G  5.2G  21% /var
/dev/vda8             5.0G  1.9G  2.9G  40% /var/log
/dev/mapper/pony--data-home
                      504G  183G  296G  39% /home
/dev/mapper/pony--data-d
                      1.8T  1.5T  223G  87% /data
/dev/mapper/pony--data-www
                      9.9G  222M  9.2G   3% /var/www

O&M

Restart Procedure:

Use the IP PDU documented on the Network page.

Personal tools