Skip to main content

sf

后台
https://sourceforge.net/u/zyxxuan/admin/
https://sourceforge.net/p/arickblog/admin/

fooproject 项目名
https://fooproject.sourceforge.io/


zyxxuan.users.sourceforge.net

zyxxuan 用户名
password 密码
fooproject 项目名

cd /home/user-web/zyxxuan/htdocs/
cd /home/project-web/fooproject/htdocs

cd /home/git/p/fooproject/REPO.git/

cd /home/frs/project/fooproject


sftp zyxxuan@web.sourceforge.net
Connecting to web.sourceforge.net...
The authenticity of host 'web.sourceforge.net (216.34.181.70)' can't be established.
RSA key fingerprint is b0:a8:eb:30:ce:1a:0e:6a:4d:7a:6b:3a:0a:c6:27:60.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'web.sourceforge.net,216.34.181.70' (RSA) to the list of known hosts.
jsmith@web.sourceforge.net's password:
sftp> cd /home/project-web/fooproject/htdocs
sftp> put index.html
Uploading index.html to /home/project-web/fooproject/htdocs/index.html
index.html 100% 241 0.2KB/s 00:01
sftp> exit



shell
ssh -t zyxxuan@shell.sourceforge.net create


git
ssh://USERNAME@git.code.sf.net/p/PROJECTNAME/REPOSITORY
https://USERNAME@git.code.sf.net/p/PROJECTNAME/REPOSITORY
匿名
git://git.code.sf.net/p/PROJECTNAME/REPOSITORY/

git config user.name "YOUR NAME"
git config user.email "USERNAME@users.sourceforge.net"

git remote add origin ssh://USERNAME@git.code.sf.net/p/PROJECTNAME/REPOSITORY
# if you get an error about already having a remote origin, then run: "git remote remove origin" and try again
git config branch.master.remote origin
git config branch.master.merge refs/heads/master

git push origin master

备份
rsync -av git.code.sf.net::p/PROJECTNAME/REPO.git .


mysql
LETTER 项目第一个字母 arickblog
https://mysql-LETTER.sourceforge.net/

https://mysql-a.sourceforge.net/

mysqldump -h mysql-LETTER --user=DATABASE_USER --opt -p DATABASE | gzip > DATABASE.`date +%Y-%m-%d`.sql.gz

LETTER 项目第一个字母
MySQL 数据库服务器: mysql-a.sourceforge.net
数据库 {LETTER}{GROUP ID}_* 项目的 LETTER 和组 ID 的组合
例如 l13751_cmsdata
用户 13751ro、l13751rw 和 l13751admin


mysql -h HostName -u UserName -p


file 文件
scp file.zip jsmith@frs.sourceforge.net:/home/frs/project/fooproject/release1