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
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
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
894 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
2answers
10k views

How do I disable SSLv3 support in Apache Tomcat?

I am trying to reconfigure my Apache Tomcat server to only use TLSv1. However, it is still falling back to SSLv3 using certain browsers. I setup the <connector> tag with the following settings: ...
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
10k 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 ...
6
votes
3answers
576 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, ...
6
votes
0answers
7k views

OpenWrt Configuring Tagged and Untagged VLAN on the Same Port

I have installed OpenWrt on a MikroTik Routerboard RB750UP (AR7240 CPU with AR9330 built in switch). I have included additional details below, but my question is: How do I configure an untagged and ...
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
13k 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
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
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
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
2answers
626 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
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
13k 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
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
334 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
1answer
730 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
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
4answers
6k 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
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
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
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
788 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 ...
5
votes
1answer
926 views

Post-Installation Checklist for Windows Server 2008

I'm curious to know what folks standard post-installation checklist looks like for Windows Server 2008. I'm creating a virtual instance of 2k8 to use a base for other VMs in our test environment, so I ...
5
votes
3answers
248 views

How can I install my installed linux on another hardware too?

It's my state: I installed some apps on a linux server(ubuntu). Apps stack are development tools: -some of Atlassian product -SVN, USVN -Maven, Artifactory -Tomcat & ... My problem: I want to ...
4
votes
1answer
5k views

Do I need to restart/reload apache when adding a configuration file under /etc/httpd/conf.d

Do you need to restart/reload Apache when adding a configuration file under /etc/httpd/conf.d? I know that editing the httpd.conf need a restart or a reload but unsure if file placed in the conf.d ...
4
votes
2answers
5k 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 ...
4
votes
3answers
322 views

How to compare Active Directory on 2 Domain Controllers

Our Windows domain has 3 DCs. One of the DCs is replicating changes made on the other DCs but not replicating out any changes made on itself. We have no idea which has the most up-to-date AD so we ...
4
votes
5answers
5k views

Outgoing only SMTP server

I want to setup an outgoing only SMTP server on Debian, so my Web-applications will be able to send e-mails via it. I don't want to use another hosts because of security and customizability of my own ...
4
votes
3answers
498 views

Should I avoid using git to track individual files with separate history, such as in /var/named?

In January 2012 Randal Schwartz gave a talk called Introduction to Git that I very much enjoyed, but I was left confused about his admonition not to use git to track individual files with unrelated or ...
4
votes
2answers
198 views

Where are zfs settings written?

On FreeBSD 10.0, when one creates zfs partitions and configures where they are mounted (permissions, etc.), where is this information stored? /etc/fstab is largely empty. i.e.: $ zfs mount ...
4
votes
4answers
3k views

Install Trac Without Setting Up a VirtualHost in Apache?

I'm trying to set up Trac to test out it's functionality, and the only guides I can find online talk about setting up a VirtualHost. Right now I am under the impression that I need access to a DNS ...
4
votes
3answers
290 views

Is it an unsafe practice to symlink /etc conf files?

To manage the configuration of a server, I keep some configuration flies (located in /etc) under version control (in the home folder) and then symlink to them from their /etc locations: ...
4
votes
6answers
3k views

How to customize telnet login prompt on linux

When I run login command on debian, I get: hostname login: _ on RHEL5, Solaris or HP-UX I get: login: _ I need to be able to customize login: and password: prompts it on a Linux box. I can ...
4
votes
1answer
84 views

ntpd keeps adding local servers while being told not to

I'm configuring ntp inside a corporate network. I've done restrict default ignore restrict -6 default ignore and listed servers explicitly (I'm using public servers from pool.ntp.org). I also ...
4
votes
5answers
3k views

How to revert a configuration with puppet

I wrote a module which writes a configuration for rsyslog in /etc/rsyslog.d/60-custconfig.conf using puppet. When I add the module to the node, it works, but if I delete comment or delete the module ...
4
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 ...
4
votes
2answers
11k 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 ...
4
votes
2answers
413 views

Why doesn't changing my default name servers in WebHost Manager take effect? [closed]

I'm using cPanel/WHM 11.28.87, and when I go into "Basic cPanel & WHM Setup" in WebHost Manager and change my default nameservers at the bottom of the page, save, and re-open "Basic cPanel & ...
4
votes
1answer
3k views

nginx won't restart after update; config test fails with 'could not build the types_hash'

I just updated nginx to 0.8.50 (as provided by the nginx development PPA), but now I'm facing a problem. I can't restart my server anymore, as it says 'Testing nginx configuration: [emerg]: could not ...
4
votes
5answers
27k views

How can I configure TomCat Java options in a config file?

I'm trying to configure Java options passed into TomCat for a 3rd party application that I'm deploying. The instructions that the app provides are: Open the Tomcat configuration tool from the ...
4
votes
2answers
467 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 ...
4
votes
1answer
1k views

how to restore default configurations for dovecot

I have Dovecot 2.0.13 running on Ubuntu Server 11.10. While installing I configured it for my work requirements. Now I want to reconfigure it again but I don't know how to do that. I want to ...