[ixpmanager] Upgrade From v3
Mike Hammett
ixp-manager at ics-il.net
Fri Jan 18 23:36:29 GMT 2019
I've noticed that the method of installing composer manually and via the script is done rather differently.
https://docs.ixpmanager.org/install/manually/
cd $IXPROOT EXPECTED_SIGNATURE = $( wget https://composer.github.io/installer.sig -O - -q ) php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');" ACTUAL_SIGNATURE = $( php -r "echo hash_file('SHA384', 'composer-setup.php');" ) if [ " $EXPECTED_SIGNATURE " = " $ACTUAL_SIGNATURE " ] ; then sudo -u www-data bash -c "HOME= $IXPROOT && cd $IXPROOT && php composer-setup.php --quiet" rm $IXPROOT /composer-setup.php else echo -e "\n\nERROR: Invalid installer signature for composer installation" rm $IXPROOT /composer-setup.php exit 1 fi
https://github.com/inex/IXP-Manager/blob/master/tools/installers/ubuntu-lts-1604-ixp-manager-v4.sh
##################################################################
### COMPOSER
##################################################################
echo -n "Installing / updating composer - PHP's package manager..."
log_break && echo -n "Installing composer - PHP's package manager... " &>> /tmp/ixp-manager-install.log
cd $IXPROOT
curl -so $IXPROOT/composer.phar https://getcomposer.org/download/1.7.3/composer.phar && \
chmod a+x $IXPROOT/composer.phar && \
$IXPROOT/composer.phar selfupdate
echo '[done]'
echo '[done]' &>> /tmp/ixp-manager-install.log
-----
Mike Hammett
Intelligent Computing Solutions
Midwest Internet Exchange
The Brothers WISP
----- Original Message -----
From: "Mike Hammett" <ixp-manager at ics-il.net>
To: "Nick Hilliard" <nick at inex.ie>
Cc: "INEX IXP Manager Mailing List" <ixpmanager at inex.ie>
Sent: Friday, January 18, 2019 5:30:24 PM
Subject: Re: [ixpmanager] Upgrade From v3
I'm working on the composer install. I'm getting:
The installation directory "/srv/ixpmanager" is not writable
However:
root at ixpm:/srv/ixpmanager# ls -hal .
total 1.1M
drwxrwxr-x 21 root root 4.0K Jan 18 18:27 .
It is indeed writable to root and group. What more do I need?
-----
Mike Hammett
Intelligent Computing Solutions
Midwest Internet Exchange
The Brothers WISP
----- Original Message -----
From: "Nick Hilliard" <nick at inex.ie>
To: "Mike Hammett" <ixp-manager at ics-il.net>
Cc: "INEX IXP Manager Mailing List" <ixpmanager at inex.ie>
Sent: Tuesday, October 2, 2018 10:38:56 AM
Subject: Re: [ixpmanager] Upgrade From v3
Mike Hammett wrote on 30/09/2018 23:13:
> Would I be looking at a v4 .env file and creating a new .env file,
> based on the information in the old applications.ini?
yep, exactly. It's not very difficult, but is also not possible to automate.
Nick
_______________________________________________
INEX IXP Manager mailing list
ixpmanager at inex.ie
Unsubscribe or change options here: https://www.inex.ie/mailman/listinfo/ixpmanager
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.inex.ie/pipermail/ixpmanager/attachments/20190118/f8a88423/attachment-0001.html>
More information about the ixpmanager
mailing list