안녕하세요. 서종현 전문가입니다.
Rocky Linux 9에서 Jupyter Notebook을 설정하는 과정은 다음과 같은 단꼐로 진행할수있습니다.
SSH 설정
bash
sudo dnf install openssh-server
sudo systemctl start sshd
sudo systemctl enable ssdh
네트워크 설정(고정 IP) :
/etc/sysconfig/network-scripts/ifcfg-<인터페이스이름> 파일을 수정하여 고정 IP를 수정합니다.
bash
BOOTPROTO=none
ONBOOT=yes
IPADDR=<고정IP>
NETMASK=<서브넷 마스크>
DHCP 설정 :
위의 파일에서 BOOTPROTO=dhcp로 설정합니다.
SMB 설정 :
bash
sudo dnf install samba
sudo systemctl start smb
sudo systemctl enable smb
Anaconda 설치 :
bash
wget<Anaconda 설치 링크>
bash Anaconda3-<버전>-Linux-x86_64.sh
Jupyter Notebook 설치 :
bash
conda install jupyter
Jupyter Notebook 백그라운드 실행 :
bash
jupyter notebook --no-browser-ip=0.0.0.0 &
Ubuntu 설치 및 공유 :
VM 설정에서 Ubuntu를 추가하고, Rocky Linux와 네트워크를 공유하려면 Bridged Networking을 선택합니다. 이과정을 통해 Jupyter notebook을 원격으로 실행할수있습니다. 각 단계에서 필요한 설정을 추가로 조정하세요