Resources/Pony: Difference between revisions

From Noisebridge
Jump to navigation Jump to search
No edit summary
(35 intermediate revisions by 16 users not shown)
Line 1: Line 1:
pony.noise is a headless Linux box at 83c.
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 ==
* From the main Noisebridge [[Network|network]], the IP address is 172.30.0.30, and DNS has it at <tt>pony.noise</tt>.
* From the main Noisebridge [[Network|network]], the IP address is 172.30.0.30, and DNS has it at <tt>pony.noise</tt>.
* From the Internet or the '''noisebridge-dsl''' wifi, a NAT port is forwarded from <tt>83c.noisebridge.net</tt> port 2022.
* From the Internet or the '''noisebridge-dsl''' wifi, a NAT port is forwarded from <tt>pony.noisebridge.net</tt>.


=== SSH information ===
=== SSH information ===
Line 9: Line 19:
  RSA key fingerprint is 9d:af:f4:94:70:65:ab:b2:af:a1:ad:03:2b:36:e6:43.
  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 <tt>~/.ssh/config</tt>, you can <tt>ssh pony</tt> from outside, and <tt>ssh pony.noise</tt> from inside.
With the following stanza in <tt>~/.ssh/config</tt>, you can <tt>ssh pony</tt> from outside, and <tt>ssh pony.local</tt> from inside.
Host pony
<pre>
   Hostname 83c.noisebridge.net
Host pony | pony.local
  Port 2022
   Hostname pony.noisebridge.net
   ForwardAgent no
   ForwardAgent no
   ForwardX11 no
   ForwardX11 no
</pre>


== Accounts ==
== Accounts ==


If you want an account, add a SSH Key and an Adduser stanza to your User: page on the wiki.  Requests to change a user's shell after the account has been created will require a personal favor or a [http://www.dailymotion.com/video/x5r0je_weird-al-on-family-double-dare-part_fun Double Dare].  See [[User:Adi]] or [[User:Rubin110]] for examples.  Then, contact (via email is best) [[Admins|an admin]] 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.
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]]
 
Requests to change a user's shell after the account has been created will require a personal favor or a [http://www.dailymotion.com/video/x5r0je_weird-al-on-family-double-dare-part_fun Double Dare].  (Or you can simply use <tt>chsh</tt>.)
 
Full sudoers (updated 20100222):
 
* [[User:adi]]
* [[User:rubin110]]
* [[User:ioerror]]
* [[User:jof]]
* [[User:dr_jesus]]
* [[User:leif]]
* [[User:Shkoo]]
* [[User:aestetix]]
* [[User:zaius]]
* [[User:thatha]]
* [[User:micah]]
* [[User:Miloh]]
* [[User:mct]]
* [[User:Malaclyps]]
* [[User:lizzard]]
* [[User:yesac]]
* [[User:heatxsink]]
* [[User:Pau1]]
* Jack Perkins
* Benny Baumann
* Jeffrey Malone


== Backups ==
== Backups ==
Line 25: 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 30: 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 ===
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>
 
= O&M =
 
Restart Procedure:
 
Use the IP PDU documented on the [[Network]] page.
 
<!-- pony is also 2ygbaoezjdmacnro.onion but this is secret so SSHHHH don't tell anyone! -->


=== dmesg ===
[[Category:Servers]] [[Category:Physical infrastructure]]
[[Pony/dmesg]]

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.