• 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 , install jupyter notebook on ubuntu server , 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 , how to install jupyter notebook on ubuntu 18 04 , jupyter install tensorflow
Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

  • How To Install TensorFlow on Ubuntu 18.04 Server (Nvidia GPU)

    Our previous guide was on installing PyTorch. Then, why TensorFlow needed a separate guide? Is not running few commands would install TensorFlow on that setup? There are practical differences when current version of Ubuntu server considered, some way would invite crush of server out of slightly buggy packages. With symlinking somehow works and most human […]

  • Jupyter Notebook Tutorial : Part 1

    Jupyter has notebook that let us to write and execute code, analyze data and do more. Here is How To Install Jupyter Notebook Tutorial.

  • How To Install Anaconda on Ubuntu 16.04

    Conda is a Binary Package Manager Used By Anaconda And Other Systems of Python And R. Here is How To Install Anaconda on Ubuntu 16.04.

  • Install Bokeh Python Visualization Library in Jupyter Notebooks

    With Bokeh You Can Create Interactive Tables and Charts. Here is How to Install Bokeh Python Visualization Library in Jupyter Notebooks.

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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k 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

  • Hybrid Multi-Cloud Environments Are Becoming UbiquitousJuly 12, 2023
  • Data Protection on the InternetJuly 12, 2023
  • Basics of BJT TransistorJuly 11, 2023
  • What is Confidential Computing?July 11, 2023
  • How a MOSFET WorksJuly 10, 2023
PC users can consult Corrine Chorney for Security.

Want to know more about us?

Read Notability and Mentions & Our Setup.

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

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