|
PCCS MySQLDatabase Admin Tool version 1.3.4
|
/DOCS/ -> INSTALL.SuSE6.3
1
2 This INSTALL howto was created by:
3 "Kevin Donnelly" <kevin>
4 Thanks...
5
6 Installation of PCCS_MySQLAdm on SuSE 6.3 - an idiot's guide!
7
8 1. Use YaST to install mod_php from the CDs.
9 2. Download the app from Chauncey's website and store it somewhere (eg in your /home directory).
10 3.a terminal window.
11 4. su to gain root access.
12 5. cd /usr/local/httpd/htdocs
13 6. tar -zxvf /pathto/download/pccs_mysqladm<versionno>
14 7. The package will unzip into the web directory, giving folder pccs_mysqladm, with various folders and files in that.
15 8. chown -R nobody:nogroup pccs_mysqladm. This will give the web-browser access.
16 9. Press Alt+F2 to get a command line, and enter kfmsu (to get the su file manager).
17 10. Navigate to /usr/local/httpd/htdocs/pccs_mysqladm/incs.
18 11. Click on dbconnect.php toit in Kedit.
19 12. Enter the details for the user you want to access MySQL as.
20 $db_server="localhost"
21 $db_user="root"
22 $db_password="whatever"
23 13. Save and exit.
24 14. The mod_php package installed by SuSE 6.3 only recognises .php3 as the extension for PHP files - we need to fix that.
25 15. Still using kfmsu, navigate to /etc/httpd.
26 16. Click on httpd.conf.
27 17. Edit/Find.
28 18. Enter DirectoryIndex.
29 19. Change the line:
30 DirectoryIndex index.html
31 to
32 DirectoryIndex index.html index.php index.php3 index.phtml
33
34 20. Edit/Find
35 21. Enter IfDefine PHP.
36 22. Change the line:
37 AddType application/x-httpd-php3 .php3
38 to
39 AddType application/x-httpd-php3 .php3 .php
40 23. Save and exit.
41 24. We now need to restart Apache, so that it can read the new httpd.conf file. (Note: ensure that Netscape Navigator is not
42 and that you are not in the htdocs tree, as this seems to result in the restart failing.)
43 25.a terminal.
44 26. su
45 27. /sbin/init.d/apache restart
46 28. Apache will shut down, and then restart after a few seconds.
47 29.Navigator, and enter localhost/pccs_mysqladmin - the admin interface will come up.
| |