Imthiaz Blog

me and stupid works….!!!

BSD, SSH and PHP on my iPhone

November 14th, 2007 by Imthiaz

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 ;-)

BSD, SSH and PHP on my iPhone

Wow this gadget is really amazing :-D

7 Responses to “BSD, SSH and PHP on my iPhone”

  1. Linux Code and More » Blog Archive » BSD, SSH and PHP on my iPhone Says:

    [...] 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 [...]

  2. Anirudh Says:

    So is the server running on the iphone or your host?

  3. stveve Says:

    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?

  4. Web Hosting Reviews, Web Site Hosting Says:

    Web Hosting Reviews, Web Site Hosting

    I couldn’t understand some parts of this article, but it sounds interesting

  5. Guru Rao Says:

    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!!)

  6. claudiu Says:

    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!

  7. Susanth Says:

    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;

Leave a Reply