Cobalt Qube2

Installing mysql & php on your qube 2

Important You will need to sort out your OS parition before you begin

Please note these files are very rare, please download them and mirror the files to prevent them being lost forever. You can leave a link to them in the guestbook

Before you can begin the installation you will have to download the following files, using ftp or whatever copy these to a location on your qube. ie '/home/users/me/downloads'

Login using telnet or ssh as root and run the following commands:

cd /home/users/me/php_sql/
rpm -ihv /home/users/me/php_sql/MySQL-3.22.21-2C1.mips.rpm
rpm -ihv /home/users/me/php_sql/ncurses3-1.9.9e-11.mipsel.rpm
rpm -ihv /home/users/me/php_sql/MySQL-client-3.22.21-2C1.mips.rpm
rpm -ihv /home/users/me/php_sql/MySQL-devel-3.22.21-2C1.mips.rpm
rpm -ihv /home/users/me/php_sql/mod_php3-3.0.7-1C2.mips.rpm
rpm -ihv /home/users/me/php_sql/mod_php3-doc-3.0.7-1C2.mips.rpm
rm *
/sbin/shutdown now -r

After the server restarts you mysql and manual will be fully installed to view this manual from telnet or ssh type MAN mysql this help information will tell you how to setup additional tables etc.

For the man fuction to work you need a decent client such as putty (win32 application) which can be downloaded here.

For some people that are too lazy to read the help these are the basic commands to setup a table

mysqladmin -u root create new_table_name_here

If you want you could upgrade to apache 1.3.3 i recommend taking a backup of the previous httpd.conf file, this way you can just replace the current when apache 1.3.3 has been installed. Apache-1.3.12-1.mips.pkg

If you are using perl with mysql i recommend you install the DBI module, which gives direct access to your database :). Again from telnet download these files copy them to a location and run the following.

cd /home/users/me/php_sql/
rpm -ihv /home/users/me/php_sql/perl-Msql-Mysql-modules-1.2214-1.mipsel.rpm
rpm -ihv /home/users/me/php_sql/perl-DBI-1.14-1.mipsel.rpm
rm *

Once installed you will have access to the standard DBI.pm file.


Mirrored by unix-boy.com from www.devdos.com. This page has been edited to keep the site from breaking after mirroring.