Today we are delighted to introduce the new Minimal Ubuntu, optimized for automated use at scale, with a tiny package set and minimal security cross-section. Speed, performance and stability are primary concerns for cloud developers and ops. “The small footprint of Minimal Ubuntu, when deployed with fast VM provisioning from GCE, helps deliver drastically improved … Read moreMinimal Ubuntu, on public clouds and Docker Hub
Here you can find different ways of installing Spotify for Linux. Spotify for Linux is a labor of love from our engineers that wanted to listen to Spotify on their Linux development machines. They work on it in their spare time and it is currently not a platform that we actively support. The experience may … Read moreSpotify for Linux
Traditionally ubuntu supported a fairly blunt method of suspend and hibernate. Neither would integrate well with other apps and sometimes not even work on some machines. The new method doesn’t require root and notifies all applications listening for power events. Systemd Method Starting with Ubuntu 16.04, systemctl call must be used (See Suspend command in Ubuntu 16.04) systemctl … Read moreHow can I suspend/hibernate from command line?
If you tried the command startx, but the error command not found was returned, then to install a graphical desktop, in case it is not installed, you would type this: sudo apt-get install ubuntu-desktop
The below command outputs a lot status and statistical information about the battery. The /org/…path can be found with the command upower -e (–enumerate). upower -i /org/freedesktop/UPower/devices/battery_BAT0 Example output: native-path: /sys/devices/LNXSYSTM:00/device:00/PNP0C0A:00/power_supply/BAT0 vendor: NOTEBOOK model: BAT serial: 0001 power supply: yes updated: Thu Feb 9 18:42:15 2012 (1 seconds ago) has history: yes has statistics: yes battery present: yes … Read moreHow to check battery status using terminal?
Traditionally, the command sudo shutdown now will take you to the runlevel 1 (recovery mode); this will happen for both Upstart and SysV init. To get what you want, i.e., to shut down the computer properly, you need to give the -h switch to shutdown. One thing to note here is that halt will close all the processes, turn off the CPUs … Read moreWhy doesn’t running “sudo shutdown now” shut down?
As described here (ubuntuhandbook.org – Boot into text console ubuntu) you need to edit /etc/default/grub to have the next boot end up in text mode. In summary you will set these parameters: GRUB_CMDLINE_LINUX_DEFAULT=”text” GRUB_TERMINAL=console After saving changes you need to run: sudo update-grub sudo systemctl set-default multi-user.target Undoing text-mode To undo sudo systemctl set-default multi-user.target simply type sudo systemctl … Read moreHow to start Ubuntu in Console mode
You could disable the display manager service with systemctl for example if your display manager is lightdm the run sudo systemctl disable lightdm.service. This will prevent the service from starting at boot. I forgot to mention how to start the GUI, Its as simple as starting the service sudo systemctl start lightdm.service
The advantages of text modes as compared to graphics modes include lower memory consumption and faster screen manipulation. Text mode or console mode or command line mode saves a lot of RAM uses so most of the time it is very beneficial to boot desktop in text mode. This post is a simple explanation to how … Read more5 Steps Start Ubuntu 16.04, 17.04 in Text Mode
If you get following error, when you try to start nginx… [emerg]: bind() to 0.0.0.0:80 failed (98: Address already in use) Then it means nginx or some other process is already using port 80. You can kill it using: sudo fuser -k 80/tcp And then try restarting nginx again: service nginx start