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

4
votes
1answer
670 views

server handover document template - users, security settings (firewall,selinux), packages etc

As part of the handover of our linux application server automated builds I would like to produce a high level "handover document" which captures the key functions and config items. (This is more of a ...
4
votes
1answer
259 views

Mysql InnoDB table size performance

I have a table that is closely approaching 2 million records. This table stores a history of transactions. This is on a high traffic website but also the table is not accessed regularly. We ...
4
votes
2answers
379 views

What are the mandatory Linux kernel modules to run inside of ESXi

I'm used to rolling my own kernels for servers, as it nicely minimizes the number of exploits (and the resulting patches) to take care of. In a traditional (bare metal) world, the whole process is ...
4
votes
1answer
2k 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 ...
4
votes
1answer
2k views

How can I disable the “Do you want to allow this website to open a program on your computer?” warning for a specific program/moniker?

I've been playing with new URL monikers in Windows for a utility I'm working on. When I run the new URL from Start > Run, it just runs. If I send the URL to myself via Notes or enter it into the IE ...
4
votes
5answers
8k 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 ...
3
votes
4answers
3k 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 ...
3
votes
2answers
2k views

How can I programmatically change a static IP address?

I have a box running windows which I want to assign a static IP to but give remote access to change that IP (without giving complete access to the windows instllation). I want to run a little app or ...
3
votes
5answers
21k views

Find (or enable?!) php.ini on Ubuntu 10.10

Hiho! Today I leave my comfort zone and want to edit my php.ini file and... guest what? It doesn't exist! $ php --ini Configuration File (php.ini) Path: /usr/local/lib Loaded Configuration File: ...
3
votes
4answers
1k 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 ...
3
votes
3answers
330 views

How do you manage multiple similar Apache configurations?

Right now I'm using Mercurial to synchronize similar Apache configurations between the production and development servers. A patch queue on top of that adds in the changes and extra stuff required for ...
3
votes
4answers
1k views

How to config mysql-server for heavy load

Im in the process of setting up a new database server. I have been running a few mysql database servers before and it has been working okay. But i would like to hear the recommended setup for my ...
3
votes
2answers
177 views

Is it good to define localhost as 127.0.0.1 in your hosts file?

I just came across a server that does not respond to things like ping localhost or mysql -h localhost - I believe this is because localhost is not defined in the hosts file. On just about every ...
3
votes
5answers
217 views

Strip a single line out of many files

I am trying to remove a string from many text files on one of our servers. The string is identical across all these files and I can run: grep -r -l 'string' to get the file list but I am stuck ...
3
votes
1answer
3k views

How do I configure hardware raid in a Poweredge 2850?

I just bought a Dell Poweredge 2850 from Craigslist and for the most part I'm happy with it's $300 price-tag, but I cannot figure out where to configure the embedded hardware raid... I've seen online ...
3
votes
3answers
679 views

How to use cursor keys in vi under screen?

If you run vi/vim in screen, when you press a cursor in insert mode, you get a new line + a character, which is a pain. Configure vim to move around instead.
3
votes
3answers
1k views

Where is hgweb.cgi in the Mac OS X deployment of Mercurial?

I'd like to serve a CGI-based Mercurial repository from my OS X machine, but I cannot for the life of me find the hgweb.cgi file, which I assume is step 1 of the process. My Mercurial installation ...
3
votes
1answer
2k views

pam authentication failure, yet sudo and ssh work

I am unexperienced in regard to pam, so forgive me if this is a obvious problem or I give the wrong information. I have a gentoo server, I didn't configure. It does authentication via kerberos. The ...
3
votes
3answers
1k 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 ...
3
votes
3answers
2k views

Apache: VirtualHost *:80 — mixing * ports and non-* ports with a NameVirtualHost address is not supported

When I add the following line to /etc/apache2/apache2.conf, I get the error below after I restart apache: Include /usr/share/doc/apache2.2-common/examples/apache2/extra/httpd-vhosts.conf [Mon ...
3
votes
6answers
463 views

What is a preferred method for automatically configuring and setting up an Ubuntu instance?

I am tired of manually configuring instances of Ubuntu for testing web applications and for setting up workstations. I'm even more frustrated by the issues caused by inconsistent configurations. Is ...
3
votes
1answer
905 views

Mercurial set per user rights

I would like to set better user access to my mercurial repos trough the cgi web interface. This is my current hgweb.config : [web] contact = first.lastname description = HG Repos ...
3
votes
3answers
6k views

Why is my LAN saying “unidentified network”? (Help setting up server architecture)

as some of you may be aware, I'm currently involved in an on-going saga in getting our servers up and running. As pretty much a newb, I'm slowly making progress, but I've hit a stumbling block. ...
3
votes
4answers
6k views

How do I set the date format to ISO globally in Linux?

I would like to globally set the Linux date format to ISO, which looks roughly like this: YYYY-MM-DD HH:MM:SS 2009-03-16 15:20:00 With varying levels of detail, such as omitting time, seconds, etc. ...
3
votes
4answers
1k 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 ...
3
votes
2answers
129 views

Different level of configuration commands for different users

I'd like to allow junior staff to make certain changes to the configuration on our Cisco routers. I don't much like having to divulge the enable password, but if I can at least keep them to a few ...
3
votes
2answers
169 views

Is the new cn=config interface in OpenLDAP ready for production?

I recently began learning Samba and OpenLDAP, and have become increasingly frustrated with the apparent disconnect between the old configuration (using slapd.conf) and the new one using the cn=config ...
3
votes
2answers
2k views

unattended BIOS configuration for HP server (DL160SE G6)

We are having a big deployment of servers (DL160SE G6) and I need to find a way to configure their BIOS settings without going through the RBSU of each one - It would take too long. I am thinking ...
3
votes
3answers
3k views

Use git for multiple server configuration files

We have migrated a lot of source code over to git and are very happy with our current solution. We would like to have our server configuration files versioned on the same system, but there are a few ...
3
votes
1answer
9k 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 ...
3
votes
1answer
63 views

Why Postfix on Linux require a “-” character before the pathname?

I´ve found the following here: IMPORTANT: on Linux you need to put a "-" character before the pathname, e.g., -/var/log/maillog, otherwise the syslogd process will use more system resources than ...
3
votes
1answer
65 views

cannot restart php5-fpm

I've made some changes in the .ini files and wanted to restart php5-fpm. /etc/init.d/php5-fpm restart Jan 20 14:25:48.171577 [ERROR] bind() for address '/var/lib/php5-fpm/apps.sock' failed: ...
3
votes
4answers
544 views

Nginx rewrite rule “^/([a-z0-9]{32})\.png$” not working (used to work on Apache)

I have these rewrite rules (I tried both with no avail): location ~* "^/([a-z0-9]{32})\.png$" { rewrite ^ /index.php?page=log&id=$1 last; } and location ~* ...
3
votes
2answers
71 views

Autonegotiation on laptops for mobile users a must now?

I work in Unified Communications for a company with about 9000 desktops and laptops. I'm part of a team who is implementing and supporting things like Lync and Jabber Video and audio conferencing. ...
3
votes
1answer
45 views

BIND9 server types

I was configuring DNS on my server using BIND9, everything seems to work, but I have a question regarding my config file. I've ended up with this configuration in /etc/bind/named.conf.local zone ...
3
votes
2answers
671 views

How to restrict access to dynamically generated location in nginx?

My developers want to allow download some files only to users in lan. I said ok it's quite simple and I wrote changes to nginx config like this : location /restricteddir/download/file { ...
3
votes
1answer
619 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 ...
3
votes
1answer
187 views

Document and best practices for configuration of a dedicated server (Centos) to serve just one website

I have just bought a dedicated server and they provide me a IP address, access info as root and machive with Centos 5. I would like to serve my django app in that machine but because I have no ...
3
votes
2answers
167 views

Outbound IPv6 Trafic Fails

My hosting provider has supplied me with global static IPv6 for my machine. It appears that auto configuration has been successful and I can successfully ping my machine and tracepath6 appears to ...
3
votes
2answers
360 views

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

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

Apache redirect and set cache headers?

Doing a redirect in Apache is easy (mod_alias): RedirectMatch ^.*$ http://portal.example.com/ Setting cache headers is equally easy: Header set Cache-Control max-age=0 Header set Expires "Thu, 01 ...
3
votes
3answers
8k views

Why do I get “ignoring out-of-zone data” when restarting BIND

I've been using my own DNS server but then I moved to a third part DNS provider. Yesterday I wanted to go back to using my own DNS's and cancel this third party service. I've lowered TTL in current ...
3
votes
1answer
1k views

howto disable balancermembers by default

I'm using an Apache 2.2 loadbalancer like this <Proxy balancer://xxxx> BalancerMember ajp://host1:8009/xxxx BalancerMember ajp://host2:8009/xxxx BalancerMember ajp://host3:8009/xxxx ...
3
votes
3answers
442 views

How can I prevent an old Sun PC from freezing when its keyboard is unplugged?

I'm responsible for an old (5-10 yrs?) sun PC providing an important service. However, whenever the keyboard is disconnected, it stops everything it's running (even stops responding to pings), and ...
3
votes
2answers
854 views

Wireless configuration file

Vista now appears to support automatic wireless key distribution through USB disks. To see this in action, attempt to connect to a secure access point (that you don't have a key for) and when it asks ...
3
votes
2answers
74 views

How to atomically replace files in Apache?

When I replace served file (or modify symlink) and download this file simultaneously, Apache rarely (in small fraction of percent) responds with headers from old file, but with content from new file. ...
3
votes
1answer
59 views

Routing table configuration

Suppose having an routing table in which the default-route is missing can a router work without a default-route or the table is incomplete? and having these two entries is also legit or there is an ...
3
votes
1answer
3k 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 ...
3
votes
2answers
1k views

Nagios frontend w/ API to change configuration?

My workplace used to use Monarch (bundled in Groundwork Community Edition). I built a custom CGI that would update the configuration when changes happen in our database of hosts (separate ...
3
votes
2answers
139 views

Can anybody help me decipher this Nginx directive?

I am quite new to Nginx and I have just found the following directive in a Nginx configuration file: if (!-f $request_filename){ set $rule_1 1$rule_1; } While I can understand what the ...