티스토리 뷰

Developer

Media WIKI 설치

rocksea 2012. 3. 28. 17:32

선수작업

  • apache2.2
  • php-5.4.0
  • mysql-5.5.0


다운로드 URL

http://www.mediawiki.org/wiki/Download


Wiki 설치

다운받은 mediawiki-1.18.2.tar.gz 파일을 /var/www/mediawiki 에 푼다.

test@test]#   mv mediawiki-1.18.2.tar.gz /var/www

test@test]#   cd /var/www

test@test]#   tar xvfz mediawiki-1.18.2.tar.gz


apache 설정

httpd.conf 설정

<VirtualHost wik.test.com:80>
   DocumentRoot "/var/www/mediawiki"
   ServerName test
   ErrorLog logs/test_error_log
   CustomLog logs/test_access_log common
   <Directory "/var/www/mediawiki">
      Options Indexes FollowSymLinks
      AllowOverride None
      Order allow,deny
      Allow from all
   </Directory>
</VirtualHost>


Extension

ldap Plug-in 설치

다운로드 url

http://www.mediawiki.org/wiki/Special:ExtensionDistributor/LdapAuthentication

관련 url

http://www.zimbra.com/forums/administrators/12693-mediawiki-ldap-authentication-zimbra.html

http://www.mediawiki.org/wiki/Extension:LDAP_Authentication/Generic_LDAP_Configuration_Examples


LocalSettings.php 설정

require_once '$IP/extensions/LdapAuthentication/LdapAuthentication.php';
 
$wgAuth = new LdapAuthenticationPlugin();
 
$wgLDAPDomainNames = array(
  'exampleNonADDomain'
);
 
$wgLDAPServerNames = array(
  'exampleNonADDomain' => 'exampleldapserver.example.com exampleldapserver2.example.com'
);
 
$wgLDAPSearchStrings = array(
  'exampleNonADDomain' => 'uid=USER-NAME,ou=people,dc=exampledomain,dc=example,dc=com'
);
 
$wgLDAPEncryptionType = array(
  'exampleNonADDomain' => 'ssl'
);
 
$wgMinimalPasswordLength = 1;


Admin_Links 설치

Configuration URL

http://www.mediawiki.org/wiki/Extension:Admin_Links

다운로드 URL

http://www.mediawiki.org/wiki/Special:ExtensionDistributor/AdminLinks


by rocksea


설치

$ tar xvfz admin_links_0.1.6.tar.gz -C /var/www/mediawiki-1.18.2/extensions/

LocalSettings.php 설정

include_once("$IP/extensions/AdminLinks/AdminLinks.php");

$wgGroupPermissions['my-group']['adminlinks'] = true;

간단히 설치가 끝났다.

 

by rocksea

'Developer' 카테고리의 다른 글

redmine1.3.2 mylyn-connector 설치  (0) 2012.04.17
[MongoDB#1] MongoDB Installation Guide.  (2) 2012.04.13
redmine  (0) 2012.03.26
Jboss Clustering  (0) 2012.03.19
Apache CGI 연동  (0) 2012.03.19
댓글