Resources/Pony: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
(14 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 GNU/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 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).
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 43: Line 63:
* [[User:lizzard]]
* [[User:lizzard]]
* [[User:yesac]]
* [[User:yesac]]
* [[User:heatxsink]]
* [[User:Pau1]]
* Jack Perkins
* Jack Perkins
* Benny Baumann
* Benny Baumann
Line 52: Line 74:


== 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 57: Line 81:
* 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 ===
<pre>
Filesystem            Size  Used Avail Use% Mounted on
Filesystem            Size  Used Avail Use% Mounted on
/dev/vda5            3.0G  1.5G  1.4G  54% /
/dev/vda5            3.0G  1.5G  1.4G  54% /
Line 75: Line 102:
/dev/mapper/pony--data-www
/dev/mapper/pony--data-www
                       9.9G  222M  9.2G  3% /var/www
                       9.9G  222M  9.2G  3% /var/www
 
</pre>
=== dmesg ===
[[Pony/dmesg]]


= O&M =
= O&M =
Line 84: Line 109:


Use the IP PDU documented on the [[Network]] page.
Use the IP PDU documented on the [[Network]] page.
<!-- pony is also 2ygbaoezjdmacnro.onion but this is secret so SSHHHH don't tell anyone! -->
[[Category:Servers]] [[Category:Physical infrastructure]]

Revision as of 21:06, 23 June 2014

pony.noise is a headless GNU/Linux box at Noisebridge.


Refreshing pony.noise/juke

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

... 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.