Feisty安装配置(整理)

一、上网

1、固定IP

直接在System->Administration->Network中配置。

2、拨号上网

ADSL 拨号上网

sudo pppoeconf

然后按照提示一步一步操作即可。

注意它会提示你是不是开机自动连接上网,选择是,每次开机就会自动拨号。

也可以安装图形拨号程序

sudo apt-get install gnome-ppp


3、华为h3c认证

先到网上下载H3C客户端

For i386

可以先到http://packages.ubuntu.com搜索下载libstdc++2.10-glibc2.2_2.95.4-24_i386.deb并安装。

然后运行客户端即可。

For amd64

事先安装lib32asound2_1.0.13-1ubuntu5_amd64.deb

lib32gcc1_4.1.2-0ubuntu4_amd64.deblib32stdc++6_4.1.2-0ubuntu4_amd64.deb

然后到http://www.debian.com/distrib/packages下载ia32-libs_1.19_amd64.deb,安装后发现/下面多了文件夹emul,从文件夹把/emul/ia32-linux/lib下的文件复制到/lib32,把/emul/ia32-linux/usr/lib下的所有文件复制到/usr/lib32。现在运行客户端就不会出现缺库了。


二、软件源

设置软件源

sudo gedit /etc/apt/sources.list

我的sources.list(里面包括后面所遇到的所有配置需要的源)

#cn99#
deb http://debian.cn99.com/ubuntu feisty main restricted universe multiverse
deb http://debian.cn99.com/ubuntu feisty-security main restricted universe multiverse
deb http://debian.cn99.com/ubuntu feisty-updates main restricted universe multiverse
deb http://debian.cn99.com/ubuntu feisty-proposed main restricted universe multiverse
deb http://debian.cn99.com/ubuntu feisty-backports main restricted universe multiverse

#beryl#
deb http://ubuntu.beryl-project.org feisty main

#Automatix2#
deb http://www.getautomatix.com/apt feisty main

#ubuntu-cn#
deb http://archive.ubuntu.org.cn/ubuntu-cn feisty main restricted universe multiverse

# Medibuntu (Multimedia, Entertainment & Distraction In Ubuntu - ex Penguin Liberation Front)
# GPG key-file: http://medibuntu.sos-sts.com/repo/medibuntu-key.gpg
deb http://medibuntu.sos-sts.com/repo/ feisty free non-free
deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free

## CANONICAL COMMERCIAL REPOSITORY
deb http://archive.canonical.com/ubuntu feisty-commercial main

其他的Repository

1Medibuntu

wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add -

sudo wget http://medibuntu.sos-sts.com/sources.list.d/feisty.list -O /etc/apt/sources.list.d/medibuntu.list

或者修改sources .list,添加

## Medibuntu - Ubuntu 7.04 "feisty fawn"

## Please report any bug on https://launchpad.net/products/medibuntu/+bugs

deb http://medibuntu.sos-sts.com/repo/ feisty free non-free

deb-src http://medibuntu.sos-sts.com/repo/ feisty free non-free


2## CANONICAL COMMERCIAL REPOSITORY (Hosted on Canonical servers, not Ubuntu

## servers. RealPlayer10, Opera, DesktopSecure and more to come.)

deb http://archive.canonical.com/ubuntu feisty-commercial main


3Automatix2软件包管理器

echo "deb http://www.getautomatix.com/apt feisty main" | sudo tee -a /etc/apt/sources.list

wget http://www.getautomatix.com/keys/automatix2.key

gpg --import automatix2.key

gpg --export --armor E23C5FC3 | sudo apt-key add -

sudo aptitude update

sudo aptitude install automatix2


三、Apt, Software and Package Basics

* 安装软件包

sudo aptitude install <packagename>

例如:sudo aptitude install mpd sbackup

* 删除软件包

sudo aptitude remove <packagename>

例如:

sudo aptitude remove mpd sbackup

* 搜索软件包

sudo aptitude search <keywords>

例如:

sudo aptitude search Music MP3

sudo aptitude search "Text Editor"

* 刷新软件数据库 (used after adding/removing Apt repositories)

sudo aptitude update

* 升级软件包

sudo aptitude upgrade

*全系统升级

sudo aptitude dist-upgrade

