XI Upgrade without Internet
Posted: Thu Apr 16, 2015 10:59 am
Our XI instance does not have internet access. What is the best way to upgrade manually? I noticed that the upgrade script will go out and download components.
Support for Nagios products and services
https://support.nagios.com/forum/
Code: Select all
if [ "$oldversion" -lt 409 ]; then
# update to auto_rescheduling_window
sed -i 's/^auto_rescheduling_window=180/auto_rescheduling_window=45/g' /usr/local/nagios/etc/nagios.cfg
# Install phantomjs - for Highcharts export server
(
cd /tmp
arch=`uname -m`
if [ "$arch" == "x86_64" ]; then
package="phantomjs-1.9.8-linux-x86_64"
else
package="phantomjs-1.9.8-linux-i686"
fi
echo "Installing PhantomJS..."
# Delete the old archive
#rm -rf phantomjs* #(edited to prevent file removal)
# Download the file
#wget http://assets.nagios.com/downloads/nagiosxi/packages/$package.tar #(Commented out to prevent download)
tar xf $package.tar