Jupyter Notebook Guide

Accessing Jupyter Notebook

Internal Access (Institute Network):

External Access (From Internet):

Getting Started with Jupyter

  1. Login: Use your server credentials to log in
  2. Create Notebook: Click “New” → “Python 3” or “R”
  3. Write Code: Enter code in cells and press Shift+Enter to execute
  4. Save Work: Use Ctrl+S or File → Save

Jupyter Features

  • Multiple Kernels: Python, R, Julia, and more
  • Rich Output: Display plots, tables, and interactive widgets
  • Markdown Support: Mix code with formatted text and equations
  • Extensions: Additional functionality through extensions
  • Collaboration: Share notebooks with team members

Example: Python Data Analysis

# Import libraries
import pandas as pd
import matplotlib.pyplot as plt
import numpy as np

# Load data
df = pd.read_csv('/data/sample_data.csv')

# Basic analysis
print(df.head())
print(df.describe())

# Create visualization
plt.figure(figsize=(10, 6))
plt.plot(df['date'], df['value'])
plt.title('Data Trends Over Time')
plt.xlabel('Date')
plt.ylabel('Value')
plt.show()

File Management in Jupyter

Accessing Files

Via Jupyter Interface:

  • Use the file browser tab in Jupyter
  • Navigate through directories using the web interface
  • Upload files using the “Upload” button

Via Terminal (in Jupyter):

  • Open a new terminal: New → Terminal
  • Use standard Unix commands:
# List files
ls -la

# Navigate directories
cd /data/projects/
pwd

# Create directories
mkdir my_project
cd my_project

Data Storage Locations

See the File Storage Guide for detailed information about data storage locations and file management.

Troubleshooting Jupyter

Common Issues

Jupyter Not Loading:

# Check if Jupyter is running
ps aux | grep jupyter

# Restart Jupyter service (contact admin)
sudo systemctl restart jupyter

Kernel Issues:

  • Kernel Not Starting: Try restarting the kernel (Kernel → Restart)
  • Kernel Crashes: Check for memory issues or infinite loops
  • Import Errors: Ensure required packages are installed

Performance Issues:

  • Check system resources with htop or top
  • Close unused notebooks
  • Clear output from cells with large outputs
  • Restart kernel to free memory

Getting Help


Back to: Apps Usage Guide

Need additional help? Contact the SRILS Server administration team for technical support.


Copyright © 2025 SRILS Server Documentation. Distributed under the MIT License.