1 / 15

Network Configuration

Network Configuration. NAT Mode , disable DHCP server. vi /etc/sysconfig/network-scripts/ifcfg-eth0 : DEVICE=eth0 BOOTPROTO=none HWADDR=00:0c:29:9c:cf:31 ONBOOT=yes DHCP_HOSTNAME=PHIL DNS1=192.168.128.2 NM_CONTROLLED=no TYPE=Ethernet USERCTL=no PEERDNS=yes IPV6INIT=no

nassor
Download Presentation

Network Configuration

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Network Configuration

  2. NAT Mode, disable DHCP server

  3. vi /etc/sysconfig/network-scripts/ifcfg-eth0: DEVICE=eth0 BOOTPROTO=none HWADDR=00:0c:29:9c:cf:31 ONBOOT=yes DHCP_HOSTNAME=PHIL DNS1=192.168.128.2 NM_CONTROLLED=no TYPE=Ethernet USERCTL=no PEERDNS=yes IPV6INIT=no IPADDR=192.168.128.128 NETMASK=255.255.255.0 GETWAY=192.168.128.2 vi /etc/sysconfig/network: NETWORKING=yes HOSTNAME=PHIL vi /etc/resolv.conf: nameserver 192.168.128.2 then restart eth0 by /etc/init.d/network restart ifconfig eth0 192.168.128.128 boardcast 192.168.128.255 netmask 255.255.255.0 up rout add default 192.168.128.2 echo “nameserver 192.168.128.2” >> /etc/resolv.conf

  4. YUM Configuration

  5. YUM Source Server • yum config file: • /etc/yum.repos.d/fedora*.repo • yum makecache fedora: http://ftp.sjtu.edu.cn/fedora/linux/releases/9/Everything/i386/os/ fedora-update: http://ftp.sjtu.edu.cn/fedora/linux/updates/9/i386/ fedora-update-newkey: http://ftp.sjtu.edu.cn/fedora/linux/updates/9/i386.newkey/

  6. install fetch only feature: • yum install yum-downloadonly • yum install --downloadonly --downloaddir=/root gcc gcc-c++ kernel-devel make • yum --nogpgcheck localinstall binutils-2.18.50-0.6-2.i386.rpm gcc-4.3.0-8.i386.rpm kernel-headers-2.6.25-14.fc9.i386.rpm glibc-headers-2.8-3.i386.rpm gcc-4.3.0-8.i386.rpm glibc-devel-2.8.3.i386.rpm libgomp-4.3.0-8.i386.rpm kernel-devel-2.6.25-14.fc9.i686.rpm kernel-devel-2.6.25-14.fc9.i686.rpm libstdc++-devel-4.3.0-8.i386.rpm make-3.81-12.fc9.i386.rpm

  7. yum install --downloadonly --downloaddir=/root/packages/libs-devel libX11-devel ncurses-devel gtk+-devel gtk2-devel gvim kernel-devel libjpeg-devel e2fsprogs-devel

  8. Install vmware-tools

  9. copy VMwareTools-8.1.3-203739.tar.gz to home directory, then compile and install it via ROOT account. $tar xzf VmwareTools-8.1.3-203739.tar.gz $cd vmware-tools-distrib $./vmware-install.pl

  10. Enable Shared Folder:

  11. select one folder shared between Windows and Fedora, then you should find this folder in Fedora /mnt/hgfs/VM

  12. generate ISO image • mkisofs -J -T -R -V QiuShi -o packages.iso /root/Packages

More Related