What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-27 03:33:02
ubuntu root login ssh
echo "PermitRootLogin yes" | sudo tee -a /etc/ssh/sshd_config sudo systemctl restart sshd # NOTE: root login is locked by default, assign a password with: # [sudo passwd root] # To lock root login afterwards run # [sudo passwd -l root] # To d... Add solution -
Shell/Bash 2021-08-26 10:59:02
installing hinterland for jupyter without anaconda
STEP 1: Open cmd prompt and run the following commands 1) pip install jupyter_contrib_nbextensions 2) pip install jupyter_nbextensions_configurator 3) jupyter contrib nbextension install --user 4) jupyter nbextensions_configurator enable --user STEP... Add solution -
Shell/Bash 2021-08-26 10:56:02
disable ubuntu firewall
sudo ufw enable sudo ufw disable Add solution -
Shell/Bash 2021-08-25 15:10:34
apache2 disable site
# enable site sudo a2ensite # disable site sudo a2dissite # enable an apache2 module sudo a2enmod # e.g. a2enmod php4 will create the correct symlinks in mods-enabled to allow the module to be used. In this example it will link both php4.conf and ph... Add solution