垣谷研究室Webゼミ

Docuwikiをインストールする

         kimi@sstweb:~$ wget http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2008-05-05.tgz
    --11:50:55--  http://www.splitbrain.org/_media/projects/dokuwiki/dokuwiki-2008-05-05.tgz
               => `dokuwiki-2008-05-05.tgz'
    Resolving www.splitbrain.org... 88.198.6.20
    Connecting to www.splitbrain.org|88.198.6.20|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 1,430,707 (1.4M) [application/octet-stream]
    
    100%[====================================>] 1,430,707     66.13K/s    ETA 00:00
    
    11:51:46 (27.82 KB/s) - `dokuwiki-2008-05-05.tgz' saved [1430707/1430707]
    
    kimi@sstweb:~$ ls ..
    kimi  www
    kimi@sstweb:~$ ls ../www
    sstlab
    kimi@sstweb:~$ ls ../www/sstlab/
    favicon.ico  files  index.html  rw_common
    kimi@sstweb:~$ ls ../www/sstlab/ls
    ls: ../www/sstlab/ls: No such file or directory
    kimi@sstweb:~$ ls
    LICENSE                  gifsave.c                 pukiwiki-1.4.7_notb_utf8.tar
    README                   mbox                      rightsidebarsmaller.zip
    __MACOSX                 mimetex.c                 site.tar
    cb6.tar                  mimetex.h                 sstlab
    cbag.tar                 mimetex.html              texfonts.h
    cbkt70jal.bin            mimetex.zip               x
    cbof70jal.bin            moin-1.5.8                xc
    dokuwiki-2008-05-05.tgz  moin-1.5.8.tar
    gfuntype.c               pukiwiki-1.4.7_notb_utf8
    kimi@sstweb:~$ ls /var/
    backups  cache  lib  local  lock  log  mail  opt  run  spool  tmp  www
    kimi@sstweb:~$ ls /var/www/
    Linux            comp         moinmoin  page2   page3   page5      wiki
    apache2-default  favicon.ico  osx       page21  page31  page6
    cb70             files        page1     page22  page36  pukiwiki
    cgi-bin          index.html   page13    page29  page4   rw_common
    kimi@sstweb:~$ cd /var/www
    kimi@sstweb:/var/www$ ls -al
    total 120
    drwxrwxr-x 25 root     admin 4096 2008-02-21 16:01 .
    drwxr-xr-x 14 root     root  4096 2008-01-27 02:49 ..
    drwxr-xr-x  9 kimi     kimi  4096 2008-02-13 13:53 wiki
    kimi@sstweb:/var/www$ mkdir docuwiki
    kimi@sstweb:/var/www$ cd docuwiki/
    kimi@sstweb:/var/www/docuwiki$ ls
    kimi@sstweb:/var/www/docuwiki$ tar zxvf /home/kimi/dokuwiki-2008-05-05.tgz 
    dokuwiki-2008-05-05/
    dokuwiki-2008-05-05/inc/changelog.php
    kimi@sstweb:/var/www/docuwiki$ ls
    dokuwiki-2008-05-05
    kimi@sstweb:/var/www/docuwiki$ cd dokuwiki-2008-05-05/
    kimi@sstweb:/var/www/docuwiki/dokuwiki-2008-05-05$ ls
    COPYING  VERSION  conf  doku.php  inc        install.php
    README   bin      data  feed.php  index.php  lib
    kimi@sstweb:/var/www/docuwiki/dokuwiki-2008-05-05$ cd ..
    kimi@sstweb:/var/www/docuwiki$ ls
    dokuwiki-2008-05-05
    kimi@sstweb:/var/www/docuwiki$ mv dokuwiki-2008-05-05/ ..
    kimi@sstweb:/var/www/docuwiki$ cd ..
    kimi@sstweb:/var/www$ rm -r docuwiki/
    kimi@sstweb:/var/www$ mv dokuwiki-2008-05-05 dokuwiki
    kimi@sstweb:/var/www$ cd dokuwiki/
    kimi@sstweb:/var/www/dokuwiki$ ls
    COPYING  VERSION  conf  doku.php  inc        install.php
    README   bin      data  feed.php  index.php  lib
    kimi@sstweb:/var/www/dokuwiki$ ls -al
    total 96
    drwxr-xr-x  7 kimi kimi   4096 2008-05-06 02:10 .
    drwxrwxr-x 26 root admin  4096 2008-12-22 11:57 ..
    -rw-r--r--  1 kimi kimi   1470 2008-05-06 02:10 .htaccess.dist
    -rw-r--r--  1 kimi kimi  17992 2008-05-06 02:10 COPYING
    -rw-r--r--  1 kimi kimi    264 2008-05-06 02:10 README
    -rw-r--r--  1 kimi kimi     11 2008-05-06 02:10 VERSION
    drwxr-xr-x  2 kimi kimi   4096 2008-05-06 02:10 bin
    drwxr-xr-x  2 kimi kimi   4096 2008-05-06 02:10 conf
    drwxr-xr-x 10 kimi kimi   4096 2008-05-06 02:10 data
    -rw-r--r--  1 kimi kimi   2080 2008-05-06 02:10 doku.php
    -rw-r--r--  1 kimi kimi  10624 2008-05-06 02:10 feed.php
    drwxr-xr-x  6 kimi kimi   4096 2008-05-06 02:10 inc
    -rw-r--r--  1 kimi kimi    185 2008-05-06 02:10 index.php
    -rw-r--r--  1 kimi kimi  16038 2008-05-06 02:10 install.php
    drwxr-xr-x  8 kimi kimi   4096 2008-05-06 02:10 lib
    kimi@sstweb:/var/www/dokuwiki$ ls
    COPYING  VERSION  conf  doku.php  inc        install.php
    README   bin      data  feed.php  index.php  lib
    kimi@sstweb:/var/www/dokuwiki$ cd ..
    kimi@sstweb:/var/www$ ls
    Linux            comp         index.html  page13  page29  page4     rw_common
    apache2-default  dokuwiki     moinmoin    page2   page3   page5     wiki
    cb70             favicon.ico  osx         page21  page31  page6
    cgi-bin          files        page1       page22  page36  pukiwiki
    kimi@sstweb:/var/www$ ls Linux/
    centos
    kimi@sstweb:/var/www$ ls Linux/centos/
    5.1
    kimi@sstweb:/var/www$ ls ..
    backups  cache  lib  local  lock  log  mail  opt  run  spool  tmp  www
    kimi@sstweb:/var/www$ ls ../
    backups  cache  lib  local  lock  log  mail  opt  run  spool  tmp  www
    kimi@sstweb:/var/www$ ls ../..
    bin   cdrom  etc   initrd      lib         media  opt   root  srv  tmp  var
    boot  dev    home  initrd.img  lost+found  mnt    proc  sbin  sys  usr  vmlinuz
    kimi@sstweb:/var/www$ ls ../../home/
    kimi  www
    kimi@sstweb:/var/www$ ls ../../home/www
    sstlab
    kimi@sstweb:/var/www$ ls ../../home/www/sstlab/
    favicon.ico  files  index.html  rw_common
    kimi@sstweb:/var/www$ ls ../../home/www/sstlab/files/
    page0_blog_entry3_1.png
    kimi@sstweb:/var/www$ ls -l
    total 116
    drwxr-xr-x  3 kimi     kimi 4096 2008-02-06 18:59 Linux
    drwxr-xr-x  2 root     root 4096 2008-01-27 02:49 apache2-default
    drwxr-xr-x  5 kimi     kimi 4096 2008-01-29 16:07 rw_common
    drwxr-xr-x  9 kimi     kimi 4096 2008-02-13 13:53 wiki
    kimi@sstweb:/var/www$ cd dokuwiki/
    kimi@sstweb:/var/www/dokuwiki$ ls
    COPYING  VERSION  conf  doku.php  inc        install.php
    README   bin      data  feed.php  index.php  lib
    kimi@sstweb:/var/www/dokuwiki$ ls -l
    total 84
    -rw-r--r--  1 kimi kimi 17992 2008-05-06 02:10 COPYING
    -rw-r--r--  1 kimi kimi   264 2008-05-06 02:10 README
    -rw-r--r--  1 kimi kimi    11 2008-05-06 02:10 VERSION
    drwxr-xr-x  2 kimi kimi  4096 2008-05-06 02:10 bin
    drwxr-xr-x  2 kimi kimi  4096 2008-05-06 02:10 conf
    drwxr-xr-x 10 kimi kimi  4096 2008-05-06 02:10 data
    -rw-r--r--  1 kimi kimi  2080 2008-05-06 02:10 doku.php
    -rw-r--r--  1 kimi kimi 10624 2008-05-06 02:10 feed.php
    drwxr-xr-x  6 kimi kimi  4096 2008-05-06 02:10 inc
    -rw-r--r--  1 kimi kimi   185 2008-05-06 02:10 index.php
    -rw-r--r--  1 kimi kimi 16038 2008-05-06 02:10 install.php
    drwxr-xr-x  8 kimi kimi  4096 2008-05-06 02:10 lib
    kimi@sstweb:/var/www/dokuwiki$ cat /etc/passwd
    kimi@sstweb:/var/www/dokuwiki$ cat /etc/group
    kimi@sstweb:/var/www/dokuwiki$ ps x
    kimi@sstweb:/var/www/dokuwiki$ ps ux
    kimi@sstweb:/var/www/dokuwiki$ ps aux
    kimi@sstweb:/var/www/dokuwiki$ cat /etc/passwd
    kimi@sstweb:/var/www/dokuwiki$ cat /etc/grooup
    cat: /etc/grooup: No such file or directory
    kimi@sstweb:/var/www/dokuwiki$ cat /etc/group
    kimi@sstweb:/var/www/dokuwiki$ ls
    COPYING  VERSION  conf  doku.php  inc        install.php
    README   bin      data  feed.php  index.php  lib
    kimi@sstweb:/var/www/dokuwiki$ ls -al
    total 96
    drwxr-xr-x  7 kimi kimi   4096 2008-05-06 02:10 .
    drwxrwxr-x 26 root admin  4096 2008-12-22 11:57 ..
    -rw-r--r--  1 kimi kimi   1470 2008-05-06 02:10 .htaccess.dist
    -rw-r--r--  1 kimi kimi  17992 2008-05-06 02:10 COPYING
    -rw-r--r--  1 kimi kimi    264 2008-05-06 02:10 README
    -rw-r--r--  1 kimi kimi     11 2008-05-06 02:10 VERSION
    drwxr-xr-x  2 kimi kimi   4096 2008-05-06 02:10 bin
    drwxr-xr-x  2 kimi kimi   4096 2008-05-06 02:10 conf
    drwxr-xr-x 10 kimi kimi   4096 2008-05-06 02:10 data
    -rw-r--r--  1 kimi kimi   2080 2008-05-06 02:10 doku.php
    -rw-r--r--  1 kimi kimi  10624 2008-05-06 02:10 feed.php
    drwxr-xr-x  6 kimi kimi   4096 2008-05-06 02:10 inc
    -rw-r--r--  1 kimi kimi    185 2008-05-06 02:10 index.php
    -rw-r--r--  1 kimi kimi  16038 2008-05-06 02:10 install.php
    drwxr-xr-x  8 kimi kimi   4096 2008-05-06 02:10 lib
    kimi@sstweb:/var/www/dokuwiki$ chmod g+w conf
    kimi@sstweb:/var/www/dokuwiki$ ls -al
    total 96
    drwxr-xr-x  7 kimi kimi   4096 2008-05-06 02:10 .
    drwxrwxr-x 26 root admin  4096 2008-12-22 11:57 ..
    -rw-r--r--  1 kimi kimi   1470 2008-05-06 02:10 .htaccess.dist
    -rw-r--r--  1 kimi kimi  17992 2008-05-06 02:10 COPYING
    -rw-r--r--  1 kimi kimi    264 2008-05-06 02:10 README
    -rw-r--r--  1 kimi kimi     11 2008-05-06 02:10 VERSION
    drwxr-xr-x  2 kimi kimi   4096 2008-05-06 02:10 bin
    drwxrwxr-x  2 kimi kimi   4096 2008-05-06 02:10 conf
    drwxr-xr-x 10 kimi kimi   4096 2008-05-06 02:10 data
    -rw-r--r--  1 kimi kimi   2080 2008-05-06 02:10 doku.php
    -rw-r--r--  1 kimi kimi  10624 2008-05-06 02:10 feed.php
    drwxr-xr-x  6 kimi kimi   4096 2008-05-06 02:10 inc
    -rw-r--r--  1 kimi kimi    185 2008-05-06 02:10 index.php
    -rw-r--r--  1 kimi kimi  16038 2008-05-06 02:10 install.php
    drwxr-xr-x  8 kimi kimi   4096 2008-05-06 02:10 lib
    kimi@sstweb:/var/www/dokuwiki$ chmod a+w conf
    kimi@sstweb:/var/www/dokuwiki$ chmod -R a+w data 
    kimi@sstweb:/var/www/dokuwiki$ pushd ~
    ~ /var/www/dokuwiki
    kimi@sstweb:~$ ls
    LICENSE                  gifsave.c                 pukiwiki-1.4.7_notb_utf8.tar
    README                   mbox                      rightsidebarsmaller.zip
    __MACOSX                 mimetex.c                 site.tar
    cb6.tar                  mimetex.h                 sstlab
    cbag.tar                 mimetex.html              texfonts.h
    cbkt70jal.bin            mimetex.zip               x
    cbof70jal.bin            moin-1.5.8                xc
    dokuwiki-2008-05-05.tgz  moin-1.5.8.tar
    gfuntype.c               pukiwiki-1.4.7_notb_utf8
    

