394 Part III . Choosing and Installing a (Web hosting packages)
394 Part III . Choosing and Installing a Linux Distribution 13. Extract the stage 1 tarball. Use the following commands: # cd /mnt/gentoo # tar -xvjpf /mnt/gentoo/tmp2/stage1-*.tar.bz2 You can remove the stage1 tarball once you have untarred it. 14. Select mirror site. Use the mirrorselect command to search for a Gentoo mirror site from which you can efficiently download the files you need to do the install. Run the following command to select an efficient mirror and add it to your make.conf file (it will take a while to test download speed from more than 150 servers): # mirrorselect -a -s4 -o |grep GENTOO_MIRRORS >> /mnt/gentoo/etc/make.conf If, when you run emerge commands later in this procedure, you see messages that files are not found from any of the download sites, you might need to add other mirror sites to the make.conf file. 15. Mount file systems. Mount the /proc file system as follows: # mount -t proc none /mnt/gentoo/proc 16. Change root directory. Use the chroot command to change /mnt/gentoo to be your root directory, but first copy the resolve.conf file so it can be used from there: # cp /etc/resolv.conf /mnt/gentoo/etc/resolv.conf # chroot /mnt/gentoo /bin/bash 17. Update environment. Read in environment variables as follows: # env-update; source /etc/profile 18. Update Portage tree. Type the following command to have the latest package information installed to your /usr/portage directory: # emerge –sync 19. Modify make.conf. Use the nano text editor to change the make.conf file that is used to build your Gentoo system. Here s how: # nano -w /etc/make.conf If you don t know what to change, refer to the /etc/make.conf.example file for information on the settings you may want to change before continuing. If you don t know what processor your computer has, type cat /proc/cpuinfo. 20. Bootstrap Gentoo. Run bootstrap.sh to bootstrap Gentoo as follows: # cd /usr/portage/ ; scripts/bootstrap.sh 21. Install Gentoo. Run the following emerge command to install: # emerge -e system It takes a long time for emerge -e system command to complete. If it fails before it is finished, check that the settings in your make.conf file are correct. Note Note
From our experience, we are can tell you that you can find a reliable and cheap webhost service at Java Web Hosting services.