Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. #* Choose and make note of the root password
    • Create your user (remember the password)
  2. Update the software on the system
    • System->Administration->Update System
  3. Convert your user to a "sudoer"
    • Get a terminal window (Applications->System Tools->Terminal)
    • Type 'su' (no quotes)
    • Enter root password
    • vim /etc/sudoers
    • add the following line toward the end of the file (assuming your user name was steve)
    • %steve ALL=(ALL) ALL
  4. Install all the required Linux packages
    • cut and paste this to the terminal window:
    • sudo yum install gcc gcc-c++ make gettext patch bison flex liboil liboil-devel zlib zlib-devel libxml2 libxml2-devel doxygen libX11-devel libXext libXext-devel mesa-libGLU-devel atk atk-devel pango pango-devel cairo cairo-devel libjpeg libjpeg-devel libtiff libtiff-devel man-pages perl-Net-Telnet perl-Digest-SHA1 svn ant ant-jdepend
    • sudo rpm -ivh http://download1.rpmfusion.org/free/fedora/rpmfusion-free-release-stable.noarch.rpm
    • sudo yum install vlc
    • sudo yum install mozilla-vlc
  5. Check the RI Code out to populate your machine
    • Start in your home directory ('cd ')
    • mkdir CableLabsRI
    • cd CableLabsRI
    • svn co https://community.cablelabs.com/svn/OCAPRI/trunk
    • Enter your credentials when prompted, then wait as it checks out the trunk. You now have the majority of the tree for Linux on your machine under /home/<user>/CableLabsRI/trunk
  6. Ensure SELinux is disabled
    • Activate menu by selecting System->Administration->SELinux Management
    • Enter root password
    • In Status Tab, set System Default Enforcing Mode to Disable
    • For Fedora 15:
      • #***         sudo vi /etc/sysconfig/selinux
                change SELINUX=enforcing to SELINUX=disabled
                 :wq (save and quit).
                  You have to reboot the system for this to take effect.
  7. Install the Sun 1.6 Java Development Kit (Java SE JDK 6 Update 13)
    • Installation of Sun's JDK is not necessary - the Open JDK has already been installed (and works).
    • Go to http://www.oracle.com/technetwork/java/javase/downloads/jdk-6u31-download-1501634.html
    • Select JDK 6 Update 13 Download
    • Select Platform: Linux Language: Multi-language, select checkbox accepting the License agreement
    • Select jdk_6u13-linux-rpm.bin, and "Save File" when prompted
    • in ~/Download, do 'chmod +x jdk-6u13-linux-i586-rpm.bin' (no quotes)
    • sudo ./jdk-6u13-linux-i586-rpm.bin
    • Accept the license, and watch the jdk get installed
    • Ignore the registration
  8. Get ant 1.8 or later
  9. Edit your environment to get ready to build
    • Edit .bashrc in your home directory
    • Add the following lines to the end, replacing "steve" with your user name

...