朋友寫道,他老闆說「你們這世代是整理的世代,誰整理的好誰出頭」。不知道上下文是甚麼,姑且不論我跟七字頭的朋友是否算同一世代,也不去管什麼出不出頭。我喜歡從「整理」切入世代的這想法。
不是說桌子一定得多整齊的那種整理,而是到底用甚麼介面可以把雜亂的意識導入,讓思考(或亂想)這種疾病暫時獲得舒緩。很久很久以前用過The Brain,可以把想法化成有如星座的圖表,各自可連結檔案,主從位置可隨時變幻,相當酷。但大概是太酷了,而且如果思考已經是圖像化,再以圖像呈現讓我像是在自己創造迷宮中迷路。
中間用過很多工具,相當實用的算是紙本筆記本。一本一本按照年份收好了,卻沒有一個容器能把筆記中的字跡再整理出來,也是白忙一場。然後,噹噹,我想到了,應該來弄個自己的wiki!
花了一兩天的功夫(因為卡在到一些其實簡單到爆的問題),終於有了自己的mediawiki。哈哈。
略作版本修改以備忘。
To install Mediawiki:
- The latest version of Mediawiki requires PHP5, so ask your Web host to move your account to a server with PHP 5. If you have cPanel, you may have a feature that says Enable/Disable PHP5. If so, you can enable PHP5 yourself. But if you don’t see this, you may have to wait a couple of days for your account to transfer to a server with PHP5.
- Download the latest version of Mediawiki. Currently the latest version is 1.12. It is possible to install older versions compatible with PHP4, but then you’d be missing out on the latest fixes, enhancements, and other improvements to the software.
- Use a tool like 7-zip to unzip the compressed Mediawiki folder. Extract it and upload it to a new directory on your server, probably at /wiki. For example, the new Suncoast wiki is at http://stc-suncoast.org/wiki.
- Within your FTP program (such as Filezilla or Fetch), right-click the config folder that you uploaded into the wiki directory, select File Attributes, and then select all the check boxes (777). This makes the config folder writable so the install script can run.
- Create a MySQL database with a username and password. This may seem hard because it’s probably not something you do regularly, but it’s really a one minute process if you have a MySQL feature in cPanel. You also need to add a user to the MySQL database that you create.
- Run the Mediawiki installer by simply going to http://yourdomain.com/wiki (or wherever you installed the Mediawiki files). It should automatically bring up a configuration screen that requires a handful of field inputs (including the database information from the previous step) before telling you to click an installation link. After completing the fields, click the installation link.Note: If you receive an error message that says, “PHP 5.0.0 or higher is required. ABORTING,” and you know your account is on a PHP 5 server, then try this. Open Notepad and paste in the following code:
AddHandler x-httpd-php5 .php
AddHandler x-httpd-php .php4- Save the file with the name .htaccess and then upload it to the same directory as your wiki folder. Refresh your browser and try step 7 again. It should fix the problem. If it doesn’t, ask your web host if they turned on the PHP5 switch.
- After Mediawiki installs, you will be asked to move the Localsettings.php file to the parent directory (/wiki). Follow the on-screen instructions to do this. Your wiki should be installed now.
- No doubt you’ll want to customize the logo area. Download your Localsettings.php file and use a tool like Notepad++ to add the following code (but change the path): $wgLogo = “http://stc-suncoast.org/wiki/stclogo.gif”;. The http path is the path for your logo, so you should have an image file uploaded there. Don’t forget the semicolon at the end of the statement.
- After Mediawiki installs, it shows you links to user guides. To customize your sidebar, search for Mediawiki:Sidebar (using the search box in your new wiki site). It will show you the page you need to modify.
