BSD, SSH and PHP on my iPhone
Tonight I installed BSD system on my iPhone. Once that is complete I installed openSSH, Term-vt100. I opened terminal and changed my root password using the command passwd.
I found the ip of the iPhone using the command ifconfig. Latter I was able to connect to the iPhone using ssh from my laptop ;-). I was even able to ftp files to my iphone over SSH.
I Installed apache, php edited httpd.conf and I was able to run php scripts from my iPhone. It has all the basic modules that is needed to write a simple powerful application with sqlite. Taken a screenshot too

Wow this gadget is really amazing ![]()
7 Comments »
RSS feed for comments on this post. | TrackBack URI
[...] Unknown wrote an interesting post today onHere’s a quick excerpt Tonight I installed BSD system on my iPhone. Once that is complete I installed openSSH, Term-vt100 … of the iPhone using the command ifconfig. Latter I was able to connect to the iPhone using ssh from my laptop ;-). I was even able to ftp files to my iphone over SSH. I Installed apache, php edited [...]
Pingback by Linux Code and More » Blog Archive » BSD, SSH and PHP on my iPhone — November 14, 2007 @ 2:25 am
So is the server running on the iphone or your host?
Comment by Anirudh — November 18, 2007 @ 8:10 pm
I have installed vt100, open ssh and BSD subsystem but when I type password in terminal it says command not found. Is there any place I can find list of vt100 comands and their format?
@Imthiaz
Could you please post the script you have wrote for the above screen shot for us to test?
Comment by stveve — November 25, 2007 @ 3:24 pm
Web Hosting Reviews, Web Site Hosting
I couldn’t understand some parts of this article, but it sounds interesting
Trackback by Web Hosting Reviews, Web Site Hosting — November 29, 2007 @ 6:29 pm
Hi Imthiaz,
Congrats on I phone.
I’m writing this comment for something else!
I was browsing about SEO and only post I found from UAE was yours!!
I’m in the process of developing something new for this Market(Dubai) . An online travel web site!
I wish to talk to you and see how our intrests may cross lines!
When ever you are free from all blogging and working..give me a call on +97155 9269561 or send me a mail on above ID
Thank you
Guru Rao
P.S. (only reason I gave my personal e-mail ID is I’m not too sure yet how to involve you in my office work!!)
Comment by Guru Rao — December 5, 2007 @ 5:00 pm
Hi,
you might wanna try lighttpd cause will useup less memory and CPU. Apache is a bit hungry

Anyway, without a DB engine (e.g.: mysql?) not too many things can be done… Do you have any idea about bento running on ipod touch/iphone? Maybe can be used for building some small “online” applications?
anyway, have fun!
Comment by claudiu — December 22, 2007 @ 6:45 pm
Woow; Good work! please get me more info regarding Replacing OsX in the iphone with other apps.
Any Such links will do;
Is it Darwin or FreeBSD/OpenBSD/or else U installed ? from phpinfo() i guess u have installed bare Darwin;
Good work; Keep it up;
Comment by Susanth — April 3, 2008 @ 2:54 pm