Difference between revisions of "Mediawiki installation notes"
(muegre) |
|||
Line 1: | Line 1: | ||
= Installation notes = | = Installation notes = | ||
− | |||
Basic configuration (taken form internet and edited): | Basic configuration (taken form internet and edited): | ||
− | {{File|/var/www/mediawiki-folder/|<pre | + | {{File|/var/www/mediawiki-folder/| |
− | + | <pre />}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
LDAP Setup: | LDAP Setup: | ||
− | {{File|/var/www/mediawiki-folder/|<pre | + | {{File|/var/www/mediawiki-folder/| |
− | + | <pre />}} | |
− | |||
− | |||
− | |||
− | |||
− | / | ||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
Last version: | Last version: | ||
− | {{Test|/var/www/mediawiki-folder/| | + | {{Test|/var/www/mediawiki-folder/| # LDAP require_once "$IP/extensions/LdapAuthentication/LdapAuthentication.php"; $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array("GridUIS"); $wgLDAPServerNames = array("GridUIS" => "192.168.66.5"); $wgLDAPUseLocal = true; $wgLDAPEncryptionType = array("GridUIS" => "clear"); # $wgLDAPPort = array('GridUIS' => 389); $wgLDAPProxyAgent = array("GridUIS" => "cn=nss,ou=admin,dc=uis,dc=edu,dc=co"); $wgLDAPProxyAgentPassword = array("GridUIS" => "griduis2o14sant"); $wgLDAPSearchAttributes = array("GridUIS" => "uid"); $wgLDAPBaseDNs = array("GridUIS" => "dc=uis,dc=edu,dc=co"); # To pull e-mail address from LDAP $wgLDAPPreferences = array("GridUIS" => array( "email" => "mail")); $wgLDAPDebug = 3; //$wgLDAPDebug = 4; //for debugging LDAP $wgDebugLogGroups["ldap"] = "$IP/extensions/LdapAuthentication/perrito.log" ; # aparte $wgShowExceptionDetails = true; //for debugging MediaWiki $wgDebugLogFile = "/var/log/mediawiki/debug-{$wgDBname}.log"; }} |
− | # LDAP | ||
− | require_once "$IP/extensions/LdapAuthentication/LdapAuthentication.php"; | ||
− | $wgAuth = new LdapAuthenticationPlugin(); | ||
− | $wgLDAPDomainNames = array("GridUIS"); | ||
− | $wgLDAPServerNames = array("GridUIS" => "192.168.66.5"); | ||
− | $wgLDAPUseLocal = true; | ||
− | $wgLDAPEncryptionType = array("GridUIS" => "clear"); | ||
− | # $wgLDAPPort = array('GridUIS' => 389); | ||
− | $wgLDAPProxyAgent = array("GridUIS" => "cn=nss,ou=admin,dc=uis,dc=edu,dc=co"); | ||
− | $wgLDAPProxyAgentPassword = array("GridUIS" => "griduis2o14sant"); | ||
− | $wgLDAPSearchAttributes = array("GridUIS" => "uid"); | ||
− | $wgLDAPBaseDNs = array("GridUIS" => "dc=uis,dc=edu,dc=co"); | ||
− | # To pull e-mail address from LDAP | ||
− | $wgLDAPPreferences = array("GridUIS" => array( "email" => "mail")); | ||
− | $wgLDAPDebug = 3; | ||
− | //$wgLDAPDebug = 4; //for debugging LDAP | ||
− | $wgDebugLogGroups["ldap"] = "$IP/extensions/LdapAuthentication/perrito.log" ; | ||
− | # aparte | ||
− | $wgShowExceptionDetails = true; //for debugging MediaWiki | ||
− | $wgDebugLogFile = "/var/log/mediawiki/debug-{$wgDBname}.log"; | ||
− |
Revision as of 19:15, 21 May 2015
Installation notes
Basic configuration (taken form internet and edited):
LDAP Setup:
Last version:
{{Test|/var/www/mediawiki-folder/| # LDAP require_once "$IP/extensions/LdapAuthentication/LdapAuthentication.php"; $wgAuth = new LdapAuthenticationPlugin(); $wgLDAPDomainNames = array("GridUIS"); $wgLDAPServerNames = array("GridUIS" => "192.168.66.5"); $wgLDAPUseLocal = true; $wgLDAPEncryptionType = array("GridUIS" => "clear"); # $wgLDAPPort = array('GridUIS' => 389); $wgLDAPProxyAgent = array("GridUIS" => "cn=nss,ou=admin,dc=uis,dc=edu,dc=co"); $wgLDAPProxyAgentPassword = array("GridUIS" => "griduis2o14sant"); $wgLDAPSearchAttributes = array("GridUIS" => "uid"); $wgLDAPBaseDNs = array("GridUIS" => "dc=uis,dc=edu,dc=co"); # To pull e-mail address from LDAP $wgLDAPPreferences = array("GridUIS" => array( "email" => "mail")); $wgLDAPDebug = 3; //$wgLDAPDebug = 4; //for debugging LDAP $wgDebugLogGroups["ldap"] = "$IP/extensions/LdapAuthentication/perrito.log" ; # aparte $wgShowExceptionDetails = true; //for debugging MediaWiki $wgDebugLogFile = "/var/log/mediawiki/debug-{$wgDBname}.log"; }}