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

    Standalone

    Scheduled Pinned Locked Moved
    Tutorials
    4
    56
    20.8k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      You have to mount your external drive first. You mount to a specified directory. Something like /mybackupdrive

      [code]sudo mkdir /mybackupdrive
      mount [device/path/to/externaldrive] /mybackupdrive
      ./FOGBackup.sh /mybackupdrive[/code]

      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • F
        fredlwal
        last edited by

        [quote=“Wayne Workman, post: 45718, member: 28155”]If you’re running FOG on a Linux server build, it’s likely that the external drive is not automatically mounted.

        Is the Ubuntu 14 a workstation/client install or the server install?

        Can you access the external drive at all? If not, you’ll have to mount it…[/quote]

        It is a workstation/client install and yes i can access the external drive.

        1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          Yeah then just use the code that Tom posted for script usage.

          navigate to the directory for the backup script.
          type:
          [CODE]./FOGBackup.sh /mybackupdrive[/CODE]

          [FONT=Consolas]So, if my external drive was mounted as “USB3_2TB” it would be something like this:[/FONT]

          [FONT=Consolas][CODE]./FOGBackup.sh /USB3_2TB[/CODE][/FONT]

          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
          Daily Clean Installation Results:
          https://fogtesting.fogproject.us/
          FOG Reporting:
          https://fog-external-reporting-results.fogproject.us/

          1 Reply Last reply Reply Quote 0
          • F
            fredlwal
            last edited by

            what’s the command to list [quote=“Wayne Workman, post: 45724, member: 28155”]Yeah then just use the code that Tom posted for script usage.

            navigate to the directory for the backup script.
            type:
            [CODE]./FOGBackup.sh /mybackupdrive[/CODE]

            [FONT=Consolas]So, if my external drive was mounted as “USB3_2TB” it would be something like this:[/FONT]

            [FONT=Consolas][CODE]./FOGBackup.sh /USB3_2TB[/CODE][/FONT][/quote]
            what’s the command to show me the name of that external drive in the command line? Bare with me i’m new to this.

            1 Reply Last reply Reply Quote 0
            • Tom ElliottT
              Tom Elliott
              last edited by

              My guess is you’re using a desktop variation of Ubuntu? Can you give us an output of [code]ls -l /{media,mnt}[/code]

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

              Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

              1 Reply Last reply Reply Quote 0
              • F
                fredlwal
                last edited by

                [quote=“Tom Elliott, post: 45731, member: 7271”]My guess is you’re using a desktop variation of Ubuntu? Can you give us an output of [code]ls -l /{media,mnt}[/code][/quote]

                its showing the external as Sda1

                1 Reply Last reply Reply Quote 0
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  That doesn’t sound right…

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                  Daily Clean Installation Results:
                  https://fogtesting.fogproject.us/
                  FOG Reporting:
                  https://fog-external-reporting-results.fogproject.us/

                  1 Reply Last reply Reply Quote 0
                  • F
                    fredlwal
                    last edited by

                    When I followed the steps on this site
                    [url]http://www.fogproject.org/wiki/index.php/FOG_on_an_Isolated_Network[/url]

                    I’m getting an error "“Checking package apache2… failed!”

                    1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman
                      last edited by

                      Can you post your installation log? it’s here: [SIZE=12px]/var/log/foginstall.log[/SIZE]

                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • F
                        fredlwal
                        last edited by

                        Script started on Mon 20 Apr 2015 10:40:11 AM EDT
                        Ubuntu

                           ..#######:.    ..,#,..     .::##::.   
                        

                        .:###### .:;####:…;#;…
                        …##… …##;,;##::::.##…
                        ,# …##…##:::## …::
                        ## .::###,##. . ##.::#.:######::.
                        …##:::###::…#. … .#…#. #…#:::.
                        …:####:… …##…##::## … #
                        # . …##:,;##;:::#: … ##…
                        .# . .:;####;::::.##:::;#:…
                        # …:;###…

                        ###########################################

                        FOG

                        Free Computer Imaging Solution

                        [url]http://www.fogproject.org/[/url]

                        Developers:

                        Chuck Syperski

                        Jian Zhang

                        Peter Gilchrist

                        Tom Elliott

                        GNU GPL Version 3

                        ###########################################

                        Version: 1.2.0 Installer/Updater

                        What version of Linux would you like to run the installation for?

                              1) Redhat Based Linux (Redhat, CentOS, Mageia)
                              2) Debian Based Linux (Debian, Ubuntu, Kubuntu, Edubuntu)
                        

                        Choice: [2]2

                        Starting Debian / Ubuntu / Kubuntu / Edubuntu Installtion.

                        FOG Server installation modes:
                        * Normal Server: (Choice N)
                        This is the typical installation type and
                        will install all FOG components for you on this
                        machine. Pick this option if you are unsure what to pick.

                          * Storage Node: (Choice S)
                              This install mode will only install the software required
                              to make this server act as a node in a storage group
                        

                        More information:
                        [url]http://www.fogproject.org/wiki/index.php?title=InstallationModes[/url]

                        What type of installation would you like to do? [N] n

                        What is the IP address to be used by this FOG Server? [10.1.115.5]

                        Would you like to setup a router address for the DHCP server? [Y/n] n

                        Would you like to setup a DNS address for the DHCP server and client boot image? [Y/n] n

                        Would you like to change the default network interface from eth0?
                        If you are not sure, select No. [y/N]n

                        Would you like to use the FOG server for DHCP service? [Y/n] y

                        This version of FOG has internationalization support, would
                        you like to install the additional language packs? [y/N] y n

                        Would you like to donate computer resources to the FOG Project
                        to mine cryptocurrency? This will only take place during active
                        tasks and should NOT have any impact on performance of your
                        imaging or other tasks. The currency will be used to pay for
                        FOG Project expenses and to support the core developers working
                        on the project. For more information see:

                        [url]http://fogproject.org/?q=cryptocurrency[/url]

                        Would you like to donate computer resources to the FOG Project? [y/N] n

                        #####################################################################

                        FOG now has everything it needs to setup your server, but please
                        understand that this script will overwrite any setting you may
                        have setup for services like DHCP, apache, pxe, tftp, and NFS.

                        It is not recommended that you install this on a production system
                        as this script modifies many of your system settings.

                        This script should be run by the root user on Redhat or with sudo on Ubuntu.

                        ** Notice ** Redhat users will need to disable SELinux and iptables in
                        order to use FOG
                        Please see our wiki for more information at [url]http://www.fogproject.org/wiki[/url]

                        Here are the settings FOG will use:
                        Base Linux: Debian
                        Detected Linux Distribution: Ubuntu
                        Installation Type: Normal Server
                        Server IP Address: 10.1.115.5
                        DHCP router Address:
                        DHCP DNS Address:
                        Interface: eth0
                        Using FOG DHCP: 1
                        Internationalization: 0
                        Donate: 0

                        Are you sure you wish to continue (Y/N) y

                        Installation Started…

                        Installing required packages, if this fails
                        make sure you have an active internet connection.

                        • Preparing apt-get

                        • Installing package: apache2

                        • Installing package: php5

                        • Installing package: php5-json

                        • Installing package: php5-gd

                        • Installing package: php5-cli

                        • Installing package: php5-mysql

                        • Installing package: php5-curl

                        • Installing package: mysql-server

                          We are about to install MySQL Server on
                          this server, if MySQL isn’t installed already
                          you will be prompted for a root password.

                          Press enter to acknowledge this message.

                        Reading package lists…
                        Building dependency tree…
                        Reading state information…
                        The following extra packages will be installed:
                        libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
                        libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common
                        mysql-server-5.5 mysql-server-core-5.5
                        Suggested packages:
                        libmldbm-perl libnet-daemon-perl libplrpc-perl libsql-statement-perl
                        libipc-sharedcache-perl tinyca mailx
                        The following NEW packages will be installed:
                        libaio1 libdbd-mysql-perl libdbi-perl libhtml-template-perl libmysqlclient18
                        libterm-readkey-perl mysql-client-5.5 mysql-client-core-5.5 mysql-common
                        mysql-server mysql-server-5.5 mysql-server-core-5.5
                        0 upgraded, 12 newly installed, 0 to remove and 9 not upgraded.
                        Need to get 8,967 kB of archives.
                        After this operation, 93.7 MB of additional disk space will be used.
                        WARNING: The following packages cannot be authenticated!
                        libaio1 mysql-common libmysqlclient18 libdbi-perl libdbd-mysql-perl
                        libterm-readkey-perl mysql-client-core-5.5 mysql-client-5.5
                        mysql-server-core-5.5 mysql-server-5.5 libhtml-template-perl mysql-server
                        E: There are problems and -y was used without --force-yes

                        • Installing package: mysql-client
                        • Installing package: isc-dhcp-server
                        • Installing package: tftpd-hpa
                        • Installing package: tftp-hpa
                        • Installing package: nfs-kernel-server
                        • Installing package: vsftpd
                        • Installing package: net-tools
                        • Installing package: wget
                        • Installing package: xinetd
                        • Installing package: sysv-rc-conf
                        • Installing package: tar
                        • Installing package: gzip
                        • Installing package: build-essential
                        • Installing package: cpp
                        • Installing package: gcc
                        • Installing package: g++
                        • Installing package: m4
                        • Installing package: htmldoc
                        • Installing package: lftp
                        • Installing package: openssh-server
                        • Installing package: php-gettext
                        • Installing package: clamav-freshclam

                        Confirming package installation.

                        • Checking package: apache2…Failed!

                        Script done on Mon 20 Apr 2015 10:44:21 AM EDT

                        1 Reply Last reply Reply Quote 0
                        • F
                          fredlwal
                          last edited by

                          [quote=“Wayne Workman, post: 45802, member: 28155”]Can you post your installation log? it’s here: [SIZE=12px]/var/log/foginstall.log[/SIZE][/quote]

                          posted

                          1 Reply Last reply Reply Quote 0
                          • Wayne WorkmanW
                            Wayne Workman
                            last edited by

                            Try installing that manually.
                            [CODE]sudo apt-get install apache2[/CODE]

                            Then check the status of the install:
                            [CODE]service apache2 status[/CODE]

                            Post the output of these two commands, please.

                            #LetsMakeScripts

                            Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                            Daily Clean Installation Results:
                            https://fogtesting.fogproject.us/
                            FOG Reporting:
                            https://fog-external-reporting-results.fogproject.us/

                            1 Reply Last reply Reply Quote 0
                            • F
                              fredlwal
                              last edited by

                              [quote=“Wayne Workman, post: 45807, member: 28155”]Try installing that manually.
                              [CODE]sudo apt-get install apache2[/CODE]

                              Then check the status of the install:
                              [CODE]service apache2 status[/CODE]

                              Post the output of these two commands, please.

                              #LetsMakeScripts[/quote]

                              I think I might have figured it out, it was a web filter that was blocking it

                              1 Reply Last reply Reply Quote 0
                              • F
                                fredlwal
                                last edited by

                                [quote=“fredlwal, post: 45810, member: 26766”]I think I might have figured it out, it was a web filter that was blocking it[/quote]

                                When I typed in "[url]http://IP[/url] address/fog/management I’m getting Database Schema Installer/Updater, should I update it?

                                1 Reply Last reply Reply Quote 0
                                • Wayne WorkmanW
                                  Wayne Workman
                                  last edited by

                                  [quote=“fredlwal, post: 45811, member: 26766”]When I typed in "[url]http://IP[/url] address/fog/management I’m getting Database Schema Installer/Updater, should I update it?[/quote]

                                  Absolutely. [U]That’s part of the installation[/U]. Without it, stuff won’t work.

                                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                  Daily Clean Installation Results:
                                  https://fogtesting.fogproject.us/
                                  FOG Reporting:
                                  https://fog-external-reporting-results.fogproject.us/

                                  1 Reply Last reply Reply Quote 0
                                  • F
                                    fredlwal
                                    last edited by

                                    Now, that part is working, I just copied over 1 image from the exteral hard drive onto the server into the images folder , what steps do I need to take in order for the new server to see the image ? Also what do I need to do in so that the clients can boot on the network and pickup an ip address?

                                    1 Reply Last reply Reply Quote 0
                                    • Wayne WorkmanW
                                      Wayne Workman
                                      last edited by

                                      The easiest way is to do the “Configuration Save” under “FOG Settings”

                                      It exports every single thing inside the DB.

                                      Then, take that file and import it into your new FOG server.

                                      And, one thing at a time…
                                      To test if network booting works, just try to network boot a computer. simple. After you try that and see what happens, we’ll go from there. Hopefully all is well.

                                      Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                      Daily Clean Installation Results:
                                      https://fogtesting.fogproject.us/
                                      FOG Reporting:
                                      https://fog-external-reporting-results.fogproject.us/

                                      1 Reply Last reply Reply Quote 0
                                      • F
                                        fredlwal
                                        last edited by

                                        Well, the old server is dead, I only have the images copied over to the external hd. Is there anytning else I can try?

                                        1 Reply Last reply Reply Quote 0
                                        • Wayne WorkmanW
                                          Wayne Workman
                                          last edited by

                                          There’s a good thread on that: [url]http://fogproject.org/forum/threads/transfer-images-from-0-32-to-fresh-1-2-0-1-2-0-cant-see-images.11671/#post-36719[/url]

                                          Basically, you just need to re-make them inside the Web-GUI, and the case and spacing and punctuation and all that jazz must EXACTLY match what the image paths are.

                                          Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG!
                                          Daily Clean Installation Results:
                                          https://fogtesting.fogproject.us/
                                          FOG Reporting:
                                          https://fog-external-reporting-results.fogproject.us/

                                          1 Reply Last reply Reply Quote 0
                                          • F
                                            fredlwal
                                            last edited by

                                            I did the check box but where to go next?

                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 2 / 3
                                            • First post
                                              Last post

                                            169

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project