IntelliJ idea License Server installation using Mac Chapter

Source: Internet
Author: User

First, download IntelliJ idea is a tool for Java development, with the community version of the uncomfortable, dry urge to use the flagship version, this is charged, need to licence. IntelliJ idea:https://www.jetbrains.com/idea/download/#section =mac.

If you have sufficient funds, please purchase the idea:https://www.jetbrains.com/idea/buy of the paid version yourself.

Online activation Address: http://idea.lanyus.com/or https://www.iteblog.com/idea/

Local Certificate Server Edition, zip package address: https://pan.baidu.com/s/1eR7KDrk Password: yguf

Or Https://coding.net/u/privatelo/p/lightjbl-release/git https://coding.net/u/privatelo/p/lightjbl/git)

Second, installation

1. Unzip the downloaded package, and select the corresponding program version according to the current system type.

2. Edit a com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64.plist file, the file name is defined by itself:

<?xml version="1.0"encoding="UTF-8"? ><! DOCTYPE plist Public"-//apple//dtd PLIST 1.0//en" "HTTP://WWW.APPLE.COM/DTDS/PROPERTYLIST-1.0.DTD"><plist version="1.0"> <dict> <key>KeepAlive</key> <false/> <key>RunAtLoad</key> <true/> <key>Label</key> <string>com.phpdragon.intellijidealicenseserverdarwinamd64</string> <key>ProgramArguments</key> <array> <string>/users/phpdragon/server/intellijidealicenseserver/intellijidealicenseserver_darwin_amd64</string> <string>-l</string> <string>0.0.0.0</string> <string>-p</string> <string>8888</string> <string>-u</string> <string>phpdragon</string> </array> </dict></plist>

3. Please set the red part according to the actual deployment directory and copy the Com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64.plist file to ~/library/launchagents/after editing. Directory.

Third, service management

1. Load the configured. plist file:

Launchctl Load ~/library/launchagents/com.phpdragon.intellijidealicenseserver.plist


2. Check to see if the configuration load takes effect:

?  ~ Launchctl List | grep IntelliJIDEALicenseServer21598    -15    com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64

3. Use the LAUNCHCTL command to manage your service and use the-h parameter to get parameter description help.

launchctl start com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64  #启动服务launchctl stop Com.phpdragon.IntelliJIDEALicenseServerDarwinAmd64  grepawk'{print $}}  'xargsgrepawk'{print $}'  xargs launchctl Stop

4. Check whether the service is started:

?  127.0. 0.1 8888  127.0. 0.1  '^]'.

or to see if the service process has started

PS grep grep grep

OK, Intellijidealicenseserver on Mac has been installed, and started randomly, start activating Intellijidea!

Window please refer to: IntelliJ idea activation and License Server installation using the Windows Chapter

Ps:

https://www.liaoxuefeng.com/article/0013738936043408e14365018e3427eaa09758db0ea90ac000

http://blog.csdn.net/abby_sheen/article/details/7817198

Http://www.devdaily.com/mac-os-x/launchd-plist-examples-startinterval-startcalendarinterval
Http://www.devdaily.com/mac-os-x/mac-osx-startup-crontab-launchd-jobs

IntelliJ idea License Server installation using Mac Chapter

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.