* 安装本地软件包(UbuntuDebian

sudo dpkg -i package.deb

* 删除本地软件包

sudo dpkg -r package

* 重设置或修复软件包

sudo dpkg-reconfigure package

例如:

sudo dpkg-reconfigure mpd

* 处理".tar.gz" (Tar/GZip) 压缩文件

解压:

tar xvzf package.tar.gz

建立:

tar cvfz package.tar.gz folder

* 处理 ".tar.bz" (Tar/BZip) 压缩文件

解压:

tar xvjf package.tar.bz

建立:

tar cvjf package.tar.bz folder

* 解压 ".bz" 文件

bunzip2 file.bz

* 解压 ".gz" 文件

gunzip file.gz

* 从源码编译安装

必要的开发工具:

sudo aptitude install build-essential

sudo aptitude install linux-headers-`uname -r`

解压源码包

tar xvzf package.tar.gz

开始编译

cd /path/to/extracted/package

./configure

make

make install


如果编译成功,可以考虑生成deb:

sudo aptitude install checkinstall

checkinstall编译:

cd /path/to/extracted/package

./configure

make

checkinstall


四、中文支持设置(默认英文locale)

System -> Administration -> Language Support 在列表中的 Chinese 条目 打勾并apply

配置字体,使中文看起来更漂亮

sudo fontconfig-voodoo -f -s zh_CN


五、其他

1Java6环境

sudo aptitude install sun-java6-jre sun-java6-plugin sun-java6-fonts

sudo aptitude install j2re1.4-mozilla-plugin

2Flash Player Plug-in for Mozilla Firefox

sudo aptitude install flashplugin-nonfree

对于amd64用户:

sudo aptitude install mozilla-plugin-gnash

3p2p支持

sudo aptitude install azureus amule

5、防火墙

sudo aptitude install firestarter

6ntfs支持

http://www.ubuntugeek.com/widows-ntfs-partitions-readwrite-support-made-easy-in-ubuntu-feisty.html

73D桌面

Compiz

http://www.ubuntugeek.com/compiz-and-nvidia-on-ubuntu-feisty-fawn.html

nvidia驱动:

方法一:

sudo apt-get install nvidia-glx-new

sudo nvidia-xconfig –add-argb-glx-visuals

CtrlAltF1后重启GDM

sudo /etc/init.d/gdm restart

方法二:

http://www.nvidia.com/content/drivers/drivers.asp 下载你的显卡驱动,像我的显卡就是NVIDIA-Linux-x86_64-1.0-9755-pkg2.run

sudo aptitude install build-essential linux-headers-`uname -r` xserver-xorg-dev

CtrlAltF1

sudo /etc/init.d/gdm stop

sudo sh ./NVIDIA-Linux-x86_64-1.0-9755-pkg2.run

然后一路按提示选择,结束后

sudo /etc/init.d/gdm start

ATI驱动:

http://wiki.cchtml.com/index.php/Ubuntu_Feisty_Installation_Guide

Beryl

sudo aptitude install beryl emerald-themes beryl-manager

防止窗口标题栏消失:

gksudo gedit /etc/X11/xorg.conf

device项加入Option "AddARGBGLXVisuals" "True"

8、虚拟系统

(1)VirtualBox

http://www.ubuntugeek.com/create-and-manage-virtual-machines-using-virtualbox.html

(2) Vmware Server

http://www.ubuntugeek.com/how-to-install-vmware-server-from-canonical-commercial-repository-in-ubuntu-feisty.html

(3)CrossOver Office

(4)Wine

sudo aptitude install wine

(5)Cedega

9ftp客户端

sudo apt-get install gftp



六、多媒体

1、解码器

sudo aptitude install ubuntu-restricted-extras libxine-extracodecs / gstreamer0.10-plugins-base gstreamer0.10-plugins-good / gstreamer0.10-plugins-bad gstreamer0.10-pitfdll

sudo aptitude install w32codecs

sudo aptitude install totem-gstreamer-firefox-plugin

2、播放器

Mplayer

sudo aptitude install mplayer libxine-extracodecs mozilla-mplayer

http://www.debianadmin.com/install-mplayer-ubuntu.html

Elisa Multimedia Player

http://www.ubuntugeek.com/how-to-install-elisa-media-center-in-ubuntu.html

VLC player

sudo aptitude install vlc vlc-plugin-* mozilla-plugin-vlc

* In order to stream video via vlc, you also need to install the following packages.

sudo aptitude install avahi-daemon

sudo aptitude install avahi-utils

XMMS player

sudo aptitude install xmms xmms-skins xmms-wma

Banshee player

sudo aptitude install banshee

RealPlayer 10

sudo aptitude install realplay

It will also install all the necessary plugins automagically for it to view embedded real videos in Firefox

* To avoid issues of flickering or screen going blank when switching windows, goto

o RealPlayer 10 -> Tools -> Preferences -> Hardware -> Uncheck XVideo

* To avoid issues with sound

o Make sure you have ALSA OSS driver.

sudo aptitude install alsa-oss

then edit the startup script (/usr/lib/realplay-10.0.8/realplay) and changed line 73 from

$REALPLAYBIN “$@”

to

aoss $REALPLAYBIN “$@”

3DVD

sudo aptitude install libdvdread3

sudo /usr/share/doc/libdvdread3/install-css.sh

sudo aptitude install totem-xine

sudo aptitude install libdvdcss2

 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值