-2
votes
2answers
34 views

How can I estimate the request/second my server is capable of? [closed]

I recently built my own server to help me learn linux, Ubuntu and related technologies and to serve some small website projects I have been producing. How can I estimate the requests per second that ...
1
vote
1answer
28 views

Setting up root directory of nginx in Fedora 19

So I had nginx set-up with the default site. I decided I wanted to change because my website is at /var/www/site/... so before I changed again, I went to 127.0.0.1 to see if everything worked. I did. ...
0
votes
1answer
55 views

How can I host Ruby and PHP applications on the same server? [closed]

I have a ruby application that I run on a VPS at DigitalOcean. I also have some PHP applications that I use regularly running on a different VPS at Linode. When I deploy the ruby application and start ...
0
votes
0answers
37 views

Who or what is writing suspicious files in /tmp [duplicate]

Some hacker has managed to poke around enough to write files to my /tmp directory on a hardened CentOS 6 web server box. As far as I can tell they haven't succeeded in anything other than writing ...
0
votes
1answer
85 views

Attacks to my server? [closed]

I've a VPS running a website. I've a logwatch set in the server, and I've received several alerts like: A total of 2 sites probed the server 31.4.180.163 88.1.154.211 Requests ...
-1
votes
1answer
59 views

Helpful linux command for do some forensic on compromised linux web server [duplicate]

What are helpful linux command for do some forensic on compromised linux web server for giving out sort of information/evidence/backtrace? for example checking log, checking last file edit, suspicious ...
0
votes
0answers
20 views

Cannot access / on server [closed]

I'm currently transferring a clients site over to our server, including the domain so it has the same URL etc. But upon transferring all the files over, and changing the .htaccess file to match the ...
0
votes
2answers
91 views

Possible Heartbleed Compromise recovery [duplicate]

I have a web-server, (complete with user account and payment system), that was vulnerable to the Heartbleed attack. What I'm wondering is: How can I detect if my server has been compromised? How do ...
0
votes
2answers
127 views

File synchronization between local server and a remote web server

I have a local(in office) web server which acts as a testing platform for my website. Also its working as a SVN server to manage my websites code. Also there's a remote web server where my actual web ...
3
votes
1answer
114 views

Apache upgrade strategy

I'm on CentOS 6.5 and Apache 2.2.15. I wanted my httpd to be up to date so I did: yum update httpd After that it is still version 2.2.15, but latest version is 2.2.22. I also see security updates ...
1
vote
1answer
782 views

getpwnam(“www”) failed in /etc/nginx/nginx.conf

I copied the nginx.conf sample onto my ubuntu 12.04 box (I don't know where to put the other conf files. I'm an nginx noob). When I try to start nginx I get the following error: ...
0
votes
2answers
161 views

How to make Nginx virtual host work? (page not found) [closed]

Running Ubuntu 13.10 in VirtualBox. I've put my website in this folder: http://i.stack.imgur.com/YYhcJ.jpg And created the log folder on /srv/www/streamsy.com/logs/. I've done these steps: sudo ...
0
votes
1answer
63 views

Changing file permissions on web server to follow Least Privilege Security Principle: chmod 750 -R /

I'm not sure what details are relevant, but here is some general context. I'm configuring a Ubuntu 12.04 web server on AWS to process customer payment info before redirecting them to a hosted ...
1
vote
2answers
33 views

Limiting MySQL User to connect from Second interface

The web server and the MySQL servers have a second interface on a network with no public internet access. How can a MySQL user be restricted to connect only from within the private network and ...
-2
votes
1answer
376 views

Apache web server is not working [closed]

To apache web server installation process i followed below mentioned steps tar xzf httpd-2.4.7.tar.gz ./configure make make install all the above steps execited. But when i trying to know the ...
0
votes
1answer
96 views

Cent OS webserver unreachable (SSH or HTTP and Ping timeout) after YUM update

I have recently tried to update my Cent OS web server with YUM update which was interrupted. This caused some issues and took there server offline. See the following question for details of this: ...
0
votes
1answer
178 views

kernel-firmware is a duplicate with kernel-firmware Cent OS YUM

I am having isssues getting my server to run after yum update was interrupted. When trying to complete the yum update I am getting the following response. [root@RESCUE-web yum.repos.d]# sudo yum ...
0
votes
1answer
901 views

Sendmail won't send email to same domain

I have seen many references to this problem on server fault and all over the internet, but none of the solutions has fixed my problem. I am running Sendmail 8.14.4 on Ubuntu 13.10, this is a ...
0
votes
3answers
110 views

Setting up a linux web server, noobs basic operation

This question might be an odd one to ask. However I'm a noob on linux/networking and trying to set my old Ubuntu desktop running computer as a web server and place that in my server cabinet which will ...
0
votes
1answer
67 views

folder permissions for linux webhost (ubuntu)

I have a VPS running ubuntu 12.04 that is hosting about 9 sites which are a mix of wordpress and joomla (latest versions). Apache runs under www-data and sites are hosted as virtualhost under ...
0
votes
1answer
41 views

Run Exchange server and Linux webserver on “one” IP address

I currently have an Exchange server on my network but am looking to step away from the whole Microsoft ecosystem. I would like to setup a Linux webserver on my network and host all my sites on there ...
1
vote
1answer
55 views

Web operations - Daily Maintenance and tiered support

I am tasked with "operationalizing" some of the web tasks at my job so that the ops team can do some of the first tier support. This includes pushing updates to the web server and other non-automated ...
2
votes
2answers
1k views

Nginx error page with JSON response

I'm trying to serve a maintenance page to clients making request to my application when it is under maintenance. Following is my nginx configuration for that purpose. server { recursive_error_pages ...
-1
votes
1answer
61 views

