ubuntu apt源设置

[不指定 2008/02/29 23:49 | by ipaddr ]
  • sudo cp /etc/apt/sources.list /etc/apt/sources.list_backup

    sudo vi /etc/apt/sources.list
  •  用以下内容替换文件中的所有内容
  • deb http://archive.ubuntu.com/ubuntu/ dapper main restricted universe multiverse

    deb http://archive.ubuntu.com/ubuntu/ dapper-security main restricted universe multiverse

    deb http://archive.ubuntu.com/ubuntu/ dapper-updates main restricted universe multiverse

    deb http://archive.ubuntu.com/ubuntu/ dapper-backports main restricted universe multiverse

    deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse
  • 这里你也可以直接使用更快速的ubuntu.cn99.com的源(推荐):

    deb http://ubuntu.cn99.com/ubuntu/ dapper main restricted universe multiverse

    deb http://ubuntu.cn99.com/ubuntu/ dapper-updates main restricted universe multiverse

    deb http://ubuntu.cn99.com/ubuntu/ dapper-security main restricted universe multiverse

    deb http://ubuntu.cn99.com/ubuntu/ dapper-backports main restricted universe multiverse

    deb http://ubuntu.cn99.com/ubuntu-cn/ dapper main restricted universe multiverse

    这里你还可以使用速度也非常快的的mirror.lupaworld.com的源:

    deb http://mirror.lupaworld.com/ubuntu/archive/ dapper main restricted universe multiverse

    deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-security main restricted universe multiverse

    deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-updates main restricted universe multiverse

    deb http://mirror.lupaworld.com/ubuntu/archive/ dapper-backports main restricted universe multiverse

    deb http://mirror.lupaworld.com/ubuntu/ubuntu-cn/ dapper main restricted universe multiverse

    如果是教育网用户推荐使用上海交通大学的源:

    deb http://ftp.sjtu.edu.cn/ubuntu/ dapper main multiverse restricted universe

    deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-backports main multiverse restricted universe

    deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-proposed main multiverse restricted universe
  • deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-security main multiverse restricted universe

    deb http://ftp.sjtu.edu.cn/ubuntu/ dapper-updates main multiverse restricted universe

    deb http://ftp.sjtu.edu.cn/ubuntu-cn/ dapper bleeding main multiverse restricted universe
  • 教育网用户也推荐使用清华大学计算机系学生科协的源:

    deb http://mirror.net9.org/ubuntu/ dapper main multiverse restricted universe

    deb http://mirror.net9.org/ubuntu/ dapper-backports main multiverse restricted universe

    deb http://mirror.net9.org/ubuntu/ dapper-proposed main multiverse restricted universe

    deb http://mirror.net9.org/ubuntu/ dapper-security main multiverse restricted universe

    deb http://mirror.net9.org/ubuntu/ dapper-updates main multiverse restricted universe

    deb http://mirror.net9.org/ubuntu-cn/ dapper main multiverse restricted universe
  • 保存编辑好的文件

    sudo apt-get update

Ubuntu 7.10 安装时卡在'Configuring apt','Scanning the mirror'的处理方法:
1. 物理上断开网络
2. 或者,启用Terminal,查看所有进程,杀死Chose-mirror进程。
PS -A
sudo kill PID

Confluence – the enterprise wiki

[不指定 2008/02/28 21:12 | by ipaddr ]

Confluence is an enterprise wiki that makes it easy for your team to collaborate and share knowledge. 

Adding, sharing and finding content has never been easier.

These benefits come with all the additional features needed to make it a part of your business:

  • Enterprise security
  • Simple installation and management
  • Attractive, user-friendly WYSIWYG interface
  • Powerful tools for structuring and searching your wiki
  • Professional features such as PDF export and automated refactoring
  • An open API for extension and integration
  • Atlassian's Legendary Service
  • and much more...

Wireshark

[不指定 2008/02/28 19:58 | by ipaddr ]

About Wireshark

Wireshark is the world's foremost network protocol analyzer, and is the de facto (and often de jure) standard across many industries and educational institutions.

Wireshark development thrives thanks to the contributions of networking experts across the globe. It is the continuation of a project that started in 1998.

Features

Wireshark has a rich feature set which includes the following:

  • Deep inspection of hundreds of protocols, with more being added all the time
  • Live capture and offline analysis
  • Standard three-pane packet browser
  • Multi-platform: Runs on Windows, Linux, OS X, Solaris, FreeBSD, NetBSD, and many others
  • Captured network data can be browsed via a GUI, or via the TTY-mode TShark utility
  • The most powerful display filters in the industry
  • Rich VoIP analysis
  • Read/write many different capture file formats: tcpdump (libpcap), Catapult DCT2000, Cisco Secure IDS iplog, Microsoft Network Monitor, Network General Sniffer® (compressed and uncompressed), Sniffer® Pro, and NetXray®, Network Instruments Observer, Novell LANalyzer, RADCOM WAN/LAN Analyzer, Shomiti/Finisar Surveyor, Tektronix K12xx, Visual Networks Visual UpTime, WildPackets EtherPeek/TokenPeek/AiroPeek, and many others
  • Capture files compressed with gzip can be decompressed on the fly
  • Live data can be read from Ethernet, IEEE 802.11, PPP/HDLC, ATM, Bluetooth, USB, Token Ring, Frame Relay, FDDI, and others (depending on your platfrom)
  • Decryption support for many protocols, including IPsec, ISAKMP, Kerberos, SNMPv3, SSL/TLS, WEP, and WPA/WPA2
  • Coloring rules can be applied to the packet list for quick, intuitive analysis
  • Output can be exported to XML, PostScript®, CSV, or plain text

HttpWatch

[不指定 2008/02/28 19:56 | by ipaddr ]

HttpWatch is an HTTP viewer and debugger that integrates with Internet Explorer to provide seamless HTTP and HTTPS monitoring without leaving the browser window.

HttpWatch is used in a wide variety of companies and industries for tasks such as:

  • Testing a web application to ensure that it is correctly issuing cookies or setting headers that control page expiration
  • Finding out how other sites work and how they implement certain features
  • Checking the information that Internet Explorer is supplying when you visit a site
  • Verifying that a secure web site is not issuing sensitive data in cookies or headers
  • Tuning the performance of a web site by measuring download times, caching or the number of network round trips
  • Learning about how HTTP works (useful for programming and web design classes)
  • Allowing webmasters to fine tune the caching of images and other content
  • Performing regression testing on production servers to verify performance and correct behavior


1.首先,需要安装中文支持,打开“Control Panel”=》“Regional and Language Options”=>“Language”,选择“Install Files for East Asian Languages”。

2.安装完后,Windows应该支持中文显示了,但某些未指定应用程序还可能会乱码,在“Region Options”处,选择Formats和Locations为“China”, 在Advanced,选择默认的语言为“Chinese (PRC)”

3. 经过以上设置后,应该能够正常使用中文了,但Cmd.exe(命令行)下面,仍然是无法显示中文文件名,主要是因为字体的原因,修改注册表:
HKEY_CURRENT_USER\Console\%SystemRoot%_system32_cmd.exe
在此项下面,修改:
FaceName=新宋体
新增:
CodePage=936 (Ipaddr提醒你,这是10进制的936)

此后,Cmd.exe下面也要吧正常的显示中文文件名了。

使用DOS命令批量压缩文件

[不指定 2008/02/28 12:29 | by ipaddr ]

使用Winrar,批量压缩当前目录下,所有的*.txt文件为 *.txt.rar

CD IPADDR/
FOR /R %f in (*.txt) DO RAR a -ow -tk -ep1 -y "%f.rar" "%f"


使用前,需要将WinRAR的安装目录,加到PATH当中。

使用以下命令,批量删除当前目录下的所有*.txt文件:

CD IPADDR/
FOR /R %f in (*.txt) DO DEL "%f"


更多的DOS命令,请参考:http://www.computerhope.com/msdos.htm

用DOS写脚本,实在是太费力了,期待PowerShell。


整个地球都知道rdesktop,有了它,我们可以从Solaris或者Linux使用Windows,当然Windows要开启Windows Terminal Service。虽然也有基于GTK+的tsclient做配置,我还是倾向直接使用命令行,不仅因为自己习惯使用console命令窗口,而且命令行可以加入一些非常有用的选项。

比如:

./rdesktop -u adam -p adam -f -r clipboard:PRIMARYCLIPBOARD -r disk:sunray=/home/yz161846 MachineName

-u 和 -p: 指定用户名和密码
-f : 默认全屏, 需要用Ctrl-Alt-Enter组合键进行全屏模式切换。
-r clipboard:PRIMARYCLIPBOARD : 这个一定要加上,要不然不能在主机Solaris和服务器Windows直接复制粘贴文字了。贴中文也没有问题。
-r disk:sunray=/home/yz16184 : 指定主机Solaris上的一个目录映射到远程Windows上的硬盘,传送文件就不用再靠Samba或者FTP了。

除了这些常用的选项,rdesktop也支持cdrom, floppy软盘的远程映射,详细可以参考rdesktop命令帮助。
./rdesktop -h

rdesktop程序可以自己从www.rdesktop.org上获取代码编译,非常方便。也可以直接从www.sunfreeware.com 下载一份可执行档。

当然如果你不满意这个开源软件,如果花钱选择像Windows的Remote Connection, 或者Citrix这种商业软件。

    rdesktop is an open source client for Windows NT Terminal Server and Windows 2000/2003 Terminal Services, capable of natively speaking Remote Desktop Protocol (RDP) in order to present the user's NT desktop. Unlike Citrix ICA, no server extensions are required.

    rdesktop currently runs on most UNIX based platforms with the X Window System, and other ports should be fairly straightforward.

    rdesktop was initially written by Matthew Chapman based on various scarce documentation, wire sniffs, and trial-and-error. It is released under the GNU Public Licence (GPL). Please send feedback, bug reports and patches to the appropriate mailing list. Patches can also be submitted to the SF patch tracker.

      自从XP问世一来,广大网友一定对远程桌面耳熟能详。远程桌面技术在原来NT/2000终端服务的基础上发展起来的。较之原先的终端服务是一个进步。但有一点不尽人意的是,XP的远程桌面不能实现多用户同时登录,只能一个用户登录,难道Windows XP的远程桌面就此要与多用户登录失之交臂了吗?不是,借由博软软件开发的WinConnect Server,可以让我们突破限制,多用户同时进行Windows XP之旅。  

  下载与安装

  WinConnect Server 当前最新版本是WinConnect Server XP,其开发者博软软件提供了免费试用版供网友们下载,网址是http://www.thinsoftinc.com/download/WinConnect-ServerXP/setup.exe,软件大小为8.40MB。试用版可以全功能使用7天,另外,每个远程工作站只能连接30分钟,30分钟后将自动关闭。

  WinConnect Server的安装很简单,只需要一路单击“下一步”即可完成安装。安装完成后,重新启动系统,WinConnect Server即可开始服务。  

  属性设置

  安装WinConnect Server试用版后,每次启动登录系统时软件都会弹出一个消息框,提醒用户软件的使用期限与工作站的自动关闭时间。此时,你用远程桌面连接来登录该主机,可以发现系统已经不会再像原先那样自动退出登录了。  
  接下来我们来对WinConnect Server进行一些基本的属性设置,双击程序建立于桌面上的“WinConnect Server XP Control Center”快捷方式,登录WinConnect Server XP的控制台。  

  WinConnect Server提供了中英文两种语言界面,你可以单击“选项”/“设置语言”,然后在打开的语言选择框中选择你所喜欢的语言界面,默认为中文。  

  在WinConnect Server控制台中对主机的属性设置极为简单:首先在左侧的主机列表中选择当前主机,如“ZJNU-0000”,单击“动作→属性”,此时程序会将当前主机的服务器信息、服务器设置信息和RDP(远程桌面协议)设置以列表形式显示出来,如图所示。

        经过本人的亲自测试,提供的破解版,连接了10台可以正常连接,而且应用起来的反应较快,按说明是可以支持21个用户的.
分页: 1/2 第一页 1 2 下页 最后页 [ 显示模式: 摘要 | 列表 ]