iPads - iPad Project Sharing with OwnCloud.org In-Organization Server

Description: Wonderful creative devices that facilitate product creation, school districts often find themselves struggling to share student work via cloud-based solutions like Dropbox.com and Box.net that require students be at least 13 years of age. Participants will learn how to setup an OwnCloud.org server--also known as WebDav--student document sharing on a local server (laptop). This process translates to the setup for a server in your own district. Participants will see how to setup OwnCloud.org on an UbuntuLinux Apache web server.

Step 1 - Set Up an UbuntuLinux AMP Web Server

Step 1 - Install the Software You Need
At the command line/terminal, type the following...be ready to write down/remember any usernames and passwords that you are asked to create through the next two steps.

    • sudo apt-get install tasksel

Per Ubuntu web site, //Tasksel// is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated "task" onto your system. We will use that to install Apache/MySQL server:

Step 2 - Install Apache/MySQL

    • sudo tasksel install lamp-server

Once this step is complete, you should be able to go to http://localhost and see a message saying something along the lines of "It Works!" etc. You will get some errors if you don't take the next step:

a) Edit the httpd.conf file

    • sudo nano /etc/apache2/httpd.conf

This will create a blank file to which you can paste the following into the body:

    • ServerName localhost

b) Restart the web server with the command below:

    • sudo /etc/init.d/apache2 restart

Note that you can stop the server with this command:

    • sudo /etc/init.d/apache2 stop

...or "start" it by replacing the word "stop" in the command above.

Step 3 - Install PHP and Other Needed Extensions
Below are steps that you will need to take (there might be some slight overlap) to setup PHP and other needed components for Moodle. You will want to take each line one by one (although you can also combine them as you see fit):

sudo apt-get install php5
sudo apt-get install libapache2-mod-php5
sudo apt-get install php5-curl curl php5-xmlrpc php5-gd php5-intl

sudo apt-get install unzip zip aspell-en aspell-fr aspell-de aspell-es
sudo apt-get install php5-ldap php5-odbc

sudo apt-get install libapache2-mod-php5 libapache2-mod-ruby libapache2-mod-python php5 php5-common php5-dev php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache php5-ming php5-mysql php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc php5-xsl

Step 4 - Install AntiVirus

    • sudo apt-get install clamav-base clamav-freshclam clamav

This will install antivirus tools on the server.

Step 5 - Edit the PHP.ini file

    • nano /etc/php5/apache2/php.ini

Note that you can replace the word "nano" with your text editor of choice, such as vim or leafpad or gedit (the latter two can only be used in a GUI environment, while vim and nano can be used at the command line in text-only environment).

You will want to make--at minimum--the following adjustments:

    • display_errors = Off

    • display_startup_errors = Off

    • register_globals = Off

    • post_max_size = 2000M

    • mysql.connect_timeout = -1

    • max_execution_time = 5000

    • max_input_time = 5000

    • memory_limit = 2000M

    • file_uploads = On

    • upload_max_filesize = 2000M

At this point, you will want to restart the server

Step 2 - Setup OwnCloud
  • 1. Download OwnCloud.org
2. Place it in the htdocs directory
3. Configure it.
4. Create user accounts.

Step 3 - Connect to OwnCloud via Your iPad
    1. Sharing #iPad Docs in the Private Cloud using WebDav and OwnCloud
    2. Create Your Own #iPad #ePub Sharing Station with OwnCloud