Remove Development
in the marketplaceHost {HostName}
HostName {DNS Name}
User {username on server}
IdentityFile {location of pem file}
F1
→ Configure SSH Hosts
→ Select the file F1
→ Remote-SSH: Connect to Host
copy link from the website
wget https://repo.anaconda.com/archive/Anaconda3-2021.11-Linux-x86_64.sh
update Conda
conda update --prefix /home/ubuntu/anaconda3/ anaconda
which python3
source .bashrc
jupyter notebook --generate-config
mkdir certs
cd certs
sudo openssl req -x509 -nodes -days 365 -newkey rsa:1024 -keyout mycert.pem -out mycert.pem
type info
move to the jupyter directory
cd ~/.jupyter/
vim jupyter_notebook_config.py
c = get_config()
c.NotebookApp.certfile = u'/home/ubuntu/certs/mycert.pem'
c.NotebookApp.ip = '*'
c.NotebookApp.open_browser = False
c.NotebookApp.port = 8888
ssl_version
error, add the below to jupyter_notebook_config.py
c.NotebookApp.ssl_options={
"ssl_version": ssl.PROTOCOL_TLSv1_2
}
jupyter_notebook_config.py
c.NotebookApp.notebook_dir = u’{starting_directory}’
sudo apt-get update
sudo apt-get install default-jre
java -version
sudo apt-get install scala
scala -version
PATH
export PATH=$PATH:$HOME/anaconda3/bin
conda install pip
conda upgrade pip
pip install py4j
conda install pyspark
or
pip install pyspark