Private GIT

Skip to content
Snippets Groups Projects
Commit aad62a5a authored by rwerquin's avatar rwerquin
Browse files

fix install for sudo in user Centreon

parent 811a6b8b
Branches
No related tags found
No related merge requests found
......@@ -161,10 +161,10 @@ chmod u+s /usr/lib/nagios/plugins/check_icmp
yum install -y php54-php-pecl-rrd
# On to the PHP soft now, first let's install composer + update Centreon dependencies
curl -sS https://getcomposer.org/installer | scl enable php54 "php -- --install-dir=/usr/local/bin"
mv /usr/local/bin/composer.phar /usr/local/bin/composer
curl -sS https://getcomposer.org/installer | scl enable php54 "php -- --install-dir=/tmp"
mv /tmp/composer.phar /usr/local/bin/composer
cd /srv/centreon
scl enable php54 "composer update"
scl enable php54 "/usr/local/bin/composer update"
# Edit centreon.ini
sed -i 's/^\(username.=.*\)/username=centreon/' /srv/centreon/config/centreon.ini
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment