Tag Info

Hot answers tagged

24

Simply put.. HaProxy is the best opensource loadbalancer on the market. Varnish is the best opensource static file cacher on the market. Nginx is the best opensource webserver on the market. (of course this is my and many other peoples opinion) But generally.. not all queries go through the entire stack.. Everything goes through haproxy and ...


13

Pros of using a Mac Mini as a server None Cons of using a Mac Mini as a server No redundancy No rackability No hardware battery-backed RAID Not serviceable Non-ECC memory Crap cooling Not built for load Not scalable Poor support under non-Mac operating systems What, then? There are many, many places where you can get dedicated servers for $200 or less ...


12

I have done exactly what you speak of before. I found the industry has a very strong barrier to entry, but here is what I did. Rented a dedicated server with a control panel, in my case Plesk (linux or windows) Bought a domain name to be the "home" of my hosting business The server you buy will likely come with 4-7 IP addresses, you can use these to ...


12

Your DNS should not change very often in the first place. Many DNS server do not honor your TTL "request" and impose their own policy. If you're going to make a chage, set the TTL lower weeks before the change. Normally having a long TTL helps reduce load on your authoritative server(s) and adds a bit of time to clients accessing your site. I commonly use ...


11

I suggest you reevaluate your reasons for wanting to go the commercial route rather than using an opensource solution such as Squid. Squid is used by many large ISPs worldwide and is quite likely the most mature web cache and proxy available. Apart from the cost benefit of not requiring any license fees, Squid has an active community and hundreds of code ...


11

A domain that serves no cookies. The idea here is that you use a cookie-free domain to serve images, CSS files, scripts and whatnot, so that your users don't waste time and bandwidth transmitting cookies for them. SO uses sstatic.net for the purpose, for example. The main reason the concept is of any note is that most people can't use a subdomain of their ...


11

Depending on your version of chmod, you may be able to do this: chmod -R . ug+rwX,o+rX,o-w Note the capital X. This sets the executable bit on directories and files that already have any of the execute bit already set. Note that you can only use capital X with '+', not '=' or '-'.


10

It's true that the 3 tools share common features. Most setups are fine with any combination of 2 among the 3. It depends what their main purpose is. It's common to accept to sacrifice some caching if you know your application server is fast on statics (eg: nginx). It's common to sacrifice some load balancing features if you're going to install tens or ...


9

There are many methods for scaling web applications and the supporting infrastructure. Cal Henderson wrote a good book on the subject called "Building Scalable Web Sites". It was based on his experiences with Flickr. Unless you grow slowly you will run into the same kinds of growth issues many others have seen. Scaling is, like many other subjects, a ...


8

Maybe Gosa will fit... I haven't try it yet but it's on my TODO. From the homepage it says: GOsa² provides a powerful GPL'ed framework for managing accounts and systems in LDAP databases. Using GOsa² allows system administrators to easily manage users and groups, fat and thin clients, applications, phones and faxes, mail distribution lists ...


8

Squid doesn't care what type of system is initiating web traffic, so you can just continue to use Squid, although there is a Windows port if you want to run Squid on Windows for some reason (http://squid.acmeconsulting.it/SquidNT26.html). If you are looking to become a Microsoft shop, then Internet Security and Acceleration Server (more commonly known as ...


7

The cause of this problem is that in EU countries (and certain other TLDs outside the USA), nameserver records are typically cached for more than 1 day. SBS2008 has a cap on the maximum time that it will allow nameserver records to be cached, which defaults to 1 day. This default works fine in the USA but When the .uk and .eu records become stale, they are ...


7

It's not quite what you think. Heroku is not serving up multiple SSL certs on a single IP address. If you perform an nslookup against different Hostname SSL deployments, for example, you will find that they each point to a different Amazon ELB. Therein lies the secret sauce. When a customer requests Hostname-based SSL, an ELB is provisioned for them and ...


7

as per uSlackr. It appears that currently both of your name servers are not answering.. qweop.com. 172800 IN NS ns01.000webhost.com. qweop.com. 172800 IN NS ns02.000webhost.com. ;; Received 108 bytes from 192.42.93.30#53(g.gtld-servers.net) in 83 ms ;; connection timed out; no servers could be reached` It probably works for you, since ...


6

Anecdote alert From personal experience it's the sites that I don't access very often where I forget my password and have to access the "forgot my password" flow. For sites I access frequently I can remember them. So make sure that the pages are very friendly for the occasional user. So from my small sample of 1 the usage rate would be inversely related ...


