380Part IIIChoosing and Installing a Linux Distribution25.Configure system (Web hosting service)
380Part IIIChoosing and Installing a Linux Distribution25.Configure system services.Install your system services: system logger, cronservice, hotplug, and reiserfs service, and set the domain name. Then turn oneach of those services, as follows: # emerge syslog-ng# rc-update add syslog-ng default# emerge vixie-cron# rc-update add vixie-cron default# emerge hotplug# rc-update add hotplug default# emerge reiserfsprogs# rc-update add domainname default26.Add special driver support.There may be particular kernel modules requiredby your computer at this point. For example, if you have a special Ethernetadapter or a special type of video card, use the emergecommand to installkernel modules now. You may not need any of them. Here are a few examples: # emerge nvidia-kernel# emerge nforce-audio# emerge e100# emerge e1000# emerge emu10k1# emerge ati-driversThese emergecommand lines are only used if you have special hardwareassociated with the kernel drivers. Respectively, those commands loaddrivers for accelerated Nvidia video cards, audio for Nvidia NForce mother- boards, Intel e100 Fast Ethernet cards, Intel e1000 Gigabit Ethernet card, Sound Blaster Live!/Audigy support for 2.4 kernel, and ATI Radeon+/FireGLgraphics acceleration video cards. 27.Add user and machine information.Add a password for the root user, a regu- lar user account name of your choosing (chris in this example), a machinename, and a domain name. If you like, you can also edit the /etc/hostsand/etc/rc.conffiles to add IP addresses and hostname or change the basicsystem startup script. # passwd# useradd chris -m -G users,wheel,audio -s /bin/bash# passwd chris# echo mymachine > /etc/hostname# echo mydomain.com > /etc/dnsdomainname# nano -w /etc/hosts# nano -w /etc/rc.conf28.Set up networking.Edit the netfile, and then run rc-updateto add the eth0interface as the default. (Uncomment the line iface eth0=”dhcp”to havethe network use DHCP to start up automatically.) # nano -w /etc/conf.d/net# rc-update add net.eth0 default20_