个人ubuntu12.04.5 LTS

 =》

*第一件事是把sohu和osc加入的/etc/apt/sources.list 当前(20150315)个人sources.list文件内容以下(OSC的源不稳定已经被我注释掉):php

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

####oschina sources
#deb http://mirrors.oschina.net/ubuntu/ precise main restricted universe multiverse
#deb http://mirrors.oschina.net/ubuntu/ precise-backports main restricted universe multiverse
#deb http://mirrors.oschina.net/ubuntu/ precise-proposed main restricted universe multiverse
#deb http://mirrors.oschina.net/ubuntu/ precise-security main restricted universe multiverse
#deb http://mirrors.oschina.net/ubuntu/ precise-updates main restricted universe multiverse
#deb-src http://mirrors.oschina.net/ubuntu/ precise main restricted universe multiverse
#deb-src http://mirrors.oschina.net/ubuntu/ precise-backports main restricted universe multiverse
#deb-src http://mirrors.oschina.net/ubuntu/ precise-proposed main restricted universe multiverse
#deb-src http://mirrors.oschina.net/ubuntu/ precise-security main restricted universe multiverse
#deb-src http://mirrors.oschina.net/ubuntu/ precise-updates main restricted universe multiverse

####Following are the default settings
###removed by cyper

 


* 解决自带的vi很差用的问题(好比光标键很差使)
sudo apt-get install vimhtml

 


* 干掉unityjava

ubuntu 12.04 中安装gnome桌面的命令为:
sudo apt-get install gnome-session-fallback
也能够用:
sudo apt-get install gnome-panel
安装好gnome桌面后注销从新登陆,在用户名右边有一个图标,能够选择使用进入的桌面,我选择了gnome classic,而后就能够重返经典的gnome桌面了。
(Cyper的笔记:由于和五笔输入法有冲突我选择了gnome classic(no effect),进到桌面后panel中的图标间隙会比较大,不够紧凑,能够在Panel上Alt+右键,选择Properties把Size调小一点,我调的是19px)

后来我升级了五笔输入法,使用了fcitx nightly build版本,发现使用gnome classic也没有问题了。classic和classic(no effect)的一个重要区别是,classic中须要在Panel上Fn+Alt+右键才会出来Properties选项,很NC的设计



在删除unity桌面以前,要把ubuntu默认的登陆界面也改成gnome,命令以下:
sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-classic
这是设置登陆界面为 gnome classic的,若是你喜欢gnome3,则用:
sudo /usr/lib/lightdm/lightdm-set-defaults -s gnome-shell
接下来就能够卸载unity了。python

sudo apt-get -auto-remove purge unity
sudo apt-get -auto-remove purge unity-common
sudo apt-get -auto-remove purge unity-lens*
sudo apt-get -auto-remove purge unity-services
sudo apt-get -y -auto-remove purge unity-asset-poolweb

* 确保系统安装来python,gcc,g++,若是没有则安装:

$ sudo apt-get install python
$ sudo apt-get install build-essential
$ sudo apt-get install gcc
$ sudo apt-get install g++ shell

* 安装fcitx五笔输入法input method (see my blog)

* 安装屏幕抓图shutter,在preference中设置系统快捷键(这个很牛逼,即便shutter程序未开启也能使用快捷键)
ubuntu

* 卸载bluetoothvim

sudo apt-get remove gnome-bluetoothtomcat

sudo apt-get purge "bluez*"网络

sudo apt-get autoremove

*安装ff的插件DownloadThemAll, Firebug, RESTClient

* 安装wps (wps修改office的文件后,其它人在win7上打开排版会比较混乱,浪费时间, 仍是用自带的LibreOffice)
 

* 卸载wps:http://my.oschina.net/uniquejava/blog/98436

*安装FTP客户端
apt-get install filezilla(and get backup software from my win7 such as jdk7)

*安装JDK7
install jdk7 (see my blog)

* 安装open in terminal(这样能够在当前目录右键打开terminal)

原文地址是:How To Open Terminal Here In Ubuntu 12.04

操做步骤翻译以下:

1.打开一个Terminal(ctrl+alt+t),输入以下指令

  sudo apt-get install nautilus-open-terminal

2.使用如下指令来重启Nautilus

  nautilus -q

* 工做须要安装at&t client
结果期间大胆使用了这里的命令:http://forum.ubuntu.org.cn/viewtopic.php?f=86&t=368069&start=15
而后 。哈哈, 

* 安装gedit的regex插件(支持regex查找替换)
https://bitbucket.org/brandizzi/gedit-re-search/wiki/Home

* 安装ssh
sudo apt-get install openssh-server
此时在win7上登陆
$ ssh cyper@192.168.1.101
RSA host key for 192.168.1.101 has changed and you have requested strict checking.
Host key verification failed.

解决办法是用notepad++打开这个known_hosts文件,删除与192.168.1.101相关的配置

* 安装vlc播放器
https://www.videolan.org/vlc/download-ubuntu.html

sudo apt-get install vlc browser-plugin-vlc

*密码管理
sudo apt-get install keepassx

*安装SimpleScreenRecorder

* 搭建php开发环境并在PhpStorm中测试
这里,安装(应该先修改源,否则安装的是php5.3,而后升级比较麻烦。

目录规则, 最经常使用的工具安装在SSD上以加快启动速度(原则是对这些目录写操做越少越好)
/opt/i 专门用来放ide(eclipse,webstorm等)
/opt/jdk 各类版的jdk

机械硬盘(/home, /var)下存入数据文件(写操做多的)
~/ws 工做空间目录(我比较懒,喜欢各类简写)
~/server tomcat等目录

###其它
1. 网络配置窗口sudo  nm-connection-editor

相关文章
相关标签/搜索