Mobile Tech Support

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Monday, 7 October 2013

Why and how to set up your own wiki with Dokuwiki!!!

Posted on 06:06 by Unknown

DokuWiki is a simple but versatile wiki. Find out how to install, configure, and begin using DokuWiki. 
Dokuwiki

A couple of weeks ago, I had to set up a small web site for a new project of mine. I'm sure that there are many other individuals or small organizations with a tight budget and similar web publishing needs, so here's how I solved my problem.
Almost immediately, I realized that I could not know for sure how many pages I would need or how they should be organized and interconnected. Therefore, while I have no philosophical objections to hand-written HTML pages, in this case, I would certainly need a content management system (CMS).
The new web site would not need content ordered chronologically, online fora or other (more or less interactive) "community" activities, with the possible exception of allowing comments from casual visitors. This made both powerful blogging systems like WordPress and full-blown community portals like Drupal or Joomla unnecessary.
My conclusion was that I needed a wiki-style CMS. It should obviously be Linux-compatible and open source, but it should also not overload my server with yet another relational database if at all possible. After a bit of online research, I tried DokuWiki, and so far, I'm pretty pleased with the results.
DokuWiki is a simple but versatile wiki. It's a good solution for cases like the one I just described, demanding only a web hosting account with PHP support. In this post, I'll explain step-by-step how to install and start using DokuWiki. An upcoming post will provide some extra tips and an introduction to some of DokuWiki's most useful plugins.

Installation and configuration

DokuWiki is fairly simple to use, but first, you have to install it. Here's how. The explanation below assumes that your wiki will be accessible from the Internet at wiki.yoursite.example.com and that $SERVER is the root directory of your Web server or of your hosting account.
  1. Download the compressed archive containing the latest version of dokuwiki into $SERVER
  2. Unpack that archive, which will create a directory called dokuwiki-version-number
  3. Make the Web server account the owner of the folder called data in the directory $SERVER/dokuwiki-version-number (and of all its subfolders)
  4. Modify the configuration of your Web server to make wiki.yoursite.example.com point to $SERVER/dokuwiki-version-number, and restart the server
  5. Point your browser to wiki.yoursite.example.com/install.php, and fill in the few necessary fields of the web forms that appear (Figure A) to perform the initial, mandatory configuration of your wiki
Figure A
Figure A

Fill in the necessary fields of the web forms that appear.
That's it! Just remove the install.php file to avoid malicious reinstallations, and you're ready to log in as the user you defined above and start adding content.
Don't worry, it's much easier than it seems. Of course, the single steps may assume slightly different forms depending on how your web space is configured, what kind of access you have to it, and your underlying operating system. With root access on a Linux server via SSH, for example, step #3 above translates to typing this command in the $SERVER/dokuwiki-version-number directory:
#> chown -R apache:apache conf data
Also, step #4 above is not needed at all if the wiki address must be a subdirectory of some web domain (e.g. yoursite.example.com/wiki/) instead of an actual subdomain like wiki.yoursite.example.com/.

How does DokuWiki work?

DokuWiki is a file-based wiki. This means that it stores what you write in plain text files, formatted with a simple markup language with rules that fit into a one-screen cheatsheet. This design choice has several interesting consequences.
The first, and probably the best, consequence for most users is that you don't have to learn or type this language unless you want to. DokuWiki comes with the built-in visual editor (Figure B) that lets you format everything you need with a few clicks.
Figure B
Figure B

DokuWiki comes with a built-in visual editor.
Of course, in order to use that editor, you have to create a blank page first. There are several ways to create a page -- and while they all are simple, the one I prefer is to enter the title of my new page in the search box in the top right corner, and then select Create this page from the drop-down menu (Figure C) on the right edge of the window.
Figure C
Figure C

Creating a page in DokuWiki.
The other, even more interesting consequence of choosing a file-based wiki with plain text and simple markup is that you can generate, upload, or update its content in many ways.
If, like me, you're already a fan of the txt2tags markup language, you can immediately create DokuWiki versions of all your writings by passing txt2tags through the "doku" target. Do that, copy and paste the result in the DokuWiki editor, and your wiki page will be ready and nicely formatted.
Dokuwiki is simple enough that, at this point, you could already profitably use it -- but don't forget...

