Making Fog Portable
-
@juice381 It’s been a hot minute since I’ve used this, but if any changes need made to work with the current, it will be easy and probably only take a few minutes. If you need help setting it up, just ask.
https://github.com/wayneworkman/FOGUpdateIP -
Thanks guys much appreciated. Currently using Kubuntu as my base OS should I switch to CentOS? Not really familiar with that Linux flavor, but I learn quick.
-
@Wayne-Workman I got this working partially. Using your scripts. The only issue i’m having is with the cron job its not running. I’ll leave it for another day.
-
@juice381 said in Making Fog Portable:
I’ll leave it for another day.
If you can post the contents of
crontab -e
we can probably figure out what’s going on. It’s been a good moment since I’ve used these scripts, but I promise they were working on Fedora and CentOS lol. They probably will work on RHEL just fine too. -
@Wayne-Workman So I’m back at this. Was caught up in an implementation for the last 4 months.
If you have some time to assist please let me know.
Where I am now. Started from scratch. Installed latest FOG version Running Version 1.3.0-RC-8
SVN Revision: 5949Running on an ODROID C2 using ARMBIAN OS (Debian based) Fog is running no problems there. However this version doesn’t create a /opt/fog/.fogsettings file. So your script immediately exited. So i created a blank version and now the script ran. Where can I see if anything was changed ? Since the file is empty doesn’t look like its doing anything.
Once again I appreciate the assist here.
-
@juice381 said in Making Fog Portable:
Running on an ODROID C2 using ARMBIAN OS (Debian based) Fog is running no problems there.
That’s why. Right now, those scripts I wrote only will work on Fedora or CentOS.
So, two options. 1. Help me make a Debian version. 2. Switch to Fedora or CentOS.
-
@juice381 said in Making Fog Portable:
ODROID C2
Warning this post is off-point: I have not used an odroid device before, but I have used a raspberry pi. IF you are going to use the onboard micro sd for storage, used a good quality class 10 or uhs-1 device if you want any speed out of your device. I initially made the mistake of just going to the local big box store and picked up a cheap micros SD card. My first impression of the pi as it was junk, and unusably slow. After doing some research I decided to replace the sd card with something faster. Once I replaced the boot media with a samsug evo micro sd card the pi came to life. Depending on the number of images you need, the micro sd card may be all you need.
-
@george1421 Thanks, I too used an rpi, version 3 and updated to the SD card the same. My problem here was with the 100 meg Ethernet nic. The odroid c2 has significantly more memory, processing power, comes with a gigabit nic. in addition I have the option to purchase a superfast emmc card to host my os on.
-
@Wayne-Workman What do you need from me sir? How can I be of assistance in getting this to work? I would have no issues switching to one of the os’s you mentioned but I don’t think they have an arm based one developed.
-
@juice381 said in Making Fog Portable:
I would have no issues switching to one of the os’s you mentioned but I don’t think they have an arm based one developed.
Sure they do.
https://arm.fedoraproject.org/Of course, I’m still down with developing for Debian, I think Debian is just super-cool. It’s the most “free” of all Linux distributions.
-
@Wayne-Workman Crap! how did I miss that? None the less I’ll try this again tonight.
I would like to get this working in debian as well though, as I am much more comfortable navigating that environment.
-
@juice381 said in Making Fog Portable:
I would like to get this working in debian as well though, as I am much more comfortable navigating that environment.
This probably would not be a bad decision in the long run either. Since debian on the ARM processors is very popular. The hardest part is getting fog installed on an arm processor and working well. The rest is just config files that need to be updated for portability.
-
@george1421 et all. I’m still around. I can probably help
-
@Tom-Elliott Go for it. Don’t you already have commit permissions on that repo lol?
-
@george1421 ubuntu mate is the default os recommended by odroid and i have been testing armbians port and find it to be better. I’m no developer, but let me know how i can assist.
-
@juice381 If you know how to Google and BASH, you can help. Just dive in and start debugging. Are you familiar with dnsmasq? That’s what it’s using.
-
@Wayne-Workman I’m familiar with dnsmasq however bash not my strong point here. My career hgas taking me the Microsoft path need me to write a powershell script, vb, batch i’m your man. I’m sure I can figure out bash just might take me some time to understand the syntax.
-
@juice381 one note on this. I noticed I am unable to install MYSQL on this OS however can in armbian SMH!
-
@juice381 said in Making Fog Portable:
@Wayne-Workman I’m familiar with dnsmasq however bash not my strong point here. My career hgas taking me the Microsoft path need me to write a powershell script, vb, batch i’m your man. I’m sure I can figure out bash just might take me some time to understand the syntax.
You will find the roots of batch, vb and powershell in bash (actually the unix command shell). The unix shell has been around for a really long time and is the mother of them all. With that said, if you know programming concepts then what you are missing is the syntax. That is where google will fill in the gaps. Bash programming is not as cryptic as perl programming, but is much more powerful than batch. Now that I have to totally confused, don’t worry. Work with it a bit and you will get the hang of the power it has.
-
I just setup a VM with Debian 8, going to mess with this today.