Ubuntu installation phpstorm+ + activation

Source: Internet
Author: User
Tags gz file

First, install the JDK

Because Phpstorm is a Java program, first we need to install Oracle Java on Ubuntu, the latest stable version is Oracle Java 8. We will install it through the PPA.

1. Remove OpenJDK (if previously installed)

sudo apt-get remove openjdk *
    • 1

2. Add the PPA and install Oracle Java 8 using the following 3 commands.

sudo add-apt-repository ppa:webupd8team/javasudo apt-get updatesudo apt-get install oracle-java8-installer
    • 1
    • 2
    • 3

3. Setting the Java environment variable

sudo apt-get install oracle-java8-set-defaultsource /etc/profile
    • 1
    • 2
Second, installation Phpstorm

1, first go to jetbrains official website Download Phpstorm tar package. If you like the command line, you can download it using wget. The latest version is 2016.1.2 at the time of writing this article. If you later read this version number, you may need to change the version number.

wget https://download-cf.jetbrains.com/webide/PhpStorm-2016.1.2.tar.gz
    • 1

2. After the download is complete, open the Terminal window and change your working directory to download directory, then unzip the. tar.gz file using the following command:

tar zxvf PhpStorm-2016.1.2.tar.gz
    • 1

3. A new folder named PhpStorm-145.1616.3 will be created in the current working directory. It is a good idea to move this PhpStorm-145.1616.3 directory to/OPT.

sudo mv PhpStorm-145.1616.3/ /opt/phpstorm/
    • 1

4. Create a soft link

sudo ln -s /opt/phpstorm/bin/phpstorm.sh /usr/local/bin/phpstorm
    • 1

5. Start the application by typing Phpstorm in the terminal

phpstorm
    • 1

If you are new to Phpstorm, please select the second option and click the OK button.

Read and agree to the privacy policy.

If you are not yet ready to purchase a license to use Phpstorm, you can choose the 30-day free trial version.

Accept the license agreement.

In the next window, select the theme, color, font, and then click the OK button.

Next, you need to enter a password to create a startup script and a desktop entry.

When you are finished, you can start a new project in Phpstorm.

Next time, you can start phpstorm from Unity Dash.

Attention:

When you select a project directory, if there is a lock on it, the project cannot be created. The directory needs to be set to the owner and owner group.

-R gongsc:gongsc www   //递归设置目录www 属主和属组为gongsc(自己的登录用户)
    • 1
    • 2
Third, uninstall

If for any reason you want to uninstall Phpstorm, simply delete the/opt/phpstorm/directory and all of its subdirectories and files.

sudo rm / opt / phpstorm / -R
    • 1
Iv. Chinese

Phpstorm Chinese Package

If there is garbled, the first to remove the Chinese package in accordance with the following set phpstorm and then put the Chinese package into. \lib Directory

Appearance&behavior, appearance, Settings, File----Select override default fonts by (not recommended)

Name:microsoft Yahei (select any Chinese font)

V. Activation

Phpstorm Activating a link address

Six, landscaping

1. Modify the file type icon

To modify the Phpstorm default file type icon:

Open Preferences>plugin, click Browse repositories and search Material Theme UI

Original: http://blog.csdn.net/mrgong_/article/details/77200225

Ubuntu installation phpstorm+ + activation

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.