PDA

View Full Version : [Announce] LiveMyDocs 12_10_29 - Some PHP5 / File Server


artron
2012-09-09, 18:37
LiveMyDocs
Beta Release

LiveMyDocs is Autoinstalation and Autoconfigure from Lighttpd+PHP5.

With LiveMyDocs your N900 will be Webserver and support PHP5.

http://ronny.tiaka.net/livemydocs/screenshot/livemydocs_phpinfo.jpg


First Application for LiveMyDocs is from Ajaxplorer (http://ajaxplorer.info) . With Ajaxplorer on LiveMyDocs your N900 will transform to be FIle Server.

You can open Ajaxplorer from any device (Laptop,PC,Smartphone etc) was connected (Same Workgroup/Router/Hub ). just call Your N900 IP Address from client browser device (Exm: http://192.168.10.123/ajaxplorer ).

if you dont have a Wifi around you, may you can install "QT Mobile Hotspot" and create some AdHoc Connection to make some connection into your N900.



http://ronny.tiaka.net/livemydocs/screenshot/livemydocs_ajaxplorer1.jpg http://ronny.tiaka.net/livemydocs/screenshot/livemydocs_ajaxplorer2.jpg

http://ronny.tiaka.net/livemydocs/screenshot/livemydocs_ajaxplorer3.jpg http://ronny.tiaka.net/livemydocs/screenshot/livemydocs_ajaxplorer4.jpg

http://ronny.tiaka.net/livemydocs/screenshot/livemydocs_ajaxplorer5.jpg http://ronny.tiaka.net/livemydocs/screenshot/livemydocs_ajaxplorer6.jpg


Instalation

make sure N900 was internet connected, because some archives will downloaded

this Application still not enter the Devel, so download manualy from https://garage.maemo.org/frs/download.php/10120/LiveMyDocs_12_10_29_armel.deb save on
/home/user/MyDocs

install using dpkg
dpkg -i /home/user/MyDocs/LiveMyDocs_12_10_29_armel.deb

Open Network>Install :

https://dl.dropbox.com/u/10922227/livemydocs/install/step1.png

https://dl.dropbox.com/u/10922227/livemydocs/install/step2.png


Follow Installer Instruction:
1. Need to Write "LiveMyDocs"
https://dl.dropbox.com/u/10922227/livemydocs/install/step3.png

2. Need to Write "R"
https://dl.dropbox.com/u/10922227/livemydocs/install/step4.png

3. Need to Write "OK"
https://dl.dropbox.com/u/10922227/livemydocs/install/step5.png


After all Shell run and finish, click this for start LiveMyDocs
https://dl.dropbox.com/u/10922227/livemydocs/install/step6.png

Push Any Key:
https://dl.dropbox.com/u/10922227/livemydocs/install/step7.png
that can't close automatic so after start just close manualy.

Test it, Open Network>LiveAjaXplorer :

https://dl.dropbox.com/u/10922227/livemydocs/install/step8.png

and if you want open from other device :

Connect your N900 into Wifi and you will get some IP Address.
i was use "Personal IP Address" from Devel to see my IP Address on Desktop, you can see my IP Address is "192.168.10.103".

https://dl.dropbox.com/u/10922227/livemydocs/install/step-connect.png

now i open Firefox on my laptop and goto "http://192.168.10.103/ajaxplorer"

https://dl.dropbox.com/u/10922227/livemydocs/install/step-client.png

now i can access my MyDocs and root folder N900 directly from my laptop.

by the way, i was try connected from my Samsung Galaxy mini S too (Using Dolpin Browser)

For Stop The Server, Open Network>LiveMyDocs-Stop
https://dl.dropbox.com/u/10922227/livemydocs/install/step-stop.png

File Release :

https://garage.maemo.org/frs/download.php/10120/LiveMyDocs_12_10_29_armel.deb

Special Thanks :
Ersan Permana - Fix Autoinstaller
Nokia N900 Community Indonesia User - https://www.facebook.com/groups/roverlounge/ - Tester

artron
2012-09-09, 18:43
Document root for put PHP5 / Web page file is in :
/home/user/LiveMyDocs/Applications

Lighttpd file config is in :
/home/user/LiveMyDocs/profile/livemydocs.conf
may you can edit PORT or something else...

Default Username and Password for Ajaxplorer :

Username : admin
password : admin

may you can edit PORT or something else...

if someone have problem please give me some bugs report...
trims...

bugs report :


1. At instalation progress : when click Install bring into xterminal and ask some password
2. At instalation progress : success run autoinstaller but after press any key autoinstaller is closed

imo
2012-09-09, 18:46
amazing ,i will test it asap .

ersanpermana
2012-09-10, 00:30
@artron Many thanks and All roads with good:D

Skaven2k2
2012-09-21, 23:31
Hello,

Where can be the File-size-upload-limit changed?

Is there a (PHP5)config-file for the values?

mr_pingu
2012-10-19, 14:58
I can't get this to work :( Looks awesome but I get always not found error? Seems it can't reach my N900, I even tried to connect through MicroB, both internal IP, external IP.
External IP: is in my case 192.168.0.109

Are all depencies right? I even installed php5, php-pear, file and lighttpd manually to fix this problem but to no avail :(

It just always can't reach remote host and I really don't get what I am doing wrong.

Do you have an ext3 formatted MyDocs? As I see tar tries to give permissions to ajaxplorer but FAT32 doesn't support that and give error messages.

How come I don't get an weblike interface?
Do I need to change something in my Router in order to get it working?

Btw php5 is not optified, takes about 15MB of rootfs space

artron
2012-10-19, 17:04
I can't get this to work :(

from my first release i have much bugs,
1st bugs is Image from Server put on N900 Photos,
so on 2nd release i change path of server to /home/user/LiveMyDocs.
if you was install the first release please uninstall it
and delete "/home/user/MyDocs/LiveMyDocs" folder

rm /home/user/MyDocs/LiveMyDocs -rf

delete old livemydocs.conf

rm /home/user/MyDocs/livemydocs.conf

and you can try install new release and start the server

before you open from other device,please try on localhost first from you device, to make sure Webserver and PHP run well

http://localhost/ajaxplorer

but i still have reported Bugs from any N900 when they try to install

1. At instalation progress : when click Install bring into xterminal and ask some password
2. At instalation progress : success run autoinstaller but after press any key autoinstaller is closed

i still i dont know, why my autoinstaller not run well from any N900,
when i try in my device is run well

ersanpermana
2012-10-19, 18:56
from my first release i have much bugs,
1st bugs is Image from Server put on N900 Photos,
so on 2nd release i change path of server to /home/user/LiveMyDocs.
if you was install the first release please uninstall it
and delete "/home/user/MyDocs/LiveMyDocs" folder

rm /home/user/MyDocs/LiveMyDocs -rf

delete old livemydocs.conf

rm /home/user/MyDocs/livemydocs.conf

and you can try install new release and start the server

before you open from other device,please try on localhost first from you device, to make sure Webserver and PHP run well

http://localhost/ajaxplorer

but i still have reported Bugs from any N900 when they try to install

1. At instalation progress : when click Install bring into xterminal and ask some password
2. At instalation progress : success run autoinstaller but after press any key autoinstaller is closed

i still i dont know, why my autoinstaller not run well from any N900,
when i try in my device is run well


Great work,
This is very useful, there may be an error in the installer scrip ..
Many thanks for your project who spent a lot of time

#asalngomongpadahalbelumtaucarapakenya:D

mr_pingu
2012-10-19, 19:53
YEah it works although loading was slow and got a bunch of errors:
2012-10-19 21:42:18: (log.c.166) server started
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/gd.so' - /usr/lib/php5/20060613+lfs/gd.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20060613+lfs/pdo.so' - /usr/lib/php5/20060613+lfs/pdo.so: cannot open shared object file: No such file or directory in Unknown on line 0


And when uploading a file out of sudden, this happened:

<?xml version="1.0" encoding="UTF-8"?><tree ><message type="ERROR">move_uploaded_file(/home/user/MyDocs//ngrep-1\.4\.5maemo1-1.deb) [&lt;a href='function.move-uploaded-file'&gt;function.move-uploaded-file&lt;/a&gt;]: failed to open stream: Invalid argument</message></tree>

Oh and I guess that's because the particular file already existed in the folder I tried to upload ;)

Thanks :D

Nobless
2012-10-19, 20:52
awesome work!!

artron
2012-10-22, 05:34
Thanks for try...
please Poll it..

so i can know its works or not :rolleyes: :p :cool:

Thanks...

artron
2012-10-29, 15:55
Beta Release Version 12_10_29 - Fix Some AutoInstaller

artron
2012-11-21, 19:16
is everybody was try this app?
Lets start PHP programing for N900 :)

mr_pingu
2012-11-21, 21:32
Let's optify php first.... It's taking awful lot of rootfs space, apart from that your last version is working great ;)

pichlo
2012-11-22, 00:44
Let's optify php first.... It's taking awful lot of rootfs space, apart from that your last version is working great ;)

1. Edit /etc/maemo-optify-auto-opt.conf
2. Reboot

By adding these two to /etc/maemo-optify-auto-opt.conf:

/usr/bin/php5-cgi
/usr/lib/cgi-bin

I have increased my rootfs space from 65 to 81 MB.

Will try LiveMyDocs tomorow. It's nearly 1am here. Am tired.