version 1.16, 2001/03/15 13:43:00
|
version 1.19, 2002/11/15 23:36:58
|
Line 526 and typing the several "make" commands f
|
Line 526 and typing the several "make" commands f
|
</FONT> |
</FONT> |
<H2>Configuration (automated)</H2> |
<H2>Configuration (automated)</H2> |
<P> |
<P> |
Not yet developed. This will be part of an interface |
Not yet stabilized. We are looking at webmin |
present on LON-CAPA systems that can be launched by |
and/or a text-UI tool with less software dependencies |
entering the command <TT>/usr/sbin/loncapaconfig</TT>. |
than the python-anaconda hunk represented by |
|
the prior loncapaconfig. |
</P> |
</P> |
<H2>Manual configuration</H2> |
<H2>Manual configuration</H2> |
<P> |
<P> |
Line 556 VALUES ('localhost','www',password('newm
|
Line 557 VALUES ('localhost','www',password('newm
|
<P> |
<P> |
<STRONG>Granting privileges to user 'www'</STRONG>: |
<STRONG>Granting privileges to user 'www'</STRONG>: |
<PRE> |
<PRE> |
GRANT ALL PRIVILEGES ON *.* TO www@localhost; |
GRANT ALL PRIVILEGES ON loncapa.* TO 'www@localhost'; |
FLUSH PRIVILEGES; |
FLUSH PRIVILEGES; |
</PRE> |
</PRE> |
</P> |
</P> |
Line 617 As user www, run this command
|
Line 618 As user www, run this command
|
enter the password as SOMEPASSWORD |
enter the password as SOMEPASSWORD |
|
|
To add the user www to the MySQL server, and grant all |
To add the user www to the MySQL server, and grant all |
privileges on *.* to www@localhost identified by 'SOMEPASSWORD' |
privileges on loncapa.* to www@localhost identified by 'SOMEPASSWORD' |
with grant option; |
with grant option; |
|
|
INSERT INTO user (Host, User, Password) |
INSERT INTO user (Host, User, Password) |
VALUES ('localhost','www',password('SOMEPASSWORD')); |
VALUES ('localhost','www',password('SOMEPASSWORD')); |
|
|
GRANT ALL PRIVILEGES ON *.* TO www@localhost; |
GRANT ALL PRIVILEGES ON loncapa.* TO 'www@localhost'; |
|
|
FLUSH PRIVILEGES; |
FLUSH PRIVILEGES; |
|
|