These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for New Install Script for FreeBSD 9 on the new forum.
The GPL install.sh script fails miserably for FreeBSD 9.0-RELEASE.
So I made a few changes and fixed it: http://ftp.morante.net/pub/FreeBSD/extra/virtualmin/install.sh
I've written a FreeBSD specific script: http://ftp.morante.net/pub/FreeBSD/extra/virtualmin/freebsd.sh that optionally uses pre-built packages. It still mostly under development and I don't have the bandwidth to offer packages to the whole world. Currently only the 9.0 32-bit packages exist.
I have been working with Jamie to get the current install.sh script to work better with FreeBSD.
A lot of progress has been made and I am awaiting to hear back on some testing that is being done.
I do know that there are a few issues with post installation configuration.
I'll be glad to test it. Do I just download the gpl install script from the main website?
I attached a copy here of my latest version.
***** Be aware that this should be ran on a clean system. *****
The current known issues are related to a script named "virtualmin-base-standalone.pl" which is downloaded and does not look for a lot of the mail server related programs in the correct places based on the install script here. I have asked Jamie about this and am awaiting a reply as to wether or not I should now take a copy of the "virtualmin-base-standalone.pl" script and start making proposed changes to it as well or not.
I finally have a chance to test (sorry). Not sure if what you have attached is still your latest version, but I am running it on a fresh install now:
FreeBSD xxxxxxx.xxxx.xxxxx 9.1-RELEASE-p5 FreeBSD 9.1-RELEASE-p5 #0: Sat Jul 27 01:14:23 UTC 2013 root@amd64-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC amd64
Otherwise, if you have an newer version, I'll be glad to give that a test.
It has apparently failed (see attached screenshot). It's been stuck like that for the last 14 hours
Same here, I tried on FreeBSD 9.1, and it just kept "spitting dots" for 24 hours...
Does anyone have an update to the install.sh script for FreeBSD 9?
I come back to the system 2 days later and I see that it's done installing! I go through the first run wizard and it says that Clamd, Spamassasin, and MySQL are not installed. Then after going through the initial setup, I get this on system info page:
Failed to query Postfix config command to get the current value of parameter virtual_maps:
Postfx didn't get installed either. :-)
Oh my, I tried the public/stable GPL install.sh on a FreeBSD 8.4 install... got a mess:
pkg_add: package 'p5-Net-SSLeay-1.54' or its older version already installed pkg_add: package 'ruby-1.8.7.371,1' or its older version already installed pkg_add: package 'mysql-client-5.0.95' conflicts with mysql-client-5.5.30 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: pkg_add of dependency 'mysql-client-5.0.95' failed! pkg_add: package 'mysql-client-5.0.95' conflicts with mysql-client-5.5.30 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: package 'mysql-client-5.0.95' conflicts with mysql-client-5.5.30 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: pkg_add of dependency 'mysql-client-5.0.95' failed! pkg_add: package 'p5-DBD-mysql50-4.021' conflicts with p5-DBD-mysql-4.021 pkg_add: please use pkg_delete first to remove conflicting package(s) or -f to force installation pkg_add: pkg_add of dependency 'p5-DBD-mysql50-4.021' failed! pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.4-release/Latest...' by URL pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.4-release/Latest...' by URL pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.4-release/Latest...' by URL WARN - Something went wrong during installation: 0 WARN - FreeBSD pkd_add cannot reliably detect failures, or successes,
I just finished re-testing my FreeBSD specific script after making some tweaks: http://ftp.morante.net/pub/FreeBSD/extra/virtualmin/freebsd.sh on 9.1. The install has completed and I am able to run through the Virtualmin Post Installation setup wizard.
Two known problems:
MySQL setup throws an error when you select anything other than "Leave Default Settings".
flush_file_lines called on non-loaded file /var/db/mysql/my.cnf
Second problem is that clicking on the "Re-check and refresh configuration" button in Virtualmin does nothing.
Other than that the install script seems to work. If someone wants to give it a test, answer "no" when asked if you want to use packages so it builds from source. There are currently no packages for 9.1, I am building 32-bit packages now.
Yeah, there unfortunately appear to be some issues in the install script for FreeBSD... I'll make sure Joe knows about that so that it can be fixed up. It used to install cleanly on 8.x, but it looks like that's no longer the case either! We're looking into it :-)
-Eric
(thanks for all the hard work!!! : )
It's been some time, but I think FreeBSD's new package system will make this easier. I'm going to start working on providing a new install script using pkgng for 9.3 and 10.1.
The development of the new script can be followed here: https://www.virtualmin.com/node/38223