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:

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

What to Do When A Potential Employer Asks for Your Facebook Password | Digg Technology

Now days is all about social media!!! At some point that some companies are asking for people to show their facebook profile at interview.  This is to ensure that those people will not damage the company image and that they show who they really are.  The article link below will show you the different type of methods that you can use if you don’t feel comfortable showing your facebook account to some random person.

Source: http://digg.com/newsbar/Technology/what_to_do_when_a_potential_employer_asks_for_your_facebook_password?utm_source=facebook&amp%3butm_medium=post&amp%3butm_content=2025th&amp%3butm_campaign=wall

How Linux is Built | The Linux Foundation Video Site

Do you think that Microsoft is dominating still? Do you think that you don’t need or use Linux OS?  Learn more on how you are using Linux OS on your daily basis and you don’t even know it.  This is an OS that is so stable that needs to be more marketable so you know that you are using it.
How Linux is Built | The Linux Foundation Video Site.

Can I delete the file C:\Windows\winsxs\ManifestCache to increase disk space?

Give the following credit to the source. 🙂 – Recently I was fixing a PC that had the manifest file at 30GB.  Below you would be able to find the proper steps to fix the issue.
Hi,
All the necessary files for specific additions, roles, applications will be contained in the %windir%\Winsxs directory. The %windir%\winsxs folder (also referred to as the component store) is used to store all the installation source files that are needed for Windows to service itself and its optional components, which takes the place of the traditional flat from media.
To achieve saving some space there is a workaround – to manually delete some folders from WINSXS. Take great care what folders you can delete, because you may break the functionality of your Windows installation and render your product unsupported.
a. Click on start and type cmd in the search bar and right click on cmd.exe in the search pane and click Run as administrator.
n. Navigate to folder C:\Windows\Winsxs
c. Run this command:
Net stop trustedinstaller
NOTE: Wait for this service to stop and ensure it stops successfully. If you are unable to stop the service, you must restart your machine. Do not attempt the next step if you are unable to stop the trustedinstaller service.
d. Then execute these commands:
Takeown /f %windir%\winsxs\ManifestCache\*

e. You should now have available, some more free disk space.

Hope this helps.

Del /q %windir%\winsxs\ManifestCache\* Icacls %windir%\winsxs\ManifestCache\* /GRANT administrators:F

Source Can I delete the file C:\Windows\winsxs\ManifestCache to increase disk space?.

How to send emails to phone as a SMS

Ever wonder how you can send from your email to a cellphone/mobile device a message? Well, let me tell you that there is a way!!! the only requirements are:

  1. You know the person’s number (duh!)
  2. You know which service carrier or provider they have
service carrier or provider how to do it
Alltel 10 digit phone number@message.alltel.com
AT&T (formerly Cingular) 10 digit phone number@txt.att.net
10 digit phone number@mms.att.net (MMS)
10 digit phone number@cingularme.com
Boost Mobile 10 digit phone number@myboostmobile.com
Nextel (now Sprint Nextel) 10 digit phone number@messaging.nextel.com
Sprint PCS (now Sprint Nextel) 10 digit phone number@messaging.sprintpcs.com
10 digit phone number@pm.sprint.com (MMS)
T-Mobile 10 digit phone number@tmomail.net
US Cellular 10 digit phone numberemail.uscc.net (SMS)
10 digit phone number@mms.uscc.net (MMS)
Verizon 10 digit phone number@vtext.com
10 digit phone number@vzwpix.com (MMS)
Virgin Mobile USA 10 digit phone number@vmobl.com

…and that’s it pretty much. Enjoy!!!