How to set up a server without a hosting control panel [closed]

Question cannot easily be narrowed so has been removed - please delete.
0
votes
4answers
115 views

Upgrade to latest tomcat/ JRE or stick with what's provided by LTS?

Running a server with Ubuntu 12.04 which ships Tomcat 7.0.26. Should I care about updating the tomcat installation to latest 7.0.42 version or should I stick with what's provided? If I stick then am I ...
1
vote
3answers
73 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
3answers
80 views

Advice on root account and ports ubuntu server

I've recently launched a website that's only been online 2 days, just checked the auth.log and already there are multiple login attempts being made from an IP based in Asia. I've changed my own user ...
4
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 ...
0
votes
1answer
52 views

Nginx Virtual Host alternative

Is it possible to setup virtual hosts without using the sites-enabled and sites-available directories? I am able to setup it up using those 2 directories but since the Centos install doesn't come ...
0
votes
1answer
220 views

WHM/CPanel system applying a per-user MySQL resource limit

Through testing of our server, I have come to the conclusion that our server is somehow limiting usage per user to MySQL. When I run mysqltuner.pl, the script pegs one of the processors for several ...
0
votes
1answer
60 views

Force Server to Change Load Average

Recently we got a server with Limestone Networks to operate as a worker in our web-cluster. The main infrastructure behind the cluster (being the database and load balancer) are located in Phoenix ...
1
vote
1answer
392 views

Errors whilst installing kolab

i'm struggling for the past 2 days please help me anyone... [root@mail /]# setup-kolab Please supply a password for the LDAP administrator user 'admin', used to login to the graphical console of 389 ...
0
votes
1answer
67 views

Network request intercept preventing local connections

I'm experiencing a really weird issue on my Ubuntu 10.04 web server where something appears to be intercepting my network requests. Most importantly it's preventing me from performing local ...
4
votes
3answers
822 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
0answers
77 views

Lighttpd & Scientific Linux

Not sure if this is the best place to ask a general question ... (please feel free to delete it if it's not appropriate for this forum. or let me know if there's a more appropriate forum, thanks) At ...
0
votes
0answers
258 views

nginx: How to debug an issue with port 80? (nginx-related)

I have been having trouble debugging my issues on my own local port 80 listeners when trying to set up an nginx webserver. I am simply just trying to see the vanilla "welcome to nginx" start page and ...
1
vote
2answers
825 views

Recommended Partitioning Debian7 Web Server [duplicate]

I am web developper and now I am running a VPS. I always work on my own machine, I have handled various Linux distributions but never a production server. I have created a VPS with 1Gb RAM and 100Gb ...
0
votes
1answer
131 views

How to check what process is blocking local linux server (Slackware)

I have a Slackware linux server at my work. This is network, database and web server. Our main web application is used as a backend application to administrate our public website (which is frequently ...
1
vote
0answers
68 views

ps x shows weird command: -f html/index.php

Just went to check one of my websites and was greeted by the message: "CGIWrap Error: Real UID could not be changed!". Went in via SSH and tried "ps x" which showed me tons of processes that that ...
1
vote
1answer
71 views

Linux Program For Stress Testing Current Website [duplicate]

I'm evolved in a project and the server cost's we're using are going to be based on a number of different factors. One of those factors are how many cores we need for the website. If there a ...
2
votes
2answers
798 views

How do I protect an Apache (in LAMP) install against the Apache Linux/Cdorked.A backdoor?

Just like the title asks, what can I do to protect against infection by the Apache Linux/Cdorked.A backdoor?
-1
votes
1answer
298 views

how to restore public_html folder in cpanel? [closed]

I have accidentally deleted public_html folder in cpanel. I don't have local backup of public_html folder. How can I recover my files?
1
vote
1answer
54 views

SSH access a remote server through 2 other servers

I would like to keep checking a log file(named myapp.log) located on a remote web server & keep the up-to-date content of this file showing to me (by using the linux command tail -f myapp.log). ...
1
vote
1answer
2k views

socket file descriptor (1063) is larger than FD_SETSIZE (1024), you probably need to rebuild Apache with a larger FD_SETSIZE

My Apache is throwing Internal Server Error 500 errors and logs like this: > [Sun Apr 07 23:35:24 2013] [error] [client 124.162.30.45] (2)No such > file or directory: FastCGI: failed to connect ...
0
votes
0answers
76 views

Force Apache to download all media files

I'm using the following to filter out MP3 files to force them to download - is they a simple way to force download of all media files. Rather then copy the code base below for a different media type ...
0
votes
1answer
84 views

Tomcat vulnerability patching

I had a tomcat vulnerability scan in my linux server and report came as Important: Authentication bypass and information disclosure (CVE-2011-3190) .My apache tomcat is of version 6.0.24. tomcat ...
0
votes
2answers
160 views

PHP-FPM with apache

Is it possible to run PHP-FPM with Apache or is that a nginx only option? Looking for ways to use apache and keep .htaccess but gain better php performance like able to take more reqs per sec. ...
0
votes
1answer
1k views

How to understand random 500 internal errors in Nginx?

Our server is showing a lot of 500 internal error pages for random requests. We know the app is working because our code is unit tested. The server setup is Nginx with Unicorn running a single Rails ...
0
votes
1answer
75 views

Is this all I need to deny an IP in nginx?

I am trying to block and redirect all traffic to a website. Is this the correct way to do it? EDIT: I would like to block some ranges of IPs and redirect them to a URL. EDIT: By blocking in nginx ...
0
votes
2answers
359 views

How to set maximum directory size on apache server? [closed]

I create FTP users with a php script. I would like to give my users unique FTP folders. However I would like to limit the folders sizes to 1024MB/folder. How can I limit a folder size? I use proftp ...