6

I would recommend you try to use whatever is going to be used when the application goes into production. From my experience that is probably going to be CentOS if it hasn't been decided yet. For the most part though, if the application is put together intelligently and doesn't need to be closely tied to the system it like won't matter. You will probably ...


6

I also looked at this on the Nginx wiki and other blogs and the best way performance wise is to do the following: To redirect from www.example.com to example.com using nginx (version 1.0.12 at time of writing). server { server_name www.example.com; rewrite ^ $scheme://example.com$request_uri permanent; # permanent sends a 301 redirect whereas ...


5

I'm person who receives enjoyment from my car, and knowing how it works, and what everything does. I drive a manual because I enjoy the ability to be able to control the power delivery of the car more accurately, and I love being able to put the back end out with a good push of my right hoof. My wife on the other hand, just wants to get to work and back ...


5

I think Nagios is the best way to Monitor all stuff on a server/s :) Nagios With nagios you can monitor your server/s with plugins .. you use ssh smtp or web based solutions and if no plugin is aviable write your own one Nagios gives you a very great web based monitoring tool: With Nagios you can: Monitor your entire IT infrastructure Spot ...


5

RhodeCode is a great Bitbucket-like tool you can install yourself. I like it: it's under heavy development but is already very feature full. I recently installed it for a client and they see good performance with it. They are ~65 developers and have ~50 machines in a build farm that pull from the RhodeCode server.


5

SCM-Manager: The easiest way to share and manage your Git, Mercurial and Subversion repositories over http. Very easy installation No need to hack configuration files, SCM-Manager is completely configureable from its Web-Interface No Apache and no database installation is required Central user, group and permission management Out of the ...


4

Well, 1.1.1.1 is an IP address. As far as who it is - it's public address space that bad internet citizens tend to use as a placeholder: inetnum: 1.1.1.0 - 1.1.1.255 netname: Debogon-prefix descr: APNIC Debogon Project descr: APNIC Pty Ltd country: AU admin-c: AR302-AP tech-c: AR302-AP mnt-by: ...


4

In this particular case, I get the same behavior (And my connection is safe). Blogspot doesn't support HTTPS, so you're getting a certificate for another Google product, which is then dumping you back at the homepage because the cert and the site name don't match up. If you're concerned about your traffic being intercepted, then I'd say use a VPN.


4

After some digging around and some missteps, here is the solution. The gotcha I ran into is to make sure to use "http://example.com$uri". Inserting a / in front of $uri results in a redirect to http://example.com// server { listen 80; server_name www.example.com; rewrite ^ http://example.com$uri permanent; } # the server directive is ...


4

[reverse DNS result]: you've been identified as a robot operating in violation of the guidelines posted at arxiv.org. If this determination is in error, please report to www-admin@arxiv.org so your problem can be investigated. Scanning, Initialized: 10 minutes to Trinity... 9 minutes to Trinity... 8 minutes to Trinity... 7 minutes to Trinity... 6 ...


4

Mac mini are not the fastest computer around and have no redundancy. They take up very little space, don't use a lot of electricity, and are not very expensive. They may be an option to start with, but at some point you'll probably need to consider switching to a faster system. It seems like storage may be the biggest bottle-neck, but that could be ...


4

You could use Nagios. There is a check_http plugin that you could use multiple times. Give one instance a url of http://myserver/, another of http://myserver/apparel, a third of http://myserver/hardware, etc. Also give one an instance of http://myserver.mydomain.com to check FQDN usage. From the check_http documentation: This plugin will attempt to open an ...


4

A domain name is a container for other types of data, or a structure for administrative control. A hostname is a specific label for a specific computer. A fully qualified hostname is a hostname plus the domain name in which it sits. Domain names and hostnames are neither the same, nor are all of one of them the other kind. They're entirely different ...


4

You could change ownership of /var/www to your user or group, or create a subdirectory in /var/www and give yourself ownership. If your user name is "david" then: david$ su - root# chown david /var/www Or: david$ su - root# mkdir /var/www/david root# chown david /var/www/david Then your user will be able to read and write inside of whichever directory ...


4

If your manager insists there are some solutions like webmin or zentyal to manage GNU/linux servers from a web interface. You can easily add your own scripts to those web interfaces. The advantage of using tested products over your own reinvent-the-wheel web service is that those web services are developed with security in mind. However as a sysadmin I ...



Only top voted, non community-wiki answers of a minimum length are eligible