Can ubantu install phpstrom?

(*-*)浩
Release: 2023-02-23 22:02:02
Original
2504 people have browsed it

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/
Copy after login

3, change the name

sudo mv /usr/lib/jvm/jdk1.8.0_65 /usr/lib/jvm/java
Copy after login

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
Copy after login

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)
Copy after login

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 //解压出来后就叫这个名字
Copy after login

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

./phpstorm.sh
Copy after login

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!

Related labels:
php
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!