1
0

server-install 317 B

123456789101112131415161718
  1. #!/usr/bin/fish
  2. # Install server stuff
  3. # SSH
  4. ## Install server
  5. sudo apt install openssh-server ;
  6. ## Config server
  7. sudo cp ./Templates/sshd_config /etc/ssh/ ;
  8. cp ./Templates/authorized_keys /home/jovian/.ssh/ ;
  9. ## Auto start ssh
  10. sudo systemctl enable ssh ;
  11. sudo service ssh restart ;
  12. # Web
  13. sudo apt install php ;