badger
no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | badger [2014/11/24 01:14] (current) – created 0.0.0.0 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Badger ====== | ||
+ | [[Category: | ||
+ | [[Category: | ||
+ | |||
+ | ===== Overview ===== | ||
+ | * Type: Virtual machine host | ||
+ | * Location: Bedroom 1 | ||
+ | * Operating System: Gentoo Linux | ||
+ | * URL: https:// | ||
+ | * Provides: | ||
+ | * Network services virtual machines | ||
+ | |||
+ | * Spec: | ||
+ | * Case: Antec Sonata II | ||
+ | * Mainboard: GA-P965-DS3 | ||
+ | * Processor: Intel Core 2 Duo E6600 (2.4GHz) | ||
+ | * Memory: 4Gb | ||
+ | * Disk: | ||
+ | * 200Gb PATA: System disk | ||
+ | * 2x 750GB SATA: LVM pool | ||
+ | * Network: | ||
+ | * 100Mbps Ethernet (public) | ||
+ | * 1Gpbs Ethernet (local) | ||
+ | |||
+ | * Peripherals | ||
+ | * Screen: Belinea 102035W 21" Widescreen TFT | ||
+ | * Keyboard: Logitech MX500 Bluetooth | ||
+ | * Remote: Cyberlink Media Centre IR Remote | ||
+ | * Dlink DWA-547 802.11n PCI wireless card | ||
+ | |||
+ | ===== Filesystems ===== | ||
+ | {| class=" | ||
+ | |+ /dev/sda (200Gb PATA) | ||
+ | |- | ||
+ | ! Partition Number | ||
+ | ! Size | ||
+ | ! Filesystem | ||
+ | ! Mount point | ||
+ | ! UUID | ||
+ | ! Notes | ||
+ | |- | ||
+ | | /dev/sda1 | ||
+ | | 128Mb | ||
+ | | ext2 | ||
+ | | /boot | ||
+ | | 2572da94-bb4e-4460-af7b-a9e15d2b810e | ||
+ | | | ||
+ | |- | ||
+ | | /dev/sda2 | ||
+ | | 40Gb | ||
+ | | NTFS | ||
+ | | //none// | ||
+ | | - | ||
+ | | Empty partition to test Windows 7 with | ||
+ | |- | ||
+ | | /dev/sda5 | ||
+ | | ~148Gb | ||
+ | | lvm | ||
+ | | //none// | ||
+ | | - | ||
+ | | | ||
+ | |- | ||
+ | | / | ||
+ | | 2Gb | ||
+ | | swap | ||
+ | | //none// | ||
+ | | 3c0c561b-da66-46ba-a79a-8c0cb4c443bb | ||
+ | | | ||
+ | |- | ||
+ | | / | ||
+ | | 60Gb | ||
+ | | ext3 | ||
+ | | / | ||
+ | | de5a4aea-6fda-49f0-bdcd-d84ccc42e12e | ||
+ | | | ||
+ | |- | ||
+ | | / | ||
+ | | 20Gb | ||
+ | | ext3 | ||
+ | | /var | ||
+ | | bbce9e4b-3f30-489f-8ae5-c13f9fddcb70 | ||
+ | | | ||
+ | |- | ||
+ | | / | ||
+ | | 10Gb | ||
+ | | ext3 | ||
+ | | /home | ||
+ | | ba468d77-5d1d-4c19-8c53-919b7b5316de | ||
+ | | | ||
+ | |- | ||
+ | | / | ||
+ | | 100Gb | ||
+ | | ext3 | ||
+ | | /mnt/vms | ||
+ | | 43d397db-b111-4cfa-8fef-7e221a2186c4 | ||
+ | | | ||
+ | |- | ||
+ | | / | ||
+ | | 10Gb | ||
+ | | iscsi | ||
+ | | //none// | ||
+ | | iqn.2006-06.net.sihnon.jellybean.badger: | ||
+ | | | ||
+ | |- | ||
+ | | / | ||
+ | | 10Gb | ||
+ | | iscsi | ||
+ | | //none// | ||
+ | | iqn.2006-06.net.sihnon.jellybean.badger: | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | The following physical partitions are used for LVM. | ||
+ | |||
+ | {| class=" | ||
+ | |+ LVM physical volumes | ||
+ | |- | ||
+ | ! Device | ||
+ | ! PV UUID | ||
+ | ! Size | ||
+ | ! Volume Group | ||
+ | ! Notes | ||
+ | |- | ||
+ | | /dev/sda5 | ||
+ | | gyzcOv-ct6N-21Hj-mvGR-UEbY-whFC-YP3tk5 | ||
+ | | 148Gb | ||
+ | | badger | ||
+ | | | ||
+ | |- | ||
+ | | /dev/sdb1 | ||
+ | | pfkB7V-4MAW-ueRK-raqB-5bAt-LzO1-sjeH8I | ||
+ | | 698Gb | ||
+ | | pool | ||
+ | | | ||
+ | |- | ||
+ | | /dev/sdc1 | ||
+ | | oHFfvy-p35P-L1mi-Vwcq-dA3k-YJmx-gHRdit | ||
+ | | 698Gb | ||
+ | | pool | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | ===== Installation ===== | ||
+ | ==== Kernel ==== | ||
+ | {{Kernel|2.6.28-gentoo-r1|< | ||
+ | |||
+ | ==== Installed Software ==== | ||
+ | Also see: | ||
+ | * [[Linux# | ||
+ | * [[Framebuffer]] | ||
+ | |||
+ | Install the following packages: | ||
+ | * {{Package|direct=yes|net-misc/ | ||
+ | * {{Package|direct=yes|net-misc/ | ||
+ | * {{Package|direct=yes|net-firewall/ | ||
+ | * {{Package|direct=yes|net-analyzer/ | ||
+ | * {{Package|direct=yes|net-nds/ | ||
+ | * {{Package|direct=yes|sys-auth/ | ||
+ | * {{Package|direct=yes|sys-auth/ | ||
+ | * {{Package|direct=yes|net-fs/ | ||
+ | * {{Package|direct=yes|net-misc/ | ||
+ | * {{Package|direct=yes|dev-db/ | ||
+ | * {{Package|direct=yes|dev-util/ | ||
+ | * {{Package|direct=yes|mail-mta/ | ||
+ | * {{Package|direct=yes|app-crypt/ | ||
+ | * {{Package|direct=yes|sys-power/ | ||
+ | |||
+ | ==== Framebuffer splash ==== | ||
+ | Configure the kernel and install the necessary packages as above, then build the kernel using: | ||
+ | {{Root|< | ||
+ | genkernel --splash=natural_gentoo --splash-res=1280x1024 all | ||
+ | </ | ||
+ | |||
+ | Edit the grub config to contain the following kernel options: | ||
+ | {{File|/ | ||
+ | title Gentoo Linux 2.6.29 | ||
+ | root (hd0,0) | ||
+ | kernel / | ||
+ | initrd / | ||
+ | </ | ||
+ | |||
+ | Finally, add < | ||
+ | {{Root|< | ||
+ | rc-update add fbcondecor boot | ||
+ | </ | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | ==== NTP ==== | ||
+ | Set the clock on boot, and keep it up to date against any drift: | ||
+ | {{Root|< | ||
+ | rc-update add ntp-client default | ||
+ | rc-update add ntpd default | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | ==== Logging ==== | ||
+ | Badger hosts central network logging. See [[Syslog]] for configuration. | ||
+ | |||
+ | ==== LDAP ==== | ||
+ | See [[LDAP/ | ||
+ | |||
+ | ==== Mail ==== | ||
+ | Edit < | ||
+ | |||
+ | {{Root|< | ||
+ | |||
+ | ==== Samba ==== | ||
+ | Configuration is stored in subversion, under [[https:// | ||
+ | |||
+ | {{Root|< | ||
+ | |||
+ | ==== Wireless ==== | ||
+ | See [[Wireless]]. Configuration is stored in subversion, under [[https:// | ||
+ | |||
+ | ==== VMWare Server ==== | ||
+ | Add the vmware overlay, which contains packages for vmware-server 2.x. | ||
+ | {{Root|< | ||
+ | layman -a vmware | ||
+ | </ | ||
+ | |||
+ | Then install the following packages | ||
+ | * {{Package|direct=yes|app-emulation/ | ||
+ | * {{Package|direct=yes|app-emulation/ | ||
+ | |||
+ | Run the < | ||
+ | |||
+ | * vmnet0 | ||
+ | * name: public | ||
+ | * type: bridged | ||
+ | * bridged to: eth0 | ||
+ | * vmnet1 | ||
+ | * name: local | ||
+ | * type: bridged | ||
+ | * bridged to: br1 | ||
+ | |||
+ | Install the following packages to be able to connect to pipes mapped to virtual serial ports: | ||
+ | * {{Package|direct=yes|socat}} | ||
+ | * {{Package|direct=yes|taylor-uucp}} | ||
+ | |||
+ | ==== iSCSI ==== | ||
+ | Set up badger to host targets as in [[ISCSI# | ||
+ | |||
+ | ===== Hardware ===== | ||
+ | ==== lspci ==== | ||
+ | < | ||
+ | |||
+ | ===== Vista ===== | ||
+ | Badger will not sleep properly under vista by default; it will always wake up within seconds of powering off. | ||
+ | To fix this: | ||
+ | |||
+ | * Control Panel/ | ||
+ | * Device Manager/ | ||
+ | * Wake from Shutdown => On | ||
+ | * Wake Up Capabilities => Magic Packet only |
badger.txt · Last modified: by 0.0.0.0