<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>python &#8211; LarryLai</title>
	<atom:link href="https://larrylai.com/tag/python/feed/" rel="self" type="application/rss+xml" />
	<link>https://larrylai.com</link>
	<description>兼聽則明 偏聽則暗</description>
	<lastBuildDate>Sun, 01 Sep 2019 11:28:54 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	

<image>
	<url>https://larrylai.com/wp-content/uploads/2017/03/larrylai_com-favicon.png</url>
	<title>python &#8211; LarryLai</title>
	<link>https://larrylai.com</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>Jupyter Notebook on Boot Automatically</title>
		<link>https://larrylai.com/3679-2/</link>
					<comments>https://larrylai.com/3679-2/#respond</comments>
		
		<dc:creator><![CDATA[larry]]></dc:creator>
		<pubDate>Fri, 16 Aug 2019 10:37:49 +0000</pubDate>
				<category><![CDATA[IT]]></category>
		<category><![CDATA[Middleware]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[jupyter]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">http://larrylai.com/?p=3679</guid>

					<description><![CDATA[<p>Issue After making the file to create a system service for jupyter notebook running on CentOS so as to start jupyter server automatically during system start up, the service successfully loaded but systemctl status jupyter shown: Active: fail. Solution Be sure that jupyter-notebook is used instead of jupyter notebook, i.e. ExecStart=/[pathOfTheBinary]/jupyter-notebook or else it should [&#8230;]</p>
<p>The post <a rel="nofollow" href="https://larrylai.com/3679-2/">Jupyter Notebook on Boot Automatically</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><strong>Issue</strong><br />
After making the file to create a system service for <a href="https://jupyter.org" target="_blank" rel="noopener">jupyter notebook</a> running on CentOS so as to start jupyter server automatically during system start up, the service successfully loaded but <code>systemctl status jupyter</code> shown: <code>Active: fail</code>.</p>
<p><strong>Solution</strong><br />
Be sure that <code>jupyter-notebook</code> is used instead of <code>jupyter notebook</code>, i.e.<br />
ExecStart=/[pathOfTheBinary]/jupyter-notebook<br />
or else it should be bracketed with quotation marks to ensure the space between jupyter and notebook is allowed.</p>
<p><strong>Tricks</strong></p>
<ul>
<li>Be sure that the path of the jupyter binary is correct</li>
<li>Most of the info. on the web suggesting the content of jupyter.service file missed the fact that jupyter notebook is recommended to be run by non-root user, and it&#8217;s imperative that the location of jupyter configuration file must be specified in the jupyter.service file and not just the <code>User=[jupyterUser]</code> directive.</li>
</ul>
<p><strong>Config</strong></p>
<ul>
<li>CentOS: 7-6</li>
<li>jupyter: Anaconda3-5</li>
</ul>
<p>The post <a rel="nofollow" href="https://larrylai.com/3679-2/">Jupyter Notebook on Boot Automatically</a> appeared first on <a rel="nofollow" href="https://larrylai.com">LarryLai</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://larrylai.com/3679-2/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
