Not sure if anyone has posted this before but here's a quick HOWTO on getting FOG running on a ClearOS 5.2 install.
Not claiming this is 100% as I worked on it over a few days and may have forgotten something. I also suspect that some of the steps I do are actually not required but I have a running FOG server at the end of it so hopefully this will be helpful to other folks trying to do this. FOG v0.32 has a higher php requirement than the stock php on ClearOS so we have to upgrade that too here to get it all working.
Quick cheat sheet on getting FOG v0.32 running on a ClearOS 5.2 Install
Do a base OS install of ClearOS and put as much storage as you can at /images
Once you get the base install done register the box and then install the following additional software if it is not already installed and enable it.
As root run each of these commands on their own and say yes to the obvious questions.
Code: |
Note that FOG is going to install vsftpd so make sure internal FTP is turned off or better still not installed.
At some point I was able to get the builtin FTP working with FOG but that was on an older version. It would be my suggestion to run a dedicated ClearOS box for FOG and let it use the vsftpd it wants to. If you are trying to run FOG on a ClearOS box that already has FTP in use for something else then I would suggest disabling vsftpd and looking at making the "fog" user ftp login point at /images as this seems to be the key for making everything jive.
Add a local system account for fog:
Code: |
Set the password for this user to "password"
Code: |
Download the 0.32 version of FOG.
Code: |
Before you run the installer you need to make a quick change or two.
Code: |
Remove from packages=
php-gettext
Change:
clamav-update to simply: clamav
Then run fog installer.
Code: |
All being well you can answer the question based upon your specific setup and it will complete without issue.
Fix TFTP write errors (read was OK)
Code: |
If you use dnsmasq (clearos ) for DHCP then do the following:
Code: |
If you use some other DHCP on your network:
On a Linux DHCP server you must set:
next-server
On a Windows/Novell DHCP server you must set:
option 066 & 067
To IP of FOG Server
To fix issues with fog 0.32 and php (being unable to submit a task for FOG to process) - you need to upgrade into the 5.3.x tree.
I am using TimB's excellent repo for php upgrade (thanks as always Tim) and blantantly stealing the info from other posts here to upgrade php on this install.
Code: |
You are going to want to change the default password from "password" I am sure
Login to the fog management interface
[code[
http://<your server ip>/fog
[/code]
Click on the Users Icon (to heads icon second on left)
Edit the "fog" user and change the password*.
* Note that you are limited to what chars you can use so keep it fairly easy but secure. Avoid special chars.
Then click on the "Storage Management" icon > All Storage Nodes > DefaultMember
Then add the same password used above to Management Password:
Click on the Other Information icon (blue question mark)
Click FOG Settings
Scroll down to: TFTP Server
Set the same password in FOG_TFTP_FTP_PASSWORD
It's a good idea to review the settings in here for any glaringly obvious issues.
Lastly change the fog system user password (this is new for fog 0.32 I believe)
Login to the ClearOS box via SSH on on the terminal as root and run:
Code: |
This should now leave you with a working FOG install on ClearOS.
Go ahead and set a node to boot from network, do a quick register, create a blank image and associate with the host you just registered then create a quick task to upload an image on that node. When the node you registered reboots it should boot into Fog and start an image upload.
I probably missed something so if you get stuck post a message here and I'll see if I can help out. Fog can be a pain to get going but is worth it's weight in gold in larger networks and as always, if you can run it on ClearOS it's going to be stable and fast
Hope that helps some folks out.
Jim
Since the admin of this web page is working, no doubt very soon it will be renowned, due to
BalasHapusits feature contents.
my weblog - Buy VImax
Hi there i am kavin, its my first occasion to commenting anyplace, when i read
BalasHapusthis piece of writing i thought i could also make comment due to this sensible piece of writing.
my web site green coffee
This site was... how do you say it? Relevant!! Finally I've found something which helped me. Cheers!
BalasHapusmy web-site :: Cambogia trim
I have read so many content concerning the blogger
BalasHapuslovers however this paragraph is truly a good post, keep it up.
Check out my weblog Green coffee reviews
An interesting discussion is definitely worth comment.
BalasHapusI believe that you should publish more on this issue, it might
not be a taboo subject but generally people don't discuss these topics. To the next! Best wishes!!
Here is my web page 5HTP review ()
Quality content is the important to invite the users to go to see
BalasHapusthe web site, that's what this site is providing.
payday loans
Pretty! This was a really wonderful article. Many thanks for supplying these details.
BalasHapusFeel free to visit my weblog ... Automated pay days reviews
Stunning quest there. What occurred after? Thanks!
BalasHapusReview my blog ... Online HOme Careers