Questions tagged [configuration]

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.

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.

A configuration file is usually a text file associated with a specific software which describes the initial settings of the software. Some applications provide tools to generate configuration files.

Some computer programs only read their configuration files at startup. Others periodically check the configuration files for changes. Users can instruct some programs to re-read the configuration files and apply the changes to the current process, or indeed to read arbitrary files as a configuration file. There are no definitive standards or strong conventions.

2704 questions
22
votes
3 answers

What is needed to use anycast IPs?

So, there're a bunch of questions on SF about the uses and how anycast IPs are cool. My approach is something more practical. What specifically I need to have to use one of those addresses? Do I need to be an AS (Autonomous System)? If I want to…
coredump
  • 12,713
  • 2
  • 36
  • 56
21
votes
1 answer

How to specify several variables in the map directive of nginx

Well I have a slightly different question than this one: I don't want to map two variables at the same time, I want to map one variable using two others as parameters. Indeed I have read in the documentation about the map directive that: Before…
zezollo
  • 430
  • 1
  • 4
  • 10
21
votes
2 answers

How to migrate LDAP (database,schema,configuration) to other machine

I'm using openldap 2.4.40, and i need to migrate my existing ldap database, configuration, and schema (basically everything ldap server related) to a new machine. the problem is, I use cn=config configuration not the old slapd.conf file anymore. The…
J_LDAP
  • 608
  • 1
  • 6
  • 11
21
votes
3 answers

nginx failover without load balancing

I'm having trouble configuring nginx. I'm using nignx as a reverse proxy. I want to send my all requests to my first server. If the first server is down, I want to send requests to second server. In short, how can I have a failover solution without…
Serhat
  • 333
  • 1
  • 2
  • 6
21
votes
3 answers

Configure domain name in CentOS

How do I configure domain names in Cent OS? I am actually connecting to the servers via SSH remote terminal and I also have root credentials. Does configuring the /etc/sysconfig/network and /etc/hosts suffice? Would be great to have some steps or…
20
votes
8 answers

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 tag with the following settings:
rmiesen
  • 302
  • 1
  • 2
  • 6
20
votes
1 answer

Splitting long lines in a nginx configuration file

In order to not pass garbage to the back-end, I have a strict regex for a location directive. It looks like this: location ^~ "/(some|stuff|more|bar|etc(-testing)?)/[a-zA-Z0-9]+/...(more|restrict).ext { # other directives } I would like to fold…
Lekensteyn
  • 6,241
  • 6
  • 39
  • 55
20
votes
2 answers

nginx rewrite for an url with parameters

I have an URL of this type: http://www.example.com/?param1=val1¶m2=¶m3=val3¶m4=val4¶m5=val5 And I want to redirect it to this one: http://www.example.com/newparam/val3/val4 So I have tried this rewrite rule with no success: rewrite…
David Morales
  • 685
  • 1
  • 5
  • 14
18
votes
2 answers

nginx relative path to include

In an nginx conf file, is there any way to specify the include to another conf file relative to the current conf file? I would like to write: server { listen 80; server_name localhost; include "../apis/basic.conf"; ... }
Alex Rothberg
  • 481
  • 2
  • 4
  • 8
18
votes
3 answers

How to specify exceptions from wildcard settings in a logrotate configuration file?

For my logfiles I have the problem of all but one (or a few) files use the same configuration, while the rest has another one. I tried to realize this by giving a general configuration for all files and then overwriting this configuration for the…
MRA
  • 307
  • 1
  • 2
  • 8
18
votes
2 answers

What is the difference between "route" and "ip route"?

I tried to understand the networking tools on Linux. I am confused now about what I should use to manipulate the static routing: route or ip route?: route - show / manipulate the IP routing table ip - show / manipulate routing, devices, policy…
static
  • 341
  • 2
  • 4
  • 16
18
votes
4 answers

Is there a Linux kernel boot parameter to configure an IPv6 address?

I know there is a parameter named ip which lets you configure IPv4 addresses on the Linux kernel through the boot loader. That looks like the following: ip=192.0.2.1::192.0.2.62:255.255.255.192::eth0:none I'm looking for an equal parameter for IPv6…
aef
  • 1,745
  • 4
  • 25
  • 43
18
votes
1 answer

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 order of the entries in pg_hba.conf matters, and…
Zilk
  • 351
  • 4
  • 9
18
votes
4 answers

How do you conditionally include files in Nginx vhost?

In the lines below, I might have a site-specific configuration file that contains additional fastcgi_params unique to that site. If this file exists I want to load it. server { listen 80 default; server_name _; root…
Xeoncross
  • 4,449
  • 12
  • 43
  • 56
18
votes
7 answers

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…
Flint
  • 631
  • 5
  • 10
  • 18