<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Upsource on Time Friend</title><link>https://time-friend.com/zh/tags/upsource/</link><description>Recent content in Upsource on Time Friend</description><generator>Hugo</generator><language>zh-CN</language><lastBuildDate>Sat, 29 Sep 2018 19:33:33 +0000</lastBuildDate><atom:link href="https://time-friend.com/zh/tags/upsource/index.xml" rel="self" type="application/rss+xml"/><item><title>Centos7环境下启动Upsource失败解决办法</title><link>https://time-friend.com/zh/archive/centos-upsource-fix/</link><pubDate>Sat, 29 Sep 2018 19:33:33 +0000</pubDate><guid>https://time-friend.com/zh/archive/centos-upsource-fix/</guid><description>&lt;h2 id="报错"&gt;报错&lt;/h2&gt;
&lt;p&gt;Centos7环境下启动Upsource的时候出现以下报错,我在Mac上启动upsource的时候一切正常.&lt;/p&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;[Upsource Error] Failed to start JetBrains Upsource 2018.2 due to unexpected exception: Native random generator does not seem to have enough entropy for JetBrains Upsource 2018.2 to start. [Upsource Error] You can fix it by switching to PRNG (with -Djava.security.egd=/dev/zrandom) or by reconfiguring your operation system to provide more random bits.12
&lt;/code&gt;&lt;/pre&gt;&lt;h2 id="解决办法"&gt;解决办法&lt;/h2&gt;
&lt;ol&gt;
&lt;li&gt;复制 upsource.jvmoptions.dist ==&amp;gt; upsource.jvmoptions&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;cp $upsource_path/conf/upsource.jvmoptions.dist $upsource_path/conf/upsource.jvmoptions
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;&lt;ol start="2"&gt;
&lt;li&gt;编辑 $upsource_path/conf/upsource.jvmoptions文件,最后一行加上:&lt;/li&gt;
&lt;/ol&gt;
&lt;pre tabindex="0"&gt;&lt;code&gt;-Djava.security.egd=/dev/zrandom
&lt;/code&gt;&lt;/pre&gt;&lt;ol start="3"&gt;
&lt;li&gt;启动&lt;/li&gt;
&lt;/ol&gt;
&lt;div class="highlight"&gt;&lt;pre tabindex="0" style="color:#f8f8f2;background-color:#272822;-moz-tab-size:4;-o-tab-size:4;tab-size:4;-webkit-text-size-adjust:none;"&gt;&lt;code class="language-bash" data-lang="bash"&gt;&lt;span style="display:flex;"&gt;&lt;span&gt;$upsource_path/bin/upsource.sh start
&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;</description></item></channel></rss>