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

47
votes
8answers
3k views

Why would I need a firewall if my server is well configured?

I admin a handful of cloud-based (VPS) servers for the company I work for. The servers are minimal ubuntu installs that run bits of LAMP stacks / inbound data collection (rsync). The data is large ...
29
votes
6answers
5k views

Automatically Configure New Computers

My company is in the process of upgrading all of our users from old Windows XP computers to newer quad-core Win7 computers. This is a good thing - it's long overdue that we upgrade our workstations - ...
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 ...
182
votes
13answers
67k views

Any benefit or detriment from removing a pagefile on an 8GB RAM machine?

I'm running Windows 7 on a dual core, x64 AMD with 8GB RAM. Do I even need a pagefile? Will removing it help or hurt performance? Would it make a difference if this is a server or a desktop? Does ...
9
votes
4answers
17k views

How do I set up per-site php.ini files on a LAMP server using NameVirtualHosts?

I have a LAMP server serving a number of different websites using NameVirtualHosts. Until recently having a global php.ini file has been just fine, but recently one of our developers has requested ...
128
votes
5answers
175k views

MySQL: Bind to more than one IP address?

Is there a secret way to bind MySQL to more than one IP address? As far as I can see the bind-address parameter in the my.cnf does not support more than one IP and you can't have it more than once.
9
votes
3answers
5k views

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 ...
38
votes
2answers
4k views

Why do I have to edit /etc/sudoers with visudo?

I've noticed that the sudoers file and cron config files act in a special way compared to other config files on Linux. They need to be edited with a special wrapper rather than any text editor. Why is ...
6
votes
3answers
3k 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 ...
13
votes
7answers
12k views

SQL Server Files Local or NAS or SAN?

I have to install a new Server with SQL Server 2008, What do you recommend, One server with Raid 10 or the Files in a NAS? What about iSCSI should I use it? What about SAN? The server has 4Gb of ...
1
vote
1answer
248 views

Postfix - sender dependent configuration based on client IP instead of email address

Using Postfix, I want to setup the transport according to the sender IP. There is sender_dependent_default_transport_maps, which does it according to the sender email address (envelope MAIL FROM). ...
0
votes
1answer
330 views

extend size of partition

I am asking for help on how to properly extend the size of partition Here is my situation. Running fdisk -l, give this result root@ ~]# fdisk -l Disk /dev/sda: 2000.3 GB, 2000398934016 bytes 255 ...
27
votes
7answers
28k views

Linux: how to restore config file using apt-get/aptitude?

I've occasionally lost my config file "/etc/mysql/my.cnf", and want to restore it. The file belongs to package mysql-common which is needed for some vital functionality so I can't just purge ...
19
votes
7answers
22k views

How do I run a local bash script on remote machines via ssh?

I am looking for a way to push configuration from one central machine to several remote machines without the need to install anything on the remote machines. The aim is to do something like you ...
7
votes
13answers
7k views

How Long Will A DNS Change Take

If I'm going to make a DNS change to an A record for my domain (changing from one IP to another), how long can I expect until people are moved over to the new info? Is it simply <= the TTL? I ...
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 ...
3
votes
2answers
7k views

Configuring ASP.NET MVC2 on Apache 2.2 using mod_aspdotnet

Trying to get an Microsoft MVC2 website to run on Apache 2.2 web server (running on Windows) that utilizes the mod_aspdotnet module. Have several ASP.NET Virtual Hosts running, trying to add another. ...
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 ...
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 ...
2
votes
3answers
8k views

IIS Configuration Synchronization for Web Server Farm?

