http://pan.baidu.com/s/1eQRULJc
下载好jdk-8u60-linux-x64.gz 安装文件
tar -zxvf jdk-8u60-linux-x64.gz
mv jdk1.8 jdk
进入安装目录
cd jdk
配置环境变量
1 vi /etc/profile
2 export JAVA_HOME=/usr/local/jdk #这里写jdk安装目录
3 export CLASSPATH=.:$JAVA_HOME/jre/lib/rt.jar:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
4 export PATH=$PATH:$JAVA_HOME/bin
============================
PHPSTORM_HOME=/usr/local/phpstorm
JAVA_HOME=/usr/local/jdk
PATH=$JAVA_HOME/bin:$PATH
PATH=$PHPSTORM_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PHPSTORM_HOME
export PATH
export CLASSPATH
source /etc/profile
============================phpstorm===================================
phpstorm 下载链接 http://pan.baidu.com/s/1ScNgy
tar -zxf PhpStorm-9.0.2.tar.gz
# 然后将解压出来到目录移动到你希望到安装目录下
mv phpstorm_dirctory /usr/local/phpstorm
cd /usr/local/phpstorm/bin
chmod 777 phpstorm.sh
./phpstorm.sh
phpstorm 9.0最新 注册码(链接: http://www.jincon.com/archives/368/ )
User Name:newasp
01.License Key:
===== LICENSE BEGIN =====
14617-12042010
00001xrVkhnPuM!Bd!vYtgydcusnqt
mM!hZWoGg"DprWxZCBwsy8T91O7MRu
NVHtrbzv8O9mmoLvtijcHSSE7i5Jr!
===== LICENSE END =====
到用户主目录
命令: cd ~
修改 vim .bashrc
将以下环境变量写入文件
PHPSTORM_HOME=/usr/local/phpstorm
JAVA_HOME=/usr/local/jdk
PATH=$JAVA_HOME/bin:$PATH
PATH=$PHPSTORM_HOME/bin:$PATH
CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
export JAVA_HOME
export PHPSTORM_HOME
export PATH
export CLASSPATH
保存之后让修改生效: source ~/.bashrc