This shows you the differences between two versions of the page.
— |
gentoo_vmware [2014/11/24 01:14] (current) 0.0.0.0 created |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Gentoo/ | ||
+ | [[Category: | ||
+ | [[Category: | ||
+ | [[Category: | ||
+ | |||
+ | ===== Filesystems ===== | ||
+ | {| class=" | ||
+ | |+ /dev/sda (20Gb VMDK) | ||
+ | |- | ||
+ | ! Partition Number | ||
+ | ! Size | ||
+ | ! Filesystem | ||
+ | ! Mount point | ||
+ | ! Notes | ||
+ | |- | ||
+ | | 1 | ||
+ | | 128Mb | ||
+ | | ext2 | ||
+ | | /boot | ||
+ | | | ||
+ | |- | ||
+ | | 2 | ||
+ | | ~20Gb | ||
+ | | lvm | ||
+ | | //none// | ||
+ | | | ||
+ | |} | ||
+ | |||
+ | And the logical filesystems are: | ||
+ | |||
+ | {| class=" | ||
+ | |+ Logical volumes | ||
+ | |- | ||
+ | ! Volume Name | ||
+ | ! Size | ||
+ | ! Filesystem | ||
+ | ! Mount point | ||
+ | ! Notes | ||
+ | |- | ||
+ | | // | ||
+ | | 1Gb | ||
+ | | ext3 | ||
+ | | /home | ||
+ | | | ||
+ | |- | ||
+ | | // | ||
+ | | 8Gb | ||
+ | | ext3 | ||
+ | | / | ||
+ | | | ||
+ | |- | ||
+ | | // | ||
+ | | 10Gb | ||
+ | | ext3 | ||
+ | | /var | ||
+ | | | ||
+ | |- | ||
+ | | // | ||
+ | | 256Mb | ||
+ | | swap | ||
+ | | //none// | ||
+ | |} | ||
+ | |||
+ | ===== Installation ===== | ||
+ | See [[Local Portage Mirror]] for instructions on setting up machines to use the local portage mirror for syncing the portage tree, and downloading cached source packages. | ||
+ | |||
+ | ==== Kernel ==== | ||
+ | Full kernel < | ||
+ | |||
+ | Compile the kernel using < | ||
+ | |||
+ | {{Root|< | ||
+ | |||
+ | {{Kernel|2.6.28-gentoo-r1|< | ||
+ | |||
+ | ==== Framebuffer ==== | ||
+ | See [[Framebuffer]] for steps to set up a high resolution framebuffer. | ||
+ | |||
+ | ==== Portage ==== | ||
+ | Add the vmware overlay, which contains the latest virtual machine tools package. | ||
+ | {{Root|< | ||
+ | layman -a vmware | ||
+ | </ | ||
+ | |||
+ | ==== Installed Software ==== | ||
+ | Also see: | ||
+ | * [[Gentoo# | ||
+ | |||
+ | === Virtualisation === | ||
+ | * {{Package|direct=yes|app-emulation/ | ||
+ | |||
+ | ===== Configuration ===== | ||
+ | ==== Virtualisation ==== | ||
+ | Load the vmware network module on boot: | ||
+ | {{File|/ | ||
+ | modules_2_6=" | ||
+ | module_vmxnet_2_6="" | ||
+ | </ | ||
+ | |||
+ | Start the < | ||
+ | {{Root|< | ||
+ | rc-update add vmware-tools default | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | This daemon makes use of the < | ||
+ | {{File|/ | ||
+ | rc_need=" | ||
+ | </ | ||
+ | |||
+ | ==== LDAP ==== | ||
+ | See [[LDAP/ | ||
+ | |||
+ | ==== NTP ==== | ||
+ | Install NTP and configure it to start up on boot. The configuration will be pushed to the machine via DHCP, so the clock will synchronise with the local time server. | ||
+ | {{Root|< | ||
+ | / | ||
+ | / | ||
+ | rc-update add ntp-client default | ||
+ | rc-update add ntpd default | ||
+ | </ | ||
+ | |||
+ | ==== Logging ==== | ||
+ | Configure network logging, as per [[Syslog]]. | ||
+ | |||
+ | ==== Firewalls ==== | ||
+ | Start with an blank firewall which can be customised per host. The ipv4 and ipv6 firewalls are disabled by default, so create the empty rule set, and start them up. | ||
+ | {{Root|< | ||
+ | / | ||
+ | / | ||
+ | rc-update add iptables default | ||
+ | |||
+ | / | ||
+ | / | ||
+ | rc-update add ip6tables default | ||
+ | </ | ||
+ | |||
+ | ==== iSCSI ==== | ||
+ | If necessary, set up iSCSI following the instructions on [[ISCSI# | ||
+ | |||
+ | ===== Maintenance ===== | ||
+ | ===== Hardware ===== | ||
+ | ==== lspci ==== | ||
+ | A standard vmware virtual machine, with networking and USB interfaces might have the following < | ||
+ | < | ||
+ | |||
+ | ===== Todo ===== | ||
+ | * ... |