Home | Mirror | Search

第 6 章 代碼託管

目錄

1. sourceforge.net
1.1. http://netkiller.users.sourceforge.net/ 頁面

1. sourceforge.net

1.1. http://netkiller.users.sourceforge.net/ 頁面

使用 sftp命令連接netkiller@frs.sourceforge.net,然後切換目錄cd userweb/htdocs/,上傳頁面檔案 put index.html,sourceforge.net 支持php

			
$ sftp netkiller@frs.sourceforge.net
netkiller@frs.sourceforge.net's password:
Connected to frs.sourceforge.net.
sftp> ls -l
lrwxrwxrwx    1 root     root           28 Apr 26  2012 userweb
sftp> cd userweb/htdocs/
sftp> put /tmp/index.html
Uploading /tmp/index.html to /home/user-web/n/ne/netkiller/htdocs/index.html
/tmp/index.html                     100%   10     0.0KB/s   00:00
sftp> put /tmp/index.php
Uploading /tmp/index.php to /home/user-web/n/ne/netkiller/htdocs/index.php
/tmp/index.php                      100%   17     0.0KB/s   00:00
sftp> pwd
Remote working directory: /home/user-web/n/ne/netkiller/htdocs
sftp> ls
index.html  index.php
sftp> exit
			
			

將上面netkiller改為你註冊的用戶名即可

幫助: https://sourceforge.net/apps/trac/sourceforge/wiki/Developer%20web

comments powered by Disqus