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

6
votes
2answers
6k 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
3answers
2k views

Nginx includes config files not in order?

Is the order in which Nginx includes configuration files fixed, or random? Apache explicitly states wildcard characters are expanded in alphabetical order. With Nginx it seems this does not apply, and ...
6
votes
1answer
8k views

Command to check validity of Apache server config files

Im looking for a command that checks the validity of the config files in apache server (both Debian and RHEL distros - need to do it prior to restart, so there will be no downtime). I cant quite ...
6
votes
1answer
11k views

Declaring multiple ports for the same VirtualHosts

Declare multiple ports for the same VirtualHosts: SSLStrictSNIVHostCheck off # Apache setup which will listen for and accept SSL connections on port 443. Listen 443 # Listen for virtual host requests ...
6
votes
1answer
271 views

What are compelling use cases for having both Chef/Puppet and RightScale/Scalr?

I was wondering about the differences between cloud computing management tools and server configuration software as there seems to be an overlap between them. I would like to have some feedback from ...
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
215 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
337 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
832 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
2answers
239 views

Should Production Windows Web Servers (IIS & SQL) be in a domain?

We have a few web servers and a few database servers. To date, they've been standalone machines that are not part of a domain. The web servers don't talk to each other, and the web servers talk to ...
6
votes
1answer
8k 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
926 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
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
3answers
610 views

How do I configure apache to accept a client ssl certificate (if present) or authenticate using ldap (if the cert is absent)?

I have an Apache server that serves up mercurial repositories and it currently authenticates using ldap credentials. I want to permit a single user (to start with) to use a SSL client certificate, ...
5
votes
2answers
8k 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
14k 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
3answers
6k views

Nginx set_real_ip_from AWS ELB load balancer address