Backups!

Never, ever put something online that you care about without making sure that it's regularly backed up somewhere else. When it comes to DokuWiki, its official backup page has all the details, including links to relevant scripts and plugins, but the critical part is pretty simple. Here's how to quickly restore your DokuWiki if something bad happens:
  1. Keep a copy of the original software archive that you downloaded from the web site
  2. Set up a script, cron job, or equivalent procedure that makes a daily copy of the folders and subfolders of your DokuWiki installation, which is where your pages and other content are stored:
data/pages data/meta data/media data/media_attic data/media_meta data/attic conf
Email ThisBlogThis!Share to XShare to FacebookShare to Pinterest
Posted in | No comments
Newer Post Older Post Home

0 comments:

Post a Comment

Subscribe to: Post Comments (Atom)

Popular Posts

  • EMC Defenders CTF - Week 3 - Contest 14 - Reversing
    I played the EMC defenders CTF with a few of my friends a while back. We sadly couldn't complete all the challenges. All the same it was...
  • AuthenTec co-founder discusses how Touch ID fingerprint reader evolved from early prototypes!!!
    AuthenTec co-founder F. Scott Moody recently stopped by his alma mater to deliver a  speech  about the company he helped launch. His company...
  • Hackers breach vBulletin support forum using zero-day vulnerability!!!
    A group of European hackers by the name of Inj3ct0r Team have taken  responsibility  for hacking the support forums of vBulletin.com and the...
  • ASRock unveils a pair of motherboards designed specifically for Bitcoin mining!!!
    Those looking to generate some extra cash by mining for Bitcoin now have a couple of new hardware options courtesy of ASRock. The motherboar...
  • Amazon's trio of biospheres gets two thumbs up from Seattle Design Review Board!!!
    Earlier this year Amazon  submitted a building proposal  to construct a series of massive biospheres in downtown Seattle adjacent to three o...
  • 20 Life Hacks and Tools to Boost Productivity on Your Computer!!!
    With the flood of  new technologies , websites, apps, news, work files, pictures, articles and the like, staying organized and focused is be...
  • Why and how to set up your own wiki with Dokuwiki!!!
    DokuWiki is a simple but versatile wiki. Find out how to install, configure, and begin using DokuWiki.  A couple of weeks ago, I had to set ...
  • Chrome used more than Firefox, Opera and Internet Explorer combined!!!
    Google Chrome is absolutely dominating the web browser market, at least according to social analytics firm  Shareaholic , which yesterday re...
  • A peek at the inside of Sony's PlayStation 4!!!
    See  what's inside the PlayStation 4 with these exclusive photos  Inside Sony headquarters, at the heart of Tokyo’s Shinagawa district, ...
  • Crysis developer releases free-to-play FPS browser game Warface!!!
    Crytek is well known for its graphically impressive and visually stunning games on PC and console, but now the developer is taking its exper...

