• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server

By Abhishek Ghosh September 12, 2018 9:53 pm Updated on September 12, 2018

Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server

Advertisement

On our earlier guides, we installed PyTorch and TensorFlow on Ubuntu server. Those guides are important to understand how to install graphics driver and installing in basic way. We have separate guides on installing Jupyter Notebook. Here is How To Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server. It is probably easy to install Anaconda for Python packages. We have separate guides to install Anaconda and also Miniconda. conda installs any software package whereas pip installs python packages only.

 

Steps To Install Jupyter Notebook and TensorFlow

 

In this guide, we can avoid installing CUDA. At minimum you need to do these on a Fresh Server outside any Python or Anaconda works :

Vim
1
2
3
4
5
6
7
8
apt update -y
apt upgrade -y
sudo add-apt-repository ppa:graphics-drivers
apt update -y
apt upgrade -y
# sudo apt install nvidia-390
sudo apt install nvidia-driver-396
sudo reboot

Get the URL of Anaconda installation bash script from here :

Advertisement

---

Vim
1
https://www.anaconda.com/download/#linux

wget it and execute :

Vim
1
2
3
4
5
wget https://repo.anaconda.com/archive/Anaconda3-5.2.0-Linux-x86_64.sh
chmod +x Anaconda3-5.2.0-Linux-x86_64.sh
sh Anaconda3-5.2.0-Linux-x86_64.sh
# remove after work
# rm Anaconda3-5.2.0-Linux-x86_64.sh

Anaconda will add something like below the end of your .bashrc file :

Vim
1
export PATH="/home/dbk/anaconda3/bin:$PATH"

Reload bash :

Vim
1
source ~/.bashrc

Update Anaconda packages :

Vim
1
2
3
4
conda update conda
conda update anaconda
conda update python
conda update --all

Here are some common commands used in the context of Anaconda :

Vim
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
# update conda
conda upgrade conda
conda upgrade --all
# create new environment
conda create -n [your-env-name]
# activate the environment
source activate [your-env-name]
# check the environment
conda info
conda list
# install a package, like package-name
conda install package-name
conda list
# inspect what environments you have
conda info -e
# remove an environment
conda env remove --name [your-env-name]

You’ll get more on this PDF :

Vim
1
https://conda.io/docs/_downloads/conda-cheatsheet.pdf

We can create an environment named tf-test :

Vim
1
2
conda create --name tf-test
source activate tf-test

Install TensorFlow, Keras, Jupyter Notebook Kernel :

Vim
1
2
3
4
conda install tensorflow-gpu
conda install ipykernel
python -m ipykernel install --user --name tf-test --display-name "TensorFlow-TEST"
conda install keras

Launch Jupyter Notebook as usually :

Vim
1
jupyter notebook

You can feed data to TensorBoard for visual analysis, that is a different topic. How can you run Tensorboard on a remote server? You need a local installation too.

Install Jupyter Notebook and TensorFlow On Ubuntu 18-04 Server

Then you can create a ssh connection using port forwarding:

Vim
1
ssh -L 16006:127.0.0.1:6006 user@host

Then you will run the TensorBoard command:

Vim
1
tensorboard --logdir=/path/to/logs

Then you can access the TensorBoard in your localost browser under:

Vim
1
localhost:16006/

That is it.

Tagged With ubuntu 18 04 jupyter notebook , installing jupyter notebook on linux sever , tensorflow jupyter install , installing jupyter notebook windows , install jupyter on ubuntu 18 , conda install jupyter notebook , how to install tensorflow in jupyter , jupyter tensorflow ubuntu , how to install jupyter notebook on ubuntu 18 04 , jupyter install tensorflow

This Article Has Been Shared 285 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server

  • Install Apache Drill on Ubuntu 16.04 LTS Single Cloud Server

    Drill is SQL Query Engine for Hadoop, NoSQL, Cloud Storage. Here is How to Install Apache Drill on Ubuntu 16.04 LTS Single Cloud Server.

  • Create Data Science Environment on Cloud Server With Docker

    Here Are the Steps, Commands to Create Data Science Environment on Cloud Server For Data Analysis Starting With a Blank Server With SSH.

  • Install Apache Gearpump On localhost (Ubuntu, Windows 10 Bash, Mac)

    Apache Gearpump is a real-time big data streaming engine, it is event/message based. Here is How to Install Apache Gearpump On localhost or Cloud Server.

  • How To Install SBT and Scala on Ubuntu Server

    Here Are The Steps on How To Install SBT and Scala on Ubuntu Server. sbt is a build tool for Scala and Java projects Like Apache Maven, Apache Ant.

  • How To Install Hue on Ubuntu 16.04

    Hue is Query Tool With GUI For Browsing, Querying, Visualizing Data & Developing Apps for Hadoop. Here is How To Install Hue on Ubuntu 16.04.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (21K Followers)
  • Twitter (5.3k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Basics on Python Tornado (web server) March 8, 2021
  • What You Need to Know About Hybrid Mobile App Development March 6, 2021
  • Why Not to Use Your Host for Email Marketing March 5, 2021
  • What You Need to Know About the Microservices March 4, 2021
  • Fix Missing/Bad FileProvider for Freshchat (Android error code 354) March 3, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "Install Jupyter Notebook and TensorFlow On Ubuntu 18.04 Server," in The Customize Windows, September 12, 2018, March 8, 2021, https://thecustomizewindows.com/2018/09/install-jupyter-notebook-and-tensorflow-on-ubuntu-18-04-server/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy