配置Ubuntu开发环境
前言
为什么不要公司的电脑,是由于160G的ssd硬盘实在是太小了,并且我又不会用windows,刷机有须要windows上的工具,因此仅仅能自己掏腰包再购置一台电脑了。奢侈啊!
U盘安装Ubuntu13.10
无线网卡驱动
$ lspci
ThinkPad E431的无线网卡型号是:BCM43142,又一次安装无线网卡驱动:
$ sudo apt-get update
$ sudo apt-get install --reinstall bcmwl-kernel-source
重装bcm驱动之后,无线网卡的问题基本就攻克了。
替换源
deb http://mirrors.163.com/ubuntu/ saucy main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ saucy main restricted universe multiverse #Added by software-properties
deb http://mirrors.163.com/ubuntu/ saucy-security main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ saucy-security main restricted universe multiverse #Added by software-properties
deb http://mirrors.163.com/ubuntu/ saucy-updates main restricted universe multiverse
deb-src http://mirrors.163.com/ubuntu/ saucy-updates main restricted universe multiverse #Added by software-properties
设置BIOS
ThinkPad E431 SB啊,默认关闭这个功能,我擦!
搭建Android开发环境
配置Terminal
安装Manaco等宽字体
#!/bin/bash #script extraido de: http://paulocassiano.wordpress.com/2008/08/29/deixando-o-gedit-com-a-cara-do-textmate/
#tip for better "resolution" here: http://blog.siverti.com.br/2008/05/22/fonte-monaco-no-ubuntugedit/ cd /usr/share/fonts/truetype/ #if monaco dir not exists, then create it
if [ ! -d ttf-monaco ]; then
sudo mkdir ttf-monaco
fi cd ttf-monaco/ sudo wget http://www.gringod.com/wp-upload/software/Fonts/Monaco_Linux.ttf #create an index of X font files in a directory
sudo mkfontdir #go to parent folder /usr/share/fonts/truetype
cd .. fc-cache
配置terminal使用solarized配色
配置dircolors
#enable color for gnome-terminal
if [ -x /usr/bin/dircolors ]; then
test -r ~/.dircolors && eval "$(dircolors -b ~/.dircolors)" || eval "$(dircolors -b)"
alias ls='ls --color=auto'
#alias dir='dir --color=auto'
#alias vdir='vdir --color=auto' alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
fi # some more ls aliases
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
source .bashrc就可以
配置VIM为默认文本编辑器
# set vim to default editor
export EDITOR=/usr/bin/vim
效果
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3p5XzE5ODg=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">
中文文件夹名改为英文
经常使用工具
Chromium
配置Adobe Flash Player
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3p5XzE5ODg=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">
Installing using the plugin tar.gz:
o Unpack the plugin tar.gz and copy the files to the appropriate location.
o Save the plugin tar.gz locally and note the location the file was saved to.
o Launch terminal and change directories to the location the file was saved to.
o Unpack the tar.gz file. Once unpacked you will see the following:
+ libflashplayer.so
+ /usr
o Identify the location of the browser plugins directory, based on your Linux distribution and Firefox version
o Copy libflashplayer.so to the appropriate browser plugins directory. At the prompt type:
+ cp libflashlayer.so <BrowserPluginsLocation>
o Copy the Flash Player Local Settings configurations files to the /usr directory. At the prompt type:
+ sudo cp -r usr/* /usr
chromium在Ubuntu13.10的插件文件夹位置为:/usr/lib/chromium-browser/plugins。安装脚本例如以下:
#!/bin/bash #unpack adobe dir
adobe_dir=/home/wzy/Downloads/flash #copy .so to chromium plugins direcotry
cp $adobe_dir/libflashplayer.so /usr/lib/chromium-browser/plugins #copy abobe flash player settings configurations files to /usr directory
target_dir=/usr
for dir in `ls $adobe_dir/usr`; do
if [ -d $target_dir/$dir ]; then
cp -r $adobe_dir/usr/$dir/* $target_dir/$dir/
else
cp -r $adobe_dir/usr/$dir $target_dir
fi
done
谷歌拼音输入法
$ sudo add-apt-repository ppa:fcitx-team/nightly && sudo apt-get update
$ sudo apt-get install fcitx-googlepinyin
然后在系统设置->语言支持中将输入法选择为fcitx就可以。至于ibus即使不删也不会影响到fcitx的正常使用(第一次配置记得注销系统使配置生效)。
shutter
VirtualBox
(2)将”网络控制器”选项取消勾选, 便于启动。
影音
$ sudo apt-get install vlc
后记
watermark/2/text/aHR0cDovL2Jsb2cuY3Nkbi5uZXQvd3p5XzE5ODg=/font/5a6L5L2T/fontsize/400/fill/I0JBQkFCMA==/dissolve/70/gravity/Center" alt="">
配置Ubuntu开发环境的更多相关文章
- Ubuntu Linux下如何配置Android开发环境
下载和安装Win7系统Android开发环境中讲了怎样在Win7系统中安装Android开发环境,那么怎样在Linux系统中配置Android开发环境呢?本篇文章就将演示如何使用Eclipse.And ...
- ubuntu 开发环境配置及安装 nodejs
ubuntu 开发环境配置及安装 nodejs 1 安装nodejs $ sudo apt-get install build-essential $ sudo apt-get install gcc ...
- Ubuntu 配置 Android 开发 环境
. 果断换Ubuntu了, Ubuntu的截图效果不好, 不能设置阴影 ... 作者 : 万境绝尘 转载请注明出处 : http://blog.csdn.net/shulianghan/article ...
- Ubuntu开发环境配置
主要是: 源的更新 安装vim编辑器 远程登录xrdp相关配置 synergy symless键鼠共享配置 对新买的硬盘进行格式化和分区 vsftp环境搭建 gcc开发环境配置 qt5开发环境配置 m ...
- Windows10内嵌Ubuntu子系统配置python开发环境
Windows10内嵌Ubuntu子系统配置python开发环境 安装pycharm. 到intellij idea网站下载Linux环境下载免费的pycharm,通过ubuntu子系统内部的/mnt ...
- windows 10下sublime text3环境的搭建以及配置python开发环境
1 - 安装Sublime Text 3 到官网下载对应的版本,如下: OS X (10.7 or later is required) Windows - also available as a p ...
- Ubuntu 开发环境搭建教程
Ubuntu 开发环境搭建教程 本文原始地址:https://sitoi.cn/posts/18425.html 更新 sudo apt upgrade sudo apt update 生成本机密钥 ...
- Notepad++ 使用nppexec插件配置简易开发环境
notepad++ 采用nppexec插件来配置简易开发环境,而不需要笨重的IDE以及麻烦.重复的命令行.控制台输入: 以下为本人最近用到的脚本配置: //编程语言脚本中$(NAME_PART).x ...
- VC 6中配置OpenGL开发环境
2010,2012中配置类似 http://hi.baidu.com/yanzi52351/item/f9a600dffa4caa4ddcf9be1d VC 6中配置OpenGL开发环境 这里,我习惯 ...
随机推荐
- 1022. Genealogical Tree(topo)
1022 简单拓扑 不能直接dfs 可能有不联通的 #include <iostream> #include<cstdio> #include<cstring> # ...
- bzoj1025: [SCOI2009] 游戏 6
DP. 每种排法的长度对应所有循环节长度的最小公倍数. 所以排法总数为和为n的几个数的最小公倍数的总数. #include<cstdio> #include<algorithm> ...
- BZOJ_1022_[SHOI2008]_小约翰的游戏John_(博弈论_反Nim游戏)
描述 http://www.lydsy.com/JudgeOnline/problem.php?id=1022 反Nim游戏裸题.详见论文<组合游戏略述——浅谈SG游戏的若干拓展及变形>. ...
- 【Java】【编译】javac编译源代码时,若源文件使用了别的java源代码的函数,javac会自动关联。
* 算法第四版自己的alg4.jar似乎有些过时. * 可以引用别的源码文件里的函数
- 【转】在Tomcat配置JNDI数据源的三种方式
在我过去工作的过程中,开发用服务器一般都是Tomcat 数据源的配置往往都是在applicationContext.xml中配置一个dataSource的bean 然后在部署时再修改JNDI配置 我猜 ...
- 将java应用程序打包成可执行文件
准备工作:我用的打包软件是installanywhere.因此要先下载这个软件,这里提供一个下载地址http://www.52z.com/soft/21747.html.(网页上写的有破解方法) 详细 ...
- [转] python程序的调试方法
qi09 原文 python程序的调试方法 本文讨论在没有方便的IDE工具可用的情况下,使用pdb调试python程序 源码例子 例如,有模拟税收计算的程序: #!/usr/bin/python de ...
- SQL中的CASE WHEN用法
其语法如下: 1)case vlaue when [compare-value]then reslut [when[compare-value]] then result ...] [else res ...
- win7远程链接ubuntu 桌面版
1.安装ubuntu 使用vagrant 添加了一个ubuntu12.04(xmanager好像只能控制最高这个版本,14.04没成功过) 2.安装xmanager 4 3.修改ubutu配置文件 s ...
- [LeetCode]Linked List Cycle II解法学习
问题描述如下: Given a linked list, return the node where the cycle begins. If there is no cycle, return nu ...