msgbartop
用铅笔写日记,记录那最原始的美丽
msgbarbottom

sf项目主页全攻略

很多在 Sourceforge.net 上做项目的朋友,大多会忽视的一个服务----就是SF免费提供的 项目主页的功能。

其实,有一个类似于 xxx.sourcefoge.net  的主页,对自己项目的宣传也不是一件坏事呀,哈哈。而且SF提供的Virtual Host 功能非常优质,几乎支持所有语言,如  PHP (via mod_php), Perl, Python, Tcl, Ruby, and shell scripts.

不支持的很少,是

  • SSL (encryption)
  • SF.net User Authentication
  • JSP (programming language) support
  • Microsoft Front Page and Extensions
  • Dreamweaver Remote Admin support
  • 并且还提供 mysql 数据库支持,还可以用自己的域名去访问,只需要做一下A ,Cname记录:

    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.

    把自己在本地做好的网页文件上传到空间里面,有两种途径。

    1.通过sftp----比较简易,功能较少

    就拿putty 套件里面的PSFTP.EXE 来说,打开后 ,输入 "open 用户名,项目名@web.sourceforge.net"   回车。再输入密码就可以了

    如图:

     

    2.就是通过shell.sourceforge.net 访问.

    Project shell server: shell.sourceforge.net

    PROJECTNAME.cvs.sourceforge.net

    PROJECTNAME.svn.sourceforge.net

    这个要用到SSH,首先得生成一个SSH Key ,我们可以用putty 套件里面的 PUTTYGEN.EXE, 运行后 在parameter 里选择 "SSH2 DSA". 然后点击 "Generate" 按钮,你所要做的事是:把鼠标指针在 上方空白处 晃动,以便随机生成KEY,完了后在Key comment 处 填上 "用户名@shell.sourceforge.net" ,最后 点击 "Save private key" 保存为 *.ppk 文件. 

    注:"Key passphrase " 和 "Confirm passphrase" 可以不填。

    如图:

    现在你要做的是:把 上方  "Public key for pasting into OpenSSH authorized_keys2 file" 框里面的所有字符复制下来。

    然后,登录你的sf帐号,切换到 "Account Options",  在 “Host Access Information ” 处点击 [Edit SSH Keys for Shell/CVS], 把 复制的字符粘贴进去。点击 update 即可。

    注:如果是两个KEY或者多个的话,要确保KEY与KEY之间有且只有一个回车,KEY中间不能有空格.

    如图:

    如果没有错误的话,应该会即时显示出 SSH key 的数量。如图

    SSH KEY 生效大概只要几分钟就可以了,很快的

    好了后就要去激活 SSH shell. 我们要用到PUTTY 套件里面的 PAGEANT.EXE 和 PUTTY.EXE.

    首先,运行PAGEANT.EXE ,在任务栏找到它,双击,点击 "Add Key ",浏览到先前保存的 *.ppk ,确定即可。

    如图:

    然后,运行 putty.exe , 注意:在此后的操作都建立在 Key Agent 基础上,所以 PAGEANT.EXE  不能关闭.

    设置putty,见下面的表格

    Session Host Name: "shell.sourceforge.net"
    Session Connection Type: "SSH"
    Connection > SSH > TTY uncheck "Don't allocate a pseudo-terminal"
    Connection > SSH Remote command: "create"
    Connection > Data Auto-login username: "用户名,项目名"

    如图:

    在 链接之前,先要确保该用户拥有访问此项目shell的权限,这个可以在项目里面的"Projece Admin"   里面的"Membership"看到。如图

    然后,点击 open 即可 登录激活 shell.

    成功 如图:

    之后,就可以用WINSCP登录shell,进入我们熟悉的图形界面了

    登录成功后,就可以像管理FTP一样管理项目网站的文件了

     

    -END -

    SourceForge.net Update: 2008-02-27 Edition

    sf 的二月的信件又来了,具体内容如下:

    重点关注下 Top 25 Projects on 26-Feb-2009 排行

    == Statistics and Top Projects ==

    Daily SourceForge.net Stats for 25-Feb-2009:

    6,679,510 SourceForge.net pages served
    14,395,770 project web site pages served
    3,091,053 files downloaded (33.1 TB)
    118 new projects approved(其中就有我的一个呀)

    Top 25 Projects on 26-Feb-2009:

    1. ZK - Simply Ajax and Mobile
    http://sourceforge.net/projects/zk1
    ZK is Ajax Java framework without JavaScript. With direct RIA, 200+ Ajax
    components and markup languages, developing Ajax/RIA as simple as deskop
    apps and HTML/XUL pages. Support JSF/JSP/JavaEE/Hibernate/.., and Ajax
    script in Java/Ruby/Groovy/Python/..

    2. ADempiere ERP Business Suite
    http://sourceforge.net/projects/adempiere
    ADempiere Business Suite ERP/CRM/MFG/SCM/POS done the Bazaar way in an open
    and unabated fashion. Focus is on the Community that includes Subject
    Matter Specialists, Implementors and End-Users. We are a community fork of
    Compiere.

    3. Zenoss Core - Enterprise IT Monitoring
    http://sourceforge.net/projects/zenoss
    Zenoss Core is an enterprise network and systems management application
    written in Python/Zope. Zenoss provides an integrated product for
    monitoring availability, performance, events and configuration across
    layers and across platforms.

    4. phpMyAdmin (推荐♥♥♥)
    http://sourceforge.net/projects/phpmyadmin
    phpMyAdmin is a tool written in PHP intended to handle the administration
    of MySQL over the Web. Currently it can create and drop databases,
    create/drop/alter tables, delete/edit/add fields, execute any SQL
    statement, manage keys on fields.

    5. Notepad++ (推荐♥♥♥♥♥)
    http://sourceforge.net/projects/notepad-plus
    Notepad++ is a generic source code editor (it tries to be anyway) and
    Notepad replacement written in c++ with win32 API. The aim of Notepad++ is
    to offer a slim and efficient binary with a totally customizable GUI.

    6. Hyperic HQ Enterprise Monitoring
    http://sourceforge.net/projects/hyperic-hq
    Enterprise monitoring & systems management application. Auto-discovers 75+
    techs. Collects availability, performance, utilization, & throughput
    metrics. Easily correlate problems with events. Monitor Amazon AMI, Google
    AppEngine, & integrates w/Splunk.

    7. OrangeHRM - Human Resource Management
    http://sourceforge.net/projects/orangehrm
    OrangeHRM is an Open Source Human Resource Management System that covers
    Personnel Information Management, Employee Self Service, Leave, Time &
    Attendance, Benefits, and Recruitment. Tags: HRM, HRMS, HCM, HRIS, EHRMS,
    Human Capital Management

    8. MindTouch Deki (wiki): Collaboration
    http://sourceforge.net/projects/dekiwiki
    MindTouch Deki is an enterprise collaboration, wiki and mashup platform.
    Easily connect people, enterprise systems, web services, and Web 2.0
    applications for business automation and superlative wiki collaboration.

    9. PostBooks ERP, accounting, CRM by xTuple
    http://sourceforge.net/projects/postbooks
    Free open source ERP, accounting, CRM package for small to midsized
    businesses. ERP client runs on Linux, Mac, and Windows (built with open
    source Qt framework). Business logic resides in PostgreSQL database.
    International ERP, accounting, and CRM tools.

    10. ScummVM
    http://sourceforge.net/projects/scummvm
    ScummVM is a cross-platform interpreter for several point-and-click
    adventure engines. This includes all SCUMM-based adventures by LucasArts,
    Simon the Sorcerer 1&2 by AdventureSoft, Beneath a Steel Sky and Broken
    Sword 1&2 by Revolution, and many more.

    11. Tcl
    http://sourceforge.net/projects/tcl
    Tool Command Language (Tcl) is an interpreted language and very portable
    interpreter for that language. Tcl is embeddable and extensible, and has
    been widely used since its creation in 1988 by John Ousterhout. See
    http://www.tcl.tk/ for more info.

    12. Audacity (推荐♥♥♥)
    http://sourceforge.net/projects/audacity
    A fast multi-track audio editor and recorder for Linux, BSD, Mac OS, and
    Windows.Supports WAV, AIFF, Ogg, and MP3 formats.Features include envelope
    editing, mixing, built-in effects and plug-ins, all with unlimited undo.

    13. FreeCol
    http://sourceforge.net/projects/freecol
    FreeCol is an open version of Colonization. It is a Civilization-like game
    in which the player has to conquer the new world.

    14. Stellarium
    http://sourceforge.net/projects/stellarium
    Stellarium renders 3D photo-realistic skies in real time with OpenGL. It
    displays stars, constellations, planets, nebulas and others things like
    ground, landscape, atmosphere, etc.

    15. MediaInfo
    http://sourceforge.net/projects/mediainfo
    Get technical information and tags of a lot of multimedia files. Supported
    formats : - Video : AVI/OGM/MKV/MPG/VOB/MP4/3GP/... - Audio :
    MP3/OGG/MKA/MP4/AAC/...

    16. Arianne RPG
    http://sourceforge.net/projects/arianne
    Arianne is a multiplayer online engine to develop turn based and real time
    games providing a simple way of creating the game server rules and clients
    like Stendhal. Marauroa, our server, uses Java and MySQL for hosting dozens
    of players on a solo host.

    17. WinDjView
    http://sourceforge.net/projects/windjview
    WinDjView is a fast, compact and powerful DjVu viewer for Windows with
    tabbed interface, continuous scrolling and advanced printing options, based
    on free DjVuLibre library. MacDjView is a simple DjVu viewer for Mac OS X,
    also with continuous scrolling.

    18. webERP web-based ERP  Accounting
    http://sourceforge.net/projects/web-erp
    Integrated accounting ERP system. Multi-language/currency/inventory
    locations. Full double entry. SO/AR/PO/AP/GL/Bank/Sales Analysis.
    BOMs/assemblies/kit-sets. Flexible pricing. Emailable pdf reports. Fast PHP
    created html for any browser.

    19. 7-Zip (推荐♥♥♥♥♥)
    http://sourceforge.net/projects/sevenzip
    7-Zip is a file archiver with the high compression ratio. The program
    supports 7z, ZIP, CAB, RAR, ARJ, LZH, CHM, GZIP, BZIP2, Z, TAR, CPIO, ISO,
    MSI, WIM, NSIS, RPM and DEB formats.

    20. KeePass Password Safe
    http://sourceforge.net/projects/keepass
    KeePass Password Safe is a free, open source, light-weight and easy-to-use
    password manager for Windows. You can store your passwords in a
    highly-encrypted database, which is locked with one master password or key
    file.

    21. OpenXava
    http://sourceforge.net/projects/openxava
    Framework to develop AJAX JavaEE/J2EE applications rapidly and easily.
    Allows to define applications just with POJOs, JPA and Java 5 annotations.
    Feature rich and flexible. Generates JSR-168 portlet applications (Liferay,
    WebSphere Portal, Jetspeed, etc)

    22. Privoxy
    http://sourceforge.net/projects/ijbswa
    Privoxy is a web proxy with advanced filtering capabilities for protecting
    privacy, filtering web page data, managing cookies, controlling access, and
    removing ads, banners, pop-ups and other obnoxious junk.

    23. Azureus (推荐♥♥)
    http://sourceforge.net/projects/azureus
    Azureus: Vuze is a powerful, full-featured, cross-platformbittorrent
    client and open content platform.

    24. Mumble
    http://sourceforge.net/projects/mumble
    Low-latency, high-quality voice communication for gamers. Includes game
    linking, so voice from other players comes from the direction of their
    characters, and has echo cancellation so the sound from your loudspeakers
    won't be audible to other players.

    25. ffdshow tryouts
    http://sourceforge.net/projects/ffdshow-tryout
    ffdshow is a DirectShow filter and VFW codec for many audio and video
    formats, such as DivX, Xvid and H.264. Over 70 bugs have been fixed, codecs
    have been updated, and support for a few new formats has been added in the
    tryouts. Vista is now supported.

    Firefox 3.2 alpha 1 preview中文版出问题了囧

    本来我一直是用 ff 3.1 beta 2 这个最新稳定版的。最近突发奇想,打算升级到 3.2试试.

    于是,便去ff 的ftp 上找了一番,并下载了最新的nightly build 版中文(Zh-Cn)包

    http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/latest-mozilla-central-l10n/firefox-3.2a1pre.zh-CN.win32.zip

    时间:17-Feb-2009 19:19

    谁知道我双击运行时,居然弹出了“XML解析错误:未定义的实体”,提示说是 Chrome 文件夹下面的browser.jar 这个jar包里面的content下browser 目录里面的broswer.xul 文件 几行几列出问题了。呵呵

    我一开始是以为是ff的迅雷插件出问题了,重新注册了下,并清空了application data下mozilla文件夹,问题依旧

    可是,当我下载英文(En-Us)版后,问题不见了.

    事后通过google搜索了下,在这个地方发现了问题的原因,是3.2p1 的中文语言包出现了bug,大大的bug

    里面提供了相应的解决的方案,有兴趣的可以去看看

    http://forum.mozcn.org/viewtopic.php?t=25278&start=0&postdays=0&postorder=asc&highlight=

    Debian GNU/Linux 5.0 Lenny released Now! 发布啦

    在2.14 号这天,Linux 发行版之一的Debian ,5.0 版本 (代号Lenny) 如期发布,经过好几个RC版本,stable 版终于和我们见面了

    很兴奋呀,哈哈

    不过,当天我用迅雷下载 速度一直上不去,总是徘徊在 1kbps 和 2kbps 之间,可能是刚发布下载人不多的原因。

    第二天再下载,速度有所回升了,呵呵

    不过,如果你正在用 Debian 4.0  r* 版本,可以通过 apt dist-upgrade 升级,软件包只有三十几M左右

    下面是下载地址:

    I386    http://cdimage.debian.org/debian-cd/5.0.0/i386/iso-cd/debian-500-i386-CD-1.iso

    I386  LiveCD With Gnome  Desktop

    http://cdimage.debian.org/debian-cd/5.0.0-live/i386/iso-cd/debian-live-500-i386-gnome-desktop.iso