Webapp-config

Aus Andor2Wiki
Wechseln zu: Navigation, Suche

Webapplikationen verwalten mit webapp-config

Mit dem sehr nützlichen Gentoo-Tool "webapp-config" lassen sich die auf dem System verwendeten webapps sehr komfortabel verwalten und aktualisieren.

Applikation installieren, z.B.

# webapp-config -I -h andor2.de -d cloud owncloud 3.0.0
*
/usr/lib64/python2.6/site-packages/WebappConfig/content.py:27: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, re, os, os.path
*   Creating required directories
*   Linking in required files
*     This can take several minutes for larger apps
*   Files and directories installed
* Install completed - success


Applikation entfernen:

# webapp-config -C -h andor2.de -d cloud owncloud 3.0.0
* Removing owncloud-3.0.0 from /var/www/andor2.de/htdocs/cloud
*   Installed by root on 2012-07-08 21:40:03
*   Config files owned by 0:0
/usr/lib64/python2.6/site-packages/WebappConfig/content.py:27: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, re, os, os.path
!empty /var/www/andor2.de/cloud/cgi-bin
--- /var/www/andor2.dyndns.org/htdocs/cloud
* Remove whatever is listed above by hand


Applikation aktualisieren:

# webapp-config -U -h andor2.de -d cloud owncloud 4.0.4
* Upgrading owncloud-3.0.0 to owncloud-4.0.4
*   Installed by root on 2012-02-13 21:34:18
*   Config files owned by 0:0
/usr/lib64/python2.6/site-packages/WebappConfig/content.py:27: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5, re, os, os.path
!empty config
!empty data
!empty /var/www/andor2.de/cgi-bin
!found /var/www/andor2.de/error
!found /var/www/andor2.de/icons
--- /var/www/andor2.de/htdocs/cloud
* Remove whatever is listed above by hand
*   Creating required directories
*   Linking in required files
*     This can take several minutes for larger apps
*   Files and directories installed
* Install completed - success