码迷,mamicode.com
首页 > 其他好文 > 详细

环境配置

时间:2014-07-07 17:35:52      阅读:210      评论:0      收藏:0      [点我收藏+]

标签:des   style   http   java   os   2014   

java 环境配置

sudo gedit /etc/profile

添加:

JAVA_HOME=/home/username/jdk1.7.0_45
export JRE_HOME=$JAVA_HOME/jre
export CLASSPATH=.:$JAVA_HOME/lib:$JRE_HOME/lib:$CLASSPATH
export PATH=$JAVA_HOME/bin:$JRE_HOME/bin:$PATH

 

maven环境配置

sudo gedit /etc/profile

export M2_HOME=/home/username/japache-maven

export M2=$M2_HOME/bin

export PATH=$M2:$PATH

 

tomca环境配置:

sudo gedit /etc/profile

在配好java环境打情况下添加

export CATALINA_HOME=/home/username/apache-tomcat-7.0.47

 

桌面快捷方式:

sudo vim /usr/share/applications/app.desktop

添加

[Desktop Entry]
Categories=Development;
Exec=/home/shifengluo/qunar/idea-IU-135.909/bin/idea.sh
GenericName[zh_CN]=IDE
GenericName=IDE
Icon=/home/shifengluo/qunar/idea-IU-135.909/bin/idea.png
Name=IDEA
StartupNotify=true
Terminal=false
Type=Application

 

idea在线注册机地址

http://macabc.com/detail.htm?app_id=4

 

ubuntu 安装rtx

sudo apt-add-repository ppa:ubuntu-wine/ppa

sudo apt-get update

sudo apt-get install wine

export WINEARCH="win32"

sudo rm -rf ~/.wine

winetricks msxml3 msxml6 riched20 riched30 ie6 vcrun6 vcrun2005sp1

64位系统ie6换成ie8

 

ubuntu安装QQ

下载WineQQ2013SP6-20140102-Longene.deb包

sudo dpkg -i WineQQ2013SP6-20140102-Longene.deb

64位系统需安装

sudo apt-get install ia32-libs

如果提示ia32-libs已经废弃,尝试下述操作

cd /etc/apt/sources.list.d

echo "deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse" >ia32-libs-raring.list

apt-get update

apt-get install ia32-libs

 

 

环境配置,布布扣,bubuko.com

环境配置

标签:des   style   http   java   os   2014   

原文地址:http://www.cnblogs.com/lsf90/p/3813614.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!