- Log in as root
- On the Desktop loads, open a Terminal (command prompt) by clicking on Application > Accessories > Terminal.
- At the prompt, type “yum update”. This will update and patch the system (similar to Windows Update).
- You will see output similar to the screen below. Type “y” then press enter. Updating the system may take some time, so be patient.
- You should see output similar to the screen below.
- If you receive a message about importing a GPG key, type “y” and press enter.
- You should see output similar to the screen below.
- Once the system has finished updating, open a web browser. Applications > Internet > Firefox Web Browser.
- Go to http://pkgs.repoforge.org/rpmforge-release/ and download the latest version of rpmforge for your OS.
At the time of this writing (May 8th,2012), the current release for 32-bit CentOS is rpmforge-release-0.5.2-2.el5.rf.i386.rpm - Once you click on the appropriate file, a download options window will appear. Make sure Open with Software Installer (default) is selected and click “OK”.
- Once the download has finished, the software will start to install. Click “Apply” on the window that appears.
- Click “Install anyway” to install the software.
- Click “OK”.
- Go back to the web browser and go to http://www.fogproject.org.
- On the left hand side of the screen, click Download.
- Download the latest version of FOG. The current version is fog_0.32.tar.gz
- Save the file to the Root folder
- On the Desktop, open root’s Home
- Double click on fog_0.32.tar.gz
- On the window that opens, click on “Extract”
- Under Extract in folder: make sure root is selected. Click “Extract” and then close the window once it has finished.
- You should now have a folder label fog_0.32. Open it.
- Open the folder labeled lib.
- Open the folder labeled redhat.
- Double click on the file labeled config.sh.
- Select Display.
- You will need to make the following changes:
- - Line 22: Remove 'php-gettext' and change 'clamav-update' to 'clamav'
- - Line 63: Edit to read: 'freshDB="/var/clamav/";
- - Line 66: Edit to read: 'freshcron="/usr/sbin/freshclam"
- - Change any reference of "php" to "php53"
- Save and close the config.sh file.
- Close all open folders
- Open a Terminal and type “cd fog_0.32/bin/” and press enter.
- Type “./installfog.sh” and press enter.
- Type 1 for Redhat Based Linux, press enter.
- Type N for Normal Server installation, press enter.
- Type the IP address for your FOG Server, press enter.
- Type N to skip entering a router address for a DHCP server, press enter.
- Type N to skip entering a DNS address for a DHCP server, press enter.
- Type N to changing the default network interface, press enter.
- Type N to skip setting up DHCP service, press enter.
- Type N to skip installing internationalization support, press enter.
- Type Y to install FOG.
- Once the install is finished, close all open windows and log off as root.
Wednesday, May 9, 2012
Install FOG on CentOS
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment