JupyterLab is a next-generation web-based development environment for Project Jupyter. Project Jupyter was developed with the goal to develop open-source, open standards, and services for interactive computing across multiple programming languages. JupyterLab offers a flexible interface that allows developers to work with documents and activities such as Jupyter notebooks, text editors, terminals, and custom components in a flexible, integrated, and extensible manner. JupyterLab is the next generation of Jupyter Notebook and is supposed to eventually replace it. It supports over 40 programming languages, including R, Python, Scala, and Julia.
__________________________________________________________________________________________________________________________________
Server - Os: Oracle Linux Server 9 64Bit | IP -192.168.1.50 |Hostname - server.testbox.com
__________________________________________________________________________________________________________________________________
cat /etc/system-release ; dnf groupinstall "Development Tools" -y
dnf install wget curl nano unzip yum-utils -y
firewall-cmd --add-service=http --permanent ; firewall-cmd --add-service=https --permanent ; firewall-cmd --reload
nano /etc/yum.repos.d/nginx.repo
[nginx-stable]
name=nginx stable repo
baseurl=http://nginx.org/packages/centos/$releasever/$basearch/
gpgcheck=1
enabled=1
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true
[nginx-mainline]
name=nginx mainline repo
baseurl=http://nginx.org/packages/mainline/centos/$releasever/$basearch/
gpgcheck=1
enabled=0
gpgkey=https://nginx.org/keys/nginx_signing.key
module_hotfixes=true
dnf install nginx -y
systemctl enable nginx --now ; systemctl status nginx
python -V
dnf install python3-pip -y
mkdir jupyterlab ; cd ~/jupyterlab
python3 -m venv --system-site-packages jupyterlab_env
source jupyterlab_env/bin/activate
pip install --upgrade pip
pip install jupyterlab
python3 -c "from jupyter_server.auth import passwd; print(passwd('YOUR_PASSWORD'))"
jupyter lab --generate-config
nano ~/.jupyter/jupyter_lab_config.py
c.ServerApp.allow_remote_access = True
c.ServerApp.password = 'YOUR_PASSWORD'
=8$jAJtckno+4fUhJ7nXWbR+w$kaMe/LaitfDs7vRKLEVRrb08WNiMZEAhXHGjfIbgtkU
firewall-cmd --add-port=8888/tcp --permanent ; firewall-cmd --reload
jupyter lab --ip 0.0.0.0 --allow-root
http://127.0.0.1:8888/
deactivate
__________________________________________________________________________________________________________________________________
Saturday, January 14, 2023
How To Install & Configure JupyterLab Environment On Rocky Linux 9
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment