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

7
votes
1answer
12k 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
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
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
1answer
279 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
4k 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
216 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
1answer
5k views

Install & configure mod_ssl on Amazon EC2 instance

I am trying to support HTTPS traffic with the mod_ssl module on my website. I am running an Amazon EC2 instance for my server. I have installed and configured the basic LAMP packages. However, when I ...
6
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: ...
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
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
1answer
15k 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 ...
6
votes
2answers
243 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
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
1k 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
4k 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 ...
6
votes
1answer
905 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 ...
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
745 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
9k 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
15k 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
534 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
6k 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
8k 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
1answer
8k views

PostgreSQL pg_hba.conf problem adding a host?

I'm having a problem with configuring my postgresql server. I've installed PostgreSQL 9.0.2 on slackware 13.1x64 and it runs fine but I can't add a IP that could connect to PostgreSQL remotely. The ...
5
votes
2answers
681 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
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
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
2answers
614 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
2answers
13k views

Setup IIS 7.5 with multiple website bindings and SSL?

On IIS 7.5 I am trying to achieve this with two websites: Default Web Site is bound to: (blank host header port 80 - http) (blank host header port 443 - https) go.example.com www71.example.com the ...
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
1answer
385 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
142 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
118 views

Best way to restrict some SSH users to publickey authentication only (disable password authentication)

I'm running Mac OS X Server.app on Yosemite and I have SSH enabled for users with the default settings in /etc/sshd_config (publickey and password auth enabled by default). However, I need to ...
5
votes
2answers
4k 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
3answers
12k views

How do I get ubuntu to reconfigure /etc/network/interfaces for me?

How do I get Ubuntu to figure out the interfaces available on my computer and generate a new /etc/network/interfaces file? It created it the first time so I know it can somehow. Is there something ...
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
202 views

Securing the primary Ansible user

It seems that there are only two reasonable approaches for the primary Ansible user: Using root Using another user (e.g., ansible) with NOPASSWD sudo access The first option is a no-go since I ...
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
480 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
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 ...