Tag Archives: sharing

Streaming movies and music from iTunes to iPad to iPhone

Not until today that I found the right article to be able o stream from my iTunes to any of my apple devices.  Previously any time that I tried to make such a research, I found a bunch of apps that you would need to pay for and do some configuration on your PC or Mac.  Well, the article below will go over that you can do such a sharing for free by just using Apple “Home Sharing”.  … and let me tell you, it works slick!!! I was able even to stream my >15k songs to my devices :).

  1. First things first… enable iTunes Home Sharing on your PC so open iTunes
  2. Go to File “Home Sharing” -> “Turn On Home Sharing”
    Login with your Apple ID and password to identify your Home Shares
    With your Apple ID entered, click on “Create Home Share”
  3. Now let’s configure your devices….
  4. Go to “General” -> “Videos and scroll down and login with your Apple ID and password
  5. Open the Video app on the device.
  6. Then your shared library will show up 🙂
  7. Click on that library and you will be able to see all of your videos.
  8. Then click on the video that you would like to watch and enjoy

I’ve tested the steps form 5 through 9 using the Music app as well from my device.  The only difference is is that you would have to click on “More” to make the switch from sharing library to local library on the device.

I am Therefore iPad: Home Share iTunes Movies to iPad.

SparkleShare – Full Ubuntu Server 11.04 and Ubuntu 11.04 client setup

Intro
Have you heard about the amazing tool of Dropbox?  Well if you haven’t you are missing a lot!!! For those of you that haven’t heard about this tool – “Dropbox is a free service that lets you bring your photos, docs, and videos anywhere and share them easily. Dropbox was founded in 2007 by Drew Houston and Arash Ferdowsi, two MIT students tired of emailing files to themselves to work from more than one computer.” (Dropbox 2012) .  Now if that sounds cool/good to you, the only thing bad about Dropbox is that doesn’t allow you to do the awesomeness that it does with your own hosted server.  Well, there is this new tool called SparkleShare that will allow you to have Dropbox awesomeness into your own hosted server without too much hassling.

Before you start with the tutorial, please keep in mind that everything that was configured was setup base on program installation defaults.  So if you have customized the path of installation, then this tutorial may vary base on your configurations.  Also this is base on a local network setup, if you want to access your files remotely you would need to have your firewall/router setup to allow port 22 for SSH connections.

Identification

Server
Host = svrmain
User = yoda
Client
Host = cltworkstation
User = skywalker

Server

The following tutorial will show you the process of installing and configuring git and openssh-server in order to have SparkleShare working properly.

Install Git

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install git

Install Openssh-server

sudo apt-get update
sudo apt-get upgrade
sudo apt-get install openssh-server

Configure SparkleShare

Login to your server and perform the following commands or equivalent depending on your system:

Your ads will be inserted here by

Easy Plugin for AdSense.

Please go to the plugin admin page to
Paste your ad code OR
Suppress this ad slot.

adduser –disabled-password yoda
mkdir /home/yoda/projfiles
sudo git init –bare /home/yoda/projfiles
sudo mkdir /home/yoda/.ssh
sudo touch /home/yoda/.ssh/authorized_keys

Please note that SparkleShare doesn’t accept any folder names with periods (“.”) in them.

Finally:
sudo chmod 700 /home/yoda/.ssh
sudo chmod 600 /home/yoda/.ssh/authorized_keys
sudo chown -R yoda:yoda /home/yoda

Client

  1. Start SparkleShare and enter your name and email address.
  2. Click Continue.
  3. SparkleShare has now created a special key file.  Replace the username skywalker with the actual username from your client PC.
    Linux /home/skywalker/SparkleShare
    Mac OS /Users/skywalker/SparkleShare
  4. Leave the window open and go to your terminal.  Copy the key RSA to the server authorized keys file created with the following command.  Please note that the username and host name is given as part of the console.

skywalker@cltworkstation:~> cat .ssh/id_rsa.pub | ssh yoda@svrmain ‘cat >> .ssh/authorized_keys’
yoda@svrmain password:

  1. Go back to SparkleShare and enter the server address.  In this case the server will be = yoda@svrmain
  2. On Folder name – specify the whole path where the Git folder got configured.  For example in my case is /home/yoda/projfiles
  3. Click “Sync” and you should be done!!!

Now you should be able to enjoy sharing and synching your files with others.

Adding more than one client to the same server

Also in the future if you would like add more clients to the same server

  1. Go and do Client section and do all steps.
    The only difference will be the username from the client computer.
    This gives the client access to the git repository. If you want to give more people access to your project, just paste their keys on a new line at the end of this file.

Source:
https://help.ubuntu.com/community/Git
http://linuxproblem.org/art_9.html
http://sparkleshare.org/set-up-a-host/
https://help.ubuntu.com/10.04/serverguide/openssh-server.html
https://www.dropbox.com/about