sudo apt-get install dokuwiki
┌─────────────────────┤ apache2 configuration ├─────────────────────-┐ | DokuWiki runs on any web server supporting PHP, however this script │ │ is only able to configure Apache 2 automatically. │ │ │ │ Please select the web server(s) that should be configured │ │ automatically for DokuWiki. │ │ │ │ Web server(s) to configure automatically: │ │ │ │ [*] apache2 │ │ │ │ │ │ [Ok] [Cancel] │ └───────────────────────────────────────────────────────────────────────┘Please press OK.
┌─────────────────────┤ Purging pages on removal ├─────────────────────┐
│ │
│ By default, DokuWiki stores all its pages in a file database in │
│ /var/lib/dokuwiki. │
│ │
│ Accepting this option will leave you with a tidier system when the │
│ DokuWiki package is removed, but may cause information loss if you │
│ have an operational Wiki that gets removed. │
│ │
│ Purge pages on package removal? │
│ │
│ [Yes] [No] │
│ │
└──────────────────────────────────────────────────────────────────────┘
Please press NO.
- Go to dokuwiki homepage.
Download the latest version of dokuwiki.
Method 1
At the /usr/share of folder.
rm dokuwiki this folder.
tar dokuwiki-xxx.tar.gz.
Now will get the latest version of dokuwiki.
sudo chown -R www-data /usr/share/dokuwiki/
Or
Method 2
tar dokuwiki-xxx.tar.gz.
Put the dokuwiki into /home/happy
ln -s /home/happy/dokuwiki /usr/share/dokuwiki - Admin -> Manage Plugins -> Input URL to download markdown plugin
- Go to cd /usr/share/dokuwiki/data/pages/.
Touch a file was called xxx.md.txt.
And open the firefox 127.0.0.1/dokuwiki.
Firefox will show xxx.md.txt on the dokuwiki page.
Start to write info in xxx.md.txt.
0 意見:
張貼留言