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

166
votes
14answers
62k 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 ...
84
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 ...
35
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
3k 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 - ...
25
votes
4answers
61k 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 ...
25
votes
5answers
22k 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 ...
23
votes
5answers
4k 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?
18
votes
4answers
19k 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 ...
15
votes
4answers
8k 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 ...
13
votes
6answers
12k 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 ...
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
782 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
5k 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
5answers
11k 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
1k 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: ...
10
votes
2answers
1k 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
6answers
609 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
14k 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
8answers
12k 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 ...
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
4answers
2k 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 ...
8
votes
4answers
706 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
12k 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 ...
8
votes
4answers
4k 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
1answer
333 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
377 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 ...
6
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 ...
6
votes
4answers
8k 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
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
209 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
3answers
330 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
1answer
1k 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, ...
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
45k 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
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 ...
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
732 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
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
2answers
3k views

IIS7 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 Service ...
6
votes
1answer
275 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
6
votes
1answer
12k views

Configure PHP to use a proxy?

Using PHP 5.2.6 and need to configure it to use our forward proxy (which requires authentication be set) so that the PHP scripts can connect to the internet correctly. I see that PHP.INI in the 4 ...
6
votes
1answer
2k views

Restoring Printer Settings

We're trying to standardise our printing environment to provide consistent settings across our various print queues. To do this, we would like create a settings file per model of printer so that they ...
6
votes
5answers
7k views

How can you test that load balancing is working correctly?

We are rolling out our application suite onto different sites around North America and the United Kingdom. We have put a regional load balancers in place with ratios set to separate the load between ...
5
votes
2answers
7k views

Php.ini disable “Scan this dir for additional .ini files”?

I want to lock my php configuration and disable loading other php configurations rather than the default (which in my case is located at /usr/local/php/lib/php.ini) I want to disable the "Scan this ...
5
votes
4answers
10k views

Pros and cons of installing ESXi on a SSD vs USB flash drive?

I'm debating on doing an ESXi 4.1/5.0 installation on a USB stick or a pair of 32GB SATA II SSDs (RAID1 mirror). According to VMWare's documentation, when ESXi is booting it looks for a 4GB space for ...
5
votes
2answers
4k 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: ...
5
votes
3answers
3k views

How to clone computers to give each an unique computer name

Some software require each computer to have an unique name in the network. After cloning from an identical ghost image for each computer, each of the 100+ computers will have the same name. As a ...
5
votes
4answers
7k views

ubuntu server, ssh, write failed: broken pipe

I'm getting some bizarre behavior with Ubuntu Server 10.04 64bit on two of our new servers (both fresh installs). I have ubuntu server (same version) deployed on 4-5 other servers without this issue. ...