I have a set of Nginx servers behind an Amazon ELB load balancer. I am using set_real_ip (from the HttpRealIpModule) so that I can access the originating client IP address on these servers (for ...
5
votes
3answers
4k 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
514 views

Config deployment on multiple servers

I have multiple servers in WEB cluster (identical configuration for all of them, despite the IP) How do you deploy changes in configs on multile servers? I make the new config, then create config ...
5
votes
2answers
5k views

Will changing applicationHost.config cause IIS7 restart?

If I make a change to the file: %windir%\system32\inetsrv\config\applicationHost.config and update it with a change resulting in a valid config, will it cause IIS7 to restart and force restarts on ...
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. ...
5
votes
2answers
2k views

How to fetch ./configure parameters used at last time?

I am upgrading LAMP stack on customer's server and need to ./configure mysql and apache with exact last settings they were compiled with last time. Where do I get these? PHP configure string can be ...
5
votes
1answer
2k views

Full status information in Nagios email notification?

I have set up Nagios to monitor my servers and I have written a few custion checks. When I get a notification email, I only get the first line of the status information and I have to use the web ...
5
votes
4answers
7k views

How to parse and convert ini file into bash array variables?

I'm trying to convert an ini file into bash array variables. The sample ini is as below: [foobar] session=foo path=/some/path [barfoo] session=bar path=/some/path so these become: ...
5
votes
2answers
638 views

Postfix server configuration values explained?

I am trying to setup a single server to send out email from a single domain but I'm having trouble identifying the correct values for these Postfix settings. mydomain = example.com myhostname = ...
5
votes
3answers
2k views

Is there any strong, well tested and general purpose puppet recipes-base to be used as starting point for customization?

I have configured a working cobbler system that successfully handles my bare metal server deployment and I'm going to start the configuration management issues using puppet (integrating it as much as ...
5
votes
5answers
2k views

How to deploy 10 new iMac and configure it programatically

What is the best and quicker way to deploy and customize a number of newly arrived iMacs (say 10 or more) using an already configured iMac, a DHCP/DNS server, a LAN and Remote Desktop installed on the ...
5
votes
1answer
14k views

How should I use the <If> directive in .htaccess?

I'm trying to add a conditional statement using Apache's If directive in my .htaccess file. I have referenced this page http://httpd.apache.org/docs/trunk/mod/core.html#if but it doesn't elaborate ...
5
votes
5answers
3k views

Inconsistent trailing slash in DOCUMENT_ROOT variable in PHP when using Apache

In different server environments, the PHP $_SERVER['DOCUMENT_ROOT'] super global sometimes has a trailing slash and sometimes it does not. I would have thought this issue is directly related to how ...
5
votes
3answers
9k views

PHP: what is --enable-zend-multibyte configure option for?

What is exactly --enable-zend-multibyte option for when you ./configure PHP?
5
votes
2answers
515 views

iptables SSH connection logging

Is it possible to only write a log-entry when a connection is established ? I have tried: iptables -I OUTPUT -p tcp --dport 22 -j LOG --log-level notice --log-prefix "outgoing ssh connection" to ...
5
votes
1answer
3k views

Allow anonymous user to only view job list without browsing workspace in Jenkins

We are running a Jenkins CI. Generally we would like to provide full access to authenticated users from particular group full-read access to anonymous users block anonymous users to access certain ...
5
votes
1answer
351 views

Is there a limit setting a php_admin_value in php-fpm?

I am trying to set a large value in the configuration of a pool in php-fpm, but at some point it just doesn't start anymore. php_admin_value[disable_functions] = ...
5
votes
2answers
134 views

debian, diff, config default

I want to know if is posible to get the diff on the original versus the current config files of installed debian packages. If found an answers which shows up the modified config files, but I find no ...
5
votes
1answer
801 views

Can I enable both peer and md5 authentication for the same PostgreSQL local user in pg_hba.conf?

I would like to let a PostgreSQL (super)user be authenticated with either the "peer" or "md5" authentication methods, preferably using local Unix domain sockets in both cases. The problem is that the ...
5
votes
4answers
6k views

Puppet : How to override / redefine outside child class (usecase and example detailled)

The use case i try to illustrate is when to declare some item (eq mysqld service) with a default configuration that could be included on every node (class stripdown in the example, for basenode), and ...
5
votes
5answers
1k views

What configuration changes do you make to a new Tomcat installation?

After installing Tomcat 5 what configuration changes/tweaks do you apply, and why? Be specific: name what files you edit, what settings you change and why you do it. Some areas of interest: ...
5
votes
2answers
3k views

Custom fail2ban Filter for phpMyadmin bruteforce attempts

In my quest to block excessive failed phpMyAdmin login attempts with fail2ban, I've created a script that logs said failed attempts to a file: /var/log/phpmyadmin_auth.log Custom log The format of ...
5
votes
4answers
7k views

PHP date.timezone warning

I keep getting this error: Message: date() [function.date]: It is not safe to rely on the system's timezone settings. You are required to use the date.timezone setting or the ...
5
votes
1answer
454 views

Viewing complete computed Apache httpd configuration?

Is there a command / tool to generate the computed configuration that Apache httpd is using? I know I can manually go through the httpd.conf and other configuration files, but is there a standard tool ...
5
votes
1answer
1k views

16 Cores 12 GB RAM Dedicated MySql Configuration

I have a dedicated 16 Cores 12 GB RAM Mysql server which is performing quite badly since I configure it for a 16 GB server and I guess that explains why in the world the site now takes more than 500 ...
5
votes
2answers
3k views

Merging variable with string in config file

I the have following setup in my conf file upload_set_form_field $upload_field_name.name "$upload_file_name"; But I want change chosen param name to: upload_set_form_field ...
5
votes
1answer
8k views

VMWare ESXi, change the default path for a VM

For some reason VMWare ESXi has decided that one of my VMs is on a completely different path to the path it is actually on. So my VM is on /vmfs/volumes/long-guid-here/my-vm-name but when I try to ...
5
votes
1answer
3k views

How to block Nginx access log statements from specific user agents

I am looking to turn off logging in the Nginx access log file from specific requests from http user agents. Basically from the Amazon ELB Health Check and our external (Pingdom) monitoring. Since ...
5
votes
1answer
2k views

Gitolite, how to include .conf file with a relative path?

I'm running a Gitolite server, and I was thinking of having 1 config file per repository. For now I've this gitolite.conf file: @php_dev = userA userB @int_dev = userC @lead = userD @admin = ...
5
votes
1answer
804 views

Is it possible to use one haproxy process to load-balance more than one protocol/port?

I've got haproxy to work for us. But right now there are two haproxy processes running. One for HTTP and the other for TCP (RTMP). I've tried to configure both proxies in one configuration file but ...