I'm wondering if there is any good/easy way to get the IIS configurations synchronized? I'm going to be setting up a pair of IIS Servers with Network Load Balancing. I can get the data files (html, ...
2
votes
1answer
4k views

How to ignore a set of Mac addresses in dhcpd.conf?

Is it possible in dhcpd.conf to ignore requests from a set of MAC addresses? Something like this: host vminstances { hardware ethernet d0:0d:*; ignore booting; }
9
votes
4answers
13k 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: ...
2
votes
1answer
3k views

Saving/archiving IIS 7.5 settings for recovery etc

I am not an trained sysAdmin or network engineer, just a programmer who has picked up some knowledge over the years, and at the moment I find myself managing an IIS 7.5 deployment on WinServer 2008 ...
1
vote
2answers
2k views

Bonding Nics with Linux to get better performance

I am trying to bond two nics together to get better performance. I have two 1000MBps Intel Nics. When I had one nic I was running some benchmarks getting 106 MB/s. This is pretty close to 1GBps. So I ...
4
votes
2answers
2k views

Recompile NGINX with “--with-http_stub_status_module” configure line

I've installed NGINX with sudo apt-get install nginx and now I'd like to recompile it with the configure option --with-http_stub_status_module. How can I do this, and is there a way I can not loose ...
2
votes
3answers
17k views

How to switch proxy settings via script?

There are a number of users in our organization that use their laptops on multiple networks. Each network has its own proxy setting requirements for accessing the Internet and currently, the users ...
0
votes
2answers
1k views

How to log error queries in mysql?

I know that there is general_log that logs all queries, but I want to find out which query has an error, and get the error message. I have tried running an error query on purpose, but it logs as a ...
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 ...
3
votes
2answers
3k views

OpenVPN bad source address from client

I have one problem with OpenVPN. There are a lot drops records in the openvpn log file on the server: Mon Oct 22 10:14:41 2012 us=726541 laptop/ххх:1194 MULTI: bad source address from client ...
2
votes
1answer
592 views

Multicast accross the subnets

My application sends some UDP packets on a multicast address. In our office we have 3 subnets connected via routers. Sitting in my subnet I'm able to ping the IP of the other subnet. Will multicast ...
2
votes
2answers
129 views

What do I have to configure on my server to increase security from default?

I am setting up a Windows 2003 machine to host a website, are there any settings that I should pay special attention to in regards to security? In other words, is there dangerous default setting I ...
1
vote
1answer
552 views

php5-fpm configuration pm - (node) Process manager settings nodes in more layman terms

I have the following configuration for php-fpm [www] listen = 127.0.0.1:9000 listen.allowed_clients = 127.0.0.1 user = www-data group = www-data pm = dynamic pm.max_children = 50 pm.start_servers = ...
1
vote
2answers
979 views

SQL Server Remote Connections

I am at my wits end with trying to access a remote SQL Server 2008 R2 Express instance. Here are the following that I have tried. 1) I enabled remote connections in the instance properties. 2) I ...
0
votes
1answer
265 views

Serving a page whose URL ends in a slash with nginx

I want to make nginx serve an HTML file for /foobar/. I tried 2 configurations and neither worked. In Apache you do it like this: AliasMatch ^/foobar/$ /home/admin/foobar/foobar.html My first ...
0
votes
2answers
202 views

How to configure php5 on apache2.2?

I want to configure PHP5 on apache2.2 server. I added LoadModule php5_module "c:/php/php5apache2_2.dll" AddHandler application/x-httpd-php.php # configure the path to php.ini #PHPIniDir "c:/php" ...
0
votes
2answers
1k views

What does it mean to setup Postfix as “SMTP only”?

I am trying to setup Postfix a few different domains on a virtual host. I need to have email setup just to send out registration confirmations and new password requests. No one will have a mailbox on ...
0
votes
3answers
116 views

Selecting a webserver configuration

I have a website, which has grown from 10 visits per day, to 100 per day in couple of months, and now to about 800 unique visits per day. So far, I have been using a VPS with 512MB RAM, and shared ...
-1
votes
2answers
1k views

Do partitions needed to be unmounted when resizing a partition?

I have this article http://www.centos.org/docs/5/html/5.2/Deployment_Guide/s2-disk-storage-parted-resize-part.html which is not clear to me. And also someone told me that swap space does not need to ...
41
votes
1answer
19k views

ssh hostname returns “Bad owner or permissions on ~/.ssh/config”

When I try to ssh to another box, I get this strange error $ ssh hostname Bad owner or permissions on ~/.ssh/config But I made sure that I own and have rw permissions on the file: ls -la ~/.ssh/ ...
13
votes
11answers
5k views

How can I diff two config files?

I've got two snmpd.conf files, one on a server that works, and one that doesn't. How can I diff the two config files while stripping out irrelevant comments and newlines?
12
votes
5answers
14k views

How do you document windows server configurations?

I come from a Unix background where documenting the configuration of a service (email for example) could be as simple as grabbing a few text configuration files and a paragraph or 2 of explanatory ...
4
votes
2answers
7k views

QoS for Cisco Router to Prioritize Voice and Interactive Traffic

I have a Cisco 891W NATing Voice and Data to the internet over a 10mbit/2mbit connection. Voice traffic gets degraded when I upload large files. Pings time out as well. I tried to configure a QoS ...
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 ...
5
votes
2answers
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
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. ...
4
votes
1answer
333 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
5answers
6k 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 ...
1
vote
2answers
4k views

How to configure failover for JBoss AS 5?

I am currently an intern in my company. My boss basically wants me to perform a failover from a JBoss AS to another just for a proof of concept. Load balancing is not required as i am only required to ...
0
votes
6answers
4k views

cisco router : redirect any dns request to my own dns server

how I can redirect any DNS request from the client with my Cisco Router 2621XM. I want to redirect any dns request to my own dns server. So if the client has set the dns server in their ip address ...
9
votes
1answer
3k views

How to rotate log based on an interval unless log exceeds a certain size?

From the man page of logrotate: minsize size Log files are rotated when they grow bigger than size bytes, but not before the additionally specified time interval (daily, weekly, monthly, ...