Documentation

addrepo

Install

Install addrepo

# apt-get install hubzero-addrepo

Configure

The web process needs to be able to run a number of scripts as the "apps" user. To do this it is necessary to configure sudo to allow this:

Edit /etc/sudoers and add the following lines

www-data        ALL=(apps)NOPASSWD:/bin/bash /www/myhub/components/com_contribtool/scripts/*tool.php *
www-data        ALL=(apps)NOPASSWD:/usr/bin/expect /www/myhub/components/com_contribtool/scripts/*tool.php *
www-data        ALL=NOPASSWD:/etc/init.d/apache2

Be sure to replace "/www/myhub" with the document root you are using for your hub.

Last modified:

  • Copyright © 2022 Hubzero
  • Powered by Hubzero®