version 1.6, 2002/05/07 21:47:32
|
version 1.7, 2002/05/10 16:17:17
|
Line 140 LON-CAPA hosts configuration:
|
Line 140 LON-CAPA hosts configuration:
|
|
|
12. Updated documentation |
12. Updated documentation |
Please help us keep our documentation up to date! If there is something |
Please help us keep our documentation up to date! If there is something |
in this document that was unclear or required further explaination, please help |
in this document that was unclear or required further explanation, please help |
us help others by improving it! |
us help others by improving it! |
|
|
|
|
Line 274 Require these RPMs:
|
Line 274 Require these RPMs:
|
mysql-3.23.41-1 (or standard RedHat 7.* version) |
mysql-3.23.41-1 (or standard RedHat 7.* version) |
mysql-server-3.23.41 (or standard RedHat 7.* version) |
mysql-server-3.23.41 (or standard RedHat 7.* version) |
|
|
|
*********************************************** Generating the 'www' mysql user |
Enter the mysql shell--- |
Enter the mysql shell--- |
mysql -u root -p mysql |
mysql -u root -p mysql |
|
OR |
|
mysql -u root mysql (depending on whether the mysql root password is set) |
|
|
Run these commands--- |
Run these commands--- |
CREATE DATABASE loncapa; |
CREATE DATABASE loncapa; |
Line 287 GRANT ALL PRIVILEGES ON *.* TO www@local
|
Line 290 GRANT ALL PRIVILEGES ON *.* TO www@local
|
|
|
FLUSH PRIVILEGES; |
FLUSH PRIVILEGES; |
|
|
|
************************************* SECURITY: Setting the mysql root password |
shell> mysql -u root mysql |
shell> mysql -u root mysql |
mysql> SET PASSWORD FOR root@localhost=PASSWORD('new_password'); |
mysql> SET PASSWORD FOR root@localhost=PASSWORD('new_password'); |
|
|
|
************************************ SECURITY: only allow access from localhost |
|
mysql> delete * from user where host<>'localhost' |
|
|
------------------------------------------------------------------ |
------------------------------------------------------------------ |
|
|
Also, be sure to: |
Also, be sure to: |