Linked Questions

70 votes
6 answers
138k views

How to install snap packages behind web proxy

I know how to configure APT to use a web proxy. But what about snap?
Carlos Estrada's user avatar
39 votes
7 answers
71k views

How do I use oom_score_adj?

On 11.04, /proc/[pid] contains oom_score_adj, but man proc describes the old oom_adj. I have googled unsuccessfully for any information on how to use this. What I need to arrange is that processes ...
bmargulies's user avatar
26 votes
2 answers
84k views

How can I get autologin at startup working on Ubuntu Server 16.04.1?

I have a problem with autologin at startup in Ubuntu Server 16.04.1 LTS. I use this server only for listening internet radio so I do not care about security. I was able to create a bash script to ...
Tomek's user avatar
  • 263
22 votes
3 answers
78k views

How to specify an Environment systemd directive containing =?

I want to specify an Environment systemd directive containing =, e.g. Environment=CATALINA_OPTS=-Dappserver.home=/var/lib/archiva/apache-tomcat-current -Dappserver.base=/var/lib/archiva/apache-...
Kalle Richter's user avatar
27 votes
4 answers
20k views

After upgrade 14.04 to 16.04.1 Postgresql server does not start

Just upgraded my system from 14.04. LTS to 16.04.1 LTS, postgresql does not start on systemd: /etc/init.d/postgresql start ...
Artur Eshenbrener's user avatar
15 votes
4 answers
40k views

Shell script issue: cron job script to Restart MySQL server when it stops accidentally

I have this script, I am using it to setup CRON job to execute this script, so it can check if MySQL service is running; if not then it restart the MySQL service: #!/bin/bash service mysql status| ...
Vaibhav Dhage's user avatar
12 votes
4 answers
77k views

How to autologin (without entering username and password)(in text mode)

I've installed Ubuntu 12.04 & and edited the /etc/default/grub file to auto boot into text mode. but every time I turn on the computer it asks for username and password (in text mode), I wanted it ...
Navid777's user avatar
  • 277
10 votes
3 answers
23k views

Very slow boot time ubuntu - A start job is running for Raise network interfaces

I am running ubuntu 16.04 and since few days it takes around 5 min to boot up. I looked related questions but I could not find how to troubleshoot my problem. When I run: systemd-analyze blame I get ...
diegus's user avatar
  • 487
7 votes
1 answer
21k views

16.04: How do I make cron create cron.log and monitor it in real time?

I know that cron events are stored in /var/log/syslog and I can use a command like: sudo cat /var/log/syslog | grep cron to see them. I'd much rather have the system keep a separate cron log file ...
SDsolar's user avatar
  • 3,169
5 votes
2 answers
12k views

Login on local terminal without password

I have a virtual guest of Ubuntu on a KVM Machine, I've setup the machine so I can type virsh console and be dropped into a console. I realise the security considerations here, but is it possible to ...
nyxthulhu's user avatar
  • 161
6 votes
2 answers
33k views

How to create ubuntu server 16.04 autologin?

Something has changed in server 16.04 LTS, I can't find tty1, but I need to make an auto-login on tty1 (in console mode), in 14.04 LTS I can make this work. I can't find /etc/init/tty1.conf How to, ...
Omar Rojas's user avatar
5 votes
3 answers
5k views

Enable automatic updates from command line

I'm creating a BASH script that will, among other things, enable automatic updates, important security updates, and the "Check daily" option in the software updates menu. But no matter where i search, ...
Tech_Person's user avatar
3 votes
1 answer
10k views

How to pass command-line arguments to atd init script in Ubuntu 16.04

How can I pass a command-line argument to the atd daemon which will persist across reboots and package upgrades? I wish to add the command line flag -l 7.5 to atd because I have an 8-CPU server and ...
nickcrabtree's user avatar
  • 1,194
3 votes
1 answer
4k views

OpenVPN restart breaks connection

I use a VPN (PIA installed by this method) on Ubuntu 16.04 through the default Network Manager. Frequently--after around 5 minutes of streaming or ~1 hour of normal browsing--it is cutting out, by ...
KleinFourGroup's user avatar
3 votes
2 answers
5k views

How to use cpulimit on ALL cron jobs?

Using Ubuntu Server an AWS micro box, so if the cpu utilization spikes AWS will virtually kill the CPU for the box (for about 30 sec). nice doesn't solve the problem, but cpulimit does (I use it in ...
David Parks's user avatar
  • 2,516

15 30 50 per page