Questions tagged [ubuntu-18.04]

Ubuntu 18.04, named "Bionic Beaver" is a Long Term Support release of Ubuntu Linux (released on April 26th, 2018). Note that http://askubuntu.com is specifically dedicated to Ubuntu questions.

Ubuntu 18.04 - named "Bionic Beaver" - is a Long Term Support (LTS) release of Ubuntu Linux. Officially released on April 26th, 2018, it will be supported for 5 years for Ubuntu Desktop, Ubuntu Server, and Ubuntu Core. Only use this tag if your question is version-specific. Note that the Ask Ubuntu site is specifically dedicated to Ubuntu questions.

743 questions
18
votes
2 answers

Why does the command 'apt install php' try to install Apache?

I'm trying to install WordPress + LEMP on my Ubuntu 18.04. I have no interest in installing Apache. Why does the PHP installer assume I do?
hejsan
  • 333
  • 2
  • 6
17
votes
2 answers

Load key "privkey.ppk" invalid format

What have I done: I'm trying to connect to my remote server with private key with ssh -i privkey.ppk root@ip But it's returning an error. Error message: Load key "privkey.ppk": invalid format root@ip: Permission denied (publickey). Expected…
AATHITH RAJENDRAN
  • 387
  • 1
  • 2
  • 11
16
votes
1 answer

Sudo directive in /etc/sudoers.d doesn't work (but it's fine if it's in /etc/sudoers)

I wish to add a file to the /etc/sudoers.d folder that includes a directive to allow www-data to run one specific script with no root password. The directive is www-data ALL=(ALL) NOPASSWD: /path/to/script.sh If I visudo and add it to /etc/sudoers,…
Ben Holness
  • 914
  • 2
  • 10
  • 28
13
votes
4 answers

Nginx defaults to /usr/share/nginx/html

This was a dev site. Pushed to live environment was working as of my backup this morning. System Ubuntu 18.04 Nginx PHP 7.2 MYSQL Was working on removing TLSv1 form Certificate path. Removed it and tested worked fine. Was working with a plugin to…
William Ford
  • 131
  • 1
  • 1
  • 6
11
votes
2 answers

Adding second network interface to Ubuntu 18.04 on AWS EC2

The provided 18.04 AMI comes with one interface, and I am adding a second one with its own IP (for stuntman-server). However the instance is only responding to one elastic IP or the other, not both (for SSH and stuntman), while both private…
11
votes
2 answers

How to Clear/Reset a Postfix Queue

I recently discovered that one of our Ubuntu servers was generating dozens of notification emails a minute and throttling the Office 365 relay account it was sharing with a handful of other servers. I stopped the Postfix service on this server and…
Beady Eye T
  • 123
  • 1
  • 8
10
votes
2 answers

Find the used hard disk data and solve disk pressure

I have a server which is running Ubuntu 18.04 and it is also a worker node for K8s. Sometimes I see that K8s is killing pods on this machine because of disk presseur and when I get df -h --total I can see that 85% (1.5T) of the disk is in use at…
AVarf
  • 409
  • 1
  • 6
  • 17
10
votes
1 answer

How do I expand the root's volume size?

I have Ubuntu Server 18.04 LTS running off a 16GB SanDisk USB pendrive in my server. From what I can remember, when I installed Ubuntu on there I had enabled LVM support. For some reason, when I ssh into my server, it says / is using 99.6% of…
leetbacoon
  • 203
  • 1
  • 2
  • 7
10
votes
1 answer

Apache 2.4 - Disable HSTS Header

I've set up a Vagrant box with Ubuntu 18.04 and installed Apache 2.4.29. I've created and enabled a new conf file that looks like this: ServerName django.dev ServerAlias www.django.dev ServerAdmin webmaster@localhost …
simon
  • 211
  • 2
  • 5
9
votes
4 answers

What caused a huge amount network traffic via SSH?

I have a virtual server running Ubuntu 18.04 from a well known hosting company. This morning our Fortigate Firewall logs shows that my Win10 computer transferred 3.5TB to and 6.5TB from my virtual server over 13 hours (over last night) via SSH.…
CodePoint
  • 154
  • 6
8
votes
2 answers

Wait before zpool import on Ubuntu boot

I have installed Ubuntu 18.04 on a Dell PowerEdge R720xd using ZFS. There are two 1TB boot drives in a ZFS mirror configuration. I followed the instructions in the ZFS on Linux Wiki. (Note: My system is using an LSI LSI00244 (9201-16i) Host-bus…
Moshe Katz
  • 3,053
  • 3
  • 26
  • 41
7
votes
1 answer

Unable to generate GPG keys without passphrase on Ubuntu 18.04

Has anyone tried creating GPG keys for encrypted pillars on Ubuntu 18.04? I'm using the following command to attempt to generate the keys: gpg --gen-key --homedir /etc/salt/gpgkeys When I run that I get the usual set of questions, full name, email,…
Soviero
  • 4,306
  • 7
  • 34
  • 59
7
votes
1 answer

Ubuntu 18.04 strange behaviour of date with --date option

I've found strange behaviour of date program in Ubuntu 18.04. So, I consider date should work with --date option and correctly process +N minutes: date --date "2019-01-01 13:43:32 +1 minutes" "+%Y-%m-%d %H:%M:%S" But, in Ubuntu 16.04 I will…
Victor Perov
  • 255
  • 2
  • 9
7
votes
2 answers

Ubuntu 18.04 doesn't load iptables rules after reboot

We provision servers with chef so we have same configuration for Ubuntu 16.04 and 18.04 versions. And there is same rule for restoring iptables rules cat /etc/network/if-pre-up.d/iptables_load /sbin/iptables-restore < /etc/iptables/general but…
Coul
  • 99
  • 1
  • 1
  • 4
7
votes
3 answers

Is it normal that one can access MySQL as root without entering password, although password is set?

I just installed MySQL (Ver 14.14 Distrib 5.7.22) on Ubuntu 18.04 and I discovered something weird: I installed MySQL and used mysql_secure_installation to set a password for root, but as soon as I am logged in SSH with any user with sudo-rights, I…
xinxin
  • 73
  • 1
  • 4
1
2 3
49 50