Thread TWiki: Einrichtung (10 answers)
Opened by Strat at 2003-08-24 22:26

pktm
 2003-08-31 15:35
#28094 #28094
User since
2003-08-07
2921 Artikel
BenutzerIn
[Homepage]
user image
Hallo!
ich bin mit der EInrichtung etwas weiter gekommen, hänge aber jetzt ghier fest:
Quote
Step 2
...
* This Guide assumes user nobody ownership for all files manipulated by the CGI scripts (executed by the Web server), and user twiki for all other files. You can:

   * replace nobody with another user if your server executes scripts under a different name (ex: default for Debian is www-data).

       * HINT: Run the testenv script from your browser: http://yourdomain.com/twiki/bin/testenv. It will show you the user name of the CGI scripts, a table listing all CGI environment variables, and a test of your twiki/lib/TWiki.cfg configuration file (you'll configure that in a minute).

   * replace user twiki with your own username

* Set the permission of all files below twiki/data so that they are writable by user nobody. A simple way is to chmod them to -rw-rw-r-- (664) and to chown them to nobody.

* Set the permission of the twiki/data directory and its subdirectories so that files in there are writable by user nobody. A simple way is to chmod them to drwxrwxr-x (775) and to chown them to nobody.

* Set the permission of the twiki/pub directory and all its subdirectories so that files in there are writable by user nobody. A simple way is to chmod them to drwxrwxr-x (775) and to chown them to nobody.

* The twiki/data/*/*.txt,v RCS repository files in the installation package are locked by user nobody. If your CGI scripts are not running as user nobody, it's not possible to check in files (you'll see that the revision number won't increase after saving a topic). In this case, you need to unlock all repository files (check the RCS man pages) and lock them with a different user, ex www-data, or delete them all - new files will be automatically created the first time each topic is edited. A simple way to change ownership is with a search-and-replace in all files; for example, using perl:
Code: (dl )
1
2
cd twiki/data
perl -pi~ -e 's/nobody:/www-data:/' */*,v

Ich habe keine Ahnung, was mir diese Partie sagen soll. Ich raff einfach nicht, was da steht.
Das einzige, was ich bis jetzt hinbekommen ahbe ist, den User(-name?) via testenv heraus zu bekommen. Der ist "apache".
Für twiki muss der aber "nobody" sein.
Und wie soll ich das jetzt umstellen.
Noch wichtiger wäre für mich zu wissen, was das überhaupt für ein Name ist.
Ist das der Servername? (der ist in der httpd.conf bei mirnoch garnicht gesetzt)
mfg pktm\n\n

<!--EDIT|pktm|1062329763-->
http://www.intergastro-service.de (mein erstes CMS :) )

View full thread TWiki: Einrichtung