friendpeer
Group: Members
Posts: 2
Joined: Nov. 2005 |
|
Posted: 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.
|