what is the best way to partition /tmp and /var/log in ubuntu 18.04?

Using aws ec2 ubuntu 18.04 OS.

  1. Need to perform CIS hardening task for file system where we need to partition /tmp /var/log /var directories and mount them to a separate file system partitions
  2. What is the best way to perform this?
  3. Things which i have explored along the way is:
  4. Add a new ebs volume to the existing instance on top of the root volume and perform fdsik on the new disk and create a partition and mount it.

Which is the best way to do: TO Partition the root volume or to add a new ebs volume and partition it?

18.04 – How do I prevent the popup window telling me I have to update/upgrade software or to reboot?

I’m creating an embedded system and once in a while I get this popup telling me I have to upgrade or to reboot the computer.

Since the system is expected to run on its own, telling the user anything like that is not going to be useful at all, ever.

So I’ve been looking into making those popups not appear but so far no luck.

Anyone knows how to prevent these?

I’ve found a way to prevents simple notifications, and that works, but so far no luck about the restart/upgrade popups.

CPU and Bandwidth Spikes on Ubuntu 18.04 Running WordPress

Hey guys,

I’ve set up a WordPress website on digital ocean with the following server specs 1 GB Memory / 25 GB Disk / LON1 – Ubuntu WordPr… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1825984&goto=newpost

misidentified usb headset as xbox gamepad in ubuntu 18.04

There is a known bug https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1639408 for USB wireless Afterglow AG9+ Wireless headset that is being misidentifed as a generic xbox pad (on mine ubuntu 18.04). In fact this is rather a generic usb sound card or sort of. Is there any way/workaround I can try to make it work without waiting for the bugfix?
Tried to read something about udev rules etc (wanted to manually set this device as generic usb soundcard) but it looks like I know to little about the topic to think up something useful. Would be grateful for any tips.

Backups failing on Ubuntu 18.04

Getting this error message when trying to backup Ubuntu 18.04:

I kind of remember when setting up the backup option, it downloaded software/patch, then errored on the install…Maybe???

Error processing remote manifest (duplicity-inc.20200918T020411Z.to.20200921T184305Z.manifest.gpg): GPG Failed, see log below:
===== Begin GnuPG log =====
gpg: WARNING: “–no-use-agent” is an obsolete option – it has no effect
gpg: AES256 encrypted data
gpg: encrypted with 1 passphrase
gpg: decryption failed: Bad session key
===== End GnuPG log =====

18.04 – Ubuntu stopped finding my SSD

I have a 3 years old Lenovo Miix 720 which I installed Ubuntu (18.04 iirc) at the beginning of the year. It ran normally and I used it as a secondary machine, that means it wasn’t as busy anymore.

Now i haven’t used it for quite a time and when I want to boot it up the first thing I see us the GRUB menu (Ubuntu, Advanced options for Ubuntu, UEFI Firmware Settings) where I choose the first option and it ends up in the following error message:

enter image description here

it also doesn’t start up when I use recovery mode.
When I enter ls /dev I realized it doesn’t show my drive (sda), therefore I assume Ubuntu can’t detect my drives anymore. Since GRUB starts up and in my UEFI Settings I still can see the NVMe Drive in my boot options (if that is a valid indicator) I would rule out a mechanical problem.

My next step was to load a USB stick with a Gparted Live image and check if there is anything wrong with my partitions. The result was, that neither parted nor df seems to find any partition, not even a disk. in the gparted menu i could only find the USB stick.

I made another attempt with a Ubuntu install image, checking if I could reinstall Ubuntu. But here I got the message that I have to deactivate iRST, which I did because I already installed Ubuntu a few months ago. I also double checked with my UEFI and indeed, the SATA Controller was set to AHCI.

So this is now the end of my ideas therefore I hope someone could help me with this. Following a quick overview of some of my current UEFI Settings:

  • Sata Controller set to AHCI (as opposed to RAID)
  • Boot Mode: Legacy Support, UEFI first
  • Boot Order: USB first, Ubuntu second, NVMe Samsung SSD third

Thanks in advance

drivers – Installing cuda 10.0 on fresh Ubuntu 18.04

I am trying to perform an installation of the version 10.0 of the CUDA toolkit on a fresh installation of kubuntu 18.04. My graphics card is a GTX 1660 SUPER.
The CUDA toolkit 10.0 installation for Ubuntu 18.04 requests a linux kernel of version 4.15.0. However, Ubuntu 18.04 is shipped with the more recent 5.4.0 Kernel.

I have already tried downgrading the kernel to the mainline 4.15.0 kernel. This however created the problem that the system seemed unable to deploy a graphics driver (lshw -c display returned display UNCLAIMED). Installing CUDA and the contained nvidia-410 driver did not change this.

I also tried installing CUDA on the 5.4.0 kernel, which killed my GUI completely and left me stuck to the command line. lshw -c display again returned display UNCLAIMED and the installation logs hinted that the driver installation failed because of the wrong kernel.

Is there any way to resolve this issue? Some way to install Ubuntu with the 4.15 kernel or successfully downgrading it?

Ubuntu 18.04 reboot problem after cuda 10.2 installation

I have a dual boot ubuntu 18.04 and windows 10.asfter installing cuda 10.2 ubuntu is not rebooting.
i have tried the below suggestion but it didnt work for me.
Black screen after updating to CUDA 10.1 on Ubuntu 18.04.2
Any solutions/suggestions are appreciated.
THanks!

gui – 18.04 to 20.04 Upgrade Text Is Now Just Boxes

I received a pop up while doing my thing in 18.04 asking if I wanted to upgrade my OS to 20.04. Why yes, thanks. So I followed the prompts, rebooted, and immediately noticed all text characters in the OS are now boxes. I did some looking around the web and saw others having the same or similar issue. I have re-installed my nVidia driver. No luck. I can go into Tweaks and see different fonts but I can’t select them/apply them.

Thanks very much for any direction. I am a noob level user and not having actual words will likely make the fix more challenging.

csf on ubuntu 18.04 (Blocking Some ports)

hello I recently installed csf (Config Server Firewall) on my vps ubuntu 18.04 and i want to block all ports except some ports
tcp : Port 2… | Read the rest of https://www.webhostingtalk.com/showthread.php?t=1824857&goto=newpost