`

linux kubuntu 11.10 && 12.04配置

阅读更多
kubuntu 10.04 的配置参考:
http://blog.csdn.net/wangfaqiang/article/details/5902328

ubuntu11.10
//ps -e | grep apt

0. 网络链接
   >cp libtiff.s0.4.3.4 /usr/lib/libtiff.so.3
   >获取软件包:iNodeClient_Linux.tar.gz
   >解压到任意目录:/home/xuanx/applications/iNodeClient
   >sudo ./install.sh
1. 更新软件源

# 163
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

# sohu (official China)
# deb http://cn.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

# official
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
# official security
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
# canonical partner
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner
# official extras
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

####################################################################################################
#W: GPG签名验证错误: http://deb.opera.com unstable Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY F9A2F76A9D1A0061
#W: GPG签名验证错误: http://ppa.launchpad.net jaunty Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY 6AF0E1940624A220
#W: GPG签名验证错误: http://deb.opera.com stable Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY F9A2F76A9D1A0061
#---------------------------------------------------------------------------------------------------
#处理方法:
#sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com  F9A2F76A9D1A0061
#sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com  6AF0E1940624A220
#sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com  F9A2F76A9D1A0061
#---------------------------------------------------------------------------------------------------
#sudo apt-get update   ##现在可以顺利更新成功了


2. JDK环境配置
   >获取安装包:jdk-7u3-linux-i586.tar.gz
   >解压到任意目录:/home/xuanx/applications/jdk1.7.0_03
   >配置环境变量:打开文件 /etc/profile(或/etc/environment)
    加入如下语句:
    #JAVA
    export JAVA_HOME=/home/xuanx/applications/jdk1.7.0_03
    export JRE_HOME=/home/xuanx/applications/jdk1.7.0_03/jre
    export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib
    export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin

3. 自动挂载
   >编辑:/etc/fstab,加入:
    /dev/sda1 /media/windows ntfs users,auto,rw,dev,exec,umask=002 0 0
    /dev/sda2 /media/ssspace ntfs users,auto,rw,dev,exec,umask=002 0 0


4. 终端安装:
   >sudo apt-get install terminatot guake


5. 编辑工具vim: sudo apt-get install vim


6. ROR框架:
   >sudo apt-get install build-essential libopenssl-ruby libfcgi-dev
   >sudo apt-get install ruby irb rubygems ruby1.8-dev
   >sudo apt-get install sqlite3 libsqlite3-dev nodejs
   [sudo gem install rubygems-update]
   [sudo update_rubygems]
   >sudo gem install rails
   >sudo gem install sqlite3

7. openGL:
   >sudo apt-get install mesa-common-dev
   >sudo apt-get install freeglut3 freeglut3-dev libglew1.5 libglew1.5-dev libglu1-mesa libglu1-mesa-dev libgl1-mesa-glx libgl1-mesa-dev
  
   mesa-common-dev mesa-utils mesa-utils-extra
   libgl1-mesa-dev libgl1-mesa-glx libgl1-mesa-dri libgl1-mesa-dri-experimental
   libglu1-mesa libglu1-mesa-dev
   freeglut3 freeglut3-dev
   libglew1.6 libglew1.6-dev

8. Qt:
   >apt-get install libqt4-dev libqt4-core libqt4-dbg libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-qtconfig
   >apt-get install qtcreator qtcreator-dbg

9. flashplayer:
   >sudo apt-get install flashplugin-installer

10.压缩工具:
   >sudo apt-get install rar unrar p7zip p7zip-rar p7zip-full

11.词典;图片处理;3D图形;影音;阅读;UML建模
   >sudo apt-get install stardict gimp blender vlc xchm umbrello

12.安装下载工具(多线程下载器、BT下载、FTP、电驴)
   >sudo apt-get install d4x amule azureus deluge-torrent gftp

13.安装gnome3:
   >sudo add-apt-repository ppa:gnome3-team/gnome3
   >sudo apt-get update
   >sudo apt-get dist-upgrade
   >sudo apt-get install gnome-shell

   >sudo apt-get install gnome-tweak-tool

   >sudo add-apt-repository ppa:webupd8team/gnome3
   >sudo apt-get update

   >sudo apt-get install gnome-shell-extensions-alternate-tab gnome-shell-extensions-alternative-status-menu gnome-shell-extensions-user-theme gnome-tweak-tool gnome-shell-extensions-workspace-indicator gnome-shell-extensions-apps-menu gnome-shell-extensions-drive-menu gnome-shell-extensions-system-monitor gnome-shell-extensions-places-menu gnome-shell-extensions-dock gnome-shell-extensions-native-window-placement gnome-shell-extensions-gajim gnome-shell-extensions-xrandr-indicator gnome-shell-extensions-windows-navigator gnome-shell-extensions-auto-move-windows

14.gnome标题栏修改:
  >sudo vim /usr/share/themes/Adwaita/metacity-1/metacity-theme-3.xml
  >找到name="max"这一行,在右边添加上has_title="false",当然空格是不可少的,然后把下面title_vertical_pad的value修改为1
  >其他酌情更改即可(最好先备份)

15.github:
  >sudo apt-get install git-core git-gui git-doc
  [rm -r ~/.ssh](或者备份)
  >ssh-keygen -t rsa -C 908323351@qq.com
  [连续回车,默认将公钥放在~/.ssh/]
  >ssh -T git@github.com

/##############################################################################/
/##############################################################################/
/##############################################################################/

kubuntu 12.04

clear *~ files
> sudo find / -name *~ | xargs rm -rf


0. install iNodeClient
   need libgdk-x11-2.0.so.0, libgdk-x11-2.0.so.0, libtiff.s0.3, libjpeg.so.62
   > ln -s to generate the soft link of the libs placed directory /usr/lib
   need iNodeClient_Linux.tar.gz
   > tar -zxvf iNodeClient_Linux.tar.gz
   > cd iNodeClient
   >sudo ./install.sh
  
  
1. set and update the software sources, then update the system

# 163
deb http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ precise-backports main restricted universe multiverse

# sohu (official China)
# deb http://cn.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
# deb http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
# deb-src http://cn.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse

# official
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-proposed main restricted universe multiverse
deb-src http://archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse
# official security
deb http://security.ubuntu.com/ubuntu precise-security main restricted
deb-src http://security.ubuntu.com/ubuntu precise-security main restricted
deb http://security.ubuntu.com/ubuntu precise-security universe
deb-src http://security.ubuntu.com/ubuntu precise-security universe
deb http://security.ubuntu.com/ubuntu precise-security multiverse
deb-src http://security.ubuntu.com/ubuntu precise-security multiverse
# canonical partner
deb http://archive.canonical.com/ubuntu precise partner
deb-src http://archive.canonical.com/ubuntu precise partner
# official extras
deb http://extras.ubuntu.com/ubuntu precise main
deb-src http://extras.ubuntu.com/ubuntu precise main

####################################################################################################
#W: GPG签名验证错误: http://deb.opera.com unstable Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY F9A2F76A9D1A0061
#W: GPG签名验证错误: http://ppa.launchpad.net jaunty Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY 6AF0E1940624A220
#W: GPG签名验证错误: http://deb.opera.com stable Release: 由于没有公钥,下列签名无法进行验证: NO_PUBKEY F9A2F76A9D1A0061
#---------------------------------------------------------------------------------------------------
#处理方法:
#sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com  F9A2F76A9D1A0061
#sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com  6AF0E1940624A220
#sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com  F9A2F76A9D1A0061
#---------------------------------------------------------------------------------------------------
#sudo apt-get update and sudo apt-get dist-upgrate  ##现在可以顺利更新成功了
#if can not get the lock, enter:
#ps -e | grep apt
#look at the process name,then enter
#sudo killall processname

2. set language then install ibus(ibus-pinyin) for chinese

3. ibus pinyin
    sudo apt-get install ibus ibus-clutter ibus-gtk ibus-gtk3 ibus-qt4
    sudo apt-get install ibus-pinyin # or other engine(s) you want
    sudo apt-get install gnome-icon-theme
    im-switch -s ibus
    # logout and re-login
   
    ibus-setup # add input methods you want
    If your IBus icon happen to be missing, use the following command.
    ibus-daemon -drx

  http://blog.csdn.net/markman101/article/details/7087685
4. JDK环境配置
   >获取安装包:jdk-7u5-linux-i586.tar.gz
   >解压到任意目录:/home/xuanx/applications/jdk1.7.0_05
   >配置环境变量:打开文件 /etc/profile(或/etc/environment)
    加入如下语句:
    #JAVA
    export JAVA_HOME=/home/chaos/Applications/jdk1.7.0_05
    export JRE_HOME=$JAVA_HOME/jre
    export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib
    export PATH=$PATH:$JAVA_HOME/bin:$JRE_HOME/bin
   
5. 自动挂载
   >编辑:/etc/fstab,加入:
    /dev/sda2 /media/windows ntfs users,auto,rw,dev,exec,umask=002 0 0
     /dev/sda5 /media/chaos ntfs users,auto,rw,dev,exec,umask=002 0 0
  
   
6. 终端安装 and zsh shell:
   >sudo apt-get install terminator guake
   insall zsh terminate
   >sudo apt-get install zsh
   [wget --no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh]
   >git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
   >cp .oh-my-zsh/templates/zshrc.zsh-template .zshrc
   >chsh -s /bin/zsh
  

7. install firefox chromium-browser
   >sudo apt-get install firefox chromium-browser
   >sudo apt-get install flashplugin-installer

8. github:
   >sudo apt-get install git-core //git-gui git-doc
   [rm -r ~/.ssh](或者备份)
   >ssh-keygen -t rsa -C wuyao.chaos@gmail.com
   [连续回车,默认将公钥放在~/.ssh/]
   >ssh -T git@github.com
   > git config --global user.name  "chaos"
   > git config --global user.email "wuyao.chaos@gmail.com"

  
  
9. 编辑工具vim:
   > sudo apt-get install vim
   > sudo apt-get install ack exuberant-ctags ncurses-term
   > git clone git@github.com:qiao/vimfiles.git
   > mv vimfiles .vim
   > cd .vim
   > git submodule init && git submodule update
   > cd and ln -s .vim/vimrc .vimrc
  
10. install driver and openGL
   > need nvidia-current driver then sudo apt-get install
   mesa-common-dev mesa-utils mesa-utils-extra
   libgl1-mesa-dev libgl1-mesa-glx libgl1-mesa-dri libgl1-mesa-dri-experimental
   libglu1-mesa libglu1-mesa-dev
   freeglut3 freeglut3-dev
   libglew1.6 libglew1.6-dev
  
11. ROR框架:
   >sudo apt-get install build-essential libopenssl-ruby libfcgi-dev
   >sudo apt-get install ruby ruby-dev irb rubygems
   >sudo apt-get install sqlite3 libsqlite3-dev nodejs
   [sudo gem install rubygems-update]
   [sudo update_rubygems]
   >sudo gem install rails
   >sudo gem install sqlite3

12. Qt:
   >apt-get install libqt4-dev libqt4-core libqt4-dbg libqt4-gui libqt4-sql qt4-dev-tools qt4-doc qt4-qtconfig
   >apt-get install qtcreator qtcreator-dbg
  
13. install 词典;图片处理;3D图形;影音;阅读;UML建模;截图工具
   >sudo apt-get install stardict sdcv gimp blender vlc xchm/kchmviewer umbrello shutter
分享到:
评论

相关推荐

    kubuntu 12.04

    kubuntu 12.04 的iso文件,用于kubuntu系统的安装

    YUMI – Multiboot USB Creator (Windows)

    Kubuntu 12.04 DVD amd64 Lubuntu 12.04 Lubuntu 12.04 amd64 Mythbuntu 12.04 Mythbuntu 12.04 amd64 Xubuntu 12.04 Xubuntu 12.04 amd64 Ubuntu 11.10 Ubuntu 11.10 amd64 Ubuntu Server 11.10 Edubuntu 11.10 ...

    Kubuntu下安装配置Tomcat

    Kubuntu下安装配置Tomcat 第一步:下载并解压缩Tomcat部署文件 下载地址:略 第二步:配置Tomcat环境 第三步:测试安装 注意:运行错误解决 错误1:Neither the JAVA_HOME nor the JRE_HOME environment variable ...

    硬盘安装KUBUNTU 10.04

    硬盘安装KUBUNTU的方法及一些注意事项

    Kubuntu 8.04.1下配置JDK支持

    ★测试环境:系统 Kubuntu 8.04.1 JDK版本 sun-java6-...Kubuntu 8.04.1下配置JDK支持 第一步:安装JDK 第二步:配置环境变量 修改指定用户环境变量 修改所有用户的环境变量 第三步:安装浏览器的JAVA Plugin(可选)

    Academia Tics:Linux Kubuntu和LibreOffice手册-开源

    通用Linux Kubuntu和LibreOffice的手册。

    ubuntu&kubuntu 10.10更新源

    ubuntu&kubuntu 10.10更新源

    [Ubuntu.Linux.基础视频教程].2.4.安装.Kubuntu.Linux

    [Ubuntu.Linux.基础视频教程].2.4.安装.Kubuntu.Linux

    Kubuntu硬盘启动文件

    这是Kubuntu的硬盘启动文件,还有安装的说明!

    Kubuntu 8.04.1下安装eclipse+MyEclipse

    ★测试环境:系统 Kubuntu 8.04.1 eclipse版本 eclipse-SDK-3.3.2-linux-gtk MyEclipse插件 MyEclipse_6.5.1GA_ArchivedDiscoverySite 第一步:安装eclipse 第二步:安装MyEclipse插件(三种不同安装方法任选其一) 第...

    Kubuntu最新内核版本

    适用于Amd 系列笔记本,可以直接启动运行。解决蓝牙驱动、显卡驱动、声音驱动等等问题。其中有5.9.8和5.10.rc4两个版本的内核,系统都是Kubuntu20,04

    kubuntu-20.04-desktop-amd64 安装盘 第二部分

    kubuntu-20.04-desktop-amd64 第二部分,共两部分,因为超过2G

    Kubuntu9.04的安装与设置

    此文件讲述了有关Kubuntu9.04的安装与设置,具体包括登陆设置,语言设置,编译环境安装,网络设置等多方面的内容。

    kubuntu压缩软件

    kubuntu是基于 KDE 的一个非常友好的操作系统,中文名称"酷班图",是由ubuntu衍生的一款操作系统

    Linux 64位系统 QQ

    Linux Ubuntu Kubuntu 64位系统下使用的QQ 详见博客 http://blog.csdn.net/hyzhou33550336/article/details/17736485

    把发行版linux写入u盘

    为ubuntu设计的,可以把多种发行版的linux写入u盘,用u盘启动,除了ubuntu,Xubuntu,Kubuntu等,还有比如fedora,CentOS,Puppy,YLMF OS等。可以选择是否格式化u盘。

    Ubuntu Linux实用学习教程

    一份比较详尽的Ubuntu下的替代WIN软件列表(kubuntu) 玩转 Ubuntu:如何从源文件安装软件 二、下载并编译软件的源代码 三、小结 给新手Ubuntu爱好者参考的安装日志 一、配置中文环境 二、调整字体大小 三、调整Fire...

    linux的u盘启动盘

    linux u盘启动。 能装ubuntu kubuntu opensuse 在u盘上

    华硕ROGZephyrusDuo15SE-Linux

    华硕ROG Zephyrus Duo 15 SE-Linux Kubuntu设置-GX551QS-HF038T 从Kubuntu Ubuntu 20.04.2 LTS开始安装主线sudo add-apt-repository ppa:cappelikan/ppasudo apt updatesudo apt install mainline -y检查内核版本,...

Global site tag (gtag.js) - Google Analytics