配置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开发环境 这里,我习惯 ...
随机推荐
- 查询json数据结构的8种方式
查询json数据结构的8种方式 你有没有对“在复杂的JSON数据结构中查找匹配内容”而烦恼.这里有8种不同的方式可以做到: JsonSQL JsonSQL实现了使用SQL select语句在json数 ...
- 转: 解决MSYS2下的中文乱码问题
解决方案 新建/usr/bin/win: 12 #!/bin/bash$@ |iconv -f gbk -t utf-8 新建/etc/profile.d/alias.sh: 12345678 ali ...
- python auto send email
/*************************************************************************** * python auto send emai ...
- HDU 1503 Advanced Fruits (LCS,变形)
题意: 给两个水果名,要求他们的LCS部分只输出1次,其他照常输出,但是必须保持原来的顺序! 思路: 求LCS是常规的,但是输出麻烦了,要先求LCS,再标记两串中的所有LCS字符,在遇到LCS字符时, ...
- Windows 之间用rsync同步数据(cwRsyncServer配置)
rsync是一款优秀的数据同步软件,在跨服务器,跨机房,跨国备份服务器的首选工具,下面就来介绍下如何配置安装cwRsyncServer很大多数软件一样是B/C架构,cwRsyncServer是rsyn ...
- 在Linux运行期间升级Linux系统(Uboot+kernel+Rootfs)
版本:v1.2 Crifan Li 摘要 本文主要介绍了如何在嵌入式Linux系统运行的时候,进行升级整个Linux系统,包括uboot,kernel和rootfs.以及简介Linux中的已有的通 ...
- QT中使用 slot 传递 opencv 中得Mat对象以及 使用多线程集成开源代码。
关于 slot传递 Mat 对象 以前一直是使用 Qtimer 定时器,设定超时后读取 dialog 对象的 Mat成员实现在 UI 里显示图像,发现这样对以后集成其他面向过程的代码增加了复杂度. 所 ...
- Console.WriteLine()与MessageBox.Show()的区别
Console.WriteLine(); 将当前行终止符写入标准输出流 在学习控制台应用程序时经常用,输出到控制台 MessageBox.Show(); 显示可包含文本.按钮和符号(通知并指示用户) ...
- 【暑假】[深入动态规划]UVa 12170 Easy Climb
UVa 12170 Easy Climb 题目: http://acm.hust.edu.cn/vjudge/problem/viewProblem.action?id=24844 思路: 引别人一 ...
- hadoop面试题答案
Hadoop 面试题,看看书找答案,看看你能答对多少(2) 1. 下面哪个程序负责 HDFS 数据存储.a)NameNode b)Jobtracker c)Datanode d)secondary ...