Thanks for the quick work.
Posts made by dfear
-
RE: Install FOG on Arch Linux
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]
-
RE: Install FOG on Arch Linux
[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]
-
RE: Install FOG on Arch Linux
[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]
-
RE: Install FOG on Arch Linux
[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 -
RE: Install FOG on Arch Linux
[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.
-
RE: Install FOG on Arch Linux
Minor change to: lib/arch/functions.sh
see: [url]https://bitbucket.org/david_fear/fog-project/commits/1eeff36f7050d2a6deb51e9fb47cffc4af4b8402[/url]
-
RE: Install FOG on Arch Linux
Fixed minor error.
lib/arch/functions.sh
Fix minor error in: configureMySql()
see: [url]https://bitbucket.org/david_fear/fog-project/commits/0765157ddcf38fe566382b570f73404cc6c5e596[/url] -
RE: Install FOG on Arch Linux
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] -
RE: Install FOG on Arch Linux
Minor fix needed. Mysqli module now enabled in php.ini file. See: [url]https://bitbucket.org/david_fear/fog-project/commits/bb542601d1e13897e06ffd5e1edf6f4f49a49f9e[/url]
-
RE: 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]
-
RE: Install FOG on Arch Linux
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.
-
RE: Install FOG on Arch Linux
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]
-
RE: Install FOG on Arch Linux
[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] -
RE: Install FOG on Arch Linux
[quote=“Tom Elliott, post: 33940, member: 7271”]SVN 2099 now contains the changes.
While I don’t have an Arch install to test on, I’m hoping it will work if you’d be willing to test/try?[/quote]
When I can find the time this week I will test out an install on arch and report back.
-
RE: Install FOG on Arch Linux
[quote=“Tom Elliott, post: 33935, member: 7271”]David,
I’m working to include this into SVN so we will, essentially, have support for Redhat/Centos/Mageia/#buntu/Debian etc…
However, the only difference I’m seeing is the addition of the folder arch with config.sh and functions.sh inside. I’ve never installed Arch as I’m more of an LFS fan myself if I’m going to do all that work. Anyway, how are these files called?[/quote]
I’ve added the relevant code for Arch Linux to displayOSChoices() and doOSSpecificIncludes() in lib/common/functions.sh
The relevant commit is #b596753 in my git repo.
-
RE: Install FOG on Arch Linux
Here are the result of my labour:
I cloned the svn repository ([url]https://svn.code.sf.net/p/freeghost/code/tags/1.2.0[/url]) and uploaded it to a git repo on bitbucket.org.
I have created the config.sh, functions.sh scripts for Arch Linux. I have also created the systemd service files (i.e. the initscipts).
PLEASE, if you want to run (or to help other run) Fog Project on Arch Linux, clone the git repo below and test on your Arch Linux install.
Project URL:
[url]https://bitbucket.org/david_fear/fog-project[/url]GIT repo:
git clone [url]https://david_fear@bitbucket.org/david_fear/fog-project.git[/url] -
RE: Install FOG on Arch Linux
[quote=“BryceZ, post: 11409, member: 2”]The shell scripts actually call the package manager to grab all the packages and then afterward the shell script overwrites the config files with the ones FOG needs.
Setting up FOG on a distro other than RHEL or Ubuntu is going to take some leg work. Even installing on Debian, which Ubuntu is based on, isn’t perfect with the official FOG installer, and it mostly comes down to two things: file paths and package names.
The big problem is mostly just finding out what the packages are named in whichever distro you choose; keeping in mind that two packages in Ubuntu might actually be one package in your distro, or one Ubuntu package might be split between multiple packages on your distro.
Once you have all the package dependencies sorted out, then you need to figure out where they store their files. Example: On Ubuntu the default web directory is /var/www/, but RHEL uses /var/www/html/ (side note: The Ubuntu Apache user is www, while the RHEL Apache user is apache).
The FOG server needs a LAMP stack, a TFTP server, an FTP server, an NFS server, and optionally a DHCP server. Glancing at the install scripts just now I notice that it also wants an SSH server, but I don’t recall what part of FOG uses SSH…
The distro dependent scripts, which list all the packages and file paths, are in <FOG installer directory>/lib/.[/quote]
That is exactly what needs to be done for any distribution that is currently not supported.
-
RE: Install FOG on Arch Linux
I am attempting to write distro dependent scripts for Arch Linux (more specifically for Arch Linux Arm). If anyone wants to help, let me know.