New answers tagged

0 votes

Iptables : restrict access to container

I: The problem is that the docker container is using the same interface as the host. To fix this, you need to create a custom network and attach the container to this network. Create a custom network ...
user avatar
0 votes

migrate vps from linode to proxmox img not booting

(Hi, sorry to bump this post. I want to private message the thread starter, but can not find out how to send message.) So, have you figure out how to boot a linode vps on proxmox? what I did ...
user avatar
  • 1
1 vote

`dpkg -l` to only show installed packages?

dpkg itself cannot do it, but it's possible to achieve it with a combination of dpkg-query and awk: dpkg-query -W -f '${db:Status-Status} ${Package}\n' 'linux-image-[0-9]*' | awk '$1 != "not-...
user avatar
0 votes

Postfix + opendkim + spamassin: messages are signed twice

The best solution seems to be to simply modify lines in /etc/postfix/master.cf like this: Original lines: smtp inet n - y - - smtpd -o content_filter=spamassassin ...
user avatar
0 votes

DEBIAN 11: php cant run sudo commands

in visudo when u paste this www-data ALL=(ALL) NOPASSWD:ALL make sure it is at the very bottom line or it will not work, so move that line at the end of the file
user avatar
1 vote

Automatically download, but do not install, upgrades

You can also use APT::Periodic settings to just download the packages, and disable unattended-upgrades: // Do "apt-get update" automatically every n-days (0=disable) APT::Periodic::Update-...
user avatar
0 votes

How to create a randomly keyed, encrypted swap partition, referring to it "by-uuid", on Debian?

Not Debian but Fedora 36 Confirming that @Brian Minton's idea of using the Partition UUID held in the GUID Partition Table can be effectively used to solve this particular problem. Of course, you need ...
user avatar
0 votes

memtest freezes, but otherwise system works OK (Debian)

I wanted to throw some troubleshooting ideas. Likely issues in order. Motherboard, Power Supply, software. Try one memory module at a time in different slots. Mobo book tells you what slot to use for ...
user avatar
  • 11
0 votes

Docker: Trying to install PHP libraries

Eduardo, I've just realized a file called 'no-debian-php' at /etc/apt/preferences.d/ directory. I removed it and installed debian php packages normally. Maybe this can help after 2 years later.
user avatar
0 votes

How to make Postfix listen on few IP addresses with correct certificates?

With ISPConfig.. you can do this more easy.. Create a "base" mail host in the websites. *( i use this one for all my clients there webmail. So i created mail.my-hosting-domain.tld. add ...
user avatar
  • 1
1 vote
Accepted

How to make Postfix listen on few IP addresses with correct certificates?

Your master.cf contains typos. Looks like you meant to setup smtpd (server) services in port submission (587), smtpd on port smtps (465), smtpd on port smtp (25) and smtp (client) transports for each ...
user avatar
  • 6,553
0 votes

Docker registry on localhost does not work

It is not a docker, but a firewall problem.
user avatar
  • 101
0 votes

Setting up a frozen state Linux system

I suggest you 3 possibilities: To mount the root partition (/) as tmpfs in the /etc/fstab? /!\ Be careful!! /!\ Once done, you will not be able to reverse back to a read-write state, unless cold ...
user avatar
0 votes

No such file or directory when trying to create .ssh keys

I magnaged to create a new certificate with: ssh-keygen -t ed25519 -f ~/keys/server_name/id_rsa -q -N "" (no -y or -c flags) Beware: -y flag is not a confirmation
user avatar
0 votes

"Certificate is bad" in exim smarthost setup

Well, I still don't know why exactly, but I replaced all the certs and it's working now.
user avatar
  • 11
-1 votes

Error connecting zabbix with Mysql

apt install mysql-server -y systemctl start mysql.service shell>mysql mysql> ALTER USER 'root'@'localhost' IDENTIFIED WITH mysql_native_password by 'mynewpassword'; mysql> quit; sudo ...
user avatar
0 votes

How to use d-i and preseeding on 22.04

Ubuntu already switched to cloud-init in 20.04, they only kept the preseed method for compatibility. Now it's gone for good. You need to create a .yml file with the filename user-data, as specified ...
user avatar
1 vote

IPv6 connectivity lost on KVM guest after 20 minutes

Bulding on f0ssie's answer, I have built a bash script that does the same thing but does not rely on any hardcoded addresses or interfaces for an easier deployment across multiple machines and ...
user avatar
  • 11
0 votes

How to deal with dynamic drive name when device mounting hard drives to LXC on Proxmox?

The problem I was having was using /dev/sdd as the second argument to fstab. It should have been dev/sdd which proxmox will then append to. The line now looks like this lxc.mount.entry = /dev/disk/by-...
user avatar

Top 50 recent answers are included