permalink

14

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 😉

BSD, SSH and PHP on my iPhone

Wow this gadget is really amazing 😀

14 Comments

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

  2. 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?

  3. Pingback: Web Hosting Reviews, Web Site Hosting

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

  5. 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!

  6. 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;

  7. Hi:
    Our company main products is IPOD and IPHONE repair parts, like lcd,front
    panel,HDD,headphone jack,batteries etc.with 5 years experiences in China,With our
    knowledge and experience in this line ,we guarantee satisfaction in reasonable prices,
    high quality and prompt delivery.
    hope we can enjoy many more years of doing business together.
    Email:wendy@ipartscity.com
    Link:www.ipartscity.com

  8. Hi. I was wondering how you found the IP address of your iPhone via terminal. :p You mentioned that you used ifconfig. What do I type in first exactly? Thanks in advance! :p

  9. I really like to have php on my iPhone 3G. I installed lighttp, it works great 🙂 How can I compile php on my iPhone?

  10. Hi, may i know what is the default password for root after you had install the BSD system?
    Thanks

  11. Hey there,

    How r u? well am a new user of i phone, and am wondering if u can help me access SSH on my iphone~ am using du sim and i have no idea how to do that!

    please help!!

  12. Hello,

    “Tonight I installed BSD system on my iPhone” <– Does it means you installed *bsd on your iphone or just some libs?

    In case you managed to change OS, anyone knows if nowadays it is legal in most countries to do so?

    BR

    ps : Other vendors provide full *nix compliant systems upgradable at will.