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

Install FOG on Arch Linux

Scheduled Pinned Locked Moved
Linux Problems
5
30
17.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.
  • D
    dfear
    last edited by Jul 24, 2014, 11:33 AM

    [quote=“Tom Elliott, post: 33958, member: 7271”]I already added 3.

    Can you also get the output of
    [code]cat /etc/release issue;
    lsb_release[/code][/quote]

    Thanks. I have also made the change in my git repo.

    Results from: cat /etc/release
    [CODE]NAME=“Arch Linux ARM”
    ID=archarm
    ID_LIKE=arch
    PRETTY_NAME=“Arch Linux ARM”
    ANSI_COLOR=“0;36”
    HOME_URL=“http://archlinuxarm.org/”
    SUPPORT_URL=“https://archlinuxarm.org/forum”
    BUG_REPORT_URL=“https://github.com/archlinuxarm/PKGBUILDs/issues”
    [/CODE]

    Results from: cat /etc/issue
    [CODE]Arch Linux \r (\l)[/CODE]

    Results from: lsb_release
    [CODE]LSB Version: 1.4[/CODE]

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Jul 24, 2014, 11:34 AM

      Cool,

      I already added that as a “guess” to how it get’s chosen, so hopefully this will mean it will work for us as well on a “default” basis.

      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
      • D
        dfear
        last edited by Jul 25, 2014, 7:43 PM

        I have tested the install scripts on an Arch Linux Install in Virtualbox. The install script almost got to the end, but failed at: * Starting FOG Multicast Management Server

        I think the problem lies somewhere in the systemd service files I wrote.

        The install log file is attached.

        [url=“/_imported_xf_attachments/1/1218_foginstall.log.txt?:”]foginstall.log.txt[/url]

        1 Reply Last reply Reply Quote 0
        • D
          dfear
          last edited by Jul 26, 2014, 9:39 PM

          I have tested the install scripts on a fresh install of Arch Linux in Virtualbox. The install script completes, yeah; but the apache server is not running php files as php scripts; it is displaying them as txt.

          The install log file is attached.

          1 Reply Last reply Reply Quote 0
          • D
            dfear
            last edited by Jul 26, 2014, 10:02 PM

            [quote=“dfear, post: 34185, member: 666”]I have tested the install scripts on a fresh install of Arch Linux in Virtualbox. The install script completes, yeah; but the apache server is not running php files as php scripts; it is displaying them as txt.

            The install log file is attached.[/quote]

            Couple of small fixes needed. apache now runs php scripts properly (using php-fpm). See: [url]https://bitbucket.org/david_fear/fog-project/commits/1a490d4b7bea45a21360461516bd45acc0c0e7fb[/url]

            1 Reply Last reply Reply Quote 0
            • T
              Tom Elliott
              last edited by Jul 27, 2014, 12:17 AM

              svn 2108 and 2109 have your modified config.sh and functions.sh files in the arch directory. Thanks for reporting and helping.

              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
              • D
                dfear
                last edited by Jul 31, 2014, 6:54 PM

                Minor fix needed. Mysqli module now enabled in php.ini file. See: [url]https://bitbucket.org/david_fear/fog-project/commits/bb542601d1e13897e06ffd5e1edf6f4f49a49f9e[/url]

                1 Reply Last reply Reply Quote 0
                • D
                  dfear
                  last edited by Jul 31, 2014, 7:35 PM

                  Minor regression in: lib/arch/functions.sh:
                  packages weren’t being installed automatically. Now fixed, see: [url]https://bitbucket.org/david_fear/fog-project/commits/306832a1c248aed0c74706958c68a26b5762bf7e[/url]

                  1 Reply Last reply Reply Quote 0
                  • D
                    dfear
                    last edited by Jul 31, 2014, 7:52 PM

                    Fixed minor error.
                    lib/arch/functions.sh
                    Fix minor error in: configureMySql()
                    see: [url]https://bitbucket.org/david_fear/fog-project/commits/0765157ddcf38fe566382b570f73404cc6c5e596[/url]

                    1 Reply Last reply Reply Quote 0
                    • D
                      dfear
                      last edited by Jul 31, 2014, 9:23 PM

                      Minor change to: lib/arch/functions.sh

                      see: [url]https://bitbucket.org/david_fear/fog-project/commits/1eeff36f7050d2a6deb51e9fb47cffc4af4b8402[/url]

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Jul 31, 2014, 10:14 PM

                        Added to svn, thank you.

                        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
                        • D
                          dfear
                          last edited by Sep 21, 2014, 6:24 PM

                          [quote=“Tom Elliott, post: 34577, member: 7271”]Added to svn, thank you.[/quote]

                          Slightly OT: What tools do you use to include my code from my Bitbucket git repo into the Fog svn repo? I found a program called git-svn, is this what you use?

                          The reason i’m asking is that it has been a while since I last worked on FOG and I would like to update my local & remote git repos with the latest changes from the FOG project svn repo.

                          1 Reply Last reply Reply Quote 0
                          • T
                            Tom Elliott
                            last edited by Sep 21, 2014, 10:43 PM

                            I actually hand mash out the code lines based on your repo, or if there were significant changes (too much for me to accurately type out) I copy the files in place using wget. I could use git-svn but I don’t feel comfortable doing commit’s and the like through my git repo.

                            You shouldn’t have any issue updating though. Just the normal svn or download install method.

                            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
                            • D
                              dfear
                              last edited by Sep 26, 2014, 5:33 PM

                              [quote=“Tom Elliott, post: 36837, member: 7271”]I actually hand mash out the code lines based on your repo, or if there were significant changes (too much for me to accurately type out) I copy the files in place using wget. I could use git-svn but I don’t feel comfortable doing commit’s and the like through my git repo.

                              You shouldn’t have any issue updating though. Just the normal svn or download install method.[/quote]

                              Thanks Tom.

                              [U]this is my setup:[/U]
                              sourceforge (SF) svn --> local git --> bitbucket.org git
                              I first clone from SF svn using git-svn, then add bitbucket repo as a remote, then push files from local git repo to bitbucket. The last thing I do is “git push -u origin master” & “git-svn rebase”.

                              When I code and test, I work with the local git repo and push changes to the bitbucket repo. Every so often I will get the latest changes from the SF svn repo using “git-svn rebase”.

                              [U]commands used (to setup working environment):[/U]
                              git-svn clone -s -rHEAD [url]https://svn.code.sf.net/p/freeghost/code[/url] trunk
                              git remote add origin [email]git@bitbucket.org[/email]:david_fear/fog-project.git
                              git push -u origin --all
                              git push -u origin --tags
                              git push -u origin master
                              git-svn rebase

                              1 Reply Last reply Reply Quote 0
                              • D
                                dfear
                                last edited by Sep 27, 2014, 7:39 PM

                                [U]couple of minor changes to:[/U]
                                lib/arch/functions.sh
                                lib/common/input.sh

                                see: [url]https://bitbucket.org/david_fear/fog-project/commits/07aec59fc231c8690de982f82936964832f73540[/url]

                                1 Reply Last reply Reply Quote 0
                                • D
                                  dfear
                                  last edited by Sep 27, 2014, 7:52 PM

                                  [U][SIZE=5][B]Good news!!![/B][/SIZE][/U]

                                  [SIZE=4]A part from a couple of minor issues, installation on Arch Linux works!!! [/SIZE]

                                  I have attached the install log from the last test and the only issues that need fixing are:

                                  [CODE] Version: 1.3.0 Installer/Updater

                                  …/lib/common/input.sh: line 46: ifconfig: command not found
                                  …/lib/common/input.sh: line 49: ifconfig: command not found
                                  …/lib/common/input.sh: line 53: ifconfig: command not found
                                  …/lib/common/input.sh: line 56: ifconfig: command not found
                                  …/lib/common/input.sh: line 60: route: command not found
                                  …/lib/common/input.sh: line 63: route: command not found
                                  What version of Linux would you like to run the installation for?[/CODE]

                                  That should fixed by the end of the weekend.

                                  I haven’t tested all possible installation scenarios. I have only tested the one that is shown in the attached install log.

                                  [url=“/_imported_xf_attachments/1/1383_foginstall.log.txt?:”]foginstall.log.txt[/url]

                                  1 Reply Last reply Reply Quote 0
                                  • D
                                    dfear
                                    last edited by Sep 28, 2014, 6:23 PM

                                    Fixed issues mentioned in previous post.

                                    changes made to:
                                    lib/common/input.sh
                                    Due to: “ifconfig and route commands, which were used in older versions of Linux. They are now deprecated in Arch Linux; you should use ip instead.”

                                    See: [url]https://bitbucket.org/david_fear/fog-project/commits/43dfbe784022f04002249ee3491f0ea3d35de77e[/url]

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

                                    132

                                    Online

                                    12.1k

                                    Users

                                    17.3k

                                    Topics

                                    155.3k

                                    Posts
                                    Copyright © 2012-2024 FOG Project