Tips for making a Live php application CD with Knoppix?
Hi all,
I'm planning to remaster Knoppix to release a LiveCD featuring a php-mysql based application.
It's something like a CMS system.
The goal is to provide a system with a nice graphical interface (KDE it's ok), with apache, php and mysql running from the startup and a browser window opening on the "home page" of my application.
Obviously I need to create and populate database and tables, setting the right config in apache and installing all my php files in the home dir.
This way I can provide to those interested in my application an easy test suite even without an internet connection.
While I'm sure there 'll no problem in making this, first I would like to hear your tips and suggestions, if any...
... so I'm listening :)
anyone? :lol:
Re: Tips for making a Live php application CD with Knoppix?
Quote:
Originally Posted by garubi
Hi all,
Obviously I need to create and populate database and tables, setting the right config in apache and installing all my php files in the home dir.
While I'm sure there 'll no problem in making this, first I would like to hear your tips and suggestions, if any...
Hi!
Whatever everyone said about compiling from source... I don't get it. I simply downgraded mysql to 3.23, modified httpd.conf, installed php-gdlib and was happy.
For the databases you simply have to copy the mysql-directories to your source/var/lib/mysql. Same goes for the php-code. Be warned though if your productive system is another distro. You will have to chown at least the mysql-files. If you have an upload-area on your webpresence, chown these files to mysql-data:mysql-data.
And watch your overall disk usage. Uninstall packets like tetex and emacs - this will yield you some freedom :)
All the best,
Christoph