<?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>AI After Work</title>
	<atom:link href="https://www.aiafterwork.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.aiafterwork.com/</link>
	<description></description>
	<lastBuildDate>Fri, 27 Mar 2020 02:58:29 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>Installing Nvidia Drivers on Ubuntu Server 18.04</title>
		<link>https://www.aiafterwork.com/installing-nvidia-drivers-on-ubuntu-server-18-04/</link>
					<comments>https://www.aiafterwork.com/installing-nvidia-drivers-on-ubuntu-server-18-04/#respond</comments>
		
		<dc:creator><![CDATA[Aravind]]></dc:creator>
		<pubDate>Sun, 08 Dec 2019 10:40:00 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[how-to]]></category>
		<guid isPermaLink="false">https://www.aiafterwork.com/?p=216</guid>

					<description><![CDATA[<p>A quick walkthrough on installing the Nvidia drivers for your Nvidia graphics card. Once this is done you can proceed with using your graphics card to accelerate your data science projects.</p>
<p>The post <a href="https://www.aiafterwork.com/installing-nvidia-drivers-on-ubuntu-server-18-04/">Installing Nvidia Drivers on Ubuntu Server 18.04</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<div class="et_pb_section et_pb_section_0 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_0">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_0  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_0  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><!-- divi:tadv/classic-paragraph -->
<p>Installing the Nvidia Proprietary Drivers for your Ubuntu Server 18.04 are necessary for proper GPU accelerated processing and CUDA. The following instructions will show how to install the latest drivers.</p>
<p>1: Add the repository for the Nvidia drivers</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo add-apt-repository ppa:graphics-drivers/ppa</pre>
<p>2. Update to read the packages available</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt update</pre>
<p>3. You can also run the following commands to make sure that whenever the kernel is updated dkms rebuilds the Nvidia driver for the new kernel too.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install dkms build-essential</pre>
<p>4. Install the driver. At the time of writing 430 was the latest. One thing to note is that this will install a GUI for the server. But if you have it set up as a headless server, it will still function the same way and you will be able to connect through ssh.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install nvidia-driver-430</pre>
<p>5. Reboot your system</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo reboot</pre>
<p>6. Once your system has rebooted, then run the following command to check if everything is working.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">nvidia-smi</pre>
<p>7. You should get the following output: I have a <a href="https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/" target="_blank" rel="noopener noreferrer">GTX 1070</a> and that&#8217;s what shows below. Yours may be different.</p>
<p><img fetchpriority="high" decoding="async" class="size-full wp-image-330 aligncenter" src="https://www.aiafterwork.com/wp-content/uploads/2018/04/nvidia-smi.jpg" alt="nvidia-smi output" width="801" height="321" srcset="https://www.aiafterwork.com/wp-content/uploads/2018/04/nvidia-smi.jpg 801w, https://www.aiafterwork.com/wp-content/uploads/2018/04/nvidia-smi-480x192.jpg 480w" sizes="(min-width: 0px) and (max-width: 480px) 480px, (min-width: 481px) 801px, 100vw" /></p>
<p>And that should be it. Your driver is now installed and ready to go.</p>
<p> </p>
<!-- /divi:tadv/classic-paragraph -->

<!-- divi:tadv/classic-paragraph /--></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div>
<p>The post <a href="https://www.aiafterwork.com/installing-nvidia-drivers-on-ubuntu-server-18-04/">Installing Nvidia Drivers on Ubuntu Server 18.04</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiafterwork.com/installing-nvidia-drivers-on-ubuntu-server-18-04/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Running JupyterLab on Ubuntu Server startup</title>
		<link>https://www.aiafterwork.com/running-jupyterlab-on-ubuntu-startup/</link>
					<comments>https://www.aiafterwork.com/running-jupyterlab-on-ubuntu-startup/#respond</comments>
		
		<dc:creator><![CDATA[Aravind]]></dc:creator>
		<pubDate>Sun, 18 Nov 2018 05:00:38 +0000</pubDate>
				<category><![CDATA[Tutorials]]></category>
		<guid isPermaLink="false">https://www.aiafterwork.com/?p=296</guid>

					<description><![CDATA[<p>Running Jupyterlab manually through ssh gets boring very fast. The easier way would be to have it automatically start up when your server starts. This post walks you through just how.</p>
<p>The post <a href="https://www.aiafterwork.com/running-jupyterlab-on-ubuntu-startup/">Running JupyterLab on Ubuntu Server startup</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_1 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_1">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_1  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_1  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>After you <a href="https://www.aiafterwork.com/installing-python-postgresql-jupyterlab/">installed JupyterLab</a> on your <a href="https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/">Ubuntu Analytics server</a>, you&#8217;ll realize that it becomes quite annoying after the first 10 times to start JupyterLab through ssh. It&#8217;s much easier to have it run when you start your server.</p>
<p>There are a couple of files you&#8217;ll have to create and run some commands to get this to work.</p>
<ol>
<li>Create an executable bash script. Lets name it jupyterlab.sh and place it in your home directory.
<pre class="EnlighterJSRAW" data-enlighter-language="shell">cd /home/username/
sudo nano juperterlab.sh</pre>
</li>
<li>Type in the same command that you use to start JupyterLab. Replace the &lt;installpath&gt; with the absolute path to your installation. For example no using ~ for home directory. Use /home/username for the absolute path.
<pre class="EnlighterJSRAW" data-enlighter-language="shell">#!/bin/sh
/&lt;installpath&gt;/anaconda3/bin/jupyter lab --ip=192.168.1.2 --port=12345 --no-browser
</pre>
</li>
<li>Make the file executable by typing the following
<pre class="EnlighterJSRAW" data-enlighter-language="null">sudo chmod +x jupyterlab.sh</pre>
</li>
<li>Create a service file ending in .service. I use the nano editor but you can use any editor.
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo nano /etc/sytemd/system/jupyterlab.service</pre>
</li>
<li>And type in the following details into the file
<pre class="EnlighterJSRAW" data-enlighter-language="null">[Unit]
Description=Jupyterlab
After=syslog.target network.target

[Service]
User=username
ExecStart=/bin/bash /home/username/jupyterlab.sh

[Install]
WantedBy=multi-user.target</pre>
</li>
<li>Save the file and then run the following command to enable the service to autostart.
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo systemctl enable jupyterlab.service</pre>
</li>
<li>Start the service 
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo service jupyterlab start</pre>
</li>
<li>Navigate to the URL http://192.168.1.2:12345 and check if you can log in.</li>
<li>If this works then reboot the server and try the step above again.
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo reboot</pre>
</li>
<li>If it works, Great ! If it doesn&#8217;t then try this command to see any issues.
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo service jupyterlab status</pre>
<p> </p>
</li>
</ol></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a href="https://www.aiafterwork.com/running-jupyterlab-on-ubuntu-startup/">Running JupyterLab on Ubuntu Server startup</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiafterwork.com/running-jupyterlab-on-ubuntu-startup/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Installing Python, PostgreSQL and JupyterLab</title>
		<link>https://www.aiafterwork.com/installing-python-postgresql-jupyterlab/</link>
					<comments>https://www.aiafterwork.com/installing-python-postgresql-jupyterlab/#respond</comments>
		
		<dc:creator><![CDATA[Aravind]]></dc:creator>
		<pubDate>Sun, 11 Nov 2018 05:30:00 +0000</pubDate>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[jupyterlab]]></category>
		<category><![CDATA[postgresql]]></category>
		<category><![CDATA[python]]></category>
		<guid isPermaLink="false">https://www.aiafterwork.com/?p=275</guid>

					<description><![CDATA[<p>Data science needs a good toolkit. This post will walk you through instructions how how to install Python, Postgresql database and the Jupyterlab IDE</p>
<p>The post <a href="https://www.aiafterwork.com/installing-python-postgresql-jupyterlab/">Installing Python, PostgreSQL and JupyterLab</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_2 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_2">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_2  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_2  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Installing Python</h3>
<p>The easiest way to get not only Python but all the python libraries needed for data science work is to download the Anaconda distribution.<br />Detailed instructions are available at <a href="https://docs.anaconda.com/anaconda/install/linux/">https://docs.anaconda.com/anaconda/install/linux/</a>. I prefer to use Python version 3 but the instructions show you how to download Python 2 too.</p>
<p>There is also a choice between anaconda and miniconda. Miniconda as the name suggests, is a mini version of Anaconda that only contains the conda package manager and it&#8217;s dependencies. If you prefer to have conda plus over 720 open source packages, install Anaconda.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_3  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Installing PostgresSQL</h3>
<p>You will definitely need a database for your data science projects. At some point working on really large datasets is more efficient within a database. I chose to go with PostgreSQL 12.</p>
<p>Installation instructions can be found here: <a href="https://www.postgresql.org/download/linux/ubuntu/">https://www.postgresql.org/download/linux/ubuntu/</a> but I&#8217;ve also copied the instructions for Ubuntu 18.04 LTS.</p>
<ol>
<li>Create the file <code>/etc/apt/sources.list.d/pgdg.list</code> and add a line for the repository
<pre class="EnlighterJSRAW" data-enlighter-language="shell">deb http://apt.postgresql.org/pub/repos/apt/ bionic-pgdg main</pre>
</li>
<li>Import the repository signing key, and update the package lists
<pre class="EnlighterJSRAW" data-enlighter-language="shell">wget --quiet -O - https://www.postgresql.org/media/keys/ACCC4CF8.asc | sudo apt-key addsudo apt update</pre>
</li>
<li>Finally install the application
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install postgresql-12</pre>
</li>
</ol>
<h3>Changing the location of the database to your SSD</h3>
<p>If you remember how I built my <a href="https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/">Ubuntu Analytics server,</a> I added in both an SSD (Solid state drive) and HDD (Hard Disk Drive) for storage. The idea was that my database and any other application that needed fast data read/write capabilities would sit on the SSD. Since Postgresql would be handlong a lot of data it became an ideal candidate to move to the SSD. There is good news that the it has a parameter called data_directory that just needs the folder path to your SSD<br />Digitalocean has a great <a href="https://www.digitalocean.com/community/tutorials/how-to-move-a-postgresql-data-directory-to-a-new-location-on-ubuntu-18-04">tutorial on just that</a>.</p>
<p>Once that&#8217;s done your database should be very fast.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_4  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Install JupyterLab</h3>
<p>I found a good set of instructions on this website <a href="https://agent-jay.github.io/2018/03/jupyterserver/">https://agent-jay.github.io/2018/03/jupyterserver/</a></p>
<p>I did make one change to the instruction. To use jupyterlab at localhost:ipaddress you will have to create an ssh tunnel. That&#8217;s what the last set of instructions was doing</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">ssh -N -f -L 8888:localhost:9999 user@domain.com #Change the specifics as required</pre>
<p>Instead I started jupyterlab with the ip address of my server itself so i could reach it directly without using localhost. So if your headless Ubuntu server was at 192.168.1.2 on your LAN then you can use the command as follows:</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">jupyter lab --no-browser --ip=192.168.1.2 --port=12345</pre>
<p>You can now access Jupyterlab at https://192.168.1.2:12345 without opening an ssh tunnel to the server.</p>
<p>Another thing to do if you&#8217;re getting a 403 error when you try to open a notebook could be because of folder restrictions. So make sure to change the default notebook directory location in the config file to a location you have write access to.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="null">c.NotebookApp.notebook_dir = '/absolute/path/to/folder'</pre>
<p>&nbsp;</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_3">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_3  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_5  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>Updated: Mar 26, 2020</p></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a href="https://www.aiafterwork.com/installing-python-postgresql-jupyterlab/">Installing Python, PostgreSQL and JupyterLab</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiafterwork.com/installing-python-postgresql-jupyterlab/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Building, Installing and getting stuff to work on Ubuntu server</title>
		<link>https://www.aiafterwork.com/building-installing-and-getting-stuff-to-work-on-ubuntu-server/</link>
					<comments>https://www.aiafterwork.com/building-installing-and-getting-stuff-to-work-on-ubuntu-server/#respond</comments>
		
		<dc:creator><![CDATA[Aravind]]></dc:creator>
		<pubDate>Wed, 21 Feb 2018 16:00:00 +0000</pubDate>
				<category><![CDATA[Computers]]></category>
		<category><![CDATA[how-to]]></category>
		<category><![CDATA[ubuntu]]></category>
		<guid isPermaLink="false">https://www.aiafterwork.com/?p=217</guid>

					<description><![CDATA[<p>Once you've selected the components this post will walk you through building the system and installing Ubuntu server operating system. But we have a few more things to do if we want to have a fully functioning headless (no monitor) server. Read on to find out more.</p>
<p>The post <a href="https://www.aiafterwork.com/building-installing-and-getting-stuff-to-work-on-ubuntu-server/">Building, Installing and getting stuff to work on Ubuntu server</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_3 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_4">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_4  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_6  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>
This post will walk you through getting your analytics server based on Ubuntu Server OS up and running.</p>
<h3>Building the system</h3>
<p>You&#8217;ve already seen how i chose the <a href="https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/">components for by build</a>. Now putting them together is quite easy for someone who has built PCs many times before. But for someone who&#8217;s doing this for the first time it can be a little intimidating. So to help I&#8217;ve linked a video below that uses many of the components in my build and walks through the process. Of course it&#8217;s not exactly the same components but it&#8217;s close enough to help.</p>
<p>A couple of things to remember when you build:</p>
<ul>
<li>Static electricity can affect components. So touch some metal to discharge any current before you touch the components. This is especially important if you&#8217;re building on carpet and the humidity in the air is low like in winter.</li>
<li>All the components are standardized. Which means that RAM modules across all manufacturers will fit on a motherboard. Of course you will have to make sure that your motherboard supports that type of component but once you do, components with the same spec from multiple manufacturers will fit. The reason i say that is these components will fit into the motherboard in only one way. So if a component doesn&#8217;t go into the motherboard easily then check if you&#8217;ve aligned the components (notches etc) correctly. Don&#8217;t try to force them in.</li>
<li>Air flow across components are vital to keep them cool during operation. Try to keep the cables in your case as tidy as possible. It does help.</li>
</ul>
<p><iframe loading="lazy" width="1080" height="608" src="https://www.youtube.com/embed/R1_dI1IKtAw?feature=oembed" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe></p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_5">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_5  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_7  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Installing Ubuntu Server</h3>
<p>Ubuntu comes in multiple flavors. I decided to go with the server edition because I intended for it to be headless a.k.a no monitor or keyboard. I would connect to it using my laptop running Windows 10.</p>
<p>You can use any version of Ubuntu but go for it&#8217;s latest LTS (Long Term Support) edition. These LTS editions are supported for 5 years from launch.</p>
<p><img loading="lazy" decoding="async" class="alignleft size-full wp-image-247" src="https://www.aiafterwork.com/wp-content/uploads/2018/02/release-ubuntu-end-of-life.png" alt="" width="1000" height="454" srcset="https://www.aiafterwork.com/wp-content/uploads/2018/02/release-ubuntu-end-of-life.png 1000w, https://www.aiafterwork.com/wp-content/uploads/2018/02/release-ubuntu-end-of-life-300x136.png 300w, https://www.aiafterwork.com/wp-content/uploads/2018/02/release-ubuntu-end-of-life-768x349.png 768w, https://www.aiafterwork.com/wp-content/uploads/2018/02/release-ubuntu-end-of-life-610x277.png 610w" sizes="(max-width: 1000px) 100vw, 1000px" /></p>
<p>&nbsp;</p>
<p>&nbsp;</p>
<p>As you can see it&#8217;s currently 16.04 but I decided to install 17.10 which is a standard release (Released in Oct 2017, hence 17.10). The reason i did that was kernel support. With the new Ryzen CPUs we will need an updated kernel to manage the CPU otherwise there are chances it would crash. I could have installed 16.04 and updated the kernel but i chose 17.10 which had the updated kernel as part of the base install itself. I also plan to upgrade the LTS version 18.04 a few months after it comes out in April 2018.</p>
<p>I&#8217;ve included a few links below to articles that will walk you through the install.</p>
<ol>
<li>The official Ubuntu install tutorial: <a href="https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-server#0">https://tutorials.ubuntu.com/tutorial/tutorial-install-ubuntu-server#0</a></li>
<li>Another step by step install guide for Ubuntu server 17.10: <a href="https://www.howtoforge.com/tutorial/ubuntu-minimal-server-install/">https://www.howtoforge.com/tutorial/ubuntu-minimal-server-install/</a></li>
</ol>
<p>Once you&#8217;re done with your install you should be at a similar screen on your monitor.</p>
<p><img loading="lazy" decoding="async" class="wp-image-253 alignnone" src="https://www.aiafterwork.com/wp-content/uploads/2018/02/ubuntu-17.10-server-installation-22.jpg" alt="" width="645" height="478" srcset="https://www.aiafterwork.com/wp-content/uploads/2018/02/ubuntu-17.10-server-installation-22.jpg 1004w, https://www.aiafterwork.com/wp-content/uploads/2018/02/ubuntu-17.10-server-installation-22-300x223.jpg 300w, https://www.aiafterwork.com/wp-content/uploads/2018/02/ubuntu-17.10-server-installation-22-768x570.jpg 768w, https://www.aiafterwork.com/wp-content/uploads/2018/02/ubuntu-17.10-server-installation-22-610x453.jpg 610w" sizes="(max-width: 645px) 100vw, 645px" /></p>
<p>At this point you should have your monitor and keyboard connected.</p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_6">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_6  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_8  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Setting up a static IP address in Ubuntu</h3>
<p>So why do you need a static IP address? Usually when you connect your device to your network (wifi or wired) the router assigns an IP address based on what&#8217;s available. This means your computer could have different IP addresses on different days. So every time you wanted to connect to it remotely you would have to figure out what the IP address was. To keep this from happening you&#8217;ll have to go through and change some settings.</p>
<p>One thing you should do before setting up a static IP is to prevent an IP address conflict. Here&#8217;s what could happen: When you check for wifi networks at home and connect to your network, router assigns an IP address to your machine so it knows where to route network (including the internet) traffic. So let&#8217;s say your phone connects and gets the IP address 192.168.1.35 and you&#8217;ve also configured the static IP address to the same value. That would result in a conflict and you may not be able to connect to your server.</p>
<p>Depending on your router you may have to go to the admin page and find the section that lists the IP address ranges your router uses to assign to connected devices. You&#8217;ll see something similar to &#8220;Starting IP Address&#8221; and &#8220;Ending IP Address&#8221;. Leave the Ending IP address as is. Assuming your router is accessed at 192.168.1.1, change the IP address to start from 192.168.1.100 instead of 192.168.1.2. Save and reboot the router. This will make sure that any device connecting to your network gets IP addresses from 192.168.1.100 onwards. So you can use IP addresses 192.168.1.2 to 192.168.1.99 for static IP addresses.</p>
<p>Here&#8217;s an example for Netgear&#8217;s Nighthawk router: <a href="https://kb.netgear.com/24089/How-do-I-specify-the-pool-of-IP-addresses-assigned-by-my-Nighthawk-router">https://kb.netgear.com/24089/How-do-I-specify-the-pool-of-IP-addresses-assigned-by-my-Nighthawk-router</a></p>
<p>Once you&#8217;ve changed the starting IP address on your router you can proceed to setting up the static IP. One thing that has changed from Ubuntu 16.04 to 17.10 is the way you set up a static IP address. Follow this link to learn how to set it up. <a href="https://websiteforstudents.com/configuring-static-ips-ubuntu-17-10-servers/">https://websiteforstudents.com/configuring-static-ips-ubuntu-17-10-servers/</a></p></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_7">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_7  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_9  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Configuring SSH</h3>
<p>Setting up ssh is needed for you to login to your headless server from your laptop. Setting it up is straightforward enough. Just type in the following command and you&#8217;re all set.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo apt install openssh-server</pre>
<p>Once this is run the main thing to do is change the default configuration so that you can make it more secure. First type in the following command. This assumes you have the nano editor installed.</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo nano /etc/ssh/sshd_config</pre>
<p>There are a lot of configurations you can change but there are 3 changes i will recommend you do. Add/update the following lines in the file.</p>
<ol>
<li>The first is to change the port from the default one that is 22. Let&#8217;s say you want to change it to port 12345. Change
<pre class="EnlighterJSRAW" data-enlighter-language="shell">#Port 22</pre>
<p>to</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">Port 12345</pre>
</li>
<li>Make sure only certain users can ssh into your server. Let&#8217;s say your username was myname. Insert the following line
<pre class="EnlighterJSRAW" data-enlighter-language="shell">AllowUsers myname</pre>
</li>
<li>Prevent root from ssh access
<pre class="EnlighterJSRAW" data-enlighter-language="shell">PermitRootLogin no</pre>
</li>
</ol>
<p>There are a lot of other settings you can add to harden your ssh security. I found a good list here: <a href="https://devops.profitbricks.com/tutorials/secure-the-ssh-server-on-ubuntu/#secure-the-ssh-configuration-file">https://devops.profitbricks.com/tutorials/secure-the-ssh-server-on-ubuntu/#secure-the-ssh-configuration-file</a></p>
<p>Finally restart the SSH service by typing in the following</p>
<pre class="EnlighterJSRAW" data-enlighter-language="shell">sudo service ssh restart</pre></div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_8">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_8  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_10  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><h3>Configuring a SSH client</h3>
<p>By now you&#8217;ve set up all the things needed for your Ubuntu server. The final step is to connect to the server using a SSH client. The usual recommended option for a SSH client is Putty. But I&#8217;ve found MobaXterm home edition to also work very well for my needs.</p>
<p>You can download them here:</p>
<ul>
<li>Putty: <a href="https://www.chiark.greenend.org.uk/~sgtatham/putty/">https://www.chiark.greenend.org.uk/~sgtatham/putty/</a></li>
<li>MobaXterm: <a href="https://mobaxterm.mobatek.net/download-home-edition.html">https://mobaxterm.mobatek.net/download-home-edition.html</a></li>
</ul>
<p>Remember the static IP address and Port you set up earlier? You&#8217;ll need those now.</p>
<p><img loading="lazy" decoding="async" class=" wp-image-267 alignnone" src="https://www.aiafterwork.com/wp-content/uploads/2018/02/putty.jpg" alt="Putty connection instructions" width="495" height="449" srcset="https://www.aiafterwork.com/wp-content/uploads/2018/02/putty.jpg 645w, https://www.aiafterwork.com/wp-content/uploads/2018/02/putty-300x272.jpg 300w, https://www.aiafterwork.com/wp-content/uploads/2018/02/putty-610x552.jpg 610w" sizes="(max-width: 495px) 100vw, 495px" /></p>
<ol>
<li>Type in the IP address</li>
<li>Enter the port number</li>
<li>Make sure SSH is selected</li>
<li>Hit Open</li>
</ol>
<p>This should connect you to the server and prompt you for your username and password. Before that it may put up a message asking if you want to accept/store the server key. Say yes.</p>
<p>Once you&#8217;ve confirmed that you can login then you&#8217;re all set. You can disconnect your monitor and keyboard from your server.</p>
<p>Congratulations! You now have a working headless Ubuntu Server!</p>
<p>&nbsp;</p></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a href="https://www.aiafterwork.com/building-installing-and-getting-stuff-to-work-on-ubuntu-server/">Building, Installing and getting stuff to work on Ubuntu server</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiafterwork.com/building-installing-and-getting-stuff-to-work-on-ubuntu-server/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Altered Carbon &#8211; I&#8217;m really impressed</title>
		<link>https://www.aiafterwork.com/altered-carbon-im-really-impressed/</link>
					<comments>https://www.aiafterwork.com/altered-carbon-im-really-impressed/#respond</comments>
		
		<dc:creator><![CDATA[Aravind]]></dc:creator>
		<pubDate>Sat, 10 Feb 2018 07:12:32 +0000</pubDate>
				<category><![CDATA[Reviews]]></category>
		<guid isPermaLink="false">https://www.aiafterwork.com/?p=223</guid>

					<description><![CDATA[<p>Just finished the Altered Carbon series on Netflix and just had to write this review. Yes it's that good.</p>
<p>The post <a href="https://www.aiafterwork.com/altered-carbon-im-really-impressed/">Altered Carbon &#8211; I&#8217;m really impressed</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>So you might be asking. What&#8217;s a TV show review doing in a blog about analytics and machine learning. Well, I just finished Altered Carbon and yes, it&#8217;s so good that I just had to write this.</p>
<p>The premise of the show is simple &#8211; &#8220;What if humans were immortal&#8221;. The show revolves around the creation and use of &#8220;Cortical stacks&#8221; which allow your personality and memory to be digitized and stored in a disk called a Stack which sits at the base of the neck. A Stack can be inserted in any body referred to as &#8220;Sleeves&#8221;. As long as your stack remains intact, you can be re-sleeved.</p>
<p>The series follows &#8220;Takeshi Kovacs&#8221; played by Joel Kinnaman and Will Yun Lee who is part of a highly trained super soldier group called CTAC (Colonial Tactical Assault Corp). The 10 episodes dive into a murder mystery with so many twists and layers to it, it&#8217;s a treat to watch. Along the way the show also manages to highlight the difference between the super rich who essentially have the means to live forever and the poor who just scrape by. It provides a lot of food for thought as to what could happen if the fundamental truth about life &#8211; <em>that death is inevitable</em> &#8211; is negated.</p>
<p>I don&#8217;t want to give away any spoilers but it&#8217;s currently on Netflix, so head on there and enjoy.</p>
<p>&nbsp;</p>
<p><iframe loading="lazy" width="1080" height="608" src="https://www.youtube.com/embed/dhFM8akm9a4?feature=oembed" frameborder="0" allow="autoplay; encrypted-media" allowfullscreen></iframe></p>
<p>The post <a href="https://www.aiafterwork.com/altered-carbon-im-really-impressed/">Altered Carbon &#8211; I&#8217;m really impressed</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiafterwork.com/altered-carbon-im-really-impressed/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Introducing AI After Work&#8217;s new Flipboard magazine</title>
		<link>https://www.aiafterwork.com/introducing-ai-works-new-flipboard-magazine/</link>
					<comments>https://www.aiafterwork.com/introducing-ai-works-new-flipboard-magazine/#respond</comments>
		
		<dc:creator><![CDATA[Aravind]]></dc:creator>
		<pubDate>Wed, 07 Feb 2018 11:07:40 +0000</pubDate>
				<category><![CDATA[Announcements]]></category>
		<guid isPermaLink="false">https://www.aiafterwork.com/?p=194</guid>

					<description><![CDATA[<p>Introducing the new Flipboard magazine for this blog - "Reading After Work". Check it out for interesting articles I have read covering topics around data science, machine learning and technology. </p>
<p>The post <a href="https://www.aiafterwork.com/introducing-ai-works-new-flipboard-magazine/">Introducing AI After Work&#8217;s new Flipboard magazine</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_4 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_9">
				<div class="et_pb_column et_pb_column_3_4 et_pb_column_9  et_pb_css_mix_blend_mode_passthrough">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_11  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>Introducing the new Flipboard magazine for AI After Work aptly titled &#8220;Reading After Work&#8221;. As you can probably tell a lot of marketing genius went into naming it. But a lot of dad&#8217;s with young kids and a demanding jobs will agree that reading usually happens after the kids have gone to sleep.</p>
<p>But jokes aside I thought that this would be a good way to share some of the content that I find interesting and more importantly, have <span style="text-decoration: underline;">actually read</span>. In it you&#8217;ll find articles related to data science, technology, math and programming. This curated list will give you a good source of articles to read to be informed and to complement the concepts and work that I share on this blog.</p>
<p>Feel free to link to or pull articles into your own magazines.</p></div>
			</div>
			</div><div class="et_pb_column et_pb_column_1_4 et_pb_column_10  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_code et_pb_code_0">
				
				
				
				
				<div class="et_pb_code_inner">&lt;a data-flip-widget="mag" href="https://flipboard.com/@aiafterwork/reading-after-work-s0a7a8v2y"&gt;View my Flipboard Magazine.&lt;/a&gt;&lt;!-- [et_pb_line_break_holder] --&gt;&lt;script src="https://cdn.flipboard.com/web/buttons/js/flbuttons.min.js" type="text/javascript"&gt;&lt;/script&gt;</div>
			</div>
			</div>
				
				
				
				
			</div><div class="et_pb_row et_pb_row_10">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_11  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_code et_pb_code_1  et_pb_text_align_left">
				
				
				
				
				<div class="et_pb_code_inner">&lt;a style="background-color:grey;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, &quot;San Francisco&quot;, &quot;Helvetica Neue&quot;, Helvetica, Ubuntu, Roboto, Noto, &quot;Segoe UI&quot;, Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px;" href="https://unsplash.com/@yvettedewit?utm_medium=referral&amp;utm_campaign=photographer-credit&amp;utm_content=creditBadge" target="_blank" rel="noopener noreferrer" title="Download free do whatever you want high-resolution photos from Yvette de Wit"&gt;&lt;span style="display:inline-block;padding:2px 3px;"&gt;&lt;svg xmlns="http://www.w3.org/2000/svg" style="height:12px;width:auto;position:relative;vertical-align:middle;top:-1px;fill:white;" viewBox="0 0 32 32"&gt;&lt;title&gt;unsplash-logo&lt;/title&gt;&lt;path d="M20.8 18.1c0 2.7-2.2 4.8-4.8 4.8s-4.8-2.1-4.8-4.8c0-2.7 2.2-4.8 4.8-4.8 2.7.1 4.8 2.2 4.8 4.8zm11.2-7.4v14.9c0 2.3-1.9 4.3-4.3 4.3h-23.4c-2.4 0-4.3-1.9-4.3-4.3v-15c0-2.3 1.9-4.3 4.3-4.3h3.7l.8-2.3c.4-1.1 1.7-2 2.9-2h8.6c1.2 0 2.5.9 2.9 2l.8 2.4h3.7c2.4 0 4.3 1.9 4.3 4.3zm-8.6 7.5c0-4.1-3.3-7.5-7.5-7.5-4.1 0-7.5 3.4-7.5 7.5s3.3 7.5 7.5 7.5c4.2-.1 7.5-3.4 7.5-7.5z"&gt;&lt;/path&gt;&lt;/svg&gt;&lt;/span&gt;&lt;span style="display:inline-block;padding:2px 3px;"&gt;Original header image courtesy of Yvette de Wit&lt;/span&gt;&lt;/a&gt;</div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a href="https://www.aiafterwork.com/introducing-ai-works-new-flipboard-magazine/">Introducing AI After Work&#8217;s new Flipboard magazine</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiafterwork.com/introducing-ai-works-new-flipboard-magazine/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>An analytics and machine learning system for less than $1,350</title>
		<link>https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/</link>
					<comments>https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/#respond</comments>
		
		<dc:creator><![CDATA[Aravind]]></dc:creator>
		<pubDate>Thu, 01 Feb 2018 03:50:46 +0000</pubDate>
				<category><![CDATA[Hardware]]></category>
		<guid isPermaLink="false">https://www.aiafterwork.com/?p=94</guid>

					<description><![CDATA[<p>The list of components I used to create a custom ubuntu analytics server that can easily handle advanced data mining and machine learning using Python, R, Tensorflow &#038; Postgresql.</p>
<p>The post <a href="https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/">An analytics and machine learning system for less than $1,350</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><div class="et_pb_section et_pb_section_5 et_section_regular" >
				
				
				
				
				
				
				<div class="et_pb_row et_pb_row_11">
				<div class="et_pb_column et_pb_column_4_4 et_pb_column_12  et_pb_css_mix_blend_mode_passthrough et-last-child">
				
				
				
				
				<div class="et_pb_module et_pb_text et_pb_text_12  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p>One thing is true about skills. They dull over time if you use them less often. I&#8217;ve been programming as a hobby, at school and at work over the last 15 years. But recently I&#8217;ve not been able to get very hands on. I&#8217;ve been lucky to have done well at work and moved to roles that manage analytics projects rather than working in the trenches. But a recent project at work gave me a chance to dust off my technical skills. The success of the project was due in large part to my ability to combine my team&#8217;s domain knowledge with my programming skills  to bring a complicated model to life. It was a good refresher of my skills and I loved it. That feeling was the final push that got me to this post.</p>
<p>I decided that I wanted to build a machine where I could update my programming and data analysis skills and start on machine learning concepts and projects. I&#8217;d built windows based desktops and Ubuntu based servers before. So building one wasn’t going to be a problem. But picking the right parts was. I read a lot of posts about people building their own deep learning/machine learning rigs for anywhere from $1,000 to $3,000. I initially aimed for $1,500 but as I started reading more I realized that I could get a good machine built for closer to $1,400. But given that I was willing to wait till thanksgiving I was able to get the price to below $1,350.</p>
<p>So here it is &#8211; My custom rig for less than $1,350.</p>
<p><img loading="lazy" decoding="async" class="alignnone wp-image-112 size-full" src="https://www.aiafterwork.com/wp-content/uploads/2017/12/header_1080_ryzenplusgtx.png" alt="Ryzen Plus GTX 1070 = Harmony" width="1080" height="200" srcset="https://www.aiafterwork.com/wp-content/uploads/2017/12/header_1080_ryzenplusgtx.png 1080w, https://www.aiafterwork.com/wp-content/uploads/2017/12/header_1080_ryzenplusgtx-300x56.png 300w, https://www.aiafterwork.com/wp-content/uploads/2017/12/header_1080_ryzenplusgtx-768x142.png 768w, https://www.aiafterwork.com/wp-content/uploads/2017/12/header_1080_ryzenplusgtx-1024x190.png 1024w, https://www.aiafterwork.com/wp-content/uploads/2017/12/header_1080_ryzenplusgtx-610x113.png 610w" sizes="(max-width: 1080px) 100vw, 1080px" /></p>
<blockquote><p><strong>CPU: AMD &#8211; Ryzen 5 1600 3.2GHz 6-Core Processor</strong></p></blockquote>
<p>So after the AMD FX 64 series, this seems to the first time in a long time that AMD has some compelling hardware compared to Intel. The Ryzen 5 1600 is a 6 core/12 thread processor that I bought for $175 on Amazon on Thanksgiving 2017. The processor provides more cores than the core i5 (4C/4T) at a much lower price. The other choice was a 1600x with slightly higher clock speeds but it didn’t come with  a fan . The total price including an aftermarket cooler compatible with my case would have been $240. The difference in clock speeds is negated once you realize that the 1600 can be overclocked to at or near 1600x performance numbers and at $65 less it&#8217;s the better buy.</p>
<p>With Intel&#8217;s Coffee Lake lineup the Core i5 now offers 6C/6T but at a price of ~ $280 at the time of purchase it was too new and still more pricier than AMD. It is however good to see Intel getting some competition again. It&#8217;s just great for consumers.</p>
<blockquote><p><strong>MOTHERBOARD: ASRock &#8211; AB350M Pro4 Micro ATX AM4 Motherboard</strong></p></blockquote>
<p>I went with this motherboard which had fairly good reviews on both Newegg,com and Amazon.com. I wanted to also keep things small, so I went with the MicroATX version of the case. I could have gone with ITX but the memory on most boards I checked was limited to 32GB. I wanted the option to expand RAM to 64GB in the future. I bought it for $75 with a $10 rebate but Newegg was kind enough to refund $15 because the price dropped within 24 hours of my purchase. Final price $49.99</p>
<blockquote><p><strong>CASE:  Corsair Air 240 MicroATX Mid Tower Case</strong></p></blockquote>
<p>This case was a pleasure to build in. Unique dual chamber layout made cable management a breeze. Got the white one. A great video review from Hardwarecanucks can be found here (<a href="https://www.youtube.com/watch?v=MgwzyBk3r6A">https://www.youtube.com/watch?v=MgwzyBk3r6A</a>) . Although my experience with the case finish was better than the version in this video. Maybe Corsair made changes based on feedback.</p>
<blockquote><p><strong>GPU:  MSI GTX 1070 AERO ITX Video card</strong></p></blockquote>
<p>I was expecting to spend a good amount of money on a graphics based on feedback from multiple sources. But what I found tough was coming to grips with the reality that I would be spending so much on a graphics card for something other than gaming. I have a AMD R9 290X on my gaming machine. Needless to say that this card is much faster. <a href="http://timdettmers.com/2015/03/09/deep-learning-hardware-guide/">Tim Dettmers post</a> is often cited as the bible but I actually found more practical advice from the builds from the following websites. Prices have changed a lot since these posts were published so make sure to look at pcpartpicker.com for pricing your build.</p>
<ul>
<li><a href="https://www.servethehome.com/optimizing-a-starter-cuda-machine-learning-ai-deep-learning-build/">https://www.servethehome.com/optimizing-a-starter-cuda-machine-learning-ai-deep-learning-build/</a></li>
<li><a href="https://www.oreilly.com/learning/build-a-super-fast-deep-learning-machine-for-under-1000">https://www.oreilly.com/learning/build-a-super-fast-deep-learning-machine-for-under-1000</a></li>
<li><a href="https://www.servethehome.com/deeplearning02-sub-800-ai-machine-learning-cuda-starter-build/">https://www.servethehome.com/deeplearning02-sub-800-ai-machine-learning-cuda-starter-build/</a></li>
</ul>
<blockquote><p><strong>RAM: Ballistix Sport LT 16GB Single DDR4 2666 (PC4-21300) x 2</strong></p></blockquote>
<p>RAM is expensive. Especially 32GB of it. Bought 2 sticks of RAM, 16GB each for a total of $295. Will upgrade to 64GB in the future if the need arises.</p>
<blockquote><p><strong>STORAGE:</strong></p></blockquote>
<ul>
<li>OCZ Vertex 2 120 GB SATA II: I had this drive lying around from an older machine. It&#8217;s not as fast as current SSDs on SATA III but it definitely is faster than HDDs. This will be the main OS drive.</li>
<li>Samsung &#8211; 850 EVO-Series 500GB SATA III: One of the best SATA III drives in the market. This is the main disk for applications and databases.</li>
<li>TOSHIBA N300 4TB 7200 RPM Desktop Hard Drive: When it comes to space HDDs just cannot be beat from a price/storage ratio. Got this 4TB for $110 and it comes with a 3 year warranty.  A good drive to archive any old analyses and data.</li>
</ul>
<blockquote><p><strong>PSU:  Corsair &#8211; CSM 650W 80+ Gold Certified Semi-Modular ATX Power Supply</strong></p></blockquote>
<p>A good power supply is a must for any server that&#8217;s going to run serious computations. I usually go above PC Part Picker&#8217;s wattage measurements. I could have done with 550W but the 650W power supply actually had a deal and rebate, so it worked out to be cheaper.</p>
<blockquote><p><strong>WIFI ADAPTER: TP-LINK TL-WDN4800 Dual Band Wireless N900 PCI Express Adapter</strong></p></blockquote>
<p>This adapter just plain works on Ubuntu Server. I can connect to a wifi network during the setup of the OS itself. I had purchased the Edimax AC1200 Wi-Fi USB Adapter (EW-7822ULC) but had to return it because it would just not work on Linux kernels over 4.11. I had 4.13 when I installed Ubuntu Server 17.10. The TP-Link version works on both Ubuntu 16.04 and 17.10 and is more than enough for a 20Mbps internet. Why wifi and not wired? Well I didn’t want to run wires across my house and the machine will actually sit in my closet. So a wifi adapter with the wifi router across the room met my needs.</p></div>
			</div><div class="et_pb_module et_pb_text et_pb_text_13  et_pb_text_align_left et_pb_bg_layout_light">
				
				
				
				
				<div class="et_pb_text_inner"><p><img loading="lazy" decoding="async" class="alignnone wp-image-116 size-large" src="https://www.aiafterwork.com/wp-content/uploads/2018/01/components-1024x576.jpg" alt="Components for my data science server" width="1024" height="576" srcset="https://www.aiafterwork.com/wp-content/uploads/2018/01/components-1024x576.jpg 1024w, https://www.aiafterwork.com/wp-content/uploads/2018/01/components-300x169.jpg 300w, https://www.aiafterwork.com/wp-content/uploads/2018/01/components-768x432.jpg 768w, https://www.aiafterwork.com/wp-content/uploads/2018/01/components-1080x608.jpg 1080w, https://www.aiafterwork.com/wp-content/uploads/2018/01/components-610x343.jpg 610w, https://www.aiafterwork.com/wp-content/uploads/2018/01/components.jpg 1328w" sizes="(max-width: 1024px) 100vw, 1024px" /></p>
<table style="width: 100%; height: 345px;">
<tbody>
<tr>
<td style="width: 20%;">CPU</td>
<td>AMD – Ryzen 5 1600 3.2GHz 6-Core Processor</td>
<td style="width: 15%; text-align: right;">$176</td>
</tr>
<tr>
<td>Motherboard</td>
<td>ASRock – AB350M Pro4 Micro ATX AM4 Motherboard</td>
<td style="text-align: right;">$50</td>
</tr>
<tr>
<td>Case</td>
<td>Corsair Air 240 MicroATX Mid Tower Case</td>
<td style="text-align: right;">$85</td>
</tr>
<tr>
<td>GPU</td>
<td>MSI GTX 1070 AERO ITX Video card</td>
<td style="text-align: right;">$400</td>
</tr>
<tr>
<td>RAM</td>
<td>Ballistix Sport LT 16GB Single DDR4 2666 (PC4-21300) x 2</td>
<td style="text-align: right;">$295</td>
</tr>
<tr>
<td rowspan="2">Storage</td>
<td>Samsung &#8211; 850 EVO-Series 500GB 2.5&#8243; Solid State Drive</td>
<td style="text-align: right;">$151</td>
</tr>
<tr>
<td>TOSHIBA N300 4TB 7200 RPM Desktop Hard Drive</td>
<td style="text-align: right;">$110</td>
</tr>
<tr>
<td>PSU</td>
<td>Corsair – CSM 650W 80+ Gold Certified Semi-Modular ATX Power Supply</td>
<td style="text-align: right;">$50</td>
</tr>
<tr>
<td>WIFI Adapter</td>
<td>TP-LINK TL-WDN4800 Dual Band Wireless N900 PCI Express Adapter</td>
<td style="text-align: right;">$20</td>
</tr>
<tr>
<td style="text-align: center;" colspan="2"><strong>TOTAL</strong></td>
<td style="text-align: right;"><strong>$1,337</strong></td>
</tr>
</tbody>
</table></div>
			</div><div class="et_pb_module et_pb_code et_pb_code_2  et_pb_text_align_left">
				
				
				
				
				<div class="et_pb_code_inner"><a style="background-color:grey;color:white;text-decoration:none;padding:4px 6px;font-family:-apple-system, BlinkMacSystemFont, "San Francisco", "Helvetica Neue", Helvetica, Ubuntu, Roboto, Noto, "Segoe UI", Arial, sans-serif;font-size:12px;font-weight:bold;line-height:1.2;display:inline-block;border-radius:3px;" href="https://unsplash.com/@mparzuchowski?utm_medium=referral&utm_campaign=photographer-credit&utm_content=creditBadge" target="_blank" rel="noopener noreferrer" title="Download free do whatever you want high-resolution photos from Michał Parzuchowski"><span style="display:inline-block;padding:2px 3px;"><svg xmlns="http://www.w3.org/2000/svg" style="height:12px;width:auto;position:relative;vertical-align:middle;top:-1px;fill:white;" viewBox="0 0 32 32"><title>unsplash-logo</title><path d="M20.8 18.1c0 2.7-2.2 4.8-4.8 4.8s-4.8-2.1-4.8-4.8c0-2.7 2.2-4.8 4.8-4.8 2.7.1 4.8 2.2 4.8 4.8zm11.2-7.4v14.9c0 2.3-1.9 4.3-4.3 4.3h-23.4c-2.4 0-4.3-1.9-4.3-4.3v-15c0-2.3 1.9-4.3 4.3-4.3h3.7l.8-2.3c.4-1.1 1.7-2 2.9-2h8.6c1.2 0 2.5.9 2.9 2l.8 2.4h3.7c2.4 0 4.3 1.9 4.3 4.3zm-8.6 7.5c0-4.1-3.3-7.5-7.5-7.5-4.1 0-7.5 3.4-7.5 7.5s3.3 7.5 7.5 7.5c4.2-.1 7.5-3.4 7.5-7.5z"></path></svg></span><span style="display:inline-block;padding:2px 3px;">Original header image courtesy of Michał Parzuchowski</span></a></div>
			</div>
			</div>
				
				
				
				
			</div>
				
				
			</div></p>
<p>The post <a href="https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/">An analytics and machine learning system for less than $1,350</a> appeared first on <a href="https://www.aiafterwork.com">AI After Work</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.aiafterwork.com/analytics-machine-learning-system-less-than-1350/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
