10
votes
2answers
495 views

Is there a way to create a “one-time” boot entry in grub?

I have the following issue: I have a small server (Debian based) to which I can connect remotely (VPN/SSH connection). Now I want to change some boot options (in fact I want to migrate my root file ...
0
votes
0answers
36 views

Configure all hosts, then create a list of the config for all hosts?

I deployed a huge number of hosts with Ansible - which did work very nice. Each host got its individual settings and configuration. Now I'd like to generate a config file for another system that ...
2
votes
0answers
36 views

A testing framework for Linux server configuration management

We are a medium sized shop that uses Puppet for Linux configuration management. Since we are a small shop, it's difficult to deploy and maintain DTAP environment. We normally perform manual testing ...
1
vote
0answers
68 views

How Do I Configure Nginx To Communicate with SMTP Server?

I'm an application developer and have little knowledge on sysadmin / server configuration tasks. I have an nginx server communicating to a Flask web application through uWSGI on a VPS. I'm trying to ...
1
vote
0answers
40 views

Set git config for a group instead of user or systemwide

We have configured git config --system init.templatedir /path/ on our system to automatically create required githooks for each new repository created via git init. However, there is another group of ...
2
votes
1answer
38 views

Downsides of keeping host configuration files public?

I want to keep configuration for several of my hosts in mercurial and back it up, let's say, to bitbucket. Let's say, I have taken some precautions - tuned SSH to accept only keys, tuned pam to hash ...
0
votes
1answer
83 views

My virtual users can't Chroot()

I'm configuring a Proftp server in a Fedora 20 Linux server. All my real users are loging in perfectly but not the case with the virtual users. Virtaul users are in the SQL table and mod_sql.c is ...
0
votes
1answer
49 views

alias directive with nested location to catch php files - requests for php files giving 404

I have a directory/web app that is located outside of the web root directory of my site. Say the site is here: /var/www/site/htdocs/ And the external app is located here: /var/www/apps/coolapp/ ...
0
votes
1answer
49 views

What could make OpenLDAP ignore access restrictions?

I'm trying to configure a new installation of OpenLDAP (2.6.39) on Arch Linux. I've used the default core packages to install and configure it, however I cannot get it to obey any access control ...
0
votes
0answers
42 views

IP Failover - Configured, but disabled

I have multiple debian servers on which I configured "IP Failovers" or "Floating IPs". My floating IP is 10.0.0.2 and I have an A records: www.example.com pointing to this IP. I configured this ...
0
votes
0answers
127 views

VSFTPD Multiple file upload fails

I tried to configure a local web server on a virtual machine for our online-shop software, but I'm stuck at configuring the FTP Server. For most use-cases the server works correctly and nearly ...
0
votes
0answers
85 views

OpenLdap- make test fails

I am trying to configure and install an ldap server following this guide. I am stuck on step 6, make test. it fails on the first test with the following message: cd tests; make test make[1]: Entering ...
0
votes
0answers
35 views

HAProxy overload protection

using the HAProxy, would it be possible to configure an overload protection, to limit the amount of requests sent to the backing http server(s) to a given rate (z.B 100 Request per second ). If the ...
0
votes
0answers
32 views

nginx mix files from multiple locations

I've been finding a way to do this, that will allow me to have a physical instance of say wordpress, so that I only need to update it once, and will reflect on all other servers. Any insights would be ...
1
vote
1answer
303 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; ...
2
votes
3answers
115 views

Why use /home instead of /var?

I have seen many tutorials and real life configurations using /home to keep logs or even websites instead of leaving things in /var/logs or /var/www. Why?
1
vote
1answer
81 views

What does “with domain specs non-public dns” mean?

I am configuring DNSMASQ to utilize upstream nameservers without using /etc/resolv.conf with the server= option. What I don't quite understand is what domain spec mean in the following sentence? ...
1
vote
3answers
70 views

Is there a standard way to keep modified Linux configuration files separate and identifiable?

NOTE This is a copy of a closed question from Stack Overflow, and a constructive version, I feel, of a similar question in Server Fault. Often I need to edit many configuration files under /etc, ...
1
vote
0answers
178 views

Debian - Persistent tape binding

I have a problem, whenever the library is rebooted, a cartdrige is mounted, or any operation, Linux is changing path for library, making it unavailable to automate backup procesing, it is even worst ...
3
votes
2answers
1k views

What is the different usages for sites-available vs the conf.d directory for nginx

I have some experience using linux but none using nginx. I have been tasked with researching load-balancing options for an application server. I have used apt-get to install nginx and all seems ...
1
vote
1answer
117 views

How can I configure Cyrus IMAP to submit a default realm to SASL?

I have configured Postfix to work with SASL using plain text, where the former automatically submits a default realm to the latter when requesting authentication. Assuming the domain name is ...
0
votes
0answers
115 views

Squid proxy server not forwarding traffic

I'm trying to set up a web filtering system (dans guardian) on my home network but am failing at the first hurdle - configuring the Squid Proxy server. No matter what I do I cannot seem to configure ...
2
votes
4answers
327 views

Efficient server configuration for imagemagick

I am operating a system with heavy image editing processed by imagemagick. Now for a new server I was wondering which system requirements are most important to boost performance of imagemagick and ...
3
votes
3answers
728 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/ ...
0
votes
1answer
296 views

How to copy the appropriate config file, with CHEF, in a recipe?

I'm starting to learn how develop recipes to chef. I need to install Ganglia Monitor in some servers (or nodes in ganglia literature). So that's why I'm checking if the plataform is ubuntu, centOS and ...
3
votes
1answer
68 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 ...
0
votes
1answer
483 views

Postfix: 550 No Such Domain at this Location

I am trying to configure Postfix on a Linux server to only send outbound mail. I have followed the null client tutorial and my Postfix settings are set according to that tutorial. The email is ...
-2
votes
1answer
65 views

auto install and create linux image [closed]

I am very new to sysadmin we have a webapp and it is runs on a standard linux distro . afer that we install bunch of things i.e. lamp type stakcs and some other software this creates a golden ...
1
vote
1answer
355 views

Can't compile PHP with Sybase

Trying to compile Sybase with PHP 5.4.13 in Linux version 3.2.0-4-686-pae (debian-kernel@lists.debian.org) (gcc version 4.6.3 (Debian 4.6.3-14) ) #1 SMP Debian 3.2.35-2 # apt-get install freetds-dev ...
0
votes
3answers
4k views

How to configure a real domain name for sender address

I tried to sending out an email using php mail() function but it failed somehow, complaining that a real domain name is required. The following is observed in the maillog: sendmail 4984 r25984: ...
3
votes
2answers
909 views

Apache / httpd not starting automatically on boot

I have apache2 installed on Amazon Linux AMI release 2012.03. I'm able to start it manually just fine, without any errors using /etc/init.d/httpd start. However, it doesn't start automatically when ...
1
vote
2answers
36 views

Make Apache2 skip problematic configs?

Is there a way to make Apache2 skip configuration files or segments if they lead to errors? For example, if I have specified a <VirtualHost></> but the defined path doesn't exist anymore. ...
2
votes
1answer
507 views

How to install NewRelic on Plesk server, so it would automatically divide different domains into different apps?

I have a dedicated server, which hosts 30+ domains. I use Plesk 11 for hosting management, also user creation, databases etc. I would like to see NewRelic Lite reports per domain, and I think it is ...
3
votes
1answer
179 views

Is there any difference running dhcrelay with multiple process or single process?

I want to ask about dhcreay running mechanism. We can run dhcrelay with two command, then it will run as 2 process dhcrelay -i eth3 172.16.17.3 dhcrelay -i eth1 172.16.17.5 #ps ax | grep dhcre 26464 ...
0
votes
1answer
140 views

Server Recovery from Denial of Service

I'm looking at a server that might be misconfigured to handle Denial of Service. The database was knocked offline after the attack, and was unable to restart itself after it failed to restart when the ...
-1
votes
2answers
896 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 ...
0
votes
3answers
109 views

How to know which disk partition is mysql and domain/php/web files is installed?

I want to ask what ssh command or any way I will know which disk partition is mysql and php is installed? Thanks.
-1
votes
1answer
242 views

Edit a file on CentOS 6.3 Minimal [closed]

I installed CentOS 6.3 Minimal on VMWare Player, and I realized how 'minimal' the setup is... Don't have network connectivity. From what I searched on google, I need to edit the file ...
12
votes
2answers
1k views

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: ...
0
votes
2answers
113 views

Linux: how to verify my network configuration before doing a restart

I am trying to build a network bridge for my VMs on a server. So I added a new file and changed another in the /etc/sysconfig/network-scripts directory. Then I did a network reboot with the ...
2
votes
2answers
2k 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 ...
0
votes
2answers
50 views

Creating a new RAID1 array more quickly

I'm new to RAID. Creating a new RAID1 array from blank, newly-partitioned 100GB disks with sudo mdadm --create --verbose /dev/md0 --level=mirror --raid-devices=2 /dev/xvdf1 /dev/xvdg1 ...looks to ...
1
vote
2answers
88 views

Do you keep track of the programs you compile under unix or linux

Do you keep track of the programs you compile and install? If yes, what do you keep, the configure output, the install output? Is there some "best practice" regarding this matter?
1
vote
1answer
879 views

Cent OS ifcfg configuration for ranges of IP's with different netmask

I have 1 set of 30 public IP's with a netmask of 255.255.255.0 and another set of 30 IP's with a netmask of 255.255.255.128. Both sets of IP's also have different gateways. How can I virtually assign ...
-1
votes
3answers
1k views

mailman web UI on localhost with apache2

I'm interested only in running mailman on localhost and would like access to the web interface, as per https://help.ubuntu.com/community/Mailman, but am getting 404, after following Michaels ...
0
votes
2answers
54 views

Redirecting domain to a folder

I have a domain www.mydomain.com. It is hosted on Apache. When I hit this domain, it takes me to the Apache default page. Now my domain works as follows: www.domain.com/support ...
3
votes
2answers
762 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 { ...
0
votes
1answer
413 views

FastCGI SCRIPT_FILENAME causing 500 HTTP error, is this a bug?

As I'm struggling for 8 hours to make Nginx works, I (finally) tracked the problem and eventually found it. I was getting HTTP 500 ERROR (Internal Server Error). I manipulated the configurations for ...
1
vote
1answer
334 views

How to organize Bacula config files for about 100 servers

I'm testing bacula and I'm going to make of it my central backup & restore system. I'm testing configuration, backuping & restoring remote host and etc. The configuration is one file and when ...
0
votes
1answer
54 views

Use the Fedora Yum command after installation, how to configure

When i use command "yum install exlipse*"after installtion, display eclipse-cdt,but in eclipse cannot edit C/C++ project, not clear when Yum after general to eclipse do configuration