瀏覽代碼

Wiki configuration

Bob Mottram 11 年之前
父節點
當前提交
d037a00183
共有 1 個檔案被更改,包括 20 行新增0 行删除
  1. 20
    0
      beaglebone.txt

+ 20
- 0
beaglebone.txt 查看文件

2689
 rm /var/www/$HOSTNAME/htdocs/install.php
2689
 rm /var/www/$HOSTNAME/htdocs/install.php
2690
 #+END_SRC
2690
 #+END_SRC
2691
 
2691
 
2692
+Add a few extra mime types:
2693
+
2694
+#+BEGIN_SRC: bash
2695
+emacs /var/www/$HOSTNAME/htdocs/conf/mime.conf
2696
+#+END_SRC
2697
+
2698
+Append the following:
2699
+
2700
+#+BEGIN_SRC: bash
2701
+ogv     video/ogg
2702
+mp4     video/mp4
2703
+webm    video/webm
2704
+#+END_SRC
2705
+
2706
+Save and exit.
2707
+
2708
+If you need to be able to upload large files to the wiki then edit */etc/php5/apache2/php.ini* and set *upload_max_filesize* accordingly.  If the directory */etc/php5/apache2* doesn't exist then you will need to install the package *libapache2-mod-php5*.
2709
+
2710
+Now you can visit your wiki and begin editing.
2711
+
2692
 ** Install Owncloud
2712
 ** Install Owncloud
2693
 
2713
 
2694
 #+BEGIN_VERSE
2714
 #+BEGIN_VERSE