Monday, January 14, 2008

Free project hosting at sourceforge.net



I have hosted some of my projects at sourceforge.net.
  1. http://sab-archer.sourceforge.net/
  2. http://j2ee-examples.sourceforge.net/

SF (SourceForge.net) provides source control, free hosting service and a lot more other services. Here are the steps for hosting your project (not using CVS )

1. Activate your free web hosting account.
2. Upload your html, image and other document files using following command:
$scp –r username@projectname.sourceforge.net:/home/groups/p/pr/project-name/htdocs

username – your SF login name
project-name – the name of your project, hosted at SF

This command recursively uploads all files from directory to the your project’s htdocs directory at SF

3. If you want to login to your SF a/c and view directory from console, then use following command to login:
Ssh –l username –p projectname.sourceforget.net

No comments: