Tag Archives: ubuntu

如何安装显卡的驱动程序 (NVIDIA)?

sudo apt-get install nvidia-glx
sudo apt-get install nvidia-settings
sudo cp /etc/X11/xorg.conf /etc/X11/xorg.conf_backup
sudo nvidia-glx-config enable
sudo gedit /usr/share/applications/NVIDIA-Settings.desktop

在新增的文件内加入下面这几行

[Desktop Entry]
Name=NVIDIA Settings
Comment=NVIDIA Settings
Exec=nvidia-settings
Icon=
Terminal=false
Type=Application
Categories=Application;System;

默认conf

# /etc/X11/xorg.conf (xorg X Window System server configuration file)
#
# This file was generated by dexconf, the Debian X Configuration tool, using
# values from the debconf database.
#
# Edit this file with caution, and see the /etc/X11/xorg.conf manual page.
# (Type "man /etc/X11/xorg.conf" at the shell prompt.)
#
# This file is automatically updated on xserver-xorg package upgrades *only*
# if it has not been modified since the last upgrade of the xserver-xorg
# package.
#
# If you have edited this file but would like it to be automatically updated
# again, run the following commands:
#
#   cp /etc/X11/xorg.conf /etc/X11/xorg.conf.custom
#   sudo sh -c ‘md5sum /etc/X11/xorg.conf >/var/lib/xfree86/xorg.conf.md5sum’
#   sudo dpkg-reconfigure xserver-xorg

Section "Files"
    FontPath    "unix/:7100"            # local font server
    # if the local font server has problems, we can fall back on these
    FontPath    "/usr/lib/X11/fonts/misc"
    FontPath    "/usr/lib/X11/fonts/cyrillic"
    FontPath    "/usr/lib/X11/fonts/100dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/75dpi/:unscaled"
    FontPath    "/usr/lib/X11/fonts/Type1"
    FontPath    "/usr/lib/X11/fonts/CID"
    FontPath    "/usr/lib/X11/fonts/100dpi"
    FontPath    "/usr/lib/X11/fonts/75dpi"
        # paths to defoma fonts
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
    FontPath    "/var/lib/defoma/x-ttcidfont-conf.d/dirs/CID"
EndSection

Section "Module"
    Load    "bitmap"
    Load    "dbe"
    Load    "ddc"
    Load    "dri"
    Load    "extmod"
    Load    "freetype"
    Load    "glx"
    Load    "int10"
    Load    "record"
    Load    "type1"
    Load    "vbe"
EndSection

Section "InputDevice"
    Identifier    "Generic Keyboard"
    Driver        "keyboard"
    Option        "CoreKeyboard"
    Option        "XkbRules"    "xorg"
    Option        "XkbModel"    "pc104"
    Option        "XkbLayout"    "us"
EndSection

Section "InputDevice"
    Identifier    "Configured Mouse"
    Driver        "mouse"
    Option        "CorePointer"
    Option        "Device"        "/dev/input/mice"
    Option        "Protocol"        "ImPS/2"
    Option        "Emulate3Buttons"    "true"
    Option        "ZAxisMapping"        "4 5"
EndSection

Section "Device"
    Identifier    "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
    Driver        "nv"
    BusID        "PCI:1:0:0"
EndSection

Section "Monitor"
    Identifier    "LXB-L15"
    Option        "DPMS"
    HorizSync    30-61
    VertRefresh    55-75
EndSection

Section "Screen"
    Identifier    "Default Screen"
    Device        "NVIDIA Corporation NV11 [GeForce2 MX/MX 400]"
    Monitor        "LXB-L15"
    DefaultDepth    24
    SubSection "Display"
        Depth        1
        Modes        "1024×768" "832×624" "800×600" "720×400" "640×480"
    EndSubSection
    SubSection "Display"
        Depth        4
        Modes        "1024×768" "832×624" "800×600" "720×400" "640×480"
    EndSubSection
    SubSection "Display"
        Depth        8
        Modes        "1024×768" "832×624" "800×600" "720×400" "640×480"
    EndSubSection
    SubSection "Display"
        Depth        15
        Modes        "1024×768" "832×624" "800×600" "720×400" "640×480"
    EndSubSection
    SubSection "Display"
        Depth        16
        Modes        "1024×768" "832×624" "800×600" "720×400" "640×480"
    EndSubSection
    SubSection "Display"
        Depth        24
        Modes        "1024×768" "832×624" "800×600" "720×400" "640×480"
    EndSubSection
EndSection

Section "ServerLayout"
    Identifier    "Default Layout"
    Screen        "Default Screen"
    InputDevice    "Generic Keyboard"
    InputDevice    "Configured Mouse"
EndSection

Section "DRI"
    Mode    0666
EndSection

如何在Windows NT/2000/XP上安装Ubuntu?

下载GRUB    (注意:在下载的过程中,IE有时会自动加上.Dat的扩展名,如果如此,将文件名 grldr.dat 改为 grldr )GRUB

将 grldr 复制到 C:,编辑C:BOOT.INI,加入一行: 
 C:GRLDR="GRUB"下载以下文件放在根目录 vmlinuz initrd.gz 或者到这里下载 vmlinuz initrd.gz
下载ubuntu的安装光盘 hoary-install-i386.iso 到 fat/fat32/ext2/ext3/reiserfs 类型分区的根目录.ubuntu-5.04-install-i386.iso
重新启动计算机,按 c 进入 grub 命令行根据下载的文件存放的位置,输入并回车: 
 grub>kernel (hd0,0)/vmlinuz root=/dev/ram ramdisk_size=20000 

devfs=mount,dall grub>initrd (hd0,0)/initrd.gz grub>boot这样,就可以开始安装了
 
 

ubuntu更新地址

deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com hoary main restricted universe multiverse

deb-src ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com hoary main restricted universe multiverse

deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com hoary-security main restricted universe multiverse

deb-src ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com hoary-security main restricted universe multiverse

deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com hoary-updates main restricted universe multiverse

deb-src ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com hoary-updates main restricted universe multiverse

deb ftp://ftp.sjtu.edu.cn/sites/archive.ubuntu.com hoary-backports main restricted universe multiverse