This shows you the differences between two versions of the page.
— |
silverhold [2014/11/24 01:14] (current) 0.0.0.0 created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Silverhold ====== | ||
+ | [[Category: | ||
+ | [[Category: | ||
+ | [[Category: | ||
+ | [[Category: | ||
+ | |||
+ | ===== Overview ===== | ||
+ | * Type: Virtual machine | ||
+ | * Location: [[Badger]] | ||
+ | * URL: http:// | ||
+ | * Provides: | ||
+ | * Cacti (//todo//) | ||
+ | * Nagios (//todo//) | ||
+ | |||
+ | *Specs: | ||
+ | * 512Mb Ram | ||
+ | * 1x virtio Ethernet | ||
+ | * 20Gb Virtual Disk | ||
+ | |||
+ | ===== Filesystems ===== | ||
+ | {| class=" | ||
+ | |+ /dev/sda (20Gb qcow2 image) | ||
+ | |- | ||
+ | ! Partition Number | ||
+ | ! Size | ||
+ | ! Filesystem | ||
+ | ! Mount point | ||
+ | ! Notes | ||
+ | |- | ||
+ | | 1 | ||
+ | | ~20Gb | ||
+ | | lvm | ||
+ | | //none// | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | And the logical filesystems are: | ||
+ | |||
+ | {| class=" | ||
+ | |+ Logical volumes | ||
+ | |- | ||
+ | ! Volume Name | ||
+ | ! Size | ||
+ | ! Filesystem | ||
+ | ! Mount point | ||
+ | ! Notes | ||
+ | |- | ||
+ | | system/root | ||
+ | | 8 GB | ||
+ | | ext3 | ||
+ | | / | ||
+ | | | ||
+ | |- | ||
+ | | system/home | ||
+ | | 11.5 GB | ||
+ | | ext3 | ||
+ | | /home | ||
+ | | | ||
+ | |- | ||
+ | | swap | ||
+ | | 512 MB | ||
+ | | ext3 | ||
+ | | /var | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | ===== Installation ===== | ||
+ | Silverhold was installed using the [[Gentoo/ | ||
+ | |||
+ | ==== Installed software ==== | ||
+ | Also see: | ||
+ | * [[Gentoo/ | ||
+ | |||
+ | === Hosting === | ||
+ | * {{Package|direct=yes|dev-lang/ | ||
+ | * {{Package|direct=yes|www-servers/ | ||
+ | |||
+ | === Monitoring === | ||
+ | * //todo// | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | ==== Network ==== | ||
+ | {| class=" | ||
+ | |+ Network adapters | ||
+ | |- | ||
+ | ! Hardware | ||
+ | ! Driver | ||
+ | ! Device | ||
+ | ! Mac | ||
+ | ! IP | ||
+ | ! DHCP/Static | ||
+ | |- | ||
+ | | virtio | ||
+ | | virtio_net | ||
+ | | eth0 | ||
+ | | 54: | ||
+ | | 10.0.0.7 | ||
+ | | dhcp | ||
+ | |} | ||
+ | |||
+ | The network configuration is stored in subversion, under [[https:// | ||
+ | |||
+ | ==== Apache ==== | ||
+ | Apache needs to be compiled with various extensions enabled. Make sure the following useflags are enabled: | ||
+ | * {{Package|direct=yes|dev-lang/ | ||
+ | |||
+ | Set up permissions on the webroot so that apache can access all files that exist, and are later created using acls. Same for the web users. | ||
+ | {{Root|< | ||
+ | setfacl -R -m u: | ||
+ | </ | ||
+ | |||
+ | For LDAP authentication to work, Apache must be set to use TLS connections by default. Add the following configuration: | ||
+ | {{File|/ | ||
+ | LDAPTrustedMode TLS | ||
+ | LDAPVerifyServerCert On | ||
+ | </ | ||
+ | |||
+ | See also: | ||
+ | * [[Cacti]] - setting up cacti | ||
+ | * [[Nagios]] - setting up nagios |