Webapp-config Notes: Difference between revisions
From Federal Burro of Information
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 2: | Line 2: | ||
webapp-config --list-installs | webapp-config --list-installs | ||
same as: | |||
for i in `find /var/db/webapps -name installs `; do echo $i; cat $i; done | |||
/var/www/salaam.quadratic.net/htdocs/cacti | /var/www/salaam.quadratic.net/htdocs/cacti | ||
Line 12: | Line 16: | ||
find /usr/share/webapps/ -maxdepth 2 -type d | find /usr/share/webapps/ -maxdepth 2 -type d | ||
or via equery: | |||
<pre> | |||
cydonia secure # /usr/bin/equery list mediawiki | |||
[ Searching for package 'mediawiki' in all categories among: ] | |||
* installed packages | |||
[I--] [M ] www-apps/mediawiki-1.13.5 (1.13.5) | |||
[I--] [M ] www-apps/mediawiki-1.15.5 (1.15.5) | |||
[I--] [M ] www-apps/mediawiki-1.16.1 (1.16.1) | |||
[I--] [M ] www-apps/mediawiki-1.16.2 (1.16.2) | |||
[I--] [ ] www-apps/mediawiki-1.16.4 (1.16.4) | |||
</pre> | |||
grep PVR /var/www/salaam.quadratic.net/htdocs/cacti/.webapp | grep PVR /var/www/salaam.quadratic.net/htdocs/cacti/.webapp |
Revision as of 00:38, 21 May 2011
upgrade all installs
webapp-config --list-installs
same as:
for i in `find /var/db/webapps -name installs `; do echo $i; cat $i; done
/var/www/salaam.quadratic.net/htdocs/cacti /var/www/salaam.quadratic.net/htdocs-secure/phpmyadmin 2.11.9.2 > 2.11.9.4 /var/www/salaam.quadratic.net/htdocs-secure/phpsysinfo 2.5.4
list availalbe versions:
find /usr/share/webapps/ -maxdepth 2 -type d
or via equery:
cydonia secure # /usr/bin/equery list mediawiki [ Searching for package 'mediawiki' in all categories among: ] * installed packages [I--] [M ] www-apps/mediawiki-1.13.5 (1.13.5) [I--] [M ] www-apps/mediawiki-1.15.5 (1.15.5) [I--] [M ] www-apps/mediawiki-1.16.1 (1.16.1) [I--] [M ] www-apps/mediawiki-1.16.2 (1.16.2) [I--] [ ] www-apps/mediawiki-1.16.4 (1.16.4)
grep PVR /var/www/salaam.quadratic.net/htdocs/cacti/.webapp
do an upgrade:
webapp-config -U -h salaam.quadratic.net -d phpmyadmin --secure phpmyadmin 2.11.9.4
install media wiki
on salaam:
webapp-config -I -h salaam.quadratic.net -d wiki --secure mediawiki 1.13.3
on cydonia:
/usr/sbin/webapp-config -I --secure -h www.quadratic.net -u root -d /wiki mediawiki 1.13.5
remove the old non secure version:
webapp-config -C -h salaam.quadratic.net -d cacti cacti 0.8.7b-r3