![]() |
|
Using your iDevice as a perfect webserver - Printable Version +- Sinisterly (https://sinister.ly) +-- Forum: Computers (https://sinister.ly/Forum-Computers) +--- Forum: Networking (https://sinister.ly/Forum-Networking) +--- Thread: Using your iDevice as a perfect webserver (/Thread-Using-your-iDevice-as-a-perfect-webserver) |
Using your iDevice as a perfect webserver - Aces - 12-28-2013 In this tutorial I will cover how to use you iDevice as a Webserver that have database handling, and can redirect pages. Here we go. 1.) The first thing we need to have is lighttpd, this is a web server that can be used for your iDevice and is accessable from Cydia. You would wanna install that now. 2.) Once you got that installed you would wanna install the following things: mysql, php, iFile. 3.) Now you wanna go and download PHPMyAdmin Once you do that extract it to /var/www/phpmyadmin 4.) Now you wanna login via SSH/Mobile Terminal and execute "mysql". Now you wanna execute the following Code: UPDATE mysql.user SET Password=PASSWORD('yourpassword') WHERE User='root';Code: FLUSH PRIVILEGES;5.) Now you successfully installed PHPMyAdmin! Go on and visit http://localhost/phpmyadmin or http://*Your iDevice IP address*/phpmyadmin Screenshot of my setup Spoiler:![]() 6.) For the redirection, header won't work. There for use Code: echo '<META HTTP-EQUIV="Refresh" Content="0; URL=example.php">';
exit;That's all, I hope somebody found this useful. ![]() I just found this tutorial on another found I'm active on. Thought I'd share it on here. RE: Using your iDevice as a perfect webserver - Silvinex - 12-28-2013 This is a very good tutorial. But now I have to jailbreak on IOS7 :omg: RE: Using your iDevice as a perfect webserver - Aces - 12-28-2013 (12-28-2013, 08:27 AM)Vip Wrote: This is a very good tutorial. But now I have to jailbreak on IOS7 :omg: Hehe, I just have a downgraded iOS 6.1.4. I have SHSH blobs so I can even downgrade to iOS 4.
RE: Using your iDevice as a perfect webserver - Silvinex - 12-28-2013 (12-28-2013, 08:30 AM)Aces Wrote: Hehe, I just have a downgraded iOS 6.1.4. I have SHSH blobs so I can even downgrade to iOS 4. I know that an untethered ios7 jailbreak was released but I read that the Cydia on it is unstable and that's why I don't want to jailbreak : p |