一、系统设置
1、任务栏左侧显示:gsettings set com.canonical.Unity.Launcher launcher-position Left
二、软件安装
1、google-chrome安装
a、下载:wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb
b、安装:sudo dpkg -i google-chrome-stable_current_amd64.deb
2、jdk安装
a、解压
b、环境变量修改:修改配置: ~/.bashrc
export JAVA_HOME=/home/develop/software/jdk1.8.0_60
export CLASSPATH=.:$JAVA_HOME/lib:$JAVA_HOME/jre/lib:$CLASSPATHexport PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH
3、git 安装
a、安装:sudo apt install git
b、学习:http://blog.csdn.net/jiangxuexuanshuang/article/details/48749719
4、maven安装
a、下载:http://maven.apache.org/download.cgi
b、解压
c、配置:修改文件:~/.bashrc
export MVN_HOME=/home/develop/software/apache-maven-3.3.3
export PATH=$MVN_HOME/bin:$PATH
d、maven默认jdk设置:
<strong><span style="font-family:Microsoft YaHei;font-size:14px;"><profile>
<id>jdk-1.7</id>
<activation>
<jdk>1.7</jdk>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<maven.compiler.source>1.7</maven.compiler.source>
<maven.compiler.target>1.7</maven.compiler.target>
<maven.compiler.compilerVersion>1.7</maven.compiler.compilerVersion>
</properties>
</profile></span></strong>
e、验证:mvn -v5、ant安装
a、下载:http://ant.apache.org/bindownload.cgi
b、配置
c、配置:修改文件:~/.bashrc
export ANT_HOME=/home/develop/software/apache-ant-1.9.6
export PATH=$ANT_HOME/bin:$PATH
d、验证:ant -v
6、sublime安装
a、下载:http://www.sublimetext.com/3
b、安装:sudo dpkg -i sublime-text_build-3114_amd64.deb
c、支持搜狗输入法:参照(http://blog.csdn.net/Bleachswh/article/details/51674552)
sudo apt install gtk+-2.0
sudo gcc -shared -o libsublime-imfix.so sublime_imfix.c `pkg-config --libs --cflags gtk+-2.0` -fPIC
sudo mv libsublime-imfix.so /opt/sublime_text/
修改以下内容:
sudo gedit /usr/bin/subl
将
#!/bin/sh
exec /opt/sublime_text/sublime_text "$@"
修改为
#!/bin/sh
LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text "$@"
sudo gedit /usr/share/applications/sublime_text.desktop
将[Desktop Entry]中的字符串
Exec=/opt/sublime_text/sublime_text %F
修改为
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text %F"
将[Desktop Action Window]中的字符串
Exec=/opt/sublime_text/sublime_text -n
修改为
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text -n"
将[Desktop Action Document]中的字符串
Exec=/opt/sublime_text/sublime_text --command new_file
修改为
Exec=bash -c "LD_PRELOAD=/opt/sublime_text/libsublime-imfix.so exec /opt/sublime_text/sublime_text --command new_file"
7、为知笔记安装
sudo add-apt-repository ppa:wiznote-team
sudo apt-get update
sudo apt-get install wiznote
验证:命令WizNote是否存在
8、QQ安装
a、qq下载地址:http://www.ubuntukylin.com/applications/showimg.php?lang=cn&id=23
b、下载完成解压,进入目录wine-qqintl
c、执行命令:sudo dpkg -i fonts-wqy-microhei_0.2.0-beta-2_all.deb ttf-wqy-microhei_0.2.0-beta-2_all.deb wine-qqintl_0.1.3-2_i386.deb
d、如果命令执行失败,先执行安装依赖包命令:sudo apt-get install -f
e、重新执行第3步命令,完成安装
a、下载:eclipse-jee-neon-R-linux-gtk-x86_64.tar.gz
b、解压,完成
10、nodejs安装
a、下载:git clone https://github.com/nodejs/node.git
b、安装:(转载:http://www.runoob.com/nodejs/nodejs-install-setup.html)
在 Github 上获取 Node.js 源码:
$ sudo git clone https://github.com/nodejs/node.git Cloning into 'node'...
修改目录权限:
$ sudo chmod -R 755 node
使用 ./configure 创建编译文件,并按照:
$ cd node $ sudo ./configure $ sudo make $ sudo make install
查看 node 版本:
$ node --version v0.10.25
待续