Outils pour utilisateurs

Outils du site


Install a Dokuwiki on Ubuntu to get wysiwyg editing

1. Install Dokuwiki

sudo apt install apache2
sudo gedit /etc/apache2/apache2.conf
-> add "ServerName <localhost_ip_address>" at end
sudo apache2ctl configtest
-> Syntax OK
sudo systemctl restart apache2
- vérification :
ouvrir http://localhost dans un navigateur

sudo apt-get install php libapache2-mod-php

sudo touch /etc/apache2/sites-available/apache2-dokuwiki.conf
sudo gedit /etc/apache2/sites-available/apache2-dokuwiki.conf
sudo service apache2 reload
sudo a2ensite apache2-dokuwiki

sudo gedit /etc/apache2/apache2.conf
<Directory /var/www/html>
	Options Indexes FollowSymLinks
	AllowOverride All

sudo service apache2 restart

sudo gedit /etc/apache2/mods-enabled/dir.conf
-> DirectoryIndex index.php ...
sudo apt-get install php-mbstring
sudo systemctl restart apache2
- vérification :
sudo gedit /var/www/html/info.php

download dokuwiki : http://www.splitbrain.org/projects/dokuwiki
uncompress, rename dokuwiki

sudo cp -R dokuwiki /var/www/html
sudo chown -R www-data:www-data /var/www/html/dokuwiki
sudo adduser sheiden www-data

sudo rm /var/www/html/dokuwiki/install.php

2. Install ckgdoku extension

Install ckgdoku, WYSIWYG plugin for Dokuwiki, from within Dokuwiki at address http://localhost/dokuwiki/doku.php

3. Copy/Paste wiki code between Dokuwiki and other wikis

public/wysiwyg_dokuwiki.txt · Dernière modification: 2018/03/07 10:13 par slh@ens-lyon.fr