- Working with PHP 5 in Mac OS X 10.5 (Leopard)
- Installing MySQL on Mac OS X
- Installing Apache, PHP, MySQL, Postgresql on Mac OSX Leopard from source
- Fix for MySQL on Leopard
- Starting MySQL after upgrading to OS X Leopard
- Adding GD Library for Mac OS X Leopard: noted in this post is to keep using PHP 5.2.4 which is the same version supplied with Leopard
Open Source, Embedded Systems, Computer Vision, Computational Photography, Self-Improvement
Saturday, January 26, 2008
Getting AMP to run natively on Leopard
All this just to get ELGG and Refbase working properly:
Wednesday, January 23, 2008
Using wget to download a whole site
Found the following notes and I thought I want to try it.
Recursive options for wget.
-r = wget recursively
-p = download all files (incl. images) necessary to render the html pages
-l 2 = descend maximum 2 levels (default is 5)
Another useful option is "-np" or "--no-parent". This will prevent wget from ascending to the parent directory, such as when you want to download
So here goes my attempt to download the whole Quran recited by Muhammad Ayyoub:
The above method downloads everything! To keep just the MP3 files:
Seems to work. It's takes 24 hours just to get to Surah 26 on an 800 MHz G4 on static IP.
Recursive options for wget.
wget -r -p -l 2 http://website.com
-r = wget recursively
-p = download all files (incl. images) necessary to render the html pages
-l 2 = descend maximum 2 levels (default is 5)
Another useful option is "-np" or "--no-parent". This will prevent wget from ascending to the parent directory, such as when you want to download
but not everything on
http://website.com/subdirectory
http://website.com
So here goes my attempt to download the whole Quran recited by Muhammad Ayyoub:
wget -r -p -l 2 http://www.versebyversequran.com/data/Muhammad_Ayyoub_128kbps/
The above method downloads everything! To keep just the MP3 files:
wget -r -l1 --no-parent -A.mp3 http://www.versebyversequran.com/data/Muhammad_Ayyoub_128kbps/
Seems to work. It's takes 24 hours just to get to Surah 26 on an 800 MHz G4 on static IP.
Monday, January 21, 2008
Don't You Just Love This?
Error: Database connection failed. It is possible that the database is overloaded or otherwise not running properly. The site administrator should also check that the database details have been correctly specified in config.php |
Never thought this would happen outside of Moodle but with ELGG it did! I couldn't get MySQL back up after restarting MacMini.
I'm still stuck. One possible solution is here:
http://diymacserver.com/2007/10/31/mysql-has-some-issues-with-leopard/
but it didn't solve the problem. Other people working on the problem:
http://bugs.mysql.com/bug.php?id=31889
http://www.robbyonrails.com/articles/2007/10/27/starting-mysql-after-upgrading-to-os-x-leopard
Saturday, January 19, 2008
Some Web 2.0 Links
For now, this blog is for listing links I find interesting.
- Web 2.0 in plain English.
Many videos explaining how RSS, photo sharing etc works
MacBook Air
More articles appear on the Air. Anandtech describes the specially built Intel CPU. It's what you get when you enter a pact with the devil. Another article compares the Air with the Asus EEE PC.
Friday, January 18, 2008
Managed to Install TikiWiki
Just for the fun of it, I installed a Wiki on my home server. After evaluating MediaWiki, DekiWiki, DokuWiki and TikiWiki, I settled on TikiWiki for the supposedly able to support blogging and collaboration. We'll wait and see.
But to get to the point of geting it working wasted a few hours of my time. MySQL and PHP was broken with Leopard. So I reinstalled MySQL with version 5.0.45 from mysql.com. The MySQL Preferences Pane doesn't work anymore in Leopard. Next, the PHP socket is different. Time to edit the /etc/php.ini file. Bah!
Let's see if TikiWiki works for me. I may try DokuWiki next. RefBase sure didn't work in Leopard.
Here is the comparison that made me just to TikiWiki: http://www.siteground.com/compare_best_wiki.htm
But to get to the point of geting it working wasted a few hours of my time. MySQL and PHP was broken with Leopard. So I reinstalled MySQL with version 5.0.45 from mysql.com. The MySQL Preferences Pane doesn't work anymore in Leopard. Next, the PHP socket is different. Time to edit the /etc/php.ini file. Bah!
Let's see if TikiWiki works for me. I may try DokuWiki next. RefBase sure didn't work in Leopard.
Here is the comparison that made me just to TikiWiki: http://www.siteground.com/compare_best_wiki.htm
Monday, January 14, 2008
Learning about Learning 2.0
Currently, I am in JW Marriott KL attending eLearning 2.0 (Web 2.0) conducted by Stephen Downes. It's always refreshing to get different viewpoints on things we think we already know.
The highlights:
Steve's presence on the net
The highlights:
- Thou shalt blog.
- Web 2.0 is the bomb.
- The long tail
- The wisdom of crowds
- Edubloggers
- eLearning Malaysia
- Our Media. A place to put audio/video and link to your blog.
- Odeo. Podcasting site.
- Technorati. Place to look for blogs interesting to you. A list of blogs about elearning 2.0.
Steve's presence on the net
- Steve on Flickr. Steve's got the same camera (Canon S5 IS).
- Steve's blog
Subscribe to:
Posts (Atom)