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
1answer
13k 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
3k 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
2k 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
5answers
16k views

Apache2 configuration error: “<VirtualHost> was not closed” error

So I've already checked through my config file and I really can't see an instance where any tag hasn't been properly closed...but I keep getting this configuration error...Would you mind taking a look ...
5
votes
2answers
12k 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
23k 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
5answers
8k 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 ...
5
votes
2answers
4k views

What is the difference between using upstream and location for php-fpm?

I've been searching around but couldn't find a straight answer, if someone could please clarify this, would be greatly appreciated, thanks! location ~ \.php$ { try_files $uri = 404; ...
5
votes
3answers
6k 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
682 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
3answers
514 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: ...
5
votes
1answer
4k 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
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
1k 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
3k views

What is the difference between “route” and “ip route”?

I tried to understand the networking tools on linux. I am confused now about what should I use to manipulate the static routing: "route" or "ip route"?: route - show / manipulate the IP routing table ...
5
votes
3answers
4k views

Understanding exim configuration files

So, I want to understand what's going on with this Exim configuration directory. In /etc/exim4, there's: * exim4.conf.template * update-exim4.conf.conf * conf.d The conf.d has a mess of ...
5
votes
1answer
8k views

Restarting nginx keeps asking PEM pass phrase

I'm trying to reload nginx, I have a wildcard certificate for one domain which I got from namecheap, now I have moved it to my server, and assigned a nginx configuration rule with this: ...
5
votes
1answer
734 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
182 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
3k views

Optimize number of workers for several gunicorn instances

I'm configuring gunicorn (monitored by supervisord and behind an nginx frontend) and got a bit confused about the optimal number of processes to setup. In the documentation it is clearly explained ...
5
votes
1answer
3k views

IIS 7.5 (Express) applicationhost.config: Can a virtualDirectory's physicalPath be a relative path?

I'm configuring a site in applicationhost.config for IIS 7.5 Express: <site name="default" id="1" serverAutoStart="true"> <application path="/"> <virtualDirectory path="/" ...
5
votes
5answers
39k 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 ...
5
votes
1answer
683 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
1answer
523 views

How would you add a share to smb.conf via a script?

I'd like to script adding a share to a smb.conf file. My current script just appends it to the end of the file, but that's not ideal. I'd rather have something that will add a new share if it doesn't ...
5
votes
2answers
8k views

CentOS default ssl.conf file

Does anybody have a default ssl.conf file for the latest version of CentOS? I am trying to understand if I can use the auto-generated SSL certificate, but I accidentally overwrote it with another ...
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
431 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
1answer
1k views

postfix TLS configuration for incoming gmx-mail

I set up my mailserver with postfix 2.7.1 and dovecot 1.2.15 and everything seemed to work just fine, but now I found out that people using @gmx.net addresses cannot send emails to me and rather ...
5
votes
4answers
10k 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
5k views

ASP.NET custom configuration section declaration breaks IIS Manager Configuration Editor

I have a simple .NET custom configuration component that allows me to specify a custom configuration group and section in my ASP.NET 2.0 (the web project targets .NET Framework 3.5) web application's ...
5
votes
1answer
2k views

proxy pass based on query parameters in nginx

Is there a way to proxy pass based on query parameters? I need to proxy pass root url request to server A. But, if root url has certain query parameters i need to proxy pass to server B. How can i ...
5
votes
2answers
7k views

OpenVPN connection works but no gateway is assigned

i try to setup openvpn on a vps and I'm able to establish a connection to the server, but the gateway isn't assigned to the client. Here are my config files: client config: client dev tun proto ...
5
votes
1answer
2k views

adding a global URI prefix for Tomcat web apps

I am setting up a reverse proxy configuration where all requests whose path starts with '/apps/' should be proxied by Apache to Tomcat. This IMO has 2 benefits: it makes it possible to reserve ...
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
9k 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
4k 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
563 views

IIS Configuration Management… Alternatives to MSDeploy and Web Farm Framework?

In my experience both IIS Web Farm Framework and MSDeploy is doing a really poor job of managing configurations between servers. While the idea behind the Web Farm Framework and MSDeploy is awesome, ...
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
1k 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
1k 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
255 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 ...
5
votes
4answers
2k views

Creating a fallback error page for nginx when root directory does not exist

I have set up an any-domain config on my nginx server - to reduce the amount of work needed when I open a new site/domain. This config allows me to simply create a folder in /usr/share/nginx/sites/ ...
5
votes
2answers
3k views

Can't successfully run Sharepoint Foundation 2010 first time configuration

I'm trying to run the non-GUI version of configuration wizard using power shell because I would like to set config and admin database names. GUI wizard doesn't give you all possible options for ...
4
votes
4answers
4k views

Multiple domains (including www-“subdomain”) on apache?

after messing around a while I decided to ask here: I have a vhost and want to use 2 domains on this server. My apache configuration file looks something like this: NameVirtualHost * <VirtualHost ...
4
votes
1answer
788 views

Why do system administrators set the taskbar to not show the date and time on a server?

What is the point in specifically setting the date time not to show? It's so annoying when you are RDP'ed to a server in full screen to figure out the time. I'm not asking for a solution. I want to ...
4
votes
1answer
6k 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
9answers
1k views

Server configuration for small company

We're a small development company and we're currently looking for a server for our internal needs. The basic idea I came up with is that this machine will itself run nothing but VMWare or Virtual ...
4
votes
3answers
8k views

How do I avoid “already used by another worker” warning in an Apache2 reverse proxy config?

I added server matching ProxyPass and ProxyPassReverse entries, but I was getting "already used by another worker" [warn] messages upon start up. I have a proposed solution that's good enough for ...
4
votes
3answers
8k views

Any Problems with many NFS mounts?

We are currently considering a solution that results in a separate mount point for every user's home directory. Whereas we used to have at most a couple mounts per file server on a client, we now ...