Configuration is a general term that can refer to the arrangement of functional units according to their nature and characteristics. Also, it can refer to software configuration which more suitable for server-related topics.

learn more… | top users | synonyms

175
votes
13answers
65k views

Any benefit or detriment from removing a pagefile on an 8GB RAM machine?

I'm running Windows 7 on a dual core, x64 AMD with 8GB RAM. Do I even need a pagefile? Will removing it help or hurt performance? Would it make a difference if this is a server or a desktop? Does ...
85
votes
12answers
12k views

What solutions exist to allow the use of revision control for server configuration files? [closed]

In an environment with multiple system administrators, I see a few advantages to adding the server config files into a revision control system. Most notable are the ability to track changes, who made ...
44
votes
8answers
3k views

Why would I need a firewall if my server is well configured?

I admin a handful of cloud-based (VPS) servers for the company I work for. The servers are minimal ubuntu installs that run bits of LAMP stacks / inbound data collection (rsync). The data is large ...
38
votes
2answers
4k views

Why do I have to edit /etc/sudoers with visudo?

I've noticed that the sudoers file and cron config files act in a special way compared to other config files on Linux. They need to be edited with a special wrapper rather than any text editor. Why is ...
29
votes
6answers
4k views

Automatically Configure New Computers

My company is in the process of upgrading all of our users from old Windows XP computers to newer quad-core Win7 computers. This is a good thing - it's long overdue that we upgrade our workstations - ...
29
votes
4answers
71k views

Adding a directory to $PATH in CentOS?

We just got our new server(s) up and we're running CentOS on them all. After successfully installing Ruby Enterprise Edition, I would now like to add the REE /bin (located at ...
28
votes
5answers
5k views

How to check for modified config files on a Debian system?

How to find all Debian managed configuration files which have been changed from the default?
26
votes
5answers
26k views

Linux: how to restore config file using apt-get/aptitude?

I've occasionally lost my config file "/etc/mysql/my.cnf", and want to restore it. The file belongs to package mysql-common which is needed for some vital functionality so I can't just purge ...
22
votes
6answers
24k views

How can I prevent a DDOS attack on Amazon EC2?

One of the servers I use is hosted on the Amazon EC2 cloud. Every few months we appear to have a DDOS attack on this sever. This slows the server down incredibly. After around 30 minutes, and ...
18
votes
4answers
11k views

Do Apache config files support block commenting?

You can use # to comment out individual lines. Is there a syntax for commenting out entire blocks? I've tired surrounding the block (specifically a <Directory> block) with <IfModule ...
16
votes
7answers
16k views

How do I run a local bash script on remote machines via ssh?

I am looking for a way to push configuration from one central machine to several remote machines without the need to install anything on the remote machines. The aim is to do something like you ...
13
votes
2answers
6k views

Passing default answers to apt-get package install questions?

I'm trying to write a configuration script for new servers, and one of the first steps is to install a series of required packages, such as MySQL, phpMyAdmin, etc. using apt-get install However, when ...
12
votes
11answers
4k views

How can I diff two config files?

I've got two snmpd.conf files, one on a server that works, and one that doesn't. How can I diff the two config files while stripping out irrelevant comments and newlines?
12
votes
8answers
786 views

What is this server doing?

I have a bunch of linux virtual servers left over from a previous IT department. They have names like 'magic' or 'stuff'. I'm not quite sure what they're doing...or if I need them... How would you ...
12
votes
2answers
683 views

Is there a way to create a “one-time” boot entry in grub?

