Most Popular

1500 questions
48
votes
5 answers

100% non-interactive Debian dist-upgrade

Is there a way to do an apt-get dist-upgrade in Debian that not only automatically answers "yes" to all questions asked, but also uses reasonable defaults as answers to questions that are sophisticated enough to require various interactive dialog…
48
votes
4 answers

Is there a way to list all configurable `alternatives` (symlinks for similar commands) on the system?

The alternatives command (package chkconfig) on RHEL/Fedora manages symlinks which link a generic name to one of the alternative implementations. For example, mta group of symlinks can be provided by Sendmail and Postfix (to implement i.e. sendmail…
uvsmtid
  • 907
48
votes
7 answers

Probability of Blade Chassis Failure

In my organisation we are thinking about buying blade servers - instead of rack servers. Of course technology vendors also make them sound very nice. A concern, that I read very often in different forums, is, that there is a theoretical possibility…
ChrisZZ
  • 737
48
votes
13 answers

Group Policy installation failed error 1274

I'm trying to deploy an MSI via the Group Policy in Active Directory. But these are the errors I'm getting in the System event log after logging in: The assignment of application XStandard from policy install failed. The error was : %%1274 The…
48
votes
3 answers

CNAME for top of domain?

Is it possible to set a CNAME record at the top of a domain? (i.e. @ CNAME www, @ CNAME foobar.com., etc.) My ISP says that it's only possible to use CNAME's for subdomains but I've read somewhere else that is should be possible even if not…
Martin
  • 775
48
votes
6 answers

Permanent block of IP after n retries using fail2ban

I have a fail2ban configured like below: block the ip after 3 failed attempts release the IP after 300 sec timeout This works perfectly and I want to keep it this way such that a valid user gets a chance to retry the login after the timeout. Now,…
BTR Naidu
  • 627
48
votes
34 answers

How are you documenting your work, processes and environment?

Are you using a wiki format? If so, which product? (MediaWiki, Confluence, Sharepoint etc.) Have you create a knowledge base? (Problem/solution-oriented short documents.) What challenges do you find with creating documentation that works, so you…
user1804
48
votes
3 answers

telnet counterpart for UDP

Is there anything that enables a "telnet-like" functionality for UDP? I know the difference between TCP and UDP, and why telnet itself won't work - but I'm wondering if there is something similar to the telnet client, from the end-user perspective.…
Dexter
  • 617
  • 1
  • 5
  • 5
48
votes
6 answers

tell yum to ignore a single dependency

I'm trying to install winswitch on CentOs 6. It requires nxagent. But in centos, the package name is nx. Is there a way to tell yum to skip checking the nxagent dependency (I installed nx already)? Specifying --skip-broken skips the whole thing.
IttayD
  • 1,107
48
votes
6 answers

How do you set a locale non-interactively on Debian/Ubuntu?

Usually, I run aptitude -y install locales then dpkg-reconfigure locales to set up locale. Now I want to put it into a shell script, how can I reliably do the following, automatically / non-interactively? Choose en_US.UTF-8 and set it as system…
kenn
  • 695
48
votes
6 answers

How do I view a file's hard links in Windows?

I've found a description of hard links and junctions in Windows, however I'd like to know ,from the Windows UI or command prompt, how I can view the hard links of a particular file or folder?
John K
  • 1,763
48
votes
1 answer

Chef best Practices/Questions

I use and love Puppet. I moved to a new company and they are adopting Chef. So I'm trying to learn Chef but am having a hard time piecing it all together because I still think in Puppet =) These are my questions: Is it better to setup roles in…
rizen
  • 503
48
votes
2 answers

Serve http (port 80) and https (port 443) on same VirtualHost

I need to setup my VirtualHost on Apache to serve on both http and https (using standard ports) If I enable the SSL Engine (as per below) - I get an error when on port 80. The reason is, parts of the site need to be SSL but other parts don't. How…
kron
  • 755
48
votes
2 answers

How to quick and easy remove part of an URL in Nginx with HttpRewriteModule?

I know about the HttpRewriteModule, but I don't really know how to handle regex and I would need to redirect all URLs within a certain directory to another, specifically: From: example.com/component/tag/whatever To: example.com/tag/whatever Could…
javipas
  • 1,362
48
votes
6 answers

ZFS on FreeBSD: recovery from data corruption

I have several TBs of very valuable personal data in a zpool which I can not access due to data corruption. The pool was originally set up back in 2009 or so on a FreeBSD 7.2 system running inside a VMWare virtual machine on top of a Ubuntu 8.04…
ssc
  • 1,189