![]() ![]() ![]() Serving notebooks from local directory: /home/centos/test3 JupyterLab application directory is /opt/anaconda3/share/jupyter/lab ![]() JupyterLab extension loaded from /opt/anaconda3/lib/python3.7/site-packages/jupyterlab Writing notebook server cookie secret to /home/centos/.local/share/jupyter/runtime/notebook_cookie_secret singularity exec -bind /tmp:/run/user anaconda_latest.sif jupyter notebook You just have to execute in command "jupyter Notebook" in singularity. INFO: Download complete: anaconda_latest.sif INFO: Container is trusted - run 'singularity key list' to list your trusted keys Openstack instance with singularity soft into ( cloud-config ?) Connect to instance $ ssh -i ~/.ssh/os_user.pem ~/.ssh/os_user.pem ~]$ Launch the notebookĭownload the anaconda image from the syslab repo singularity pull library://juanca/default/anacondaġ.42 GiB / 1.42 GiB 100.00% 15.01 MiB/s 1m36s No web browser found: could not locate runnable browser. Use Control-C to stop this server and shut down all kernels (twice to skip confirmation). Serving notebooks from local directory: () Writing notebook server cookie secret to () You can reload the new customized bashrc environment $ source ~/.bashrc Launch the notebook (base) ~]$ jupyter notebook => For changes to take effect, close and re-open your current shell. $ openstack server add floating ip anac3_jcc 134.158.21.74 Connect to instance $ ssh -i ~/.ssh/os_user.pem ~/.ssh/os_user.pem ~]$ Customize your environment $ /opt/anaconda3/bin/conda init bash nic net-id=$OS_NET -security-group default -key-name user-key $ openstack server create -flavor m1.large -image CentOS-8-x86_64 sh /tmp/Anaconda3-2020.02-Linux-x86_64.sh -b -p /opt/anaconda3 Create the instanceĬreate the instance ( ex: Centos8 ) and bind it to floating address. yum config-manager -set-enabled PowerTools sed -i 's/SELINUX=enforcing/SELINUX=disabled/g' /etc/selinux/config Name: Extra Packages for Enterprise Linux 8 - $basearch The cloud-config way A cloud-config file $ cat anaconda.txt The container technology used for such purpose is "singularity". The second method is using a pre-built software container with Anaconda packaged into.The first is by using a cloud-config file to install the required Anaconda software. ![]()
0 Comments
Leave a Reply. |