• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Really new, having trouble installing Fog

Scheduled Pinned Locked Moved
Linux Problems
3
15
10.6k
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B
    Bobfrid
    last edited by Jun 15, 2012, 4:34 PM

    Yeah, mine did that as well. There’s a couple things to try here:

    First, see if there are any Ubuntu updates available, sometimes that will resolve a few problems.

    Second, try installing things that fail during the fog setup manually using apt-get. So, for apache2:

    sudo apt-get install apache2

    This is tedious, but it works (or did for me). I would install the failed or missing package like that, run setup again and see where it had the problem that time and use apt-get again to install the package needed.

    One problem I had with our network was they installed MS Forefront and blocked the http sources for Ubuntu software. I ended up changing

    /etc/apt/sources.list

    I just replaced http with ftp and it was able to get updates again. Sometimes I had to wait a bit and run it again after 5 or 10 minutes as it does a lot of anonymous ftp logins and it seems to stop you for awhile. If this becomes necessary, I highly recommend making a backup of the original sources.list should you need the original.

    See how that goes and let us know again!

    1 Reply Last reply Reply Quote 0
    • A
      Alan Baker
      last edited by Jun 15, 2012, 8:27 PM

      I’m getting failure to download repository index’s, so I suspect I am being blocked. I will take it home and see if I have better luck on my home network. I will let you know how far I get.

      Thanks!

      Alan

      1 Reply Last reply Reply Quote 0
      • A
        Alan Baker
        last edited by Jun 18, 2012, 8:03 PM

        I did not have any better luck on my home network. I downloaded what I think is the right apache2 file to my /opt folder and extracted it. I now have a folder called “httpd-2.2.14” in my /opt folder. Now I can’t figure out which file to use with the sudo ./installxxx.sh command. There is a binbuild.sh file in the build folder, but I can’t get it to install. I’m sure I either have the wrong version of apache2 downoaded, or my command line syntax is incorrect. Is there no way to have ROOT access through the GUI?

        Also, is it worthwhile to upgrade to 9.10?

        Thanks in advance!

        1 Reply Last reply Reply Quote 0
        • K
          Kiweegie
          last edited by Jun 18, 2012, 8:38 PM

          Hi Alan

          I’ve always found it easier to start with a basic LAMP stack (including Apache, MySQL etc already) from the base installation of Ubuntu. That way you get all the apps you need with all the dependencies already taken care of.

          So you can either do a fresh install, or from a command prompt do:

          $ sudo tasksel

          pick LAMP instalation from the list (doing this from memory) and I’d also recommend putting in OpenSSH so you can use Putty or other SSH client of choice to access the terminal of the fogserver remotely - it will be a huge timesaver.

          Once done update and upgrade Ubuntu to get latest versions of everything

          $ sudo apt-get update
          $ sudo apt-get upgrade

          Then re-run your fog install if required.

          You’re may best to just reinstall Ubuntu with LAMP etc from scratch rather than trying to sort everything out - the install is pretty quick. I’ve done an idiots guide to installing both Ubuntu and Fog I’d be happy to send you if needed. I once knew nothing about Linux or Fog server but the helpful folks here and elsewhere put me on the right track and have done the guide to help the others in my team at work hwo have little to no Linux experience.

          Regards, Tom

          1 Reply Last reply Reply Quote 0
          • A
            Alan Baker
            last edited by Jun 18, 2012, 8:47 PM

            Hi Tom,

            Yes! Please send me both. Is there a secure way to send you my email address, or can you post links to the guides?

            Alan

            1 Reply Last reply Reply Quote 0
            • K
              Kiweegie
              last edited by Jun 18, 2012, 10:32 PM

              Hi Alan try these links from my public dropbox.

              [URL=‘https://dl.dropbox.com/u/9458832/Ubuntu install guide.pdf’]Ubuntu guide[/URL]
              [URL=‘https://dl.dropbox.com/u/9458832/Fog server set up and configuration.pdf’]Basic fog install guide[/URL]

              Both are basic and may not cover everything you need. If you have questions post back and I’ll do what I can to help.

              Regards, Tom

              1 Reply Last reply Reply Quote 0
              • A
                Alan Baker
                last edited by Jun 19, 2012, 6:58 PM

                Hi Tom,

                Should I install Ubuntu server ver 10.10 like in the instructions or the latest version? These instructions are very helpful.

                Thanks!

                Alan

                1 Reply Last reply Reply Quote 0
                • K
                  Kiweegie
                  last edited by Jun 19, 2012, 8:53 PM

                  Hi Alan up to you really but all the versions of Ubuntu server from 9.10 should be fine. We use 10.10 at work which is why the how to mentions that but you might want to try the latest version (12.04). Any of the .04 editions of Ubuntu are their Long Term Support (LTS) releases so should be most stable versions and obviously get updates and love from the devs for longer. Newer versions include the most recent security patches too but this is probably not as much of a concern if you’re only using it in a lab environment.

                  Hope all goes well. Post back if you have any problems. Regards, Tom

                  1 Reply Last reply Reply Quote 0
                  • A
                    Alan Baker
                    last edited by Jun 19, 2012, 10:58 PM

                    Hi Tom,

                    So I got server 10.10 installed. It appears that there is no GUI for server, but I’m not scared! I got Fog .32 downloaded and extracted per your instructions, but can’t figure out how to start the install process. I’ve looked for a installfog.sh file, but can’t seem to find it. I think the how-to guide is missing this step, or I just missed it…

                    Thanks in advance,

                    Alan

                    1 Reply Last reply Reply Quote 0
                    • K
                      Kiweegie
                      last edited by Jun 20, 2012, 1:49 PM

                      Hey Alan

                      yeah for a Windows or Mac oriented user the no GUI on linux servers by default can throw you. But its done that way for a reason - the GUI adds a significant performance hit on a server, which typically you want as streamlined as possible. Another reason I always recommend adding OpenSSH to a server so once you have that setup you can use PutTy or other client to SSH into the server. Allows you to copy and paste commands from forums like this if needed… 🙂

                      So initially you will have downloaded the installer in .gz format to somewhere on the server. I typically use /etc/opt but it could be anywhere within reason. For the sake of instructions here assume the above and alter as needed for your environment.

                      First you need to extract the archive.

                      [CODE]cd /etc/opt
                      tar -xvzf fog_0.32.tar.gz[/CODE]

                      Using the [I][B]ls[/B][/I] command you should now see the archive and extracted contents

                      [CODE]ls
                      fog_0.32 fog_0.32.tar.gz[/CODE]

                      cd into the extracted folder and then to the [I][B]bin[/B][/I] folder within that folder

                      [CODE]cd /fog_0.32/bin[/CODE]

                      Run the installer from there (using sudo to elevate privileges, assume you’re not running as root)

                      [CODE]sudo ./installfog.sh[/CODE]

                      rest of the instructions should keep you covered.

                      regards, Tom

                      1 Reply Last reply Reply Quote 0
                      • K
                        Kiweegie
                        last edited by Jun 20, 2012, 8:10 PM

                        Also check out the tutorials link theres some good stuff in there including an instlalling fog in ubtuntu which you may also find useful.

                        Tom

                        1 Reply Last reply Reply Quote 0
                        • A
                          Alan Baker
                          last edited by Jun 20, 2012, 8:23 PM

                          Hi Tom,

                          Well I finally got everything installed, and I can access the Fog management console. Now I will start trying to image my first machine, then work on sysprep and whatnot… Thanks for the help!

                          Alan

                          1 Reply Last reply Reply Quote 0
                          • 1 / 1
                          1 / 1
                          • First post
                            13/15
                            Last post

                          145

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project