个人工具
登录
查看“模板:Lucid/Wiki”的源代码 - Ubuntu中文
模板
讨论
查看源代码
历史
搜索
导航
首页
最近更改
随机页面
页面分类
帮助
编辑
编辑指南
沙盒
新闻动态
字词处理
工具
链入页面
相关更改
特殊页面
页面信息
查看“模板:Lucid/Wiki”的源代码
来自Ubuntu中文
←
模板:Lucid/Wiki
跳转至:
导航
,
搜索
因为以下原因,你没有权限编辑本页:
您所请求的操作仅限于该用户组的用户使用:
用户
您可以查看与复制此页面的源代码。
= Wiki software = Wiki software allows an organization to have a manual that can be edited by a number of collaborators. Wikipedia is the best known example. === MediaWiki === [http://www.mediawiki.org MediaWiki] is the free, open source server software that Wikipedia uses. It is scalable to very large uses. It runs on the [[#LAMP server installation|LAMP server stack]] (which uses the MySQL database and is available as an installation option with the (K)ubuntu [[#Servers|server]]), or it can be used with a postgreSQL database. Installation instructions are [http://www.mediawiki.org/wiki/Manual:Running_MediaWiki_on_Ubuntu here]. Also see these <!--->[http://ubuntudoctorsguild.dyndns.org/mediawiki/index.php/MediaWiki tips]<--->[[MediaWiki_tips|tips]]. Install from the repositories: sudo apt-get install mediawiki *Edit the config file so it recognizes MediaWiki: sudo nano /etc/mediawiki/apache.conf Uncomment (remove the #) the line: Alias /mediawiki /var/lib/mediawiki *Restart apache2: sudo /etc/init.d/apache2 restart *Run/install MediaWiki by logging into: <nowiki>http://localhost/mediawiki</nowiki> :You will be prompted for configuration variables to be set. The trickiest is the MySQL user/password. Hopefully you remember your MySQL superuser that you set at the time of LAMP (or MySQL) installation. *Copy your local settings configuration file to /etc/mediawiki (and make a backup of the original): sudo cp /var/lib/mediawiki/config/LocalSettings.php /etc/mediawiki sudo mv /var/lib/mediawiki/config/LocalSettings.php /var/lib/mediawiki/config/LocalSettings_at_install.php Edit your configuration variables there: sudo kate /etc/mediawiki/LocalSettings.php *If you are using a virtual host server, make a symbolic link (named in this example ''mywiki'') from your /usr/share/mediawiki installation folder to your /var/www folder: sudo ln -s /usr/share/mediawiki /var/www/''mywiki'' then make sure you have an apache2 virtual hosts configuration file (in /etc/apache2/sites-available) that points to /var/www/''mywiki'' as the DocumentRoot. Make a symbolic link from your virtual host configuration file in /etc/apache2/sites-available to /etc/apache2/sites-enabled to enable it. Restart apache2 after enabling the sites. (Warning: MediaWiki is not secure at installation and can be easily hacked by new users. Do not publish your wiki to the Internet before reading all the instructions and changing the configuration file (LocalSettings.php) so that it is more secure.) You would then access the database at: <nowiki>http://my.virtualwikihost.org</nowiki> *How do I import a copy of Ubuntuguide into my own wiki? :See [[Ubuntuguide XML exports|this page]]. ==== ReCaptcha ==== [http://recaptcha.net/learnmore.html ReCaptcha] is a webservice [http://en.wikipedia.org/wiki/CAPTCHA CAPTCHA] module to present a text challenge for user-input that is unreadable by computer bots, lessening the chance of automated input (spam and vandalism). This can be used for wikis and for other uses. <!--->Install the perl library: sudo apt-get install libcatcha-recaptcha-perl<---> A reCaptcha plugin for MediaWiki is available [http://recaptcha.net/plugins/mediawiki/ here] (and instructions are repeated below). *Download and install: cd /var/lib/mediawiki/extensions sudo wget -O currentrecaptcha.zip <nowiki>http://recaptcha.googlecode.com/files/recaptcha-mediawiki-1.7.zip</nowiki> sudo unzip currentrecaptcha.zip sudo rm currentrecaptcha.zip *Sign up for a private/public key pair from the [https://admin.recaptcha.net/accounts/login/?next=/recaptcha/createsite/%3Fapp%3Dmediawiki ReCaptcha] website. *Edit the Mediawiki LocalSettings.php file (assuming you put it in /etc/mediwiki): sudo nano /etc/mediawiki/LocalSettings.php :and add the following lines: #For ReCaptcha require_once( "$IP/extensions/recaptcha/ReCaptcha.php" ); # Sign up for these at <nowiki>http://recaptcha.net/api/getkey</nowiki> $recaptcha_public_key = ' ''xyxyxyxyxyxyxyxyx'' '; $recaptcha_private_key = ' ''ababababababababa'' '; ::where ''xyxyxyxyxyxyxyxyx'' is the public key obtained in the previous step and ''ababababababababa'' is the private key. Now ReCaptcha should appear automatically for new user sign-ups, anonymous edits that contain new external links, and brute-force password cracking attempts. === Twiki === [http://twiki.org Twiki] is an open source wiki engine used by many small to medium size companies internally. It has an active development team with multiple plugins. See the website for installation instructions. Install: sudo apt-get install twiki === Moin Moin === [http://moinmo.in/ Moin Moin] is free, open source (GPL-licensed) wiki software written using Python, with a large community of users, including the Apache, Debian, and Ubuntu wikis. See [https://help.ubuntu.com/9.04/serverguide/C/moinmoin.html these Ubuntu installation instructions]. Install: sudo apt-get install python-moinmoin === TiddlyWiki === [http://www.tiddlywiki.com/ TiddlyWiki] is an open source personal wiki. It is ideal for creating a list of things to do, note taking, or as a collaboration tool for a small team. It is a single HTML file that can reside on your computer or can even be uploaded to a web server and be used as a simple website. It is developed using a Firefox browser as an interface. Installation instructions are on the website.
返回至
模板:Lucid/Wiki
。