少校
- 注册时间
- 2007-8-22
- 金币
- 2983 个
- 威望
- 3 个
- 荣誉
- 0 个
累计签到:4 天 连续签到:0 天 [LV.20]漫游旅程
|
看下面的代码:
- #!/bin/bash
- echo deb http://ubuntu.dormforce.net/ubuntu/ intrepid main multiverse restricted universe >/etc/apt/sources.list
- echo deb http://ubuntu.dormforce.net/ubuntu/ intrepid-backports main multiverse restricted universe >>/etc/apt/sources.list
- echo deb http://ubuntu.dormforce.net/ubuntu/ intrepid-proposed main multiverse restricted universe >>/etc/apt/sources.list
- echo deb http://ubuntu.dormforce.net/ubuntu/ intrepid-security main multiverse restricted universe >>/etc/apt/sources.list
- echo deb http://ubuntu.dormforce.net/ubuntu/ intrepid-updates main multiverse restricted universe >>/etc/apt/sources.list
- echo deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid main multiverse restricted universe >>/etc/apt/sources.list
- echo deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-backports main multiverse restricted universe >>/etc/apt/sources.list
- echo deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-proposed main multiverse restricted universe >>/etc/apt/sources.list
- echo deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-security main multiverse restricted universe >>/etc/apt/sources.list
- echo deb-src http://ubuntu.dormforce.net/ubuntu/ intrepid-updates main multiverse restricted universe >>/etc/apt/sources.list
- echo deb http://archive.offensive-security.com/repotest/ BackTrack Devel Repository >>/etc/apt/sources.list
- # 请手动修改/etc/default/locale文件的内容为如下除#外的内容。
- # echo LANGUAGE = "zh_CN.UTF-8,zh_CN:zh,en_US:en" > /etc/default/locale
- # echo LC_ALL = "zh_CN.UTF-8,zh_CN:zh,en_US:en" >> /etc/default/locale
- # echo LANG = "zh_CN.UTF-8,zh_CN:zh,en_US:en" >> /etc/default/locale
- apt-get update && apt-get -y upgrade && apt-get autoclean
- cp /usr/share/zoneinfo/US/Eastern /etc/localtime
- sudo ntpdate cn.pool.ntp.org
- wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-$(date -I).tar.bz2
- tar tar jxvf compat-wireless-2.6.tar.bz2
- cd compat-wireless-$(date -I)
- make && make install && cd ..
- cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
- sudo ntpdate cn.pool.ntp.org
- apt-get install -y kplayer
- apt-get install -y gimp
- apt-get install -y skypel
- apt-get install -y language-support-zh
- apt-get install -y language-pack-kde-zh language-pack-kde-zh-base language-pack-zh language-pack-zh-base
复制代码
这段就是全自动更新网卡驱动的了
- cp /usr/share/zoneinfo/US/Eastern /etc/localtime
- sudo ntpdate cn.pool.ntp.org
- wget
- http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-$(date
- -I).tar.bz2
- tar tar jxvf compat-wireless-2.6.tar.bz2
- cd compat-wireless-$(date -I)
- make && make install && cd ..
- cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime
- sudo ntpdate cn.pool.ntp.org
复制代码 |
评分
-
1
查看全部评分
-
|