Wednesday, December 29, 2010

Fedora 14 Minimum Install Challenges

I decided to play with KVM since everyone is talking about it, and did a minimal install of Fedora 14 to use as hypervisor for KVM.

I was quite happy with how "minimal" this install really was, and during boot time only 10 or so services were started. However, I came across some problems, and this was a great opportunity to learn.

  • No Internet Connectivity
    • Did ifconfig and did not see eth0
    • Did ifconfig eth0 up, which didn't give an ip to the nic
    • Did dhclient eth0 (thanks to xand in #networking on Freenode). However, this will have to be done after every reboot and doesn't enable eth0 automatically at boot time
    • Type chkconfig network on
    • Edit /etc/sysconfig/network-scripts/ifcfg-eth0 (thank you nirik on #fedora on Freenode)
    • Since I did a "minimal" install, I do want to keep this small and that's why I didn't install NetworkManager or system-config-network utilities whereas they could've made my job a lot easier as far as configuring network goes.
  • No Nano
    • yum install nano
      • But this wasn't working for me before because I had no internet, so I edited the above file using vi. Another great learning opportunity.
      • Link to vi Cheat Sheet
  • Disable SELinux and IPTables
    • For temporary disable do "echo 0 >/selinux/enforce"
    • For permanent permissive or disable mode, edit /etc/selinux/config
    • Here is more information on changing SELinux settings
    • For my environment, I do not need iptables
      • chkconfig iptables off
      • chkconfig ip6tables off
        • Reboot

1 comment:

  1. Good day I am so glad I found your blog, I really found you
    by error, while I was searching on Digg for something else, Regardless I am
    here now and would just like to say thank you for a tremendous post and
    a all round enjoyable blog (I also love the theme/design), I don't have time to browse it all at the
    minute but I have book-marked it and also included your
    RSS feeds, so when I have time I will be back
    to read much more, Please do keep up the superb work.

    My webpage Lee Trotman