Home>Article>Backend Development> Can ubantu install phpstrom?

Can ubantu install phpstrom?

(*-*)浩
(*-*)浩 Original
2019-09-11 11:40:29 2422browse

Can ubantu install phpstrom?

Install JAVA environment package

1, download the JDK package of java, go to the official website to download (http://www.oracle.com/ technetwork/java/javase/downloads/index.html) corresponding version, mine is 64-bit, so what I downloaded is: jdk-8u65-linux-x64.tar.gz

2, create one Directory /usr/lib/jvm, and extract the downloaded jdk-8u65-linux-x64.tar.gz package to this directory: (Recommended learning:PHP Programming from Beginner to Mastery)

sudo mkdir /usr/lib/jvm sudo tar -zxvf ./jdk-8u65-linux-x64.tar.gz -C /usr/lib/jvm/

3, change the name

sudo mv /usr/lib/jvm/jdk1.8.0_65 /usr/lib/jvm/java

4, modify the file: vim ~/.bashrc

vim ~/.bashrc //在文件末尾添加下面几行代码,并保存 export JAVA_HOME=/usr/lib/jvm/java export JRE_HOME=${JAVA_HOME}/jre export CLASSPATH=.:${JAVA_HOME}/lib:${JRE_HOME}/lib export PATH=${JAVA_HOME}/bin:$PATH

5, execute the command:

source ~/.bashrc //重载配置 java -version //检查 JAVA 是否安装成功,如出现以下内容表示 OK 了。 java version "1.8.0_65" Java(TM) SE Runtime Environment (build 1.8.0_65-b17) Java HotSpot(TM) 64-Bit Server VM (build 25.65-b01, mixed mode)

Install PHPSTORM

1, download the source file from the official website (http://www.jetbrains.com/phpstorm/download/)

2, Unzip the file to the /usr/lib/ directory and rename it to

sudo tar -zxvf ./PhpStorm-10.0.1.tar.gz -C /usr/lib/ sudo mv /usr/lib/PhpStorm-143.382.38 /usr/lib/phpstorm //解压出来后就叫这个名字

3. Enter the /usr/lib/phpstrom/bin directory and execute

./phpstorm.sh

4, and then it will appear For several operations that require authorization, just enter the system login password.

The above is the detailed content of Can ubantu install phpstrom?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:Does vps support php? Next article:Does vps support php?