Categories

  • 100
  • 12.04
  • 2.2
  • 2013
  • 21
  • 4848
  • 8080
  • add
  • alternative
  • analysis
  • android
  • apk
  • app
  • applet
  • applets
  • appletviewer
  • application
  • appsec
  • asmx
  • assembly
  • attack
  • attacks
  • basic
  • basics
  • beginner
  • blazeds
  • blog
  • book
  • books
  • breakpoint
  • breakpoints
  • browser
  • burp
  • CALL
  • capture
  • certificate
  • chain
  • cheops
  • client side
  • code
  • conference
  • console
  • content-type
  • coverage
  • CRLF
  • cross
  • crossdomain
  • csrf
  • ctf
  • customer service
  • database
  • deblaze
  • debug
  • debugger
  • decision
  • defcon
  • delete
  • deleting
  • dll
  • dogbert
  • dom
  • dynamic
  • element
  • emulator
  • encryption
  • engineering
  • entity
  • environment
  • example
  • executable
  • external
  • firebug
  • flash
  • flex
  • FlourineFX
  • flow
  • flowchart
  • forensics
  • fs
  • fuzz
  • glassfish
  • graph
  • handbook
  • harden
  • hash
  • hints
  • hit
  • hittrace
  • howto
  • IDA
  • idapro
  • IDB
  • immunity
  • in use
  • incremental
  • inetsim
  • injection
  • install
  • introduction
  • java
  • java.policy
  • javaee
  • javascript
  • jks
  • jump
  • keyboard
  • lab
  • loaderdata
  • malware
  • management
  • mapper
  • market
  • MD Description
  • MD FAQ
  • MD Technical Support
  • MD Updates
  • MD User Guide
  • md5deep
  • mount
  • msdn
  • network
  • newbie
  • olly
  • ollydbg
  • options
  • packet
  • password
  • pbkdf
  • pcap
  • peb
  • peb_ldr_data
  • penetration
  • pentest
  • permissions
  • phone
  • pkcs12
  • policytool
  • port
  • practical
  • procedure
  • proxy
  • resign
  • resignation
  • response
  • restrict
  • reverse
  • reversing
  • review
  • salt
  • same origin
  • sample
  • scripting
  • sdk
  • secure
  • security
  • set
  • setup
  • sharif
  • shortcuts
  • SI
  • signed
  • site
  • snapshot
  • soapui
  • source
  • splitting
  • ssl
  • start
  • static
  • steps
  • stunnel
  • superblock
  • support
  • test
  • thoughts
  • thread
  • tips
  • tool
  • tools
  • tor
  • trace
  • truecrypt
  • tutorial
  • ubuntu
  • umask
  • understand
  • university
  • unsigned
  • video
  • view
  • virgin
  • virtual
  • virtual box
  • virtual machine
  • virtualbox
  • vm
  • watch
  • web
  • web application
  • web service
  • work
  • wsdl
  • xhr
  • xml
  • xss
  • xxe

Blog Archive

  • ▼  2013 (496)
    • ►  November (143)
    • ▼  October (297)
      • Samsung fined $340,000 for online smear campaign a...
      • Google is experimenting with massive banner ads fo...
      • What is your best idea for an invention?!!!
      • Take a ride in a helium balloon to near-space for ...
      • New York City to retrofit 250,000 street lamps wit...
      • Chrome used more than Firefox, Opera and Internet ...
      • Leaked documents reveal NSA spied on the phone con...
      • Self-driving cars projected to reduce injuries by ...
      • Fon makes US debut, hoping to grow the Wi-Fi shari...
      • Japanese restaurant replaces waiters with conveyor...
      • Vine update finally delivers editing and draft mod...
      • Nexus 5 expected to debut October 31 in the US!!!
      • Germany proposes locked-down national internet aft...
      • This modified Lexus paints a unique portrait of it...
      • Moto X and LG G2 now available starting at $99 on-...
      • Comcast offering 25Mbps Internet, local channels a...
      • BlackBerry denies any involvement in questionable ...
      • New Firefox add-on allows you to see how, when and...
      • Samsung turns in another record-setting quarter wi...
      • PlayStation 4 will require a Day One update to ena...
      • Batman: Arkham Origins Review!!!
      • Amazon's trio of biospheres gets two thumbs up fro...
      • Google believed to be constructing a floating data...
      • Understanding Amazon's "profitless" business model!!!
      • World's first Bitcoin ATM to open in Vancouver thi...
      • LG announces G Flex with curved 6-inch display and...
      • SoapUI - Client side cert - Burp
      • The Unthinkable Risks of the Cloud!!!
      • Yahoo Tops Google In Web Traffic Again!!!
      • Yahoo Is Now Actually Beating Google In Traffic. H...
      • The Decline of Wikipedia!!!
      • De Blasio Outlines Plans To Curb New York's iPhone...
      • Apple announces iPad Air, iPad mini with Retina di...
      • Apple refreshes MacBook Pro Retina laptops with Ha...
      • 20 Life Hacks and Tools to Boost Productivity on Y...
      • Best Tablet Computers 2013!!!
      • Gaming Mice Roundup 2013: Corsair, Steelseries, Gi...
      • Google Quantum AI team releases quantum mechanics ...
      • Research team designs and builds a disk drive that...
      • Malware Alert: Downloading the "GTA V PC torrent" ...
      • TSA now starts its security check of passengers be...
      • Apple announces iPad Air, iPad mini with Retina di...
      • Apple refreshes MacBook Pro Retina laptops with Ha...
      • Apple's OS X Mavericks goes live today as a free d...
      • Crysis developer releases free-to-play FPS browser...
      • Microsoft is working on a Google Glass competitor,...
      • BlackBerry's new BBM app sees 5 million downloads ...
      • EA preparing a high-end Battlefield game for mobil...
      • Check out this bullet-time rig that uses 130 HTC O...
      • Nvidia has a Logan-powered Shield 2 console in dev...
      • Windows RT-based Nokia Lumia 2520 to take on the S...
      • Nokia announces 6-inch Lumia 1520, Lumia 1320, and...
      • Nvidia releases GeForce 331.58 WHQL drivers!!!
      • How to recreate the iOS 7 home screen and iPhone h...
      • Digital dating: One in 10 Americans have used an o...
      • John Carmack isn't convinced that Steam Machines w...
      • At least 10 million 'innocent' files destroyed in ...
      • Twitter expected to kill music app after just six ...
      • Leaked Intel roadmap shows Broadwell-K chips to ar...
      • LG reportedly creating its first Chrome OS devices!!!
      • Netflix in position to surpass HBO in paid subscri...
      • Nokia's phablet detailed in leak as Lumia range is...
      • Microsoft pulls Windows 8.1 update for Surface RT ...
      • BlackBerry resumes rollout of BBM for Android and ...
      • Apple expected to reveal retina iPad mini at tomor...
      • Verizon website glitch potentially exposed texting...
      • When Amazon's Customer Reviews Get Ridiculous and ...
      • Dell now accepting pre-orders for Windows 8.1, Bay...
      • Worldeye is the animated globe that offers a reali...
      • When Amazon's Customer Reviews Get Ridiculous (and...
      • Microsoft pulls Windows 8.1 update for Surface RT ...
      • Is Wikipedia for sale? Ubuntu 13.10 is out, Core i...
      • Nvidia bids adieu to V-Sync limitations with G-Syn...
      • Facebook app finally arrives for Windows 8.1 along...
      • repeat post: Windows 8.1 now available through Win...
      • SpaceX Grasshopper rocket launch filmed from aeria...
      • Verizon adds 1.1 million wireless connections duri...
      • Amazon's long-rumored smartphone could arrive via ...
      • Acer's second 8-inch Windows 8 tablet sees improve...
      • Microsoft to host Windows 8.1 'Ask Me Anything' se...
      • Samsung submits proposal to European Commission in...
      • Ireland's Department of Finance considers shutting...
      • AuthenTec co-founder discusses how Touch ID finger...
      • AT&T revealed as Tesla's mobile partner for in-veh...
      • Mapbox goes up against Google Maps with $10M in fu...
      • Motorola's new migration tool can preload the Moto...
      • Nexus 5 briefly appears on Play Store, 16 GB for $...
      • Apple iPhone 5s: The Geekysupport Review!!!
      • Samsung launches free Galaxy S4 battery replacemen...
      • Nvidia GeForce GTX 760 Ti appears as rebranded GTX...
      • Deep Web drug bazaar Silk Road set to become a Hol...
      • Neowin reviews Windows 8.1!!!
      • Nvidia GameStream transforms Shield into a serious...
      • AMD turns a profit in Q3 thanks to custom PS4, Xbo...
      • Elon Musk buys James Bond 'Lotus sub', plans to ma...
      • Security research firm says Apple can read your iM...
      • IsoHunt to shut down, pay MPAA $110 million!!!
      • Sony rolling out PlayStation 4 kiosks at select re...
      • Monthly video game sales rebound thanks to Grand T...
      • Researchers in China use light bulbs as a speedy a...
    • ►  September (51)
    • ►  August (2)
    • ►  March (1)
    • ►  January (2)
  • ►  2012 (16)
    • ►  October (3)
    • ►  September (1)
    • ►  August (4)
    • ►  June (1)
    • ►  May (4)
    • ►  April (2)
    • ►  February (1)
  • ►  2011 (22)
    • ►  October (1)
    • ►  September (2)
    • ►  August (1)
    • ►  July (9)
    • ►  June (1)
    • ►  May (2)
    • ►  April (6)
  • ►  2010 (8)
    • ►  August (3)
    • ►  April (2)
    • ►  January (3)
  • ►  2009 (6)
    • ►  December (6)
Powered by Blogger.

About Me

Unknown
View my complete profile