- 论坛徽章:
- 0
|
转自 http://www.cnblogs.com/yangze/archive/2011/03/28/1997764.html
开源项目托管站点 google离开中国 很多好的产品不能用了 提交获取密码总是报错 google 就不讨论了(我的google code SVN提交地址 https://my-project-yangze.googlecode.com/svn/)
用世界上最大的开源托管网站sourceforge.net (简称sf.net)
注册了帐号 不知道SVN怎么同步?
不会用SVN的 请参考我的另一篇博文:http://www.cnblogs.com/yangze/archive/2010/01/19/1651640.html
sourceforge.net SVN提交地址:
https://项目用户名.svn.sourceforge.net/svnroot/项目用户名
例:我的sf.net https://chinayangze.svn.sourceforge.net/svnroot/chinayangze
提交时的用户名和密码 就是sourceforge.net的网站用户名
sf.net的其它用处:
免费空间: http://chinayangze.sf.net/
FTP: 是linux服务器
FTP是支持SFTP的,服务器是:web.sourceforge.net,用户名是:"网站用户名,项目用户名",密码是网站的登录密码。
如图:
数据库:
然后管理项目,project admin——>Feature Settings,就能看到 Project Database (MySQL),点击Manage进行管理。总共有三种权限的账号,一般使用第三个。设置密码后,过几分钟,就能访问网页上给出的网址访问数据库了。
点开页面见到如下信息:(告诉我们了三个不同权限的用户和数据库管理地址)
Hostname: mysql-c (exactly as shown, with no domain suffix)
Database name prefix: c515632_ -- i.e. "CREATE DATABASE c515632_myapp" as your ADMIN user.
RO user: c515632ro (SELECT)
RW user: c515632rw (SELECT, INSERT, DELETE, UPDATE)
ADMIN user: c515632admin (has RW account privileges, and CREATE, DROP, ALTER, INDEX, LOCK TABLES)
web-access URL: https://mysql-c.sourceforge.net/
我的数据库地址: https://mysql-c.sourceforge.net/
绑定域名:
域名管理页面(Virtual Hosts (VHOSTs)
看到的VHOST Service的下方有一个链接,”VHOST Services for SourceForge.net Projects”,点击进入,大概在中间位置,能看到一组关于你所要绑定的域名,该如何指向该免费空间的信息。我的是:
Step 2: Configure DNS for your domain
In order to have your domain point at some server which answers the traffic, you need to configure DNS (Domain Name Service) for the domain.
SourceForge.net does not provide DNS services. Many domain registrars provide DNS services on a for-pay basis. There are also several free-to-the-public DNS services, such as Granite Canyon. Your DNS provider will supply documentation on how to use their service. You are responsible for any fees if you choose a for-pay DNS service.
Using the tools provided by your DNS provider, configure the following:
yourdomain.com should be a IN A to 216.34.181.97.
www.yourdomain.com should be a CNAME to vhost.sourceforge.net.
cvs.yourdomain.com should be a CNAME to PROJECTNAME.cvs.sourceforge.net.
测试 我绑定的域名: http://sf.8two.cn/ |
|