编译完的包配置环境变量
下载下来编译完的包,解压至任意文件夹
export NODE_HOME=/home/jingxiao/install/node-v0.12.0-linux-x64
export PATH=$PATH:$NODE_HOME/bin
export NODE_PATH=$NODE_HOME/lib/node_modules
这样配置,后执行
source /etc/profile
Sublime3103注册码
- —– BEGIN LICENSE —–
- Michael Barnes
- Single User License
- EA7E-821385
- 8A353C41 872A0D5C DF9B2950 AFF6F667
- C458EA6D 8EA3C286 98D1D650 131A97AB
- AA919AEC EF20E143 B361B1E7 4C8B7F04
- B085E65E 2F5F5360 8489D422 FB8FC1AA
- 93F6323C FD7F7544 3F39C318 D95E6480
- FCCC7561 8A4A1741 68FA4223 ADCEDE07
- 200C25BE DBBC4855 C4CFB774 C5EC138C
- 0FEC1CEF D9DCECEC D3A5DAD1 01316C36
- —— END LICENSE ——
安装jdk环境
3,设置环境变量(全局)
- sudo gedit /etc/profile
打开profile文件输入
- export JAVA_HOME=/usr/lib/jvm/jdk1.7.0_65
- 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.7.0_65/bin/java 300
- sudo update-alternatives --install /usr/bin/javac javac /usr/lib/jvm/jdk1.7.0_5/bin/javac 300
- sudo update-alternatives --config java
5, 验证JDK
输入命令
- java -version