Posted on 01-18-2014 09:30 PM
We have put out a new version of the NetSUS Server. The source has been updated on GitHub and it is also available as both an OVA and an installer.
Added features:
Posted on 01-19-2014 01:51 PM
nice!
Posted on 01-19-2014 01:51 PM
nice!
Posted on 01-20-2014 07:21 PM
Can anybody attest to whether or not the installer has actually worked for them, using CenOS, or not?
Posted on 01-20-2014 07:30 PM
This has worked for me but I'm using Ubuntu 12.04. I ran into a minimal issue though that I need to upgrade Apache first on the appliance to make it to work.(upgrading from NetSUS 2.0).
Posted on 01-21-2014 04:11 AM
So I tried to install, on CentOS 6.5 now twice to no avail. I tried on a new box and I tried, for whatever dumb reason, atop one of our JDSs boxes as well.
bash NetSUS_3.0.run
Verifying archive integrity... All good.
Uncompressing NetSUS Installer............
Starting the NetSUS Installation
Checking installation requirements...
Checking for a supported OS...
Checking for a 64-bit OS...OK
Passed all requirements checking!
Is this a standalone installation?
Answer yes unless you are creating an image of the appliance to deploy in multiple locations
Standalone? (y/n): y
The following will be installed
* Appliance Web Interface
* NetBoot Server
* Software Updates Server
Proceed? (y/n): y
Installing...
Verifying archive integrity... All good.
Uncompressing WebAdmin Installer.....................................................................................................................................................................................................
Starting Web Application Installation
Restarting apache...
OK
Finished deploying the appliance web application
Verifying archive integrity... All good.
Uncompressing NetBoot Installer.............................
Starting NetBoot Installation
smbuser already exists
afpuser already exists
OK
Finished deploying NetBoot
Verifying archive integrity... All good.
Uncompressing SUS Installer....................
Starting SUS Installation
OK
Finished deploying the appliance web application
The NetSUS has been installed.
If you are upgrading NetSUS, you can simply start using it.
This simply hasn't worked for me at all. Sadly, the only log I found only repeats what is said in the installer.
[2014-01-21 09:18:06]: Starting the NetSUS Installation
[2014-01-21 09:18:06]: Checking installation requirements...
[2014-01-21 09:18:06]: Checking for a supported OS...
[2014-01-21 09:18:06]:
[2014-01-21 09:18:06]: Checking for a 64-bit OS...
[2014-01-21 09:18:06]: OK
[2014-01-21 09:18:06]: Passed all requirements checking!
[2014-01-21 09:18:11]: Installing...
[2014-01-21 09:18:11]: Starting Web Application Installation
[2014-01-21 09:18:11]: Restarting apache...
[2014-01-21 09:18:11]: OK
[2014-01-21 09:18:11]: Finished deploying the appliance web application
[2014-01-21 09:18:12]: Starting NetBoot Installation
dhcpd: no process killed
[2014-01-21 09:18:12]: OK
[2014-01-21 09:18:12]: Finished deploying NetBoot
[2014-01-21 09:18:12]: Starting SUS Installation
[2014-01-21 09:18:12]: OK
[2014-01-21 09:18:12]: Finished deploying the appliance web application
[2014-01-21 09:18:12]:
[2014-01-21 09:18:12]: The NetSUS has been installed.
[2014-01-21 09:18:12]: If you are upgrading NetSUS, you can simply start using it.
[root@netsus1 logs]#
Posted on 01-21-2014 12:13 PM
I wonder why JAMF would need to touch rc.local? That should be reserved for the local admin and perhaps an init script could handle this better. Just my two cents.
Posted on 01-21-2014 01:57 PM
For those using Ubuntu 12.04.3.
I did both an upgrade(2.0 to 3.0) and a clean install and have to do a couple of steps before running the installer.
1.sudo apt-get update.
Let it download all updates.
2. sudo apt-get upgrade.
3. sudo ap-get clean (clean the cache).
4. sudo wget http://jamfsoftware-content.s3.amazonaws.com/downloads/NetSUS_3.0.run.
5. sudo sh NetSUS_3.0.run.
Hope this helps.
Posted on 01-22-2014 01:58 PM
So I did some debugging - the testOSRequirements.sh makes a bad assumption. In the script you check for /usr/bin/lsb_release and if it exists, you assume it's an ubuntu OS. That file exists on our CentOS servers (it's part of the redhat-lsb-core rpm).
Posted on 02-13-2014 09:33 AM
Figured I should post this for anyone else running into the same issue. Due to a syntax issue in the same file that @alden mentions, the install script also doesn't properly detect your OS leading to an issue with settings not getting applied properly. For your sanity, it's probably best to explicitly export a variable named "detectedOS' prior to running the installer, as well as temporarily moving the "lsb_release" file if it exists on your system and you're not installing on Ubuntu.
export detectedOS='OSType'
/path/to/NetSUS_3.0.run
OSType needs to match the OS you're installing to, and be one of "Ubuntu", "CentOS", or "RedHat". Case sensitive.
Posted on 02-14-2014 09:32 AM
Posted on 03-06-2014 03:33 PM
I've started working on modifying this to work with multiple netboot images (and setting a default netboot image).
The info I've found doesn't explain the AFP part of the dhcp options - "80:31:61:66:70...". I know that the 31 is the length and the 31 characters are the afp URI, but I'm not sure how to deal with this in the multiple image situation.
The website I'm referencing is (I have to use the google cache because the original website seems to be broken):
http://webcache.googleusercontent.com/search?q=cache:gpUsR3fiGJMJ:brandon.penglase.net/index.php%3Ftitle%3DGetting_*nix_to_Netboot_Macs+&cd=16&hl=en&ct=clnk&gl=us
Posted on 03-27-2014 07:08 AM
Someone already installed in a RedHat machine? Please share your tips, I have some doubts, like what kind of installation are you using (web server?)?
Posted on 03-27-2014 07:42 AM
I have, successfully, installed on a RedHat machine. There are a few bugs with version 3.0 that require workarounds. But it looks like they should be fixed soon, they are now fixed in the GitHub repository. If you are brave enough to pull down the source and build your own installer, you shouldn't have any issues (hopefully).
https://github.com/jamf/NetSUS
It's not as scary as it sounds. Just download the entire project. 'cd' into the NetSUS directory, and run the 'CreateNetSUSInstaller.sh'. Use the .run file that is created and go. If you don't want to go this route, you can wait until the next release.
Posted on 03-27-2014 08:22 AM
I've had success with CentOS 6.5 and the aforementioned workarounds (export detectedOS=CentOS), but I'm still having trouble with RHEL 6.4. I'll keep at it, but I've tried what I believe is the latest GitHub source and error remains the same with RHEL. That said, after rebuilding the installer, the workaround is no longer necessary to install successfully on CentOS 6.5.
The RHEL 6.4 error remains as follows (applianceinstaller.log reads the same as below) ...
Verifying archive integrity... All good.
Uncompressing NetSUS Installer.....................
Starting the NetSUS Installation
Checking installation requirements...
Checking for a supported OS...testOSRequirements.sh: line 34: logevent: command not found
RedHat
Checking for a 64-bit OS...OK
Aborting installation due to unsatisfied requirements.
Installation failed. See /var/appliance/logs/applianceinstaller.log for more details.
Posted on 03-27-2014 08:35 AM
The repository was just updated this morning so, if you haven't tried it since then, I would suggest you try again. You shouldn't need any workarounds.
Posted on 03-27-2014 08:43 AM
Yeah, I gave it a whirl after your post. It did seem to correct issue with CentOS 6.5 (no longer needing export workaround to install successfully). I'm possibly screwing up/still missing something with RHEL 6.4.
Posted on 03-27-2014 02:13 PM
So the RHEL 6.4 servers were not fully patched. Server team brought the servers to latest patch level and the rebuilt installer is working great. Sorry for confusion and thanks for the info!
Posted on 05-08-2014 09:32 AM
Using a clean install of Cent OS 6.5 Basic Server in Hyper-V and I'm getting the following error when trying to turn on NetSUS in /var/log/messages..
No subnet declaration for eth0 (x.x.x.x)
Not configured to liste on any interfaces
** ignoring request on eth0.
Any idea's?
Posted on 05-08-2014 10:40 AM
Make sure you're inputting the local subnet the server is on. For example, if the IP address for your server is 10.0.1.56 and your subnet mask is 255.255.255.0. You would enter:
Subnet: 10.0.1.0
Netmask: 255.255.255.0
You can scope additional subnets, provided you have IP helpers setup, but it at minimum has to listen on the local subnet.
Posted on 05-08-2014 11:27 AM
^^This; the IP/subnet settings have to be dead on.
Posted on 05-13-2014 12:56 PM
I'm going to throw out the dummy questions here:
Verifying archive integrity... All good. Uncompressing NetSUS Installer............ Starting the NetSUS Installation Checking installation requirements... Checking for a supported OS...Ubuntu Checking for a 64-bit OS...OK Passed all requirements checking! Is this a standalone installation? Answer yes unless you are creating an image of the appliance to deploy in multiple locations Standalone? (y/n): y The following will be installed Appliance Web Interface NetBoot Server * Software Updates Server Proceed? (y/n): y Installing... NetSUSInstaller.sh: line 111: sestatus: command not found Verifying archive integrity... All good. Uncompressing WebAdmin Installer..................................................................................................................................................................................................... Starting Web Application Installation E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). ERROR: Site default-ssl not properly enabled: /etc/apache2/sites-enabled/default-ssl is a real file, not touching it Restarting apache... OK Finished deploying the appliance web application Verifying archive integrity... All good. Uncompressing NetBoot Installer............................. Starting NetBoot Installation E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). smbuser already exists afpuser already exists OK Finished deploying NetBoot Verifying archive integrity... All good. Uncompressing SUS Installer.................... Starting SUS Installation E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution). OK Finished deploying the appliance web application The NetSUS has been installed. If you are upgrading NetSUS, you can simply start using it. Restarting Services... If you are installing NetSUS for the first time, please follow the documentation for setup instructions.