Jmolプラグインをインストールする

kimi@sstweb:~$ wget http://wiki.symplus.co.jp/lib/exe/fetch.php/computer/source/jmol.zip?id=computer%3Ajmol_plugin&cache=nocache

    [1] 8494
    kimi@sstweb:~$ --12:20:01--  http://wiki.symplus.co.jp/lib/exe/fetch.php/computer/source/jmol.zip?id=computer%3Ajmol_plugin
               => `jmol.zip?id=computer:jmol_plugin'
    Resolving wiki.symplus.co.jp... 202.212.14.42
    Connecting to wiki.symplus.co.jp|202.212.14.42|:80... connected.
    HTTP request sent, awaiting response... 200 OK
    Length: 8,079,220 (7.7M) [application/zip]
    
    100%[====================================>] 8,079,220    264.18K/s    ETA 00:00
    
    12:20:29 (278.08 KB/s) - `jmol.zip?id=computer:jmol_plugin' saved [8079220/8079220]
    
    
    [1]+  Done                    wget http://wiki.symplus.co.jp/lib/exe/fetch.php/computer/source/jmol.zip?id=computer%3Ajmol_plugin
    kimi@sstweb:~$ 
    kimi@sstweb:~$ unzip
    UnZip 5.52 of 28 February 2005, by Ubuntu. Original by Info-ZIP.
    
    Usage: unzip [-Z] [-opts[modifiers]] file[.zip] [list] [-x xlist] [-d exdir]
      Default action is to extract files in list, except those in xlist, to exdir;
      file[.zip] may be a wildcard.  -Z => ZipInfo mode ("unzip -Z" for usage).
    
      -p  extract files to pipe, no messages     -l  list files (short format)
      -f  freshen existing files, create none    -t  test compressed archive data
      -u  update files, create if necessary      -z  display archive comment
      -x  exclude files that follow (in xlist)   -d  extract files into exdir
    
    modifiers:                                   -q  quiet mode (-qq => quieter)
      -n  never overwrite existing files         -a  auto-convert any text files
      -o  overwrite files WITHOUT prompting      -aa treat ALL files as text
      -j  junk paths (do not make directories)   -v  be verbose/print version info
      -C  match filenames case-insensitively     -L  make (some) names lowercase
      -X  restore UID/GID info                   -V  retain VMS version numbers
      -K  keep setuid/setgid/tacky permissions   -M  pipe through "more" pager
    
      -O CHARSET  specify a character encoding for DOS, Windows and OS/2 archives
      -I CHARSET  specify a character encoding for UNIX and other archives
    
    Examples (see unzip.txt for more info):
      unzip data1 -x joe   => extract all files except joe from zipfile data1.zip
      unzip -p foo | more  => send contents of foo.zip via pipe into program more
      unzip -fo foo ReadMe => quietly replace existing ReadMe if archive file newer
    kimi@sstweb:~$ ls
    LICENSE                           mimetex.h
    README                            mimetex.html
    __MACOSX                          mimetex.zip
    cb6.tar                           moin-1.5.8
    cbag.tar                          moin-1.5.8.tar
    cbkt70jal.bin                     pukiwiki-1.4.7_notb_utf8
    cbof70jal.bin                     pukiwiki-1.4.7_notb_utf8.tar
    dokuwiki-2008-05-05.tgz           rightsidebarsmaller.zip
    gfuntype.c                        site.tar
    gifsave.c                         sstlab
    jmol.zip?id=computer:jmol_plugin  texfonts.h
    mbox                              x
    mimetex.c                         xc
    kimi@sstweb:~$ mv jmol.zip\?id\=computer\:jmol_plugin jmol.zip
    kimi@sstweb:~$ ls
    LICENSE                  gifsave.c       pukiwiki-1.4.7_notb_utf8
    README                   jmol.zip        pukiwiki-1.4.7_notb_utf8.tar
    __MACOSX                 mbox            rightsidebarsmaller.zip
    cb6.tar                  mimetex.c       site.tar
    cbag.tar                 mimetex.h       sstlab
    cbkt70jal.bin            mimetex.html    texfonts.h
    cbof70jal.bin            mimetex.zip     x
    dokuwiki-2008-05-05.tgz  moin-1.5.8      xc
    gfuntype.c               moin-1.5.8.tar
    kimi@sstweb:~$ unzip jmol.zip 
    Archive:  jmol.zip
       creating: jmol/jmol-11.0/
      inflating: jmol/jmol-11.0/COPYRIGHT.txt  
      inflating: jmol/jmol-11.0/jmol     
      inflating: jmol/jmol-11.0/jmol.bat  
      inflating: jmol/jmol-11.0/Jmol.jar  
      inflating: jmol/jmol-11.0/Jmol.js  
      inflating: jmol/jmol-11.0/jmol.mac  
      inflating: jmol/jmol-11.0/jmol.sh  
      inflating: jmol/jmol-11.0/JmolApplet.jar  
      inflating: jmol/jmol-11.0/JmolApplet_i18n.jar  
      inflating: jmol/jmol-11.0/JmolApplet0.jar  
      inflating: jmol/jmol-11.0/JmolApplet1.jar  
      inflating: jmol/jmol-11.0/JmolApplet2.jar  
      inflating: jmol/jmol-11.0/JmolApplet3.jar  
      inflating: jmol/jmol-11.0/JmolApplet4.jar  
      inflating: jmol/jmol-11.0/JmolApplet5.jar  
      inflating: jmol/jmol-11.0/JmolApplet6.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned_i18n.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned0.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned1.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned2.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned3.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned4.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned5.jar  
      inflating: jmol/jmol-11.0/JmolAppletSigned6.jar  
      inflating: jmol/jmol-11.0/LICENSE.txt  
      inflating: jmol/jmol-11.0/README.txt  
       creating: jmol/lang/
       creating: jmol/lang/en/
      inflating: jmol/lang/en/lang.php   
       creating: jmol/lang/ja/
      inflating: jmol/lang/ja/lang.php   
      inflating: jmol/syntax.php         
    kimi@sstweb:~$ ls
    LICENSE                  gifsave.c     moin-1.5.8.tar
    README                   jmol          pukiwiki-1.4.7_notb_utf8
    __MACOSX                 jmol.zip      pukiwiki-1.4.7_notb_utf8.tar
    cb6.tar                  mbox          rightsidebarsmaller.zip
    cbag.tar                 mimetex.c     site.tar
    cbkt70jal.bin            mimetex.h     sstlab
    cbof70jal.bin            mimetex.html  texfonts.h
    dokuwiki-2008-05-05.tgz  mimetex.zip   x
    gfuntype.c               moin-1.5.8    xc
    kimi@sstweb:~$ ls jmol
    jmol-11.0  lang  syntax.php
    kimi@sstweb:~$ ls jmol
    jmol-11.0  lang  syntax.php
    kimi@sstweb:~$ ls jmol/jmol-11.0/
    COPYRIGHT.txt    JmolApplet3.jar        JmolAppletSigned2.jar      LICENSE.txt
    Jmol.jar         JmolApplet4.jar        JmolAppletSigned3.jar      README.txt
    Jmol.js          JmolApplet5.jar        JmolAppletSigned4.jar      jmol
    JmolApplet.jar   JmolApplet6.jar        JmolAppletSigned5.jar      jmol.bat
    JmolApplet0.jar  JmolAppletSigned.jar   JmolAppletSigned6.jar      jmol.mac
    JmolApplet1.jar  JmolAppletSigned0.jar  JmolAppletSigned_i18n.jar  jmol.sh
    JmolApplet2.jar  JmolAppletSigned1.jar  JmolApplet_i18n.jar
    kimi@sstweb:~$ popd
    /var/www/dokuwiki
    kimi@sstweb:/var/www/dokuwiki$ ls
    COPYING  VERSION  conf  doku.php  inc        install.php
    README   bin      data  feed.php  index.php  lib
    kimi@sstweb:/var/www/dokuwiki$ cd lib/
    kimi@sstweb:/var/www/dokuwiki/lib$ ls
    exe  images  plugins  scripts  styles  tpl
    kimi@sstweb:/var/www/dokuwiki/lib$ cd plugins/
    kimi@sstweb:/var/www/dokuwiki/lib/plugins$ ls
    acl         admin.php  importoldchangelog  info    popularity  syntax.php
    action.php  config     importoldindex      plugin  revert      usermanager
    kimi@sstweb:/var/www/dokuwiki/lib/plugins$ cp -r /home/kimi/jmol .
    kimi@sstweb:/var/www/dokuwiki/lib/plugins$ ls
    acl         config              info    popularity  usermanager
    action.php  importoldchangelog  jmol    revert
    admin.php   importoldindex      plugin  syntax.php
    kimi@sstweb:/var/www/dokuwiki/lib/plugins$ 
    

CamposASE2をMacにインストール

No PDB file..

trash/start.txt · 最終更新: 2009/02/03 18:17 by kimi
www.chimeric.de Creative Commons License Valid CSS Driven by DokuWiki do yourself a favour and use a real browser - get firefox!! Recent changes RSS feed Valid XHTML 1.0