配置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开发环境 这里,我习惯 ...
随机推荐
- IT国家重点实验室
软件工程国家重点实验室(武汉大学): http://www.sklse.whu.edu.cn/ 南京大学: http://keysoftlab.nju.edu.cn/ 水声技术国家重点实验室 http ...
- Can't obtain the input stream from /docProps/app.xml
今天在做poi修改样式时,报了以下错误: Exception in thread "main" org.apache.poi.POIXMLException: java.io.IO ...
- BMap介绍
API引用路径: <script type="text/javascript" src="http://api.map.baidu.com/api?v=2.0&am ...
- 基于MongoDB分布式存储进行MapReduce并行查询
中介绍了如何基于Mongodb进行关系型数据的分布式存储,有了存储就会牵扯到查询.虽然用普通的方式也可以进行查询,但今天要介绍的是如何使用MONGODB中提供的MapReduce功能进行查询. ...
- CF GYM 100703A Tea-drinking
题意:龙要制作n个茶,每个茶的配方是一个字符串,两个字符串之间有一个差值,这个差值为两个字符串每个对应字母之间差的绝对值的最大值,求制作所有茶时获得的所有差值中的最大值. 解法:克鲁斯卡尔.将茶的配方 ...
- 单点登录技术:微软Passport单点登录协议和自由联盟规范
随着互联网络应用的普及,越来越多的人开始使用互联网上提供的服务.然而目前提供服务的网站大多采用用户名.口令的方式来识别用户身份,这使得用户需要经常性的输入自己的用户名.口令.显然这种认证方式存在着弊端 ...
- 单点登录系统(SSO)的开发思路
单点登录并不是一个新鲜的玩意儿,比较官方的解释是企业业务整合的解决方案之一,通俗来讲SSO就是一个通用的用户中心,国内比较流行的UCenter就是一套单点登录解决方案.而近期以CSDN明文存储用户密码 ...
- POJ 2435Navigating the City(bfs)
题意:给你一个地图,’+’代表十字路口,‘-’‘|’表示街道,‘.’表示建筑物,‘s’,’E’ 起点和终点.输出从起点到终点的的 最短路径(包括方向和沿该方向的经过的十字路口数) 分析:ans[i][ ...
- Loadrunner通过sitescope监控mysql
1. Loadrunner通过sitescope监控mysql 1.1. Sitescope下载 第一次在网上下载的是sitescope11.30,安装之后无法破解,所以最后卸载了,重新下载了si ...
- umask设置导致程序权限不足的问题
这几天邮件告警总是发不了邮件,查看了下zext_msmtp.sh的日志,发现总是提示权限不足…… 于是切换为zabbix的账户,发现在msmtp的目录下连ls都无法执行. 之后发现是umask的问题, ...