FOG installation on CentOS5

From Teknologisk videncenter
Revision as of 07:41, 1 June 2009 by Heth (talk | contribs) (New page: After installing CentOS 5.2 with firewall and SeLinux disabled. *See [http://www.fogproject.org/wiki/index.php?title=FOGUserGuide FOG user Guide] = Install yum-proorities = <source lang="c...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

After installing CentOS 5.2 with firewall and SeLinux disabled.

Install yum-proorities

[root@fog1 ~]# <input>yum install yum-priorities</input>
<notice>OUTPUT OMITTED</notice>
[root@fog1 ~]# <input>yum info  yum-priorities</input>
Installed Packages
Name       : yum-priorities
Arch       : noarch
Version    : 1.1.16
Release    : 13.el5.centos
Size       : 13 k
Repo       : installed
Summary    : plugin to give priorities to packages from different repos
URL        : http://linux.duke.edu/yum/download/yum-utils/
License    : GPLv2+
Description: This plugin allows repositories to have different priorities.
           : Packages in a repository with a lower priority can't be overridden
           : by packages from a repository with a higher priority even if repo
           : has a later version.

Install rpmforge-release

Get newest rpmforge-release for your release

[root@fog1 ~]# <input>cd /tmp</input>
[root@fog1 tmp]# <input>wget http://packages.sw.be/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm</input>
[root@fog1 tmp]# <input>rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm</input>
[root@fog1 tmp]# <input>rpm -qi rpmforge-release</input>
Description :
RPMforge.net release file. This package contains apt, yum and smart
configuration for the RPMforge RPM Repository, as well as the public
GPG keys used to sign them.

Download and install FOG

Download FOG from FOG download Select fog_x.xx.tar.gz and extract the files.

[root@fog1 tmp]# <input>wget http://dfn.dl.sourceforge.net/sourceforge/freeghost/fog_0.26.tar.gz</input>
[root@fog1 tmp]# <input>tar xzf fog_0.26.tar.gz</input>
[root@fog1 tmp]# <input>cd fog_0.26</input>
[root@fog1 fog_0.26]# <input>cd bin</input>
[root@fog1 bin]# <input>./installfog.sh</input>
        ___           ___           ___
       /\  \         /\  \         /\  \
      /::\  \       /::\  \       /::\  \
     /:/\:\  \     /:/\:\  \     /:/\:\  \
    /::\-\:\  \   /:/  \:\  \   /:/  \:\  \
   /:/\:\ \:\__\ /:/__/ \:\__\ /:/__/_\:\__\
   \/__\:\ \/__/ \:\  \ /:/  / \:\  /\ \/__/
        \:\__\    \:\  /:/  /   \:\ \:\__\
         \/__/     \:\/:/  /     \:\/:/  /
                    \::/  /       \::/  /
                     \/__/         \/__/

  ###########################################
  #     Free Computer Imaging Solution      #
  #                                         #
  #     Created by:                         #
  #         Chuck Syperski                  #
  #         Jian Zhang                      #
  #                                         #
  #     GNU GPL Version 3                   #
  ###########################################

  Version: 0.26 Installer/Updater

  What version of Linux would you like to run the installtion for?

          1) Redhat Based Linux (Fedora, CentOS)
          2) Ubuntu Based Linux (Kubuntu, Edubuntu)

  Choice: []<input>1</input>
<notice>OUTPUT OMITTED</notice>
  Here are the settings FOG will use:
         Distro: Redhat
         Installation Type: Normal Server
         Server IP Address: 192.168.22.3
         DHCP router Address: 192.168.22.73
         DHCP DNS Address: 172.16.4.77
         Interface: eth0
         Using FOG DHCP: 1

  Are you sure you wish to continue (Y/N)<input>y</input>


Links