有个工程在sf上建立了很久了。感觉sf的管理很麻烦了,荒废了很久,最近把他的使用方法整理一下,准备重新启动。
1、建立一个工程页面
https://sourceforge.net/apps/trac/sourceforge/wiki/Project%20web
[jsmith@linux ~]$ sftp jsmith,fooproject@web.sourceforge.net
Connecting to web.sourceforge.net...
The authenticity of host 'web.sourceforge.net (216.34.181.57)' can't be established.
RSA key fingerprint is 68:b3:26:02:a0:07:e4:78:d4:ec:7f:2f:6a:4d:32:c5.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'web.sourceforge.net,216.34.181.57' (RSA) to the list of known hosts.
jsmith,fooproject@web.sourceforge.net's password:
sftp> cd htdocs
sftp> put index.html
Uploading index.html to /home/groups/f/fo/fooproject/htdocs/index.html
index.html 100% 241 0.2KB/s 00:01
sftp> exit
将你的页面上传到web.sourceforge.net,格式是sftp USER,PROJECT@web.sourceforge.net
然后用PROJECT.sourceforge.net就可以看到你上传的东西。
2、shell
http://sourceforge.net/apps/trac/sourceforge/wiki/Shell%20service
Putty client
For those using the Putty SSH client, set the following settings for the Putty session:
Session Host Name: "shell.sourceforge.net" Session Connection Type: "SSH" Connection > SSH > TTY Confirm that "Don't allocate a pseudo-terminal" is not checked Connection > SSH Remote command: "create" Connection > Data Auto-login username: "USER,PROJECT"
- Open the session and provide your password at the prompt.
3、VHOST
http://sourceforge.net/apps/trac/sourceforge/wiki/Custom%20VHOSTs
将sf的工程页面转发到自己的页面。
4、代码管理
svn/cvs/git等,我暂时没考虑在sf上,先不管了。