存档

  • ubuntu的网络配置

    配置ubuntu的网络很简单: 用vi或nano编辑 /etc/network/interfaces #1、静态地址 auto eth0 iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 ##可省 broadcast 192.168.1.255 ##可省 gateway 192.168.1.1 #2、DHCP动态地址 auto eth0 iface eth0 inet dhcp 然后使用 /etc/init.d/networking restart 重启网络即可。 我正在考虑双网卡公网内网、静态动态皆有的情况。

    2008年8月25日 | 归档于 Ubuntu
  • 在ubuntu 下安装 wine

    简单说下: wine可以说是一个Windows模拟器, 也提供了一个程序加载器,该加载器允许不用任何修改Windows 3.1/95/NT的二进制文件 详情可以参考: http://baike.baidu.com/view/126772.htm Ubuntu 下 wine 的安装 一、准备工作: (一)、开启更多的 locale 支持 Dapper 中 locale 设置与原来不同,原来 /etc/locale.gen 现在位于 /var/lib/locales/supported.d/ 中,执行: sudo gedit /var/lib/locales/supported.d/zh 将其内容修改为: zh_SG.UTF-8 UTF-8zh_HK.UTF-8 UTF-8zh_TW.UTF-8 UTF-8zh_CN.UTF-8 UTF-8zh_CN.GB2312 GB2312zh_CN.GBK GBKzh_CN.GB18030 GB18030zh_HK.Big5 Big5zh_TW.Big5 Big5 然后执行: sudo locale-gen 注:执行到 GB18030 的时候需要等待较长的时间,请耐心。  因为 Ubuntu Dapper 默认没有装 GB2312 这些 locale ,而我们跑 wine 经常需要这些,所以先加上。 (二)、修正一些 bug 1 执行 modprobe  sudo modprobe snd-pcm-osssudo modprobe snd-seq 2 创建相应目录  mkdir -p ~/.kde/socket-hostname   其中 hostname 为你机器的名字。 3 安装相应包  sodu apt-get install libjack0.100.0-0   然后: sudo ln -sf /usr/lib/libjack-0.100.0.so.0 /usr/lib/libjack.so 4 解决启动 wine 程序速度慢的问题  sudo gedit /usr/share/X11/locale/zh_CN.UTF-8/XLC_LOCALE    修改为: CODE: #     XFree86 NLS for Chinese locale zh_CN.UTF-8#          Modified from xc/nls/XLC_LOCALE/en_US.UTF-8#          by James Su <[email]suzhe@turbolinux.com.cn[/email]>## $XdotOrg: xc/nls/XLC_LOCALE/zh_CN.UTF-8,v 1.2 2004/04/23 18:44:34 eich Exp $# $XFree86$ ##  XLC_FONTSET category#XLC_FONTSET on_demand_loading      True object_name            generic #  We leave the legacy encodings in for the moment, because we don’t#  have that many ISO10646 fonts yet.#  fs0 class (7 bit ASCII)fs0    {       charset {               name    ISO8859-1:GL       }       font    {               primary         ISO8859-1:GL               vertical_rotate all       }} #  fs1 class (ISO8859 families)fs1    {       charset {               name    ISO8859-1:GR       }       font    {               primary ISO8859-1:GR       }} #  fs2 class (Chinese Han Character)fs2    {       charset {               name    GB2312.1980-0:GL       }       font    {               primary GB2312.1980-0:GL       }} #  fs4 classfs4    {       charset {               name    ISO10646-1       }       font    {               primary ISO10646-1       }}END XLC_FONTSET ##  XLC_XLOCALE category#XLC_XLOCALE encoding_name          UTF-8mb_cur_max             6state_depend_encoding  False #  cs0 classcs0    {       side            GL:Default       length          1       ct_encoding     ISO8859-1:GL} #  cs1 classcs1     {        side            GR:Default        length          1        ct_encoding     ISO8859-1:GR} #  cs2 classcs2     {        side            GR        length          2        ct_encoding     GB2312.1980-0:GL; GB2312.1980-0:GR} #  cs3 classcs3    {       side            none       ct_encoding     ISO10646-1} END XLC_XLOCALE

    2008年8月25日 | 归档于 Ubuntu
  • ubuntu下使用rar

    有的ubuntu下默认安装的时候是不能解压rar文件的,只有在安装了rar解压工具之后,才可以解压。 安装的方法很简单: 压缩功能 安装 sudo apt-get install rar 卸载 sudo apt-get remove rar 解压功能 安装 sudo apt-get install unrar 卸载 sudo apt-get remove unrar 完毕!

    2008年8月23日 | 归档于 Ubuntu
  • ubuntu下载工具

    linux下有很多优秀的下载工具, 本文介绍ubuntu下载工具 ubuntu下载工具主要用的工具有以下几种: axel gftp wget lftp GIGAGET 奔流benliud rtorrent azureus amule mldonkey 比较了一下,速度为先,易用为二,决定使用 axel+wget+rtorrent+mldonkey。 rtorrent安装方法 http://forum.ubuntu.org.cn/viewtopic.php?t=44339&sid=7fea40dc6c986441279fe84ffb12656b sudo gedit /etc/apt/sources.list 加入 deb ftp://ftp.isu.edu.tw/pub/Linux/Debian/debian/ stable main contrib non-free deb http://non-us.debian.org/debian-non-US stable/non-US main contrib non-free deb http://security.debian.org/ sarge/updates main contrib non-free deb ftp://debian.linux.org.tw/debian/ stable main 保存退出 然后: apt-get update apt-get upgrade apt-get install rtorrent 这样就安装好了。

    2008年8月21日 | 归档于 Ubuntu
  • ubuntu默认root密码

    总是有人询问ubuntu默认root密码 其实没有默认的,因为你还没给root设置密码,你第一个 user 是在 admin 组 ,所以他可以给 root 设置密码 , 所以 sudo passwd root [sudo] password for you : —> 输入你的密码,不回显 Enter new UNIX password: — > 设置root 密码 Retype new UNIX password: –> 重复 这样root就有密码了

    2008年8月14日 | 归档于 Ubuntu
  • 美国enom,国内新网等域名注册

    美国enom,国内新网等域名注册 本人代理美国、国内的国际域名 美国ENOM、新网信海、新网互联、时代互联、ONLINENIC、商务中国 美国ENOM:[url]http://access.enom.com[/url] 或者 [url]http://cp.gold-domain.com/[/url] 新网信海:[url]http://www.paycenter.com.cn/manage/management.htm[/url] 新网互联:[url]http://agent.dns.com.cn/HTML/manage/management.htm[/url] 时代互联: ONLINENIC:[url]https://www.onlinenic.com/cgi-bin/chinese/correct_domain_new.cgi[/url] 商务中国:[url]http://www.bizcn.com/domainportal[/url]

    2005年12月30日 | 归档于 Ubuntu, 早期帖子
  • LINUX配置支持cgi+mysql

    如果需要LINUX支持cgi+mysql需要安装以下两个东西。 DBI DBD::mysql 到这里下载: [url]http://dev.mysql.com/downloads/dbi.html[/url] [code]perl Makefile.PL make make test make install [/code]

    2005年12月30日 | 归档于 Ubuntu, 早期帖子
‘Ubuntu’ 分类的存档