Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 646044
Collapse All | Expand All

(-)webapp-config.8.xml.orig (-6 / +6 lines)
Lines 623-648 Link Here
623
	<refsect2>
623
	<refsect2>
624
	  <title>Installing applications</title>
624
	  <title>Installing applications</title>
625
	  <para>To install a copy of phpmyadmin-2.5.6, so that it is available from http://www.example.com/databases/admin/, you would do this:</para>
625
	  <para>To install a copy of phpmyadmin-2.5.6, so that it is available from http://www.example.com/databases/admin/, you would do this:</para>
626
	  <para><userinput>webapp-config -I -h www.example.com -d /databases/admin/ phpmyadmin 2.5.6</userinput></para>
626
	  <para><userinput>webapp-config -h www.example.com -d /databases/admin/ -I phpmyadmin 2.5.6</userinput></para>
627
	  <para>To make sure that the shell account 'dbadmin' could edit the configuration files of phpmyadmin, you'd add the <option>-u</option> switch like this:</para>
627
	  <para>To make sure that the shell account 'dbadmin' could edit the configuration files of phpmyadmin, you'd add the <option>-u</option> switch like this:</para>
628
	  <para><userinput>webapp-config -I -h www.example.com -d /databases/admin -u dbadmin phpmyadmin 2.5.6</userinput></para>
628
	  <para><userinput>webapp-config -h www.example.com -d /databases/admin -u dbadmin -I phpmyadmin 2.5.6</userinput></para>
629
	</refsect2>
629
	</refsect2>
630
	<refsect2>
630
	<refsect2>
631
	  <title>Upgrading applications</title>
631
	  <title>Upgrading applications</title>
632
	  <para>To upgrade the copy of phpmyadmin-2.5.6 to version 2.5.7, you would do this:</para>
632
	  <para>To upgrade the copy of phpmyadmin-2.5.6 to version 2.5.7, you would do this:</para>
633
	  <para><userinput>webapp-config -U -d /databases/admin/ phpmyadmin 2.5.7</userinput></para>
633
	  <para><userinput>webapp-config -d /databases/admin/ -U phpmyadmin 2.5.7</userinput></para>
634
	  <para>To upgrade <emphasis>all</emphasis> the virtual copies of phpmyadmin-2.5.6, you would do this:</para>
634
	  <para>To upgrade <emphasis>all</emphasis> the virtual copies of phpmyadmin-2.5.6, you would do this:</para>
635
	  <para>
635
	  <para>
636
	    <userinput>for x in `webapp-config --li phpmyadmin 2.5.6`;do . ${x}/.webapp &amp;&amp; webapp-config -U -h ${WEB_HOSTNAME} -d ${WEB_INSTALLDIR} phpmyadmin 2.5.7; done</userinput>
636
	    <userinput>for x in `webapp-config -li phpmyadmin 2.5.6`;do . ${x}/.webapp &amp;&amp; webapp-config -h ${WEB_HOSTNAME} -d ${WEB_INSTALLDIR} -U phpmyadmin 2.5.7; done</userinput>
637
	  </para>
637
	  </para>
638
	</refsect2>
638
	</refsect2>
639
	<refsect2>
639
	<refsect2>
640
	  <title>Removing applications</title>
640
	  <title>Removing applications</title>
641
	  <para>To remove the copy of phpmyadmin-2.5.7, you would do this:</para>
641
	  <para>To remove the copy of phpmyadmin-2.5.7, you would do this:</para>
642
	  <para><userinput>webapp-config -C -h www.example.com -d /databases/admin/</userinput></para>
642
	  <para><userinput>webapp-config -h www.example.com -d /databases/admin/ -C phpmyadmin 2.5.7</userinput></para>
643
	  <para>To remove <emphasis>all</emphasis> the virtual copies of phpmyadmin-2.5.7, you would do this:</para>
643
	  <para>To remove <emphasis>all</emphasis> the virtual copies of phpmyadmin-2.5.7, you would do this:</para>
644
	  <para>
644
	  <para>
645
	    <userinput>for x in `webapp-config --li phpmyadmin 2.5.7`;do . ${x}/.webapp &amp;&amp; webapp-config -C -h ${WEB_HOSTNAME} -d ${WEB_INSTALLDIR}; done</userinput>
645
	    <userinput>for x in `webapp-config -li phpmyadmin 2.5.7`;do . ${x}/.webapp &amp;&amp; webapp-config -h ${WEB_HOSTNAME} -d ${WEB_INSTALLDIR} -C phpmyadmin 2.5.7; done</userinput>
646
	  </para>
646
	  </para>
647
	</refsect2>
647
	</refsect2>
648
      </refsect1>
648
      </refsect1>

Return to bug 646044