Features/Transfer to many options: Difference between revisions

Ajay Garg (talk | contribs)
Ajay Garg (talk | contribs)
No edit summary
 
Line 418: Line 418:
== [DOWNLOAD] Ensure that in the detail view, the uploader-details are present. ==
== [DOWNLOAD] Ensure that in the detail view, the uploader-details are present. ==
:[[File:sss12.png|640px]]
:[[File:sss12.png|640px]]
== HOW TO SETUP ==
* '''PEER-TO-PEER MODE'''
** ''' Setting up the XOs '''
*** Install the image <add image link> on the XO-1.75s.
** All done (For example workflow screenshots, please refer http://wiki.sugarlabs.org/go/Features/Transfer_to_many_options#Example_Workflow_for_Peer-To-Peer_Mode)
* '''VIA-SCHOOL-SERVER'''
** '''Setting up School-Server''' (on Fedora-17/Fedora-14)
*** Download the file http://people.sugarlabs.org/ajay/root/1-to-N-via-SS/1-to-N-local-server-setup-script.sh on the server machine.
*** Run the following command
****                            '''sudo sh /path/to/1-to-N-local-server-setup-script.sh'''
*** Now, open a browser, type '''https://127.0.0.1/webdav''' in the URLBar, accept the  certificate (only first time required). You should see a webdav listing of an empty directory.
*** Next, download the file http://people.sugarlabs.org/ajay/root/1-to-N-via-SS/1-to-N-server-script.py on the server machine.
*** Run the command
****                            '''crontab -e'''
*** In the opened vim instance, append the following line, and save-exit.
****                            '''00 * * * * /usr/bin/python /path/to/1-to-N-server-script.py'''
*** The "1-to-N-server-script.py" runs periodically after every 1 hour, removing all entries older than 1 day. The logs are written to "/var/www/web1/webdav.log".
*** Reboot.
** ''' Setting up the XOs '''
*** Install the image <add image link> on the XO-1.75s (if not already).
*** On each XO, configure the IP-Address/DNS-Name of the School-Server. For example, if the IP-address  of the school-server is 192.168.1.26, run the following command (in Terminal Activity) of each XO ::
****                  '''gconftool-2 --set /desktop/sugar/network/school_server_ip_address_or_dns_name --type string 192.168.1.26'''
*** Reboot (each XO).
** All done (For example workflow screenshots, please refer http://wiki.sugarlabs.org/go/Features/Transfer_to_many_options#Example_Workflow_for_Via-School-Server_Mode)