Install PhpStorm on Centos7

Source: Internet
Author: User

Install PhpStorm on Centos7

1.official network downloads phpstorm's latest package, phpstorm-2017.2.4.tar.gz

Decompress tar -zxfPhpStorm-2017.2.4.tar.gz

2. Move the extracted directory to your favorite directory.

Mv PhpStorm/usr/local/phpstorm

Cd/usr/local/phpstorm/bin

Chmod 777 phpstorm. sh

./Phpstorm. sh

3. Start the installation. Enter the corresponding license according to the running prompt and find a license of this version from the Internet.

Then ln-s/usr/local/phpstorm/bin/phpstorm. sh/usr/local/bin/phpstorm: create environment variables for phpstorm. You can directly enter the phpstorm command in the command line to start

(Ps: because no desktop icon is found after installation, add a shortcut

1. Create a file touch phpstorm. desktop

2. edit the file vim phpstorm. desktop

Here is my content:

[Desktop Entry]
Categories = Development;
Comment [zh_CN] =
Comment =
Exec =/usr/local/phpstorm/bin/phpstorm. sh
GenericName [zh_CN] = IDE
GenericName = IDE
Icon =/usr/local/phpstorm/bin/phpstorm.png
MimeType =
Name = PHPStorm
Path =
StartupNotify = true
Terminal = false
Type = Application
X-forwarded-ServiceName =
X-forwarded-StartupType =
X-KDE-SubstituteUID = false
X-KDE-Username = eddie

Save and exit.

3. Move phpstorm. desktop to the directory

Sudo mv phpstorm. desktop/usr/share/applications/

4. Add executable permissions to the file cd/usr/share/applicationschmod + x phpstorm. desktop)

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.