Search Members Help

» Welcome Guest
[ Log In :: Register ]

Mini-ITX Boards Sale, Fanless BareBones Mini-ITX, Bootable 1G DSL USBs, 533MHz Fanless PC <-- SALE $200 each!
Get The Official Damn Small Linux Book. DSL Market , Great VPS hosting provided by Tektonic
 

[ Track this topic :: Email this topic :: Print this topic ]

reply to topic new topic new poll
Topic: Monkey Web Server + PHP + MySQL, Finally, I can run MySQL< Next Oldest | Next Newest >
friendpeer Offline





Group: Members
Posts: 2
Joined: Nov. 2005
Posted: Nov. 19 2005,20:21 QUOTE

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.
Back to top
Profile PM 
AwPhuch Offline





Group: Members
Posts: 1404
Joined: April 2004
Posted: Nov. 19 2005,23:29 QUOTE

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


--------------
http://www.frappr.com/dsl <-- Where do you use DSL?
http://www.smoothwall.org <-- Ultimate firewall for the world!
http://boinc.mundayweb.com/one/stats.php/userID:6107 <--My BOINC stats!
./S99LinuxRevolution start
Back to top
Profile PM WEB 
1 replies since Nov. 19 2005,20:21 < Next Oldest | Next Newest >

[ Track this topic :: Email this topic :: Print this topic ]

 
reply to topic new topic new poll
Quick Reply: Monkey Web Server + PHP + MySQL

Do you wish to enable your signature for this post?
Do you wish to enable emoticons for this post?
Track this topic
View All Emoticons
View iB Code