
Debian Forum - LinuxQuestions.org
2024年10月21日 · Welcome to LinuxQuestions.org, a friendly and active Linux Community. You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special featur
debian - How to set the domain name on GNU/Linux? - Server Fault
I'm using Debian 7 and this is what worked for me; thanks to Fernando Ribeiro. sudoedit /etc/hostname. server # here's where you put the server's host name activate hostname. sudo hostname -F /etc/hostname. add domain name and address to the server. sudoedit /etc/hosts. 192.168.1.2 server.domain server VERIFY
debian - How to ensure that SSH drops the connection after 8 …
2024年7月21日 · On our Debian 12 servers, I want to ensure that any SSH connections times out and disconnects after 8 hours of no typing. This was recommended by our security consultant, as some exploits can take advantage of connections that happen to left open for days or even months. Better to "Close the door after you have finished maintenance".
How can I configure my DNS settings on Debian 12?
2023年10月7日 · However, on Debian 12, when I go to edit the /etc/resolv.conf it has a big warning: # Dynamic resolv.conf(5) file for glibc resolver(3) generated by resolvconf(8) # DO NOT EDIT THIS FILE BY HAND -- YOUR CHANGES WILL BE OVERWRITTEN # 127.0.0.53 is the systemd-resolved stub resolver. # run "resolvectl status" to see details about the actual ...
debian - How to set ulimit value permanently? - Server Fault
There is a bug in Debian. To increase ulimit you need to add this into the /etc/pam.d/common-session file:
[SOLVED] How do I use virtio drivers in Debian in a KVM virtual …
2012年12月19日 · I installed Debian Linux in a virtual machine under KVM on my Fedora host computer. Now I would like to install the virtio drivers. Now I would like to install the virtio drivers. But the virtio-modules package says,
debian - How to change a SSH host key? - Server Fault
2013年1月22日 · Debian 10.7 user here. Mixing the two best answer was the cleanest way to solde the problem : ( As root or ...
linux - How can I list my open ports on Debian? - Server Fault
2012年2月6日 · lsof -i -P. Check the man page for lsof as there is no shortage of options.-P lists the port number rather than the name taken from /etc/services Run as root, though, this will provide you with a list of all active network connections and …
How to completely remove a package in Debian? - Server Fault
apt-get, aptitude, and dpkg are all preferred package managers for Debian. It doesn't really matter much anymore as it has before. If Debian really only wanted a single package manager, they would symlink one of them to the others and teach the new one the same switches. –
debian - Extend primary linux partition to use all available space ...
2023年4月2日 · the subsequent execution of resize2fs why would you even try that on /dev/sda - surely you want to resize /dev/sda1 - though it won't do much good anyway, since the resizing of the partition failed - if growpart (whatever that is) fails, then perhaps you should grow the partition "manually" ... i.e. use fdisk to delete partition 1 and then recreate partition 1 starting at the …