Webapp-config Notes: Difference between revisions

From Federal Burro of Information
Jump to navigationJump to search
(New page: upgrade all installs webapp-config --list-installs /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/sal...)
 
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 1: Line 1:
upgrade all installs
list all installs


  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
Line 21: Line 37:
install media wiki
install media wiki


on salaam:
  webapp-config -I -h salaam.quadratic.net -d wiki --secure mediawiki 1.13.3
  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:
remove the old non secure version:


  webapp-config -C -h salaam.quadratic.net -d cacti cacti 0.8.7b-r3
  webapp-config -C -h salaam.quadratic.net -d cacti cacti 0.8.7b-r3

Latest revision as of 00:54, 21 May 2011

list 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