您的位置:首页 > 其它

Ubuntu 不完全安装手册

2016-06-07 11:03 585 查看
当前系统环境:Ubuntu 16.04 LTS x86_64

update source

cd /etc/apt
cp sources.list cources.list.bak
gedit sources.list
复制粘贴即可
sudo apt update


install inputmethod

sudo apt install fcitx-table-wbpy
需要重启
在ConfiguFcitx的InputMethod里面添加WubiPinyin,
在Global Config里设置tigger input method为Lshift


configuration shortcut key

Win + e     File explorer
Win + r     Terminal


安装QQ

sudo add-apt-repository ppa:wine/wine-builds
sudo apt-get update
sudo apt-get install winehq-devel
tar xvf wineQQ8.9_19990.tar.xz -C ~/  目前只好安装在家目录上
搜索qq即可启动


下载QQ

安装 eclipse

sudo mkdir /usr/apps
sudo tar -xzvf eclipse-jee-oxygen-2-linux-gtk-x86_64.tar.gz -C /usr/apps/
cd !$;cd eclipse
./eclipse
锁定到任务栏


常用软件清单

XMind                       " 思维导图
WPS                         " 兼容Office文档
GIMP                        " 画图工具,类PhotoShop
NetEase Cloud Music         " 网易云音乐
Xscreensaver                " 屏幕保护
Google Chrome               " 因为插件,Firefox作备用
VirtualBox                  " 虚拟机
StarDict                    " 星际译王,名符其实
Eclipse                     " Vi模式插件ViPlugin
Tmux                        " 分屏
fish                        " 可高亮的Shell
uGet                        " 下载工具,配合Chrome下FlarGet与BaiduExporter已属完备
Atom                        " 用来写MakDown
indicator-multiload         " 标题栏流量监控


Chrome 插件

Vimium                      " Vi模式,彻底告别鼠标
uBlock Origin               " 屏蔽广告
WizNote                     " 保存文章到为知笔记
Google Translate            " 谷歌翻译
FlareGet                    " 下载工具
BaiduExporter               " 百度云下载工具
推荐两个下载插件的网站 https://www.crx4chrome.com/ https://www.chromefor.com/


Lantern

由于官网被墙,可在GitHub下载相应系统版本,链接地址:https://github.com/getlantern/lantern

wget https://raw.githubusercontent.com/getlantern/lantern-binaries/master/lantern-installer-beta-64-bit.deb cd ~/Downloads
sudo dpkg -i lantern-installer-beta-64-bit.deb


安装GTK主题

1. 安装 Unity Tweak Tool
sudo apt-get install unity-tweak-tool
2. 安装 numix 主题
sudo add-apt-repository ppa:numix/ppa
sudo apt-get update
sudo apt-get install numix-gtk-theme
3. 安装 numix 图标
sudo apt-get install numix-icon-theme-circle


WizNote

sudo su
add-apt-repository ppa:wiznote-team
apt-get update
apt-get install wiznote


jdk安装及环境变量设置

1、下载jdk1.7.0_79
(32位操作系统)jdk-7u79-linux-i586.tar.gz
(64位操作系统)jdk-7u79-linux-x64.tar.gz http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html 2、解压JDK
sudo tar zxvf jdk-8u73-linux-x64.tar.gz  -C /usr/lib/jvm
3、打开profile
sudo gedit  /etc/profile
在文件末尾追加一下内容:
export JAVA_HOME=/usr/lib/jvm/jdk1.8.0_73
export CLASSPATH=".:$JAVA_HOME/lib:$CLASSPATH"
export PATH="$JAVA_HOME/bin:$PATH"
4、设置系统默认JDK
sudo update-alternatives --install /usr/bin/java java /usr/lib/jvm/jdk1.8.0_73/bin/java 300
sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.8.0_73/bin/javac 300
sudo update-alternatives --config java
5、运行source /etc/profile
6、java -version
显示jdk版本为"jdk1.8.0_73",即为安装成功

注:如果显示Picked up JAVA_TOOL_OPTIONS: -javaagent:/usr/share/java/jayatanaag.jar
在~/.bashrc  文件末尾 添加   unset JAVA_TOOL_OPTIONS
在~/.zsh  文件末尾 添加   unset JAVA_TOOL_OPTIONS  (如果用户安装了zsh)


MySQL安装

sudo apt-get install mysql-server-5.6


Vim 常用配制

配制文件位置 ~/.vimrc 或 /etc/vim/vimrc
set number              " 显示行号
set tabstop=4           " Table键长度为4格
set autoindent          " 自动缩进
set cursorline          " 行高亮
set cursorcolumn        " 列高亮
set hlsearch            " 高亮搜索的关键字
set ignorecase          " 搜索时忽略大小写
set nocompatible        " 不使用 Vi 的键盘模式,而是 Vim 自己的
inoremap { {<CR>}kA<CR>

" set ruler             " 打开光标的行列位置
" syntax on             " 设置语法高亮


一些有趣的终端命令

cmatrix                 "
screenfetch
linuxlogo
sl
fortune[-zh]
typespeed
gtypist


常见问题

gedit 编辑器乱码问题

Under the terminal type:
gsettings set org.gnome.gedit.preferences.encodings auto-detected "['GB18030', 'UTF-8', 'CURRENT', 'ISO-8859-15', 'UTF-16']"


解除密码环

Under the terminal type:
seahorse
then open the seahorse GUI, you can [Password]>[Default keyring] > [Change password]
then input current password, and input the empty password in the nest windows.


最后贴张桌面图

内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: