version 1.27, 2002/06/02 04:06:29
|
version 1.31, 2002/07/18 19:51:31
|
Line 30 Configuring the MySQL database</a></li>
|
Line 30 Configuring the MySQL database</a></li>
|
<li><a href="#testing"> |
<li><a href="#testing"> |
Testing to see if the LON-CAPA server is operational</a></li> |
Testing to see if the LON-CAPA server is operational</a></li> |
</ul> |
</ul> |
|
<p> |
|
<strong>NOTE:</strong> |
|
If you want to simultaneously install both RedHat 7.3 and LON-CAPA |
|
(to ensure 100% reliability), follow <a href="rh73.html">these |
|
alternative directions</a>. |
|
</p> |
|
<ul> |
|
<li><a href="#wwwuser"> |
|
Creating a user 'www'</a></li> |
<br /> |
<br /> |
<!-- preamble end --> |
<!-- preamble end --> |
<!-- maintext start --> |
<!-- maintext start --> |
Line 182 on your LON-CAPA server.
|
Line 191 on your LON-CAPA server.
|
<li>you should substitute 'ROOTPASSWORD' with something very hard to guess |
<li>you should substitute 'ROOTPASSWORD' with something very hard to guess |
(it does not have to be the Linux OS root password) |
(it does not have to be the Linux OS root password) |
</li> |
</li> |
<li>The MySQLwww@localhost must always have a password of 'localhostkey' |
<li>The MySQL www@localhost user must always have a password of 'localhostkey' |
to work for a standard LON-CAPA system. |
in order for there to be correct operation of a standard LON-CAPA system. |
</li> |
</li> |
</ul> |
</ul> |
<p> |
<p> |
Line 221 mysql> SET PASSWORD FOR root@localhost=P
|
Line 230 mysql> SET PASSWORD FOR root@localhost=P
|
<table bgcolor="#aaaaaa" border="1"><tr><td> |
<table bgcolor="#aaaaaa" border="1"><tr><td> |
<pre> |
<pre> |
shell> mysql -u root -p mysql |
shell> mysql -u root -p mysql |
mysql> DELETE FROM user WHERE host<>'localhost'; |
mysql> DELETE FROM user WHERE host<>'localhost'; |
</pre> |
</pre> |
</td></tr></table> |
</td></tr></table> |
<a name="testing" /> |
<a name="testing" /> |