Monkey Web Server + PHP + MySQL


Forum: User Feedback
Topic: Monkey Web Server + PHP + MySQL
started by: friendpeer

Posted by friendpeer on Nov. 19 2005,20:21
This evening, my hard disk stopped working. I didn't know how to work to continue my website projects.
Now I only have a DSL CD and my lovely 128 MB Kingston Flash Disk.
I was just thinking maybe I can work with them. I would save all data in Flash Disk.
I can surf using Firefox and get into this forum and I see that many people don't know how to run mysql in DSL.

(Sorry my english is bad, I'm from Indonesia)

I found Monkey Web Server and then installed < PHP 4 >.

As I also need mysql, it's impossible to install the newest mysql version because it won't be fit in my flash disk. I choose older version. First I download version 3.20, gunzip, untar, and run mysql_install_db from "scripts" directory. MySQL can run. And there's no problem at all.

And then I get phpMyAdmin, gunzip, untar, and it says that the version of MySQL should be 3.23.32 or newer.

Then I found MySQL 3.23.58.
After running "mysql_install_db" and "./bin/safe_mysqld --user=root &", MySQL runs very well.

Why I run it as root ? because when I tried to do "./bin/safe_mysqld &", it says it needs "mysql" user. I try to create "mysql" user and group but I get these message :
useradd: unable to lock password file
groupadd: unable to lock group file

I don't care if it runs as root because I use it for myself.

I put everything (monkey web conf, php, mysql, and htdocs) in flash disk.

Although I need a few hours to download because I'm using GPRS connection which is very slow (2 - 3 kb/s) but It's my first amazing experience using DSL.

Posted by AwPhuch on Nov. 19 2005,23:29
Most excellent...I would also recommend you look at < XAMPP >

Quote
XAMPP is an easy to install Apache distribution containing MySQL, PHP and Perl. XAMPP is really very easy to install and to use - just download, extract and start.


Better yet why not use one of the sister projects of DSL/KNOPPIX called < Lamppix >
Quote
Lamppix is a Linux Live CD based on Knoppix (http://knopper.net/knoppix) and Damn Small Linux (http://damnsmalllinux.org/). It includes Apache, MySQL, PostgreSQL, PHP, Perl. That means, it includes XAMPP of < http://apachefriends.org/ > plus PostgreSQL.

Everything is pre-configured, so you can simply insert the CD, reboot and enjoy a running webserver.

You can include your own PHP scripts and they'll run right off the CD. You can even include complete Content Management Systems (CMS) like Typo3 or Mambo to work with them.


Brian
AwPhuch

Powered by Ikonboard 3.1.2a
Ikonboard © 2001 Jarvis Entertainment Group, Inc.