PCCS MySQLDatabase Admin Tool version 1.3.4


/DOCS/ -> README

1  ///////////////////////////////////////////////////////////////////////////////////
2  //This application assumes you have some working knowledge of MySQL and PHP )+: //
3  ///////////////////////////////////////////////////////////////////////////////////
4 
5  ///////////////////////////////////////////////////////////////////////////////////
6  // If you have an suggestion, code, and/or ideas that you would like to see made
7  // available in future release send them to me @ cthorn
8  // This application was written because I use MySQL at work to store information
9  // about the network that I manage. You'll find that most of the applications
10  // on PCCS-Linux.COM are tools that I use for various task at work.
11  // There will be bugs because I'm the only coder and because the apps' primary
12  // design was as a tool to help me at work, I may not notice a bug for a number
13  // of weeks or more. So without getting an e-mail from you that a bug was found
14  // prevents me fixing the problem.
15  ///////////////////////////////////////////////////////////////////////////////////
16 
17  // Moved Changelog to a file called CHANGELOG
18 
19  //////////////////////////////////////////////////////////////////////////
20  // Install Info
21 
22  Installing PCCS MYSQLADM
23  $su
24  # cd /home/www/htdocs or to your web root
25  # tar -xvzf /pathto/file/pccsmysqladm.tar.gz
26  # chown root:nobody pccsmysqladm/
27  # run fix_perm.sh in the bin/ directory
28 
29 up your web browser goto:
30  http://yourhost/pccsmysqladm/
31 
32 
33  If you don't already have MySQL and PHP Confiugred Continue
34          else
35  check out the app, and I hope you find it useful.
36 
37  Comments, suggestions >> cthorn
38 
39 
40  Installing MySQL:
41  $ su
42  # cd /usr/local
43  # tar -xvzf /pathto/mysqlsrc/mysql-3.22*gz
44  # mv mysql* mysql
45  # cd mysql
46  # ./configure
47  # make && make install
48  # scripts/mysql_install_db
49  # cp support-files/mysql.server /etc/rc.d/init.d/mysql
50  # chmod +x /etc/rc.d/init.d/mysql
51  # /sbin/chkconfig --del mysql
52  # /sbin/chkconfig --add mysql
53  # /etc/rc.d/init.d/mysql start
54 
55  Installing Apache:
56 
57  # tar -xvzf apache_1.3.x.tar.gz
58  # cd apache_1.3.x
59  # ./configure --prefix=/home/www \
60                            --enable-module=most \
61                            --enable-shared=max
62 
63 
64  # make && make install
65                            
66  # ln -s /home/www/bin/apachectl /etc/rc.d/init.d/httpd
67 
68  Add the following to your /home/www/bin/apachectl
69  # chkconfig: 2345 10 90
70  # Description: Start/Stop Apache W3 Server
71 
72  # /sbin/chkconfig --del httpd
73  # /sbin/chkconfig --add httpd
74 
75  Modify your /home/www/conf/httpd.conf
76 
77  Port 80
78  DirectoryIndex index.html index.php3 index.phtml
79 
80  AddType application/x-httpd-php3 .php3 .phtml
81 
82  Test your Apache Setup
83 
84  # /etc/rc.d/init.d/httpd start
85  # ps ax | grep httpd
86 
87  Install PHP3:
88  # /etc/rc.d/init.d/httpd stop
89 
90  # cd /pathto/phpsrc
91  # tar -xvzf php-3.0.x.tar.gz
92  # cd php-3.0.x
93  # ./configure --with-mysql --with-pgsql --with-imapd --with-gd --with-zlib\
94                           --with-apxs=/home/www/bin/apxs--with-system-regex \
95                           --enable-track-vars
96 
97  # make && make install
98  # cp php.ini-dist /home/www/conf/php.ini
99 
100  ReStart apache
101 
102  # /etc/rc.d/init.d/httpd start
103 
104  //////////////////////////////////////////////////////////////////////////////
105 
106  Or get the binary ...
107 
108  rpm -ivh mysql*.rpm
109 
110  tar -xvzf mysql*gz
111  cd mysql*
112  make install
113 
114  ////////////////////////////////////////////////////////////////////////////////////


Generated: Sat Jan 27 15:40:36 2001 Generated by PHPXref 0.1.2
PCCS-Linux.COM ::ource Advocate Articles catalogue
2000 2002