...
Code Block |
---|
$config['pageTitlePref'] = 'Jagger:: '; $config['rr_setup_allowedsyncpass'] = FALSE'randomstring'; #Need#syncpass to- toplease begenerate settedstrong tokey. TRUEIt’s inused orderby tosynchronization create- theinterfederation admintool user,generate thenwith: settr it-c back to FALSE-d '0123456789abcdefghijklmnopqrstuvwxyz' </dev/urandom | dd bs=32 count=1 2>/dev/null;echo $config['syncpassrr_rm_member_from_fed'] = 'randomstring'; #syncpass - please generate strong key. It’s used by synchronization - interfederation tool generate with: tr -c -d '0123456789abcdefghijklmnopqrstuvwxyz' </dev/urandom | dd bs=32 count=1 2>/dev/null;echoTRUE; $config['autoregister_federated'] = FALSE; #Need to be TRUE in order to autoregister users from Community Tagging Access $config['register_defaultrole'] = 'Member'; $config['rr_rm_member_from_fedShib_required'] = array('Shib_mail','Shib_username'); $config['Shib_username'] = TRUE'uid'; $config['autoregisterShib_federatedmail'] = FALSE; #Need to be TRUE in order to autoregister users from Community Tagging Access'mail'; $config['registerShib_defaultrolefname'] = 'MembergivenName'; $config['Shib_requiredfname'] = array('Shib_mail','Shib_username')'sn'; $config['Shibshibb_usernameupdatefullname'] = 'uid'TRUE; $config['Shib_mailShibboleth']['loginapp_uri'] = 'mailauth/fedauth'; $config['Shib_fname'Shibboleth']['logout_uri'] = 'givenName/Shibboleth.sso/Logout'; $config['Shibboleth']['Shib_fnameenabled'] = 'sn'TRUE; $config['shibbmetadata_validuntil_updatefullnamedays'] = TRUE'7'; $config['Shibboleth']['loginapp_uriunsignedmeta_iplimits'] = 'auth/fedauth';array('127.0.0.1'); $config['Shibboleth']['logout_uripolicy_dropdown'] = '/Shibboleth.sso/Logout'; $config['Shibboleth']['enabled'] = TRUEarray('0' => 'never', '1' => 'permit only if required', '2' => 'permit if required or desired'); $config['metadataarp_validuntilcache_daystime'] = '7'1200; $config['unsignedmeta_iplimitsgeocenterpoint'] = array('127.0.0.1-9.126273968749956','38.684286647936936'); $config['policy_dropdownmemcached'] = array('0' => 'never', '1' => 'permit only if required', '2' => 'permit if required or desired'); $config['arp_cache_time'] = 1200; $config['geocenterpoint'] = array('-9.126273968749956','38.684286647936936'); $config['memcached'] = array( 'optional'=>array( 'optionalhostname'=>array( => 'localhost', 'hostname' => 'localhost', 'portport' => '11211', 'weight' => '1' ) ); $config['cacheprefix'] = 'rr3_'; |
...
Code Block |
---|
$active_group = 'default'; $active_record = TRUE; $db['default']['hostname'] = 'localhost'; $db['default']['username'] = 'CHANGEME'; $db['default']['password'] = 'CHANGEME'; $db['default']['database'] = 'CHANGEME'; $db['default']['dbdriver'] = 'mysql'; $db['default']['dbprefix'] = ''; $db['default']['pconnect'] = TRUE; $db['default']['db_debug'] = TRUE; $db['default']['cache_on'] = FALSE; $db['default']['cachedir'] = ''; $db['default']['char_set'] = 'utf8'; $db['default']['dbcollat'] = 'utf8_general_ci'; $db['default']['swap_pre'] = ''; $db['default']['autoinit'] = TRUE; $db['default']['stricton'] = FALSE; |
memcached.php
Code Block |
---|
$config = array( 'default' => array( 'hostname' => '127.0.0.1', 'port' => '11211', 'weight' => '1', ), ); |
When you are done with the config files go to /opt/rr3/application
Populate tables of database
Code Block |
---|
./doctrine orm:schema-tool:create
If you going to run application in production mode then you also need to regenerate proxies:
./doctrine orm:generate-proxies |
Final Step
Edit config_rr.php file and set
Code Block |
---|
$config['rr_setup_allowed'] = TRUE; |
Open page https://yourhost.example.com/rr3/setup and fill the form. This will create the admin user. Make sure to set back $config['rr_setup_allowed'] = FALSE; after you submit the admin user