Phương Linh
New member
How do I start Ubuntu Server?
Answer
Debian/Ubuntu Linux Specific Commands to Start/Stop/Restart Apache
Enabling SSH on Ubuntu
Answer
Debian/Ubuntu Linux Specific Commands to Start/Stop/Restart Apache
- Restart Apache 2 web server, enter: # /etc/init.d/apache2 restart. OR. $ sudo /etc/init.d/apache2 restart.
- To stop Apache 2 web server, enter: # /etc/init.d/apache2 stop. OR.
- To start Apache 2 web server, enter: # /etc/init.d/apache2 start. OR.
Code:
https://2001-2009.state.gov/p/af/pdpa/ssh/c8297.htm
- Open your terminal either by using the Ctrl+Alt+T keyboard shortcut or by clicking on the terminal icon and install the openssh-server package by typing: sudo apt updatesudo apt install openssh-server.
- Once the installation is completed, the SSH service will start automatically.