Bootcamp

[Linux] Linux & Jupyter Notebook

K_Hyul 2023. 12. 27. 09:46
728x90

 

sudo apt install python3-pip

pip3 

pip3 install jupyter 

# 파일 다운로드
wget https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh


# 권한 변경 
chmod 700 ./Miniconda3-latest-Linux-x86_64.sh

# 실행
./Miniconda3-latest-Linux-x86_64.sh

source ~/.bashrc 

pip install jupyter 

ls -al ~/ | grep bash

 

 

 

jupyter notebook --generate-config

vim 
sudo apt install vim -y 

vim /home/[계정]/.jupyter/jupyter_notebook_config.py

vi 

비주얼모드 
수정모드 
	- i 버튼 
명령어모드 
	- : q -> 나가기 
                q! -> 강제로 나가기 

ipython 


jupyter server password

cat /home/gen2/.jupyter/jupyter_server_config.json

vim /home/[계정]/.jupyter/jupyter_notebook_config.py

# 폴더 생성 
mkdir workspace

cd(change directory) workspce 


jupyter lab --ip=0.0.0.0

 

 

 

ssh-keygen -t rsa
cd ~/.ssh

cat id_rsa
cat id_rsa.pub 

echo "hi"
echo $PATH 


echo "hi" > a.txt 
cat a.txt 

echo "hello" > a.txt
cat a.txt 

echo "world" >> a.txt 
cat a.txt

whoami 
cat id_rsa.pub > authorized_keys 
chmod 600 ./authorized_keys
locals()
os.listdir("./subway")
endcoding = "cp949" or "euc-kr"
for
728x90

'Bootcamp' 카테고리의 다른 글

[Kubernetes] 쿠버네티스 마스터 설정하기  (1) 2024.02.01
[Spark] spark 다루기  (0) 2024.01.18
[MySQL] 네트워크, mysql  (1) 2023.12.28
[Crawling] - 간단한 크롤링  (1) 2023.12.27
[AI Vision] Mini Project  (0) 2023.11.17