I have the following issue: I have a small server (Debian based) to which I can connect remotely (VPN/SSH connection). Now I want to change some boot options (in fact I want to migrate my root file ...
12
votes
5answers
13k views

How do you document windows server configurations?

I come from a Unix background where documenting the configuration of a service (email for example) could be as simple as grabbing a few text configuration files and a paragraph or 2 of explanatory ...
12
votes
2answers
2k views

Is there a Linux kernel boot parameter to configure an IPv6 address?

I know there is a parameter named ip which lets you configure IPv4 addresses on the Linux kernel through the boot loader. That looks like the following: ...
11
votes
2answers
2k views

How to write a DRY, modular nginx conf (reverse proxy) with named locations

I'm using nginx mostly as a reverse cachining proxy in front of several gunicon/mod_wsgi applications and of course to server static files. I find that quickly my nginx confs become impossible to ...
10
votes
8answers
14k views

How to check if Apache compression is working?

I just added the following to my Apache config file: AddOutputFilterByType DEFLATE text/html text/plain text/xml How do I check if it is actually working? Nothing on the browser tells me if the ...
10
votes
5answers
3k views

How to use a custom .bashrc file on SSH login

I've found that with the new company I'm working with I often have to access linux servers with relatively short lifetimes. On each of these servers I have an account, but whenever a new one is ...
10
votes
6answers
634 views

Is there a etckeeper equivalent for Windows? AKA Windows config revision-control

I want to make a central config file repository so that I can have the changes to any config under revision control (Mercurial). This will include some GNU/Linux boxes (which will use etckeeper), the ...
9
votes
4answers
16k views

How do I set up per-site php.ini files on a LAMP server using NameVirtualHosts?

I have a LAMP server serving a number of different websites using NameVirtualHosts. Until recently having a global php.ini file has been just fine, but recently one of our developers has requested ...
9
votes
5answers
15k views

How to configure IIS for SVG and web testing with Visual Studio?

Let's say I have a simple web page with svg image in it: <img src="foobar.svg" alt="not working" /> If I make this page as static html page and view it directly svg is displayed. If I type ...
9
votes
3answers
4k views

What is needed to use anycast IPs?

So, there're a bunch of questions on SF about the uses and how anycast IPs are cool. My approach is something more practical. What specifically I need to have to use one of those addresses? Do I ...
9
votes
1answer
2k views

How to rotate log based on an interval unless log exceeds a certain size?

From the man page of logrotate: minsize size Log files are rotated when they grow bigger than size bytes, but not before the additionally specified time interval (daily, weekly, monthly, ...
8
votes
4answers
805 views

How many domains on a single Apache server?

I'm hosting about 300 domains for my clients on a single Apache server. They all don't have much traffic, so the server load is not a problem. Theoretically there should be no limit how many of such ...
8
votes
3answers
4k views

Managing iptables with Puppet

The idea of managing our iptables rules with Puppet has been brought up. I see that augeas has an iptables lense but it is currently experimental. Does anyone have any suggestions as to how to handle ...
8
votes
3answers
3k views

Why is IIS 7 is ignoring certain (but not all) MIME types for compression? Giving error: DYNAMIC_COMPRESSION_NOT_SUCCESS - Reason 12

So, I'm a bit of an IIS7 n00b but I've used most of the old IIS systems going back to 3. I'm trying to turn on dynamic compression and it's working, mostly. It doesn't work for my ADO.Net Data ...
8
votes
4answers
5k views

How to set up Cobbler with Puppet or Cfengine?

I've heard a lot about using Cobbler together with Puppet/Cfengine for rapid deployment & configuration. Can you point me to some tutorials or share you experience of how you do it? Would also ...
7
votes
13answers
6k views

How Long Will A DNS Change Take

If I'm going to make a DNS change to an A record for my domain (changing from one IP to another), how long can I expect until people are moved over to the new info? Is it simply <= the TTL? I ...
7
votes
1answer
406 views

Keeping configs, user ids, groups and passwords consistent across Linux-servers

I have a couple of Debian servers with only little users and services. The applications are kept as far as possible in their own directories where they can be backed-up or synced easily. But I have ...
7
votes
4answers
59k views

How to check if hardware RAID is configured?

I have several servers running Windows 2008 and Red Hat 5 that are capable of hardware RAID. How do I check that hardware RAID is configured?
7
votes
8answers
3k views

What configuration items do you track for proper configuration management?

As a professional system administrator, what configuration items do you consider it essential to track to perform proper configuration or change management? For example, in Windows, do you track ...
7
votes
4answers
473 views

Release Management for Infrastructure

Does anyone use release management principals for system administration of infrastructure in the same way it is done for software development? I have been in the system administration field for more ...
7
votes
4answers
10k views

Windows Service: Can I configure the current working directory?

By default, Windows services start in the sytem32 directory (usually C:\WINDOWS\system32). Is there a way to set up a different working directory? I am thinking of some registry parameter beneath ...
7
votes
1answer
9k views

How to stop Remote Desktop from closing my session due to inactivity?

I'm connecting from a windows vista desktop to a server running windows server 2003. I'm using Remote Desktop and I'm running some very long running processes on the remote server. My problem is that ...
6
votes
4answers
9k views

Puppet manifest example

Can anyone point me to a full example (tar/zip) directory of a Puppet manifest? I get the guides but it would be way easier just to look at a working directory.
6
votes
2answers
5k views

apache2: why <LimitExcept> parameter results “deny not allowed here” error in virtualhost tag?

I have asked the same question to stackoverflow but then I thought it might be more related to here. in apache's httpd.conf between VirtualHost tags I put <LimitExcept> expression like follows: ...
6
votes
2answers
12k views

Configure domain name in CentOS

How do I configure domain names in Cent OS? I am actually connecting to the servers via SSH remote terminal and I also have root credentials. Does configuring the /etc/sysconfig/network and ...
6
votes
3answers
3k views

Find IP address of a device?

Open question: How to find the IP address of a device? As I understand, there are no guaranteed methods that work always, but there's a hundred approaches that work in specific situations, and I'd ...
6
votes
4answers
213 views

How should applications be developed for easy deployment?

I work for a company that deliver distributed control systems for various industries. We find that IT Admin skills vary to a great degree both in terms of skills and interest. We have everything from ...
6
votes
4answers
1k views

Debian - What to do when upgrading packages and a config file has changes?

I'm new to system administration and I'm helping admin a server for a student group. I was wondering, what is the best practice for when you're upgrading packages and a config file has changes. I've ...
6
votes
3answers
332 views

What should be done to share a /home partition between two Linux installs on the same computer?

If I wanted to run different releases (stable, development) of the same distribution on a single computer, what do I need to configure to ensure they can share a /home partition between them?
6
votes
2answers
640 views

Use FallbackResource even if directory exists

I've set up my virtual host on Apache 2.4.7 with a very basic configuration: <VirtualHost *:80> ServerName foo.example.com DocumentRoot /var/www/html DirectoryIndex index.php ...
6
votes
6answers
1k views

Nagios 3 config ideas

We currently have Nagios 2.9 installed and has been running nicely for a few years. I want to migrate it off that old Linux server onto a new one. I've gotten Nagios 3.1.2 installed and running ...
6
votes
5answers
46k views

Is there a Windows 7 compatible IPSec VPN client that allows protocol and port specific rules?

I'm looking for a Windows 7 compatible IPSec VPN client that allows protocol and port specific rules as well as an aggressive mode. On Windows XP and Vista we've used SafeNet SoftRemote in which you ...
6
votes
1answer
7k views

Choosing a value for wait_timeout & interactive_timeout in MySQL config?

We have a live server that's being hit hard so we're tying to optimise everything we can. We ran the MySQLTuner script on it (http://mysqltuner.com/) which tells us we should set a value less than ...
6
votes
3answers
2k views

UTF-8 and !# shell scripts

Is there a way to configure bash on Linux (red hat and ubuntu) to allow shell scripts to be encoded in UTF-8? I can't find a simple way to change just one little thing and have the whole system just ...
6
votes
2answers
836 views

What are common strategies for configuration management on EC2?

Without using a 3rd party cloud configuration service, what are common patterns/strategies or whitepapers written on the subject of configuration management with EC2? Specifically on how to configure ...
6
votes
1answer
402 views

IIS server: how to dump IIS configuration into a single file

How to export/import configuration of my IIS server into/from a single file? The reason is that I want to put the configuration under version control system to track changes made by admins. Sultan