Install FOG on Arch Linux
-
[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]
-
svn 2108 and 2109 have your modified config.sh and functions.sh files in the arch directory. Thanks for reporting and helping.
-
Minor fix needed. Mysqli module now enabled in php.ini file. See: [url]https://bitbucket.org/david_fear/fog-project/commits/bb542601d1e13897e06ffd5e1edf6f4f49a49f9e[/url]
-
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] -
Fixed minor error.
lib/arch/functions.sh
Fix minor error in: configureMySql()
see: [url]https://bitbucket.org/david_fear/fog-project/commits/0765157ddcf38fe566382b570f73404cc6c5e596[/url] -
Minor change to: lib/arch/functions.sh
see: [url]https://bitbucket.org/david_fear/fog-project/commits/1eeff36f7050d2a6deb51e9fb47cffc4af4b8402[/url]
-
Added to svn, thank you.
-
[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.
-
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=“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 -
[U]couple of minor changes to:[/U]
lib/arch/functions.sh
lib/common/input.shsee: [url]https://bitbucket.org/david_fear/fog-project/commits/07aec59fc231c8690de982f82936964832f73540[/url]
-
[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]
-
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]