Created
April 17, 2020 17:10
-
-
Save antoniopicone/694ab17baf7f50ba607efd30b38a21c0 to your computer and use it in GitHub Desktop.
Make an Ubuntu desktop setup more server friendly
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Set runlevel 3 (disable gui) | |
sudo systemctl set-default multi-user.target | |
# Disable power management | |
sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment