Lusitania

From syn2cat - HackerSpace.lu
(Difference between revisions)
Jump to: navigation, search
 
(28 intermediate revisions by 7 users not shown)
Line 1: Line 1:
 
{{Computer
 
{{Computer
|name=lusitania
+
|hostname=lusitania.lan
|ip=dhcp
+
|ehostname=lusitania.int.hackerspace.lu
 +
|ip=192.168.1.24
 
|type=server
 
|type=server
 
|brand=custom
 
|brand=custom
 
|model=custom
 
|model=custom
 
|operatingsystem=debian GNU/Linux
 
|operatingsystem=debian GNU/Linux
|services=apache2,mysqld,icinga
+
|computerstatus=
|admin=everyone
+
|location=Level2
 +
|services=apache2,mysqld,icinga,cifs,nfs,dns,...
 +
|admin=sim0n, Stereo
 
|museum=no
 
|museum=no
|os=debian
+
|name=lusitania
 +
|os=debian 7.0
 
}}
 
}}
 +
[[Category:Network]]
 +
 
== Synopsis ==
 
== Synopsis ==
The name's "lusitania" and the purpose is: '''experimental server'''
+
The name's "lusitania" and the purpose is: '''powered off'''
 +
 
 +
External access through lusitania.int.hackerspace.lu (ipv4 and ipv6)
 +
 
 +
It was a part of our main [[Stage1]] hackerspace infrastructure, hosting a fileserver, functioning as WiFi access-point, hosting a freeradius server and more.
 +
 
 +
== Services ==
 +
 
 +
=== Network ===
 +
 
 +
* DHCP for LAN
 +
* v6 announcement for LAN
 +
* IPSec tunnel (in use?)
 +
* squid (in use?)
 +
* pppoe connection to the internet
 +
* aiccu (ipv6 tunnel to sixxs)
 +
* OpenVPN (in use? Looks like we only use it for ccc events.)
 +
* Muling's bwmon for the meter in the rack
 +
 
 +
=== Access ===
 +
* apache httpd maily for openduino interface
 +
* Update the status from Openduino to space.syn2cat.lu
 +
* slapd (openldap) for Openduino and the radius for the wifi
 +
* Freeradius (for the wifi)
 +
* file shares via nfs and smb. See below
 +
 
 +
=== Systems ===
 +
 
 +
* UPS monitoring
 +
* Munin
 +
* Munin-node
 +
* cacti (in use?)
 +
* Smartd
 +
* postfix (in use for anything other than system emails?)
 +
* NTPD
 +
 
 +
=== Misc ===
 +
* tftpd (in use? /var/lib/tftpboot/ files are from 2011.)
 +
* MySQL (in use?)
 +
* samba (in use?)
 +
* libvirtd (in use?)
 +
* rpc.idmapd (in use?)
 +
* nscd (in use?)
 +
 
 +
== Fileserver ==
 +
=== Windows share ===
 +
The server may be access from Windows clients and other clients using the smb/cifs protocol.
 +
The server can be located by browsing the net or simply using "\\lusitania.lan"
 +
 
 +
=== NFS ===
 +
NFSv3 and NFSv4 may be used for accessing the file server
 +
==== NFSv3 ====
 +
<pre>
 +
mount -t nfs lusitania.lan:/work /mnt/target
 +
</pre>
 +
 
 +
==== NFSv4 ====
 +
<pre>
 +
mount -t nfs4 lusitania.lan:/ /mnt/target
 +
</pre>
 +
 
 +
 
 +
== Music server ==
 +
This is defunct (404)
  
External access through lusitania.int.hackerspace.lu (ipv6 only)
+
You may access the music server using a webbrowser at this address: [http://lusitania.lan/ampache http://lusitania.lan/ampache] <br>
 +
The login is '''admin / admin''', feel free to create yourself an account !<br>
 +
Ampache may be used to stream music to any '''mpd''' server on the LAN.
  
Username and Password are written on the machine and the concept is
+
== Cruft ==
very simple: '''You break it? --> You fix it!'''
+
  
That's all there is for rules.. go ahead and do whatever you like, then document it here, so we know what to back up ;)
+
An a lot of packages is installed on lusitania. Most of those are probably useless.
  
== Turning on and off ==
+
<code>
 +
root@lusitania:~# aptitude search '~i!~M!?essential' | wc -l
 +
317
 +
</code>
  
Press the power button to turn the server on.<br/>
+
Review 20130526 shows following interesting packages:
Don't forget that the UPS must be on as well.
+
  
Press it again (short) to send an acpi shutdown request.
+
3ware-cli-binary  =>  where do w use this Command Line Interface for 3Ware Controllers
 +
ampache      => may be good to configure it again
 +
apcuupsd    => yes we have an UPS on the server which is monitored
 +
apticron    => we get regularly annoyed by reminder emails about pending updates
 +
bind9        => running a local DNS. details to be documented
 +
conntrack    => ?
 +
cryptsetup  => mount encrypted disk library
 +
ddclient    => lusitania is behind a dynamic DSL line
 +
denyhosts    => dynamically remove annoying ssh scanners
 +
etckeeper    => save /etc into revision system. is it used?
 +
john        => who likes to crack passwords? several dictionaries installed too
 +
php*        => huge amount of stuff for apache/php
 +
screen      => what would be a system without screen. screen is awesome
 +
subversion  => hmm, should we not do all with git?
 +
xfsprogs    => some filesystems are XFS

Latest revision as of 15:11, 17 April 2015

Add a Computer
Computer.png
lusitania.lan
External Hostname: lusitania.int.hackerspace.lu
IP: 192.168.1.24
Type: server
Brand: custom
Model: custom
OS: debian GNU/Linux
ComputerStatus:
Location: Level2
Services: apache2,mysqld,icinga,cifs,nfs,dns,...
Admin: sim0n (mail),Stereo (mail)
Museum: no
QrCode: QR-49bb81b4ad45902e02e8be86cdf29af0.png

Contents

[edit] Synopsis

The name's "lusitania" and the purpose is: powered off

External access through lusitania.int.hackerspace.lu (ipv4 and ipv6)

It was a part of our main Stage1 hackerspace infrastructure, hosting a fileserver, functioning as WiFi access-point, hosting a freeradius server and more.

[edit] Services

[edit] Network

  • DHCP for LAN
  • v6 announcement for LAN
  • IPSec tunnel (in use?)
  • squid (in use?)
  • pppoe connection to the internet
  • aiccu (ipv6 tunnel to sixxs)
  • OpenVPN (in use? Looks like we only use it for ccc events.)
  • Muling's bwmon for the meter in the rack

[edit] Access

  • apache httpd maily for openduino interface
  • Update the status from Openduino to space.syn2cat.lu
  • slapd (openldap) for Openduino and the radius for the wifi
  • Freeradius (for the wifi)
  • file shares via nfs and smb. See below

[edit] Systems

  • UPS monitoring
  • Munin
  • Munin-node
  • cacti (in use?)
  • Smartd
  • postfix (in use for anything other than system emails?)
  • NTPD

[edit] Misc

  • tftpd (in use? /var/lib/tftpboot/ files are from 2011.)
  • MySQL (in use?)
  • samba (in use?)
  • libvirtd (in use?)
  • rpc.idmapd (in use?)
  • nscd (in use?)

[edit] Fileserver

[edit] Windows share

The server may be access from Windows clients and other clients using the smb/cifs protocol. The server can be located by browsing the net or simply using "\\lusitania.lan"

[edit] NFS

NFSv3 and NFSv4 may be used for accessing the file server

[edit] NFSv3

mount -t nfs lusitania.lan:/work /mnt/target

[edit] NFSv4

mount -t nfs4 lusitania.lan:/ /mnt/target


[edit] Music server

This is defunct (404)

You may access the music server using a webbrowser at this address: http://lusitania.lan/ampache
The login is admin / admin, feel free to create yourself an account !
Ampache may be used to stream music to any mpd server on the LAN.

[edit] Cruft

An a lot of packages is installed on lusitania. Most of those are probably useless.

root@lusitania:~# aptitude search '~i!~M!?essential' | wc -l
317

Review 20130526 shows following interesting packages:

3ware-cli-binary  =>  where do w use this Command Line Interface for 3Ware Controllers
ampache      => may be good to configure it again
apcuupsd     => yes we have an UPS on the server which is monitored
apticron     => we get regularly annoyed by reminder emails about pending updates
bind9        => running a local DNS. details to be documented
conntrack    => ?
cryptsetup   => mount encrypted disk library
ddclient     => lusitania is behind a dynamic DSL line
denyhosts    => dynamically remove annoying ssh scanners
etckeeper    => save /etc into revision system. is it used?
john         => who likes to crack passwords? several dictionaries installed too
php*         => huge amount of stuff for apache/php
screen       => what would be a system without screen. screen is awesome
subversion   => hmm, should we not do all with git?
xfsprogs     => some filesystems are XFS
Personal tools
Namespaces

Variants
Actions
Navigation
syn2cat
Hackerspace
Activities
Initiatives
Community
Tools
Tools