Category Archives: computers

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

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?.

Reset toshiba laptop to factory settings

if you have a  Toshiba Satellite L300 and you would like to restore the system to factory settings (meaning back to the way it was when you first bought it) below you will be able to find the instructions on how to do it.

To reinstall your laptop to the factory settings / “out of the box” settings, please follow these steps. It worked for me, and should work for you.

ALL DATA WILL BE ERASED ON YOUR HARD DRIVE IF YOU PROCEED. YOU WILL NEED TO ENSURE THAT YOU HAVE THE POWER ADAPTER PLUGGED IN. DO NOT SWITCH OFF OR RESTART YOUR COMPUTER DURING THIS PROCESS.

1) Hold down the power button for 10 (ten) seconds to switch off your machine.

Please note: Holding down the power button on the machine forces it to switch off. Any unsaved data will be lost.

2) Press and hold the 0 (zero) key and at the same time, tap the power button once to switch on your notebook.

3) When the machine Starts beeping; release the 0 key.

4) When prompted by the warning screen; select Yes to continue with the system recovery.

5) Select Recovery of Factory Default Software; click Next.

6) Select Recover to out-of-box state. Click Next again.

7) Click Next to Start recovery.

Source and credit to=> Reset toshiba laptop to factory settings [Solved].

Reinstall Windows without CD on a Dell

i recently found out that you could reinstall your OS without needing the CD’s on a dell.  this system is embed to almost all dell laptops for sure.  it uses norton ghost in order to restore your system to the way it was at the beginning.  i am not a 100% sure if reinstalls the drivers, but it might.

so what do you need to do in order to reinstall your OS without the CD’s on a dell laptop?  all you need to do is…
Steps:

  1. turn on your laptop
  2. quickly hit ctrl+F11 before “windows boots up”
  3. then follow the instructions in order to reinstall and fully format your pc

hope this helps.  enjoy!

Missing HAL.DLL

last night i was restarting my company’s server (sbs 2003) because i moved couple of big files around and a lot of going on with exchange server.  well, i restarted and 1hr after i could not login remotely.  this morning when i came in i saw this error message on my company’s server screen:

“Winows <<root>>\System32\Hal.dll missing or corrupt: Please re-install a copy of the above file.”

also could appear like:

“Windows could not start because the following file is missing or corrupt: \system32\hal.dll. Please re-install a copy of the above file.”
“Cannot find \Windows\System32\hal.dll”
“Cannot find hal.dll”

i was like, “Ok, easy fix.”  when i started researching about this problem things got a little bit hairy and ugly :(.  i spend half day trying to fix this problem and i finally got it fix.

first of all, i would like to explain to you what hal.dll does.  hal mean Hardware Abstraction Layer and it is responsable of loading the hardware and other drivers on the computer.  what causes this file to either be missed or corupt it could be hardware problems.  also, missing boot.ini or damage hard drive.

so in order for me to fix this i followed these two steps:
Option 1:

Boot from your CD and follow the directions to start Recovery Console. Then:

Attrib -H -R -S C:\Boot.ini
DEL C:\Boot.ini
BootCfg /Rebuild
Fixboot

Option 2:

Boot from your CD and follow the directions below to start Recovery Console.

Insert the Setup compact disc (CD) and restart the computer. If prompted, select any options required to boot from the CD.
When the text-based part of Setup begins, follow the prompts; choose the repair or recover option by pressing R.

If you have a dual-boot or multiple-boot system, choose the installation that you need to access from the Recovery Console.
When prompted, type the Administrator password. (if you didn’t create one try pressing enter).

At the system prompt, type Recovery Console commands; type help for a list of commands, or help commandname for help on a specific command.

Most likely you will need to expand the file from the CD. The command would be expand d:\i386\hal.dl_ c:\windows\system32\hal.dll. Substitute d: for the drive letter of your CD. Once you have expanded the file type “exit” to exit the Recovery Console and restart the computer.

Retrieved from http://kellys-korner-xp.com/xp_haldll_missing.htm

and it did not work at all.  so i decided to do some more research.  after an hour of research i found out that this problem is some thing that could corrupt my OS if is not done the right way.  so in order for me to fix this problem i decided to repair windows.  if you want to this step you are running the risks of loosing any special data if the setup installation gets corrupts.

Steps:

  1. boot up your OS CD
  2. select install windows
  3. select reinstall windows
  4. then fill out the requested information and then your computer should be back and running like this never happened

if these steps are not well explained you could visit this site and perform those steps one by one at http://pcsupport.about.com/od/operatingsystems/ss/instxprepair1.htm.

Talking about Talking about Pandora no more?

Internet

radio may be driven out of business within weeks by a Copyright Royalty

Board decision that gives record companies a royalty rate that exceeds

100% of most webcasters’ total revenues…

Go over to http://www.savethestreams.org/ and read all about it. Don’t forget to sign the petition!

this information is from hack MSN spaces

Help us saving the online radio stations.

XP to Vista but still XP

are you tired of having XP and want to have Vista installed on you computer?  yeap, but there is a problem that you don’t have to money to buy the new windows vista.  here is the solution for your problem.  now you can download this new transformation pack which enables you to transform yours XP to Vista.  your computer will still have installed XP but it will just look like Vista.  in order to download this file click on this link http://www.windowsxlive.net/?p=361.  i installed the whole package and haven’t had any problem and my computer it looks juts like Vista but still XP.

hope that you will enjoy your computer more, since it looks like Vista now.

NOTE: ALL THE IMAGES ARE FROM WindowsXLive.net

For Facebook Lovers

facebook has just developed  a new tool for Mozilla firefox which allows you  to receive updates from your friends all the time while you are browsing. it is a awesome tool. i have it installed in my computer and i would really recommend it. to download just click on the link : http://developers.facebook.com/toolbar/

and check me out at facebook: http://www.facebook.com/p/IrViNg_DuRaN/76500661

IE 7 vs FireFox 2.0

the battle of the web browsers… the best two web browsers are ie and firefox and which one do you consider the best and the most secure?!  i would say that firefox is the best web browser and the most secure one.  even though ie7 came out with a lot of new patches for a safeter web browser firefox is still way more secure.  firefox also is a opensource web browser and people develope a lot of tools in which is going to make your surfing experience better.