User Tools

Site Tools


gentoo_vmware

Gentoo/VMware

Filesystems

{| class=“wikitable” cellspacing=“10”

! Partition Number ! Size ! Filesystem ! Mount point ! Notes

And the logical filesystems are:

{| class=“wikitable” cellspacing=“10”

! Volume Name ! Size ! Filesystem ! Mount point ! Notes

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 <tt>.config</tt> files are stored in subversion, under configs:/kernel/vmware/.

Compile the kernel using <tt>genkernel</tt>, which will set up an initramfs supporting LVM and framebuffer splashes:

<code>0@@</code>

2.6.28-gentoo-r1|<code>1@@</code>

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. <source lang="bash"> layman -a vmware </source>

Installed Software

Also see:

Virtualisation

Configuration

Virtualisation

Load the vmware network module on boot: /etc/conf.d/modules|<syntax lang="gentoo-conf-d"> modules_2_6="${modules_2_6} vmxnet" module_vmxnet_2_6="" </syntax>

Start the <tt>vmware-tools</tt> daemon, and ensure it autostarts on boot: <source lang="bash"> rc-update add vmware-tools default /etc/init.d/vmware-tools start </source>

This daemon makes use of the <tt>vmware</tt> group, which is defined in LDAP, and will fail to start if it can't contact the directory server. Ensure this service doesn't get started before <tt>net</tt> by modifying the init configuration as so: /etc/conf.d/vmware-tools|<syntax lang="gentoo-conf-d"> rc_need="net" </syntax>

LDAP

See LDAP/Openldap. Configuration files are stored in subversion, under configs:/ldap/client/.

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. <source lang="bash"> /etc/init.d/ntp-client start /etc/init.d/ntpd start rc-update add ntp-client default rc-update add ntpd default </source>

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. <source lang="bash"> /etc/init.d/iptables save /etc/init.d/iptables start rc-update add iptables default /etc/init.d/ip6tables save /etc/init.d/ip6tables start rc-update add ip6tables default </source>

iSCSI

If necessary, set up iSCSI following the instructions on Client.

Maintenance

Hardware

lspci

A standard vmware virtual machine, with networking and USB interfaces might have the following <tt>lscpi</tt> output:

2@@

Todo

gentoo_vmware.txt · Last modified: 2014/11/24 01:14 by 0.0.0.0