SUSE
-
Has anyone been able to get FOG installed on openSUSE or SLE 11sp3? I have tried several times and keep getting stuck because the installer is looking for specific packages. One in particular is mysql-server so I install MySQL onto SLE 11sp3 but that still doesn’t work.
Oh how I would love to get FOG installed. Any advice or assistance?
-
Which installation option did you use when installing FOG to SUSE?
You should use the RedHat installation, I am loading a openSUSE VM.
-
[quote=“Jaymes Driver, post: 22213, member: 3582”]Which installation option did you use when installing FOG to SUSE?
You should use the RedHat installation, I am loading a openSUSE VM.[/quote]
I did select the Red Hat option but the MySQL and Apache packages must be named differently. I get a message stating I need to install mysql-server so I install mysql and mysql-client and still get that message. The script also fails when it is checking package httpd which should be apache2.
-
Thanks I’ll look into it for you!
-
[B]OPENSUSE[/B]
I am sure I can iron something out for you, however, it would be beneficial to load another version of linux that is known to work with FOG. I am working to find packages that will allow FOG to still operate, but I hit a snag everytime I find a fix. Currently the issues are:
Apache2 needs to be installed instead of httpd
mysql-community-server has to be installed instead of mysql-server
php5 must be installed instead of php, same for extensionshave not found replacements for:
mysql-client
php-cli
tftp-sever , not sure if yast2-tftp-server is a good replacement or not…
nfs-utils
perl-Crypt-PasswdMD5
calmav-update -
Well I tried SLED, the Enterprise version which appears to include those packages except the perl-Crypt-PasswdMD5.I was able to find that package in this repo - [CODE]http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11_SP3/[/CODE]
Here is my scenerio. I have over 100 Field Offices which each has a SLED PC in them. I want to be able to use these as a central imaging servers to eliminate shipping replacement notebooks to our field Agents. I am not sure if I had just one server in our Corporate Office which is located on the East Coast how long that would take to reimage a notebook on the West Coast. Most of our Offices do have a DSL or Cable internet connection but the images are around 20 - 25 GB in size.
Thus, I was trying to get FOG installed on a test machine to see what I would need to do to get FOG installed on all the other machines in each of the Offices. I also tossed around Clonezilla SE but FOG looks so much better with interface and feature set.
I guess if I can get the list of prereq packages installed first and then install FOG that would probably work as well. Although it sounds like the FOG installer retrieves these files during installation, correct?
-
Correct it retrieves the files and installs them for you, even configures them. IF you would like to help find working replacement packages, here’s a list of the packages fog needs:
httpd php php-gd php-cli php-gettext mysql mysql-server php-mysql dhcp tftp-server nfs-utils vsftpd net-tools wget xinetd tar gzip make m4 gcc gcc-c++ htmldoc perl perl-Crypt-PasswdMD5 lftp clamav-update
-
Here is what I found:
httpd (apache2)
php (php5)
php-gd (php5-gd)
php-cli (I believe SUSE includes php5-cli with php5)
php-gettext (php5-gettext)
mysql (mysql)
mysql-server (mysql is the server their is also the mysql-client)
php-mysql (php5-mysql)
dhcp (dhcp)
tftp-server ( tftp from this repo [url]http://download.opensuse.org/repositories/network/SLE_11_SP3/[/url])
nfs-utils (nfs-utils)
vsftpd (vsftpd)
net-tools (net-tools)
wget (wget)
xinetd (xinetd)
tar (tar)
gzip (gzip)
make (make)
m4 (m4)
gcc (gcc)
gcc-c++ (gcc-c++)
htmldoc (htmldoc from this repo [url]http://download.opensuse.org/repositories/home:/lnt-sysadmin:/web-support:/lntwww/SLE_11_SP3/[/url])
perl (perl)
perl-Crypt-PasswdMD5 (perl-Crypt-PasswdMD5 from this repo [url]http://download.opensuse.org/repositories/devel:/languages:/perl/SLE_11_SP3/[/url])
lftp (lftp from this rep [url]http://download.opensuse.org/repositories/home:/nmidc:/lftp/SLE_11_SP3/[/url])
clamav-update (clamav and sledsp3-clamav-7915)The items in parenthesis are the SUSE names. If there was a way to change httpd to apache2 and make mysql-server mysql-client if the client stuff is even needed. If not just remove mysql-server as mysql is the server. Then add the additional 4 repositories to the system FOG should install. Will that be difficult to change the package names or how does one even go about doing that? Could I manually install all these items and then just comment out the httpd and mysql-server checks? Not sure but really want to get FOG installed.
-
You can manually install the packages if you want, the script just makes fog “noob friendly” and searches and installs the packages for you. You can actually manually install them, then run the installer, it will tell you if a newer package is installed.
You can comment out the checks if you like, as I stated above, the installer is so it is noob friendly, after installation it will make sure the intended services are running.
-
I was looking at the installfog.sh but not sure where or what I need to comment out to skip the httpd and mysql-server checks?
I will start manually installing the above packages and see how things go. keeping my fingers crossed
-
the package installer and the function to check the installations are included in the fog0.32/lib/redhat.
the config.sh holds the file names to download
the function.sh does the work and the checks.
look for this subroutine:
[CODE]confirmPackageInstallation()
{
for x in $packages
do
echo -n " * Checking package: $x";
rpm -q $x >/dev/null 2>&1;
if [ “$?” != “0” ]
then
echo “…Failed!”
exit 1;else echo "...OK"; fi done;
}[/CODE]
Should be close to the bottom.
I would edit it to read [code]
confirmPackageInstallation()
{
for x in $packages
do
echo -n " * Checking package: $x";
rpm -q $x >/dev/null 2>&1;
if [ “$?” != “0” ]
then
echo “…Failed! But continuing setup! CHECK FOR RUNNING SERVICES MANUALLY!!!”;
else
echo “…OK”;
fi
done;
} [/code] -
Getting a little further.
Configuring services.
- Setting up fog user…OK
- Setting up and starting MySqlmysqld: unknown service
…Failed!
-
You guys want, I can chime in.
Sorry I wasn’t very communicative so far today, had to drive 2.5 hours down south and then back.
-
I would love all the help I can get right now. Chime away.
-
Well, it sounds like you’ve figured out all the details of the files needed to be installed.
What gets output when you run the command:
[code]cat /etc/release /etc/issue[/code] -
cat /etc/release /etc/issue
LSB_VERSION=“core-2.0-noarch:core-3.2-noarch:core-4.0-noarch:core-2.0-x86_64:core-3.2-x86_64:core-4.0-x86_64”
cat: /etc/lsb-release.d: Is a directory
SUSE Linux Enterprise Desktop 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3
SUSE Linux Enterprise Desktop 11 (x86_64)
VERSION = 11
PATCHLEVEL = 3Welcome to SUSE Linux Enterprise Desktop 11 SP3 (x86_64) - Kernel \r (\l).
-
And yet a little further…
- Setting up sudo settings…OK
- Setting up FOG Snapins…OK
- Setting up and building UDPCast…OK
- Installing init scriptsFOGMulticastManager: unknown service
FOGImageReplicator: unknown service
FOGScheduler: unknown service
…OK - Setting up FOG Services…OK
- Starting FOG Multicast Management Server…Failed!
-
Does SUSE support the service command?
I think you’d need to use /etc/init.d/<filename> restart for this to work on your particular system.
-
I reached the webpage I believe I am getting prompted for credentials. I am still having a slight issue with MySQL getting up and running so troubleshooting that at the moment. May call it a day and hit it again tomorrow.
I’ll keep you all posted.
-
Alright, I’ll probably be around more so tomorrow to help out where I can.