Slashdot Mirror


Apache Web Server Share Falls Below 50 Percent For First Time Since 2009

darthcamaro writes "Apache has always dominated the web server landscape. But in August, its share has slipped below 50 percent for the first time in years. The winner isn't nginx either — it's Microsoft IIS that has picked up share. But don't worry, this isn't likely a repeat of the Netscape/IE battle of the late 90's, Apache is here to stay (right?)" The dip is mostly the result of GoDaddy switching to IIS from Apache. Which is to say GoDaddy hosts a whole lot of sites.

196 of 303 comments (clear)

  1. base it on traffic vs. how many domains host'd by Anonymous Coward · · Score: 1

    I'm willing to bet you'd see drastically different numbers...

    1. Re:base it on traffic vs. how many domains host'd by 93+Escort+Wagon · · Score: 5, Insightful

      Netcraft's report shows the percentages for all domains as well as for active domains.

      This article is a bit sensationalistic - no surprise. As a percentage of all domains, Microsoft is at 23% (Apache's at 47%). Looking at just non-parked domains, they're at 12% (versus 54% for Apache). Not really much of a "Apache vs. IIS" story there...

      If there's any news at all, it's that servers other than Apache and IIS have managed to gain significant traction over the past couple of years. I remember when it had really turned into a two horse race, and gains by one exactly mirrored losses by the other. But now it's a bit more of a healthy competition.

      --
      #DeleteChrome
    2. Re:base it on traffic vs. how many domains host'd by 93+Escort+Wagon · · Score: 3, Insightful

      Actually, looking at the raw numbers... it's just shy of 90%! But even for Apache, something like 70% of sites are not "active" by Netcraft's metrics - and it's a similar story with all the others.

      --
      #DeleteChrome
    3. Re:base it on traffic vs. how many domains host'd by TheRaven64 · · Score: 2

      And on active sites it looks like IIS has been dropping in use since April 2009. Apache has actually picked up a bit since they had a big drop between 2005 and 2007, although it's down a bit since the small peak in 2011. The most interesting part is the growth of the 'other' line from about 6% to about 12% over the past 3 years. It's sad to see Lighttpd has almost died (not much development for years, now just counted as part of 'other'), but it's good to see a few different servers clustered around the 5-10% mark. Having a single server with over 50% of the market makes it quite an attractive target. It would be good to see more diversity.

      --
      I am TheRaven on Soylent News
    4. Re:base it on traffic vs. how many domains host'd by gbjbaanb · · Score: 1

      I look forward to next months survey, looking at active sites (not that parked site irrelevance) usage, Microsoft is on 12%, and nginx is at 11%.... not long and Google will host more sites than Microsoft too, that'll be newsworthy in some way (though mostly of relevance only to marketing droids)

    5. Re:base it on traffic vs. how many domains host'd by IwantToKeepAnon · · Score: 3, Interesting

      The Netcraft graphs show "Google" as a platform, last I read (a couple years ago granted) that google ran a customized version of apache. Does google now offer a honest-to-goodness webserver of its own? Or can googles #'s be added into the apache category? And what about Tomcat sites? Are they already included in the apache #'s?

      Thanks for the link.

      --
      "Happy families are all alike; every unhappy family is unhappy in its own way." -- Anna Karenina by Leo Tolstoy
  2. note to self.. by Anonymous Coward · · Score: 5, Funny

    ..another reason not to host on godaddy.

    1. Re:note to self.. by CFD339 · · Score: 2

      You needed one other than the hostile upsell pressure virtually every where they touch?

      --
      The problem with quotes on the internet, is that nobody bothers to check their veracity. -- Abraham Lincoln
  3. GoDaddy IIS by naubrey · · Score: 5, Insightful

    Which is to say that GoDaddy hosts a lot of *parked* domains on IIS.

    1. Re:GoDaddy IIS by Manfre · · Score: 4, Informative

      Which is to say that GoDaddy hosts a lot of *parked* domains on IIS.

      ...which were previously served using Apache. None of these stats will ever be able to convey the usefulness of site content based upon web server software.

    2. Re:GoDaddy IIS by ShanghaiBill · · Score: 2

      Which is to say that GoDaddy hosts a lot of *parked* domains on IIS.

      Honest question: Why did they switch? I have never understood why anyone would use IIS, and always assumed ISS users were clueless newbies. So why would GoDaddy go to the time and expense of switching? What do they gain?

    3. Re:GoDaddy IIS by Trepidity · · Score: 2

      You could look at what the share is among the top N domains, for N=1000 or N=10,000 or whatever, at least as a sanity check.

    4. Re:GoDaddy IIS by LoRdTAW · · Score: 1, Interesting

      Simple: asp.net. Plenty of half assed coders out there can, with little effort, build a website using Visual Basic or C#.

    5. Re:GoDaddy IIS by kasperd · · Score: 1

      asp.net

      That's really no reason to move customer domains. As a customer I'd immediately leave a provider, which moved my domains to a new platform without asking me first. Customers that want asp.net should have to choose so on their own. The only way you could suddenly move a lot of sites from one platform to another without breaking something would be if they didn't need any server side scripting in the first place.

      It could be done with parked domains. But why would you want to do that (except as a marketing stunt to promote Microsoft)?

      --

      Do you care about the security of your wireless mouse?
    6. Re:GoDaddy IIS by whoever57 · · Score: 3, Insightful

      Honest question: Why did they switch?

      My WAG is that MS threw a bunch of money at Godaddy, not directly, you understand, but indirectly.

      Furthermore, my conjecture is that MS is prepared to throw this money at Godaddy because Microsoft's share of sites was looking rather sad (3rd place for market share of active sites last month).

      --
      The real "Libtards" are the Libertarians!
    7. Re:GoDaddy IIS by t4ng* · · Score: 1

      ...or better yet, analyze each home page, if it has no links to other pages within the same web site assume it is a parked domain (or spam domain) and ignore it.

    8. Re:GoDaddy IIS by csumpi · · Score: 3

      Simple: asp.net. Plenty of half assed coders out there can, with little effort, build a website using Visual Basic or C#.

      Sounds like a great accomplishment and major win for Microsoft.

    9. Re:GoDaddy IIS by Pseudonym · · Score: 2

      Your half-assed crap code. Our passion.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    10. Re:GoDaddy IIS by Sir_Sri · · Score: 2

      That's not necessarily a good metric either, as systems built for that amount of traffic are not necessarily indicative of what is suitable for the rest of us. That's sort of the formula 1 versus a regular driving vehicle problem.

    11. Re:GoDaddy IIS by smash · · Score: 1

      Other types of web developer are exceedingly rare.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    12. Re:GoDaddy IIS by KingMotley · · Score: 1

      Honest answer: Because IIS serves static pages faster than Apache does so they can park more domains on the same hardware. With the amount of domains they park, it's not an insignificant difference.

    13. Re:GoDaddy IIS by KingMotley · · Score: 2

      Simple reason really. Microsoft serves static pages faster than Apache and scales better under this scenario. It allows Go Daddy to park more sites on the same host, which then saves them money.

    14. Re:GoDaddy IIS by siride · · Score: 1

      I don't know how you can say this when the primary language for dynamic sites run by Apache is PHP, which is mountains of shit worse than C#.

    15. Re:GoDaddy IIS by Anonymous Coward · · Score: 1

      Go have a look at web server market share for active sites, as well as the top million busiest sites, you fucking nitwit.

    16. Re:GoDaddy IIS by rtb61 · · Score: 1

      It was a huge M$ marketing stunt at the time. Why the switch because it was profitable to do so. Now the real question is about market share. Should the Go Daddy site plus all the web sites it servers be considered one site in terms of choice of server to in reality more effectively measure choice by people who actually administer web sites. It seems at the very least two sets of statistics should be presented to more accurately show choices made.

      --
      Chaos - everything, everywhere, everywhen
    17. Re:GoDaddy IIS by CBravo · · Score: 1

      As said earlier: Nginx is faster than both.

      --
      nosig today
    18. Re:GoDaddy IIS by spongman · · Score: 1

      They switched because your assumptions are wrong.

    19. Re:GoDaddy IIS by benjymouse · · Score: 1, Informative

      Nginx serves static pages faster than Apache or MS. Try again.

      http://www.webperformance.com/load-testing/blog/2011/11/what-is-the-fastest-webserver/

      IIS outperforming Nginx by a factor two. Your turn to "try again".

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    20. Re:GoDaddy IIS by Tablizer · · Score: 1

      But a spammer would use Linux instead of IIS because it's cheaper on the large scale, and spammers and scammers go for large scale because their success rate is low per CPU cycle.

    21. Re:GoDaddy IIS by Bert64 · · Score: 1

      Why would spammers care what is cheaper?
      What they're doing is already highly dubious, so chances are they will have no qualms about using warez and/or hacked servers.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    22. Re:GoDaddy IIS by Bert64 · · Score: 2

      If you look at the netcraft graph going back several years, you will often see significant bumps in share either for or against IIS. Several of these are down to MS paying large hosting providers to put their parked sites on IIS for promotional reasons.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    23. Re:GoDaddy IIS by Lennie · · Score: 1

      I wonder how he configured nginx.

      Multiple processes is what nginx would need to get the maximum performance out of a the Quad-core machine.

      And he used a different harddisks for Windows than Linux are they of the same type ?

      Those are some of the things that come to mind first.

      --
      New things are always on the horizon
    24. Re:GoDaddy IIS by xyra132 · · Score: 2

      It might be a good indication of what the mainstream hosts will be using in a couple of years though. As with your formula one analogy, (a subset of the) technology developed at the extreme high end is commoditised and trickles down.

    25. Re:GoDaddy IIS by Ash-Fox · · Score: 5, Informative

      Unfortunately, I have no graphs I can share with you due to confidentiality reasons. You can get Apache to outperform Nginx by configuring Apache to use prefork, then increasing Linux's file descriptors to a much larger setting than default to coincide with the forked processes and the connection limits you wish to handle.

      This is something that is done in large cloud setups used in major websites that use Apache with load balancers, or in more sophisticated networks, using BGP to perform "true load balancing" (requires a router to hash source and destination IP to maintain a connection to the same server and weight calculations).

      I have not managed to get Nginx to perform as well as Apache in this configuration (prefork + increased file descriptors), or any other configuration when Apache is in this configuration. IIS in my experience doesn't do too badly with static content, however, I have never seen it outperform Apache in the 'proper' environment and configuration when it came to static content (this also included disabling modules not in use), however the differences were very minor.

      I will say though, if you're using IIS for serving static content, you might not be using your money wisely. It's not really as cost effective to pay for windows licenses and machines verses just the machines (I expect GoDaddy got freebies from Microsoft). Before the argument on support - You will often find that hardware vendors like HP and IBM provide their own support for various operating system configurations and certain uses on server hardware is included with your hardware contracts, should you be a sufficiently large buyer.

      It really only makes sense to run IIS if you have specific IIS/windows applications to run on the webserver like .NET applications. Costs could be reduced in such a scenario to keep IIS for static pages if it required a new breed of administrators to join a team to maintain some 'free' server option. However, if the administrators are multi-platform (like where I work), this is unlikely the case.

      --
      Change is certain; progress is not obligatory.
    26. Re:GoDaddy IIS by Eivind · · Score: 1

      They switched because they where paid to do so, because it looks good in marketing. They're in the position to control the webserver for millions of domains, thus Microsoft bribes them to use IIS.

    27. Re:GoDaddy IIS by benjymouse · · Score: 1

      Multiple processes is what nginx would need to get the maximum performance out of a the Quad-core machine.

      1. It is mentioned that default configuration was used, but the tester was willing to adjust parameters if the server was not taking advantage of the machine.

      2. The CPU utilization at bandwidth saturation test should not be impacted, even if Nginx was running on a single core - unless it showed that bandwidth could not be saturated. But bandwidth was saturated with Nginx and cpu utilization was more than double that of lighttpd and IIS.

      And he used a different harddisks for Windows than Linux are they of the same type ?

      That could be an issue. But the test used a "real, minimalistic page with a variety of resource sizes and types". The content was static so it will quickly be served from the disk cache negating any performance difference between drives. And again, that should not have a bearing on the bandwidth saturation/cpu utolization test.

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    28. Re:GoDaddy IIS by benjymouse · · Score: 2

      Unfortunately, I have no graphs I can share with you due to confidentiality reasons. You can get Apache to outperform Nginx by configuring Apache to use prefork, then increasing Linux's file descriptors to a much larger setting than default to coincide with the forked processes and the connection limits you wish to handle.

      Using processes to serve individual requests seems like a massive waste of resources, and I have a hard time believing this will run faster than a standard threaded worker. Do you have any theory behind why Apache would process requests faster with preform as opposed to worker?

      I have searched for optimization guidelines for Apache and I cannot find anyone recommending this setup, except for when compatibility is required.

      I suppose that if Apache is used to serve non-static content using a foreign/3rd party module, there could be local lock contention issues if the module is poorly written. If the lock contention is intra-process (process local locks) I suppose that you could get around that by running multiple processes. But that would merely mean that the server is not being slowed down waiting for locks, not that it will run faster than Nginx.

      But in this case no such modules are involved, and lock contentions are clearly not at issue for any browser in the bandwidth saturation tests.

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    29. Re:GoDaddy IIS by Trailer+Trash · · Score: 1

      Simple: asp.net. Plenty of half assed coders out there can, with little effort, build a website using Visual Basic or C#.

      Sounds like a great accomplishment and major win for Microsoft.

      Ever heard of PHP?

    30. Re:GoDaddy IIS by CAIMLAS · · Score: 1

      In other words, IIS does nothing much better than Apache?

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    31. Re:GoDaddy IIS by Anonymous Coward · · Score: 1

      Shanghai - Many people switch to IIS because it CAN be run by low cost newbs. What I don't understand is why corp management consistently sacrifices reliability and scalability and settles for unreliable mediocrity with IIS (and Microsoft). And, in the end pays more for slews of license fees and loss of experience by migrating admins who rather than staying put, roam from company to company for a better deal.

      I'm just a bitter old man :) I just witness companies spending millions of dollars supporting inferior Microsoft infrastructures using 2-3 times the amount of admins than reliable nix based infrastructures requiring fewer, more experienced and dedicated admins at more than half the cos and simpler license models. Am I sick if I enjoy a perverse pleasure while Microsoft audits our MS Team?

    32. Re:GoDaddy IIS by tlhIngan · · Score: 1

      Why would a spammer bother? You know what's cheaper than running their own machines? Using someone else's machine. Most spammers use botnets and such for everything - less likely to get caught, there's so many out there that prices are low and many ISPs don't do egress filtering properly so port 25 outgoing makes life simple.

    33. Re:GoDaddy IIS by MooseMiester · · Score: 1

      There's another aspect to this argument...

      An Apache webserver has a license cost of ZERO.

      An IIS webserver has a license cost starting at close to $1,000, add SQL Server (Please don't use SQL EXPRESS to host a website with any traffic you'll be sorry) and you're looking at another $6,000.

      Why, then, would I use IIS? Because I have to support Microsoft products or CMS systems that only run there.

      DUH!!!

      --
      Murphy was an optimist
    34. Re:GoDaddy IIS by Ash-Fox · · Score: 1

      Didn't my last sentence say that?

      --
      Change is certain; progress is not obligatory.
  4. Hmm by Tailhook · · Score: 3, Interesting

    The statistical effect of millions of empty, neglected GoDaddy hosted sites will not ultimately mean a great deal. It does raise a question for me, however; what benefit does GoDaddy hope to realize with IIS? My last contact with IIS was about 9 years ago. At that time it was fragile, insecure and plagued with mysterious "metabase" corruption problems. The thought of using such a thing for large scale hosting seems absurd and I've ignored it ever since.

    Has it since improved enough to entice really large operations?

    --
    Maw! Fire up the karma burner!
    1. Re:Hmm by ackthpt · · Score: 2

      No doubt it has improved, but it's still a PITA to work with. I have to work with it now and really miss Apache.

      --

      A feeling of having made the same mistake before: Deja Foobar
    2. Re:Hmm by loufoque · · Score: 3, Insightful

      IIS runs on Microsoft Windows.
      GoDaddy administrators do not have the skill to manage Linux boxes.

    3. Re:Hmm by gman003 · · Score: 1

      I was forced to use it during school. I can't say much for the fragility or insecurity (I only had to run some rudimentary static websites on it to pass the class), but the administration was much easier for the learn-by-rote students (which my school seemed to love the most).

      From the perspective of a guy who often doesn't even start X on his *nix boxes, it seemed a bit inflexible. But perhaps they have some weird .NET crap that works better for what they need.

    4. Re:Hmm by kasperd · · Score: 1

      IIS runs on Microsoft Windows.

      Apache runs on Windows as well, so this is no reason to choose IIS.

      --

      Do you care about the security of your wireless mouse?
    5. Re:Hmm by readingaccount · · Score: 4, Insightful

      You basically just admitted that Linux boxes are harder to administer than Windows servers. This makes Linux servers much less appealing for companies when you can find Windows server admins for a dime a dozen, but Linux admins are harder to find and generally cost a lot more.

    6. Re:Hmm by readingaccount · · Score: 1

      Technology changes a lot in 9 years. 9 years ago I honestly though Linux was superior to Windows on a technical level, at least for desktop purposes. Now, I'm quite convinced of the opposite.

    7. Re:Hmm by Molochi · · Score: 1

      "Not having the skills" just means they lack a breadth of training.

      --
      "The Adobe Updater must update itself before it can check for updates. Would you like to update the Adobe Updater now?"
    8. Re:Hmm by DuckDodgers · · Score: 5, Interesting

      Linux isn't harder to administer because of any inherent problems, it's harder for the average person to administer because we probably had Windows in the home computer and at the office, and at the school. Making the jump from Windows 95 to Windows NT or from Windows Vista to Server 2008 is a lot easier than jumping from Windows to Linux.

      If you're a serious power-user administrator, Linux and Unixes in general has been easier to administer than Windows Server for a very long time. You have more interoperable shell tools at your disposal. The Server GUI is better for an admin novice, but terminal tools are quicker for a power user than toggling through programs and hunting through menus. Microsoft is catching up with PowerShell, but even if the technology is extremely flexible and mature (and it may well be), they took the odd step of inventing a new syntax different enough to be confusing to people comfortable with bash or cmd.exe - me among them. Now I'm asking myself whether making the investment in Powershell is worthwhile. It probably is, but I don't look forward to it.

    9. Re:Hmm by Zontar+The+Mindless · · Score: 1

      Perceptions change a lot in 9 years. 9 years ago I honestly thought Windows was superior to Linux on a technical level, at least for desktop purposes. Now, I'm quite convinced of the opposite.

      --
      Il n'y a pas de Planet B.
    10. Re:Hmm by jader3rd · · Score: 2

      Now I'm asking myself whether making the investment in Powershell is worthwhile.

      It's worthwhile.

    11. Re:Hmm by Tough+Love · · Score: 1, Flamebait

      what benefit does GoDaddy hope to realize with IIS?

      It's a lot cheaper for Micro$oft to pump up IIS by paying off godaddy than spending tons of money on devs, and you know, testing.

      --
      When all you have is a hammer, every problem starts to look like a thumb.
    12. Re:Hmm by evilviper · · Score: 5, Insightful

      Windows servers undoubtedly have the advantage of being able to turn up a service almost on accident, and have it minimally work. Actual administration and maintenance of them, though, is a Kafka-esque nightmare. I feel bad for Exhange admins. I've heard many horror stories of Windows support telling Admins there's no fix, no fallback, and they'll have to reinstall the entire server recreate datastores, and then they take a few months manually importing All user emails.

      Linux/Unix servers take more knowledge and effort to get up and running in the first place, but then are much more stable and deterministic, handle higher load, need less babysitting, and are easier and more consistent to keep updated and make changes to, knowing you're never going to have unrelated services break, or mysterious slowdowns and service unavailability.

      There's no doubt what comes out ahead in the end... Linux adminsa can mantain many times more servers than Windows admins. Consider that those Windows admins won't be free, and you'll be cash positive by hiring Linux admins in a very short time. I've worked for some of the most penny-pinching tight-wad companies around, and they emphasize Linux heavily (including on the desktops) paying their Linux admins more than even most management, and yet they heavily prefer Linuxx, and wouldn't dream ofusing Windows for anything important.

      --
      Slashdot gets worse every day... Pipedot: News for nerds, without the corporate slant
    13. Re:Hmm by smash · · Score: 1

      I'd say its a bit misleading. Sure, Windows is easier to make work, but to actually secure and keep maintained is a pain in the arse.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    14. Re:Hmm by smash · · Score: 3, Interesting

      +1. Powershell is quirky. It is prettty excruciatingly slow. There are bugs. But it really is pretty neat, and nothing similar exists in the Unix world as yet. If you need to admin Windows boxes, you'd definitely be well advised to learn powershell.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    15. Re:Hmm by smash · · Score: 2

      Not really true. I've seen Linux boxes administered by muppets, and back in the day when I was 20, I was one of those muppets in charge of looking after a fleet of Linux boxes. Just because someone can use google and click their way through a redhat installer, doesn't mean they have a clue.

      Platform choice is pretty irrelevant as far as judging competency goes actually, IMHO being a competent administrator/architect is more about change management (i.e., how do we get from A to B without fucking everyone over), engineering resiliency into your designs, being proactive about security and using the best tool for the job, in a platform agnostic manner.

      Trade-offs will be involved (this is essentially what engineering is). If (for example) running a Windows web server makes it 10x easier for your internal web development guys, and it can be secured by spending a little more time than an apache box, then you run a Windows web server, and stick whatever content-aware firewall you deem appropriate in front of it.

      In other situations (e.g., DNS servers, firewalls, mail relays, etc) - Linux, BSD or other unix platform of choice may be more appropriate.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    16. Re:Hmm by DaveAtFraud · · Score: 4, Interesting

      You basically just admitted that Linux boxes are harder to administer than Windows servers. This makes Linux servers much less appealing for companies when you can find Windows server admins for a dime a dozen, but Linux admins are harder to find and generally cost a lot more.

      Er, no. Windows makes the easy things easy (pick what you want from the list rather than, horror of horrors, type something) but still hasn't succeeded in making the difficult easy. This lulls people who think they know what they're doing into jumping into the deep end and finding out they can't swim. Lots of things when setting up a server (web or otherwise) that require an understanding of the underlying networking. The Windows admins who don't know this are the ones who are "a dime a dozen." The ones that do can create a secure, functional site with Windows but wish they had Linux since it's easier and more secure and faster and more flexible and....

      Cheers,
      Dave

      --
      They that can give up essential liberty to obtain a little temporary safety deserve neither safety nor liberty.
      Ben
    17. Re:Hmm by MightyMartian · · Score: 3, Interesting

      My experience with Powershell is sufficient to state that Windows users can keep it. Bash is a far far more mature shell with a helluva more lineage and experience behind it.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    18. Re:Hmm by KingMotley · · Score: 1

      It's improved significantly. There is no "metabase" anymore. Everything is stored in .config files that you can edit with a text editor if you want. It has some really nice features, and is really easy to manage via GUI if you prefer too. Or powershell if that's your thing.

    19. Re:Hmm by readingaccount · · Score: 1

      but still hasn't succeeded in making the difficult easy

      I'll meet you half-way and suggest that in Windows, it's easier to get something going initially, but in Linux it's easier to make detailed and significant changes later on.

      As for Windows admins wishing they had Linux, I've met a few Win admins and they generally consider interest in Linux to be something of a "phase", one which you grow out once you gain enough experience at what actually happens in corporate setup and why Exchange is so widely used (hint: it's fucking awesome how much capability it provides compared to a scattering of similar tools and services in Linux).

    20. Re:Hmm by rabbit994 · · Score: 1

      Apache runs like dogshit on Windows and has worse security problems then IIS on Windows.

    21. Re:Hmm by siride · · Score: 1

      You hit the nail on the head with many (but not all) MS products. I've had the (dis)pleasure of working with SSIS, SSAS and SSRS. SQL Server itself is a pretty decent DB, certainly better than MySQL, but the tools for extending it are just awful. Sure, SSIS is graphical and you can throw together a pretty flowchart that will make managers and bean counters happy at the demo. Then you actually have to do something real with it and find that you can't, for example, deploy a complex package hierarchy to the SQL Server store without manually changing core behavior of your packages, or you can't import Excel files that have blank columns that start having numbers in them because Excel via SSIS insists on guessing the types based on the first 8 rows (only configurable via a registry setting!) and it may break in production without any warning. The list goes on and on. Here are a few more: http://ayende.com/wiki/I%20Hate%20SSIS.ashx?AspxAutoDetectCookieSupport=1.

      I've found similar problems in other MS products. Visual Studio is still somewhat of an exception, but probably because it can still get out of your way and let you write code, and it's been around long enough that the good engineers of ages past kept it from turning to shit.

    22. Re:Hmm by FuzzNugget · · Score: 1

      Other way around: you get what you pay for.

      I know of Windows admins who were perplexed by filenames with mixed upper and lower case characters when they had to briefly deal with a Linux system.

    23. Re:Hmm by ArsonSmith · · Score: 1

      I do kind of like the object oriented nature and not needing to use sed and awk to get useful info out of structured command output. Otherwise it seems like so much of it is different for the sake of being different and I can't stand to use it. When I need to I find it easier to figure out the commands I need to run, then use a Unix shell to generate them.

      --
      Paying taxes to buy civilization is like paying a hooker to buy love.
    24. Re:Hmm by siride · · Score: 2

      Yep. And if you want OO or real programming, just use Perl or Python.

      And for God's sake, the whole signing scripts business with Powershell is a tragedy. I can understand the value of being a little bit more tight with scripts that can do harmful things, but it should only matter for scripts that need to run as admin or do system management tasks. I shouldn't need to cryptographically sign a script to extract tags from music files, for example. The process to do the signing is itself unnecessarily complex.

    25. Re:Hmm by smash · · Score: 2

      I'll grant you bash is more mature and intuitive, sure - but you can do things in powershell that just either aren't possible with bash without writing helper applications in a non-scripting language or are exceedingly convoluted.

      The big difference is the object pipeline which takes a little to get your head around, but enables you to do far more processing on data than text manipulation with sed, grep, awk and friends.

      I'd suggest opening your mind a little and giving it a shot. If you don't administer windows boxes, fair enough its pretty pointless, as the whole point is interfacing to .net objects which don't exist on Linux.

      But if you DO need to deal with Windows boxes, you'd be doing yourself a dis-service to write Powershell off.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    26. Re:Hmm by DaveAtFraud · · Score: 1

      but still hasn't succeeded in making the difficult easy

      I'll meet you half-way and suggest that in Windows, it's easier to get something going initially, but in Linux it's easier to make detailed and significant changes later on.

      As for Windows admins wishing they had Linux, I've met a few Win admins and they generally consider interest in Linux to be something of a "phase", one which you grow out once you gain enough experience at what actually happens in corporate setup and why Exchange is so widely used (hint: it's fucking awesome how much capability it provides compared to a scattering of similar tools and services in Linux).

      My experience is that it seems like Windows admins who worked with Linux (or proprietary Unix) still prefer it but "put up with" IIS when they have to use it due to corporate policy. The admins who grew up on Windows and dabbled with Linux end up back on Windows. The main thing for me is that Linux is easier to troubleshoot since I don't have to go digging for some obscure registry entry that some program messed with and ended up breaking something else. Whoever came up with the registry should be taken out and shot (or have some suitably painful means of execution; shooting might be to easy for them).

      I'll grant you that exchange is a pretty amazing tool. Way back when there used to be some competing products (just like there used to be competing word processors and spreadsheets, etc.). They all got plowed under by the Windows/Microsoft Office jugernaught. Now, the only "competition" comes from open source projects that just don't seem to have the understand of the big corporate world. I'm working as a Unix Engineer in a big big telco at the moment and the level of integration (aka, lockin) to Windows as the corporate desktop is amazing and, at the same time, horribly stupefying. I end up using an X emulator under Windows to do my work slowly and painfully when I would easily be twice as productive with a Linux box but that's not the corporate standard.

      Cheers,
      Dave

      --
      They that can give up essential liberty to obtain a little temporary safety deserve neither safety nor liberty.
      Ben
    27. Re:Hmm by Shados · · Score: 1

      The SQL BI stack is in line with others in term of "usuability". Its not as powerful as, let say, Informatica, but the deployment of packages and all that fun stuff is in line. There's reasons for these woes, but overall it works fine once you understand the best practices. The excel issue is because of how the excel drivers work. Not so much an issue with SSIS as it is with the drivers (you'll have that issue with virtually anything that interface with excel unless it isn't using the default driver). So the same solution applies. Not saying its good, just saying you'll have these issues with any similar tools. Competing spreadsheets have their share of bullshit. There's a FEW that are better on the market, but none are open source, and they're brutally expensive.

      Visual Studio while decent fails miserably on large (I mean actually large. No, your 100k lines of code per main component/service isn't large.) while other IDEs do fine (IntelliJ for java comes to mind...Eclipse is a joke =P). I used to love Visual Studio, but lately I want to toss it out the window because of that issue. At least .NET itself is awesome.

    28. Re:Hmm by turbidostato · · Score: 1

      " but you can do things in powershell that just either aren't possible with bash without writing helper applications in a non-scripting language or are exceedingly convoluted"

      I'll take you mean in Windows. No doubt doing things on windows is exceedingly convoluted. Now, there's a ton of things you can do with Bash if you take the time to learn it -and it surely pays out: unix-like environments have a tradition of not mangling too much with things that work, so what you learn now will be of value ten or even twenty years down the road just like things we learned ten or even twenty years ago are still relevant. Try that with Microsoft: OK, invest what it takes to be proficient on Power Shell; you can bet that in five years you'll need to re-learn it because they'll radically change it just like you had to do going from DOS to Windows to Windows NT 3.5 to Windows NT 4.0, etc.

      Oh, and even for the things you can't do on Bash, Perl, Python or Ruby are scripting languages.

    29. Re:Hmm by asmkm22 · · Score: 1

      MS has done a pretty good job of keeping up on stability and security for all of their products since about 2006. I personally still host with nginx, due to the cost of MS products, but I administer enough to say that they are pretty straight forward and secure. It's easy for people to assume that Apache = secure or whatever, but the truth is, there are a shit ton of Apache deployments that are broken and exposed, usually as a result of people blindly apt-get installing whatever random package some outdated how-to tells them to in order for Obscure CMS Product #1 to run.

      Or, worse yet, they use Word Press.

    30. Re:Hmm by turbidostato · · Score: 4, Insightful

      "Technology changes a lot in 9 years"

      Not 9 but 20 years ago I run NFS and CIFS, LDAP, Bind, Postfix... now I run NFS and CIFS, LDAP, Bind, Postfix...

      No, technology doesn't change a lot, marketroid guys make it look like so to stay in the business of selling new licenses.

    31. Re:Hmm by benjymouse · · Score: 2

      And for God's sake, the whole signing scripts business with Powershell is a tragedy. I can understand the value of being a little bit more tight with scripts that can do harmful things, but it should only matter for scripts that need to run as admin or do system management tasks. I shouldn't need to cryptographically sign a script to extract tags from music files, for example. The process to do the signing is itself unnecessarily complex.

      Just set the execution policy for the scope that you want. Type man set-executionpolicy -para scope. You will notice that scope can be set for the process, the current user account or for the local machine. So if you want to then simple set a less restrictive execution policy (like RemoteSigned) for your current user. That will still prevent scripts downloaded through a browser or received through a mail to be executed.

      There are a lot of legitimate uses for script signing. For instance, for a tightly managed system you could put in place a regime where an auditor/reviewer must sign a script only after review, and the farm of machines will only execute scripts that have been signed by the reviewer. Thus you can have devops develop scripts and test at their test systems, but to deploy the scripts they must follow the review process.

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    32. Re:Hmm by lgw · · Score: 1

      You realize all you've really said was "I understand Linux and not Windows Server, and I like what I already know"? Basically, everything you believe about Windows is wrong, but like anything else it does take skill and knowledge to do it right.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    33. Re:Hmm by benjymouse · · Score: 5, Informative

      There are *a lot* of little things in PowerShell that makes you go "aw, that's a good idea". Things you will not find in other shells and neither in Pytho, Ruby or Perl.

      Off the top of my head:

      * Consistent common parameters for "impact management": You can pass a parameter called -WhatIf to every built-in command that may change persistent state. The -WhatIf parameter runs the command in simulated mode, only echoing on the console what it *would have* done. Similarly a common -Confirm parameter which asks *before* changing persistent state. It even works for scripts and functions: If you declare that your script (in a .ps1 file) "supports shouldprocess" you can pass the -WhatIf parameter to your script and PowerShell will set the whatif preference for the duration of the entire script - as if each command of the script had been passed a -whatif parameter as well.

      * Commands, functions, script blocks and script files declare parameters with (optional) static types. This information is used by PowerShell to coerce values to the correct types before invocation. But the declarations can also contain declarative validation attributes, allowing the *shell* to validate parameters before invocation. Declarative validation can validate required parameters, string lengths, number/date ranges, regular expressions, value sets. The kicker here is that the script author does not need to *implement* validations, merely declare them, the information is available to the shell which can use it to both validate parameters before invocation, but *also* to report the validations through the help system. That's right, when you set up validation, help text that describes the acceptable values is automatically generated from this meta information.

      And yes, even the tab completion (or intellisense in the integrated scripting environment) will pick up on the parameter type and validation. If you restrict a parameter to a certain value set, tab completion will cycle through those values when the shell determines that you request tab completion for the parameter.

      * The PowerShell help system allow for in-script help text through special code comments. No need to author external help files. You can write the documentation right there in the script (using special "dot" comments), and when you do man myscript.ps1, the help system will report the documentation.

      * PowerShell workflows allow scripts to suspend and resume at a later time. No, this is not the process suspend of sh shells. PowerShell actually saves the state of script execution to persistent storage and you can resume execution later, even after system restart - or on another computer. This is incredibly useful for the type of scripts that manages farms of servers and that may be running for a long time. If the script is somehow interrupted (power failure, hardware failure) it can later automatically pick up its execution from the latest savepoint. I.e. you can restart it and have it run to completion.

      PowerShell is not simply a programming language. It has many features which are directly aimed at being used in a scripting setting and which are not found in general purpose language like Python or Ruby.

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    34. Re:Hmm by Tablizer · · Score: 1

      Linux makes people cuss? Is it because its commands look like cuss-words?

      spending problem. [usdebtclock.org]

      You have a Herbert Hoover Problem.

    35. Re:Hmm by Bert64 · · Score: 1

      Competent windows admins cost just as much as competent linux admins... The only difference is that the market is flooded with incompetent people who (falsely) claim knowledge of windows while very few of those incompetents claim to have linux knowledge.
      Indeed i have interviewed people who claim to be experienced windows sysadmins, where their experience boils down to "reinstalled xp on my home computer" or something similar.
      It's a double edged sword for MS, on the one hand they can try to claim lower costs by hiring these incompetents, but on the other this is one of the factors which has earned windows its reputation for being unreliable and insecure.

      --
      http://spamdecoy.net - free throwaway anonymous email - avoid spam!
    36. Re:Hmm by gandhi_2 · · Score: 1

      I'm sure it has nothing to do with educational institutions teaching kids that "computing" means windows/office use or mac consumerism.
      And it has nothing to do with OEMs selling machines with windows only.
      And it has nothing to do with momentum or timing.
      It has nothing to to with PHBs only knowing what they see on TV or in magazine ads, or large advertising budgets.

    37. Re:Hmm by MightyMartian · · Score: 2

      I'm going to be blunt. I have yet to meet a text replacement/massaging problem that couldn't be solved with ask. Years ago I wrote an ask script to translate a gawdawful mainframe export of a stationary supplier's catalog. W're talking tens of thousands of records, all space delimited with variable field sizes for different kinds of inventory records and some records that were even multi line.

      I wrote the script on my Linux machine at home, grabbed the script and a compile of gawk for DOS and took it to the customer, wrote a quick batch wrapper and we took the whole bloody file and imported it into his POS system.

      I'm sure powershell is a wonder, but those who make grand declarations about the limited utility of *nix userland utilities are either ignorant or for dubious reasons sweeping away decades of *nix scripting.
      I'm sure

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    38. Re:Hmm by MightyMartian · · Score: 1

      I can't imagine a sane or competent sysadmin, whatever OS he is running, allowing automatic updates on his production servers.

      I've had a few MS patches royally buttfuck servers.

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    39. Re:Hmm by FirephoxRising · · Score: 1

      +1. Powershell is quirky. It is prettty excruciatingly slow. There are bugs. But it really is pretty neat, and nothing similar exists in the Unix world as yet. If you need to admin Windows boxes, you'd definitely be well advised to learn powershell. WTF? quirky, painfully slow and buggy are the best they can do? I'm very glad nothing similar exists in the unix world, I'm sure good concepts could be adapted, but this sounds pretty pathetic.

    40. Re:Hmm by lgw · · Score: 1

      You have a Herbert Hoover Problem.

      The US National debt is now $148,000 per taxpayer. You're good for your share, right? Yeah, our grandkids will be paying that back.

      You may like all the various things the government is doing (those three-letter agencies are great, right?), and that's fine and all, but continuing to ask our grandchildren to pay even more to make our lives better today is not what I call good, just, or right.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    41. Re:Hmm by Zenin · · Score: 1

      I'll take you mean in Windows.

      In general actually.

      Bash can't pickup a random .so shared library and start instantiating objects, calling methods, as if it was just any normal bash object. That's the kind of power we're talking about with PowerShell: Any DLL on the system is at your command, no need for any "glue".

      Perl can't do it either, you'll need an XS wrapper. Python I believe is the same. Ruby I'm not sure of, but I highly doubt it.

      Not that PowerShell isn't without its warts. It's a great idea, but with one of the worst implementations I've ever had the displeasure of dealing with. String quoting rules are all over the place and incredibly error prone. The pipe everything obsession with syntax is insane. Wildcard handling is so horribly broken that most commands have both -Path and -LiteralPath options.

      But the idea and the power that idea offers is absolutely incredible. The closest equivalent in the open world would be something like what Groovy script is to Java.

      --
      My /. uid is better then your /. uid
    42. Re:Hmm by smash · · Score: 2

      Dude... Powershell is already coming up 7 years old, and the core concepts are still the same, there are just more cmdlets available. If you're even comparing to Ruby, Bash or Python you clearly have no idea how powershell operates or what it can do and have not spent any real time playing with it.

      And as you have not spent any time playing with it, your opinion is entirely uninformed, and you're just shitting on it because it is written by Microsoft.

      Maintaining the status quo because this is how we've always done things is retarded.

      So, check it out or don't. Not really concerned. But yourself, and the open source world in general would be well advised to check out anything new by any commercial developer, including microsoft - and profit from the mistakes and successes made without reinventing the wheel yourself and making the same mistakes.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    43. Re:Hmm by smash · · Score: 1

      Don't get me wrong, for working with text, unix utilities are awesome. BUT - you're constantly fighting with the (inconsistent, between tools) text representation of data as you pipe it between tools, rather than working with the actual data. There is no grep, cut, awk, etc on Powershell, because you aren't munging text constantly.

      In Powershell you can spend far less time faffing about with text munging, and just run queries against objects in the pipeline. You can directly and easily interrogate WMI, and instantiate any .net object on the system.

      Its an entirely different kettle of fish, and works completely differently to any unix shell.

      Whether or not it is "better" is open to dispute (to get your head around the way it works is certainly a bit mind-bending initially), but if you need to administer WINDOWS systems, then you'd do well to learn it, because Microsoft are pushing it hard and you can do things on Windows with powershell that are just extremely tedious or practically impossible with other shells (random example: interrogating battery status - including USB connected UPS is a one liner)

      And no, nothing similar will ever happen on a Unix platform until there is a universal framework for interrogating or instantiating system objects.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    44. Re:Hmm by smash · · Score: 1

      Yeah definitely, that's what I'm talking about. And yes, it certainly has its warts, and is definitely not mature. But the way it works vs. say bash or perl is a total paradigm shift. And there's a pretty amazing amount of groundwork that must have been done to enable this all to work.

      Unfortunately, as demonstrated here, plenty of people will dismiss it out of hand because it is written by microsoft and the syntax is pretty alien - but I really think the open source world could learn a lot from Powershell, take the ideas that work and make something better.

      But its not going to be as simple as just writing a shell unfortunately - there's a heap of operating system ground-work that needs to be done first.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    45. Re:Hmm by smash · · Score: 1

      It's slow and quirky because it works entirely differently to a traditional unix (or other OS) shell. It's not just running text commands and munging text output to pipe between commands. It's object oriented and can talk to any .net object on the system natively, without any additional utilities or text processing to get the info you want. It takes the Unix concept of "everything is a file" to the next level - everything is an OBJECT, with methods, properties, etc. This is why it is "quirky", because you'll need to re-train your brain to the way powershell works. It's certainly not worse, it's just very different, and you need to change the way you try to do things.

      Comparing speed to bash or perl is not really fair because they simply don't offer anywhere near the power or flexibility. And that's not being a massive microsoft fanboy or a shill or whatever, it's simply a fact.

      It's definitely not perfect, but it's an entirely new concept which will no doubt evolve over time. I have absolutely zero doubt in my mind that eventually object-based shells will appear on other platforms. Probably implemented a lot cleaner than Powershell too.

      But full credit where credit is due - Powershell is one of the more interesting things coming out of Microsoft at the moment. It's a tragedy actually that the Powershell support is so much more complete in Windows 8 as I'm just not sure I can stomach the other changes at work.

      At home I'm Mac/BSD all the way.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    46. Re:Hmm by smash · · Score: 1

      You clearly don't understand what powershell is and what it can do. None of the shells in your package manager are object based. All of them will be doing brainless text munging drugery to import and export data between commands in the pipeline. None of them are transparently remote-machine aware. None of them provide code-signing ability. There is no way to directly interrogate pretty much any object on the operating system, natively, from the shell. None of them have built-in input validation ability for any scripts you write. The list goes on. None of them can run a command against every machine in my domain in one line of code.

      And yes, I'm a Unix user since 1995. I do both Unix and Windows in my day job (I simply don't trust Windows outside the firewall). At home I'm all mac/bsd.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    47. Re:Hmm by jez9999 · · Score: 1

      Not me - I actively tried to find something other than Apache and stumbled upon Cherokee.

      My issue with Apache is configuration. It's a clusterfuck mess. Whatsmore there's no half-decent graphical configuration to get you up and running quickly, just a huge messy conf file and if you're really unlucky, a bunch of .htconfigs scattered about the place. Cherokee basically forces web-interface-based configuration and makes a decent interface for you to do so. It would be nice if it based its config on XML so you could choose between web config and XML text editing, but oh well.

    48. Re:Hmm by marcello_dl · · Score: 1

      > I'll grant you bash is more mature and intuitive, sure - but you can do things in powershell that just either aren't possible with bash without writing helper applications in a non-scripting language or are exceedingly convoluted.

      even without touching powershell I am sure bash is uglier. And sure it relies on external tools. It's the latter which makes bash stronger, bash + the wealth of already available, fast, mature unix commands. And did I mention Free? free.

      --
      ---- MISSING MISCELLANEOUS DATA SEGMENT --- [sigdash] trolololol
    49. Re:Hmm by postbigbang · · Score: 1

      Far be it from me to defend Microsoft, but powershell has evolved dramatically and bash has only a tiny fraction of the breadth within Microsoft's administrative context. The sheer number of commands and their capacity to be driven by command-line argument and environmental variables makes bash look very 1974.

      That said, Microsoft is only now catching up with the myriad Linux/BSD commands-- and the uniformity of the varying branches of Linux is bad on a good day. This is why many admins settle on a branch/distro, then evolve scripts to do routine work. You get three main branches until you get into puppet or chef or other management telemetries.

      That said, powershell is just another school of thought, if also a business plan from Microsoft.

      --
      ---- Teach Peace. It's Cheaper Than War.
    50. Re:Hmm by DuckDodgers · · Score: 1

      As if the Microsoft fanbase does not contain its own horde of trolls. Both communities have huge numbers of kind, welcoming, intelligent people and huge numbers of assholes. You can't use that criteria to condemn or praise either side, because in that respect they're even.

      The problem with monitoring the debt clock is that you're looking in the wrong direction. Here are three things that don't get enough attention by people in the US:
      1. Taxes on wealthy Americans were higher under President Reagan. Was he a dreaded socialist? Did he engage in class warfare?
      2. Our nation spends three times as much money per capita on health care as other first world countries with longer average life expectancies.
      3. From 2002 until the present we have been at war, but in that period the government has cut taxes instead of raising them. During previous wars, US legislators and the President had this crazy idea that taxes should be increased at a time of war to cover the additional expense. Instead, President Bush and Congress cut taxes twice in 2002, and Congress has not substantially raised them since.

    51. Re:Hmm by siride · · Score: 1

      Fair points. I've also heard that competing products aren't much better. But that only means that MS has a chance to make something really good and blow away the competition. In that area, they failed.

    52. Re:Hmm by DuckDodgers · · Score: 1

      I appreciate the advice and I believe it to be true. The question is whether I can move my career forward into working entirely in a Linux environment or not. If I can't, then learning Powershell is a necessity.

    53. Re:Hmm by siride · · Score: 1

      I did not know you could do that and it never came up in any of the reading I did on script execution policy. Clearly, I didn't read close enough ;). That looks like it probably solves the problem.

      In my post above, you'll note that I did say that signing is not a bad idea and necessary in certain contexts, so I think we agree there.

    54. Re:Hmm by cornjones · · Score: 1

      I 'grew up' on Linux/Solaris before job opportunities took me mostly MS around Win2k timeframe. I definitely thought the toolset was limited compared to what I was used to at the time. I think a lot of that changed as I got more comfortable with windows scripting, especially powershell.

      That said, as I got more formal in my approach (less, get on there and try to make something work, more, this is the goal, what configuration of tools will meet that requirement), i started to realize that any competent engineer should be able to make either linux or windows as stable and secure as the other. The question then becomes what makes sense for the problem at hand. What are the requirements from business/mgmt, what do my junior admins know, what does dev work best with? Often those will choose your base toolset. I think of it similar to deciding whether to build in brick vs concrete vs wood vs steel. You are the engineer and should be comfortable that you can build something that will meet the client requirements, is maintainable and meets the security and availability goals, the material is only one consideration in meeting those goals and all have tradeoffs.

      This does seem an appropriate place for a question i have. I haven't worked with larger (100 server+) farms on *nix so I don't really know what tools are available that ease in administration/configuration. When I was last doing it we were still scripting individual tool sets and copying text files individually. What are the preferred analogous tools to AD for both users (LDAP) and GPO type capabilities? Configuration auditing, still tripwire?

      Thanks

    55. Re:Hmm by DuckDodgers · · Score: 2

      Thanks for filling in some details. I've heard people rave about PowerShell before. I've also read that Microsoft planned adding an optional view pane to every control panel and administrator tool in Server 2012 that would output the PowerShell equivalent command to anything you did in the GUI. That strikes me as a brilliant way to turn your slow click-monkeys into fast shell admins. I'd like to see Red Hat or Canonical (Ubuntu) do something similar for Unix, but I don't think even Red Hat has the engineering resources for a project like that.

      The problem I had with powershell, which I assume is commonplace, is that I fired it up expecting it to be a backwards-compatible superset of cmd.exe. It isn't, lots of the syntax that works fine in cmd.exe gives errors in Powershell or works but does something different from the cmd.exe equivalent. That of course makes me nervous - to my knowledge, bash hasn't changed much since introduction over 20 years ago. It has arcane syntax and plenty of warts, but an investment in bash will probably still be useful in another twenty years. Will Microsoft be using Powershell in ten years, in a form that's compatible with current syntax?

      And while consistency in command interfaces is hugely powerful, there's something to be said for the global interoperability of using text everywhere. If I'm doing complicated administrative tasks on Linux, I can do part of it in C++, pipe the output through a sed script, pipe that output through some Python script I downloaded, pipe that output through a Perl script I wrote, and feed that into some Ruby program. Then I can take the Ruby results and put them through a Basic application and then through Common Lisp and then a C# program running on Mono. Of course that's a contrived and very silly example, but the point is that while text is far more tedious to work with than (properly designed) object types, you have easy interoperability between hundreds of different tools.

    56. Re:Hmm by CAIMLAS · · Score: 1

      And? This has been the case for over a decade now. You can hire a dozen Windows admins for a dime - and each will have a dozen or so systems they can effectively manage.

      With MS's bare bones Windows installs, PowerShell management, etc. and destruction of the 'old' MSC way of managing Exchange, this is becoming much less the case. Any reasonably complex Windows site is now going to require similar levels of skill to manage as a comparable Linux environment. The tools to do so, however, will be significantly less mature, with a smaller community: there are still far more Perl Monkeys than PowerShell Punks (or whatever) out there, and using puppet is a far cry more intuitive and known than something like the more advanced/esoteric PowerShell management functionality necessarily leveraged for a non-stock Windows installation.

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    57. Re:Hmm by smash · · Score: 1

      Most of the newer admin tools in 2008 R2 can spit out powershell cmdlets at the end of a wizard, as can exchange 2007 onwards. If you're a unix guy and use windows, try using powershell more than cmd.exe, as a lot of your unix aliases work (ls, forward slashes for paths, etc) and it has similar (even more awesome) tab completion.

      If you need to get text out of powershell you can do that to - either CSV or XML.

      But if you keep everything within the pipe within powershell, it's all live objects and you don't lose any metadata.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    58. Re:Hmm by geek · · Score: 1

      Bullshit. Postfix didn't exist 20 years ago (1997) and LDAP was just first introduced in 1993. Likewise CIFS was in 1996. Unless you were like the first person to ever use LDAP I doubt that one is true.

    59. Re:Hmm by smash · · Score: 2

      Powershell can invoke any .net object's methods. Given that powershell is only really available on Windows, which is where you'll be using it - it is free on that platform, so bash being free doesn't really make any difference if it is a windows box (or network, given that almost all cmdlets can be used on remote machines with the trivial use of -computername parameter) you're administering.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    60. Re:Hmm by smash · · Score: 1

      My advice is to learn as many platforms as possible. There are plenty of "unix guys" and there are plenty of "Windows guys". You want to be the guy who knows the ins and outs of both and can sort out the issues between them and/or pick the correct tool for the job. It's not always Windows and its not always Linux either.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    61. Re:Hmm by CAIMLAS · · Score: 1

      As a perl-writing Linux admin, I had to write powershell a couple years ago to do what would've been fairly easy with perl (progmatically, at least): a dozen or so nested logic structures, conditions, and what have you, based on the textual descriptors of various Sharepoint elements/objects, the end goal being to migrate multiple different Sharepoint environments into a single organized hierarchy.

      This didn't work well. Neither perl-like text based sorting or the like worked well (because EVERYTHING is an object) or conventional OO type thinking. Quirky is an understatement. As for excruciatingly slow? Also an understatement: simple textual list sorts took FOREVER. And if that wasn't bad enough, sorting through a handful of 1-5MB XML files at a time (yes, using the proper XML functions) ballooned memory use to gigabytes. I ultimately resorted to dropping things to XML, doing the real work in perl, and then feeding the result back into Powershell - it was quicker, and the system didn't OOM in the process.

      It isn't Powershell that's neat; it's Microsoft's integration of PS into its core OS functionality (and every other product) to allow for management and manipulation. That on its own isn't enough to justify using Powershell, unfortunately. It's just too damn unwieldy: it's like the undead afterbirth of COBOL, Java, Perl, and VB - leveraging only the unwieldy parts of each.

      Thankfully, you're right: there isn't a burdensome, poorly conceived and implemented by Indians, management scripting language for Linux. But for everything else? We've got purpose built tools which do their one job, and do it well. (perl + puppet/chef, on the other hand, seems like a fairly close comparison to WMI...)

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    62. Re:Hmm by bill_mcgonigle · · Score: 1

      GoDaddy administrators do not have the skill to manage Linux boxes.

      Years ago, when GoDaddy was insisting that their servers were fine despite that my client's site was sending TCP RST packets instead of data (they used GoDaddy because of the boobs on football, against my recommendation), the packets were coming from a FreeBSD machine. Could have been a firewall, I suppose.

      --
      My God, it's Full of Source!
      OUTSIDE_IP=$(dig +short my.ip @outsideip.net)
    63. Re:Hmm by CAIMLAS · · Score: 1

      As an administrator, the only thing on that list which is even remotely appealing is the last item, and only then in a limited (say, cloud-type) environment. Everything else just reads as "look, something else to avoid knowing how to program, while at the same time providing a great big mess on which you can hang your hat at the end of the day because it's difficult to debug/troubleshoot with traditional language knowledge".

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    64. Re:Hmm by CAIMLAS · · Score: 1

      Yeah, but you're running NFS4, Samba4, BIND9, and Postfix with a bunch of extras bolted on (dnsrbl, postscreen, etc.) which didn't exist 20 years ago! :P

      Not that there's much of a difference, mind you...

      --
      ~/ssh slashdot.org ssh: connect to host slashdot.org port 22: too many beers
    65. Re:Hmm by benjymouse · · Score: 1

      I've also read that Microsoft planned adding an optional view pane to every control panel and administrator tool in Server 2012 that would output the PowerShell equivalent command to anything you did in the GUI. That strikes me as a brilliant way to turn your slow click-monkeys into fast shell admins.

      Maybe they planned it that way, and the server manager certainly offers to quote the powershell script it will execute when you install features and/or roles on a server. However, it does not seem to have penetrated all features, as of Server 2012, and the control panels for the individual roles (IIS, AD etc) typically do not offer such a feature. So if that's their grand plan, they are not there yet.

      You *can* however often "export" the setting that you have chosen using the server manager. This is not export as a powershell script, rather the chosen setup is exported as XML which can be *used* by a PowerShell install script at some later point in time or on some other server to repeat the installation.

      With Server 2012R2, PowerShell will be bumped up to version 4. Version 4 includes desired state configuration which extends PowerShell with recipe-like declarative functionality. I suspect that this is going to form the backbone of the integration of Server Manager and PowerShell in the future, i.e. rather than generating an imperative script, the Server Manager GUI can generate a PowerShell recipe (formally also a script, albeit a declarative one) which can be readily executed by PowerShell (v4).

      The desired state configuration include ways to describe dependencies, package manager style.

      I'd like to see Red Hat or Canonical (Ubuntu) do something similar for Unix, but I don't think even Red Hat has the engineering resources for a project like that.

      Like a GUI frontend to puppet or chef?

      The problem I had with powershell, which I assume is commonplace, is that I fired it up expecting it to be a backwards-compatible superset of cmd.exe. It isn't, lots of the syntax that works fine in cmd.exe gives errors in Powershell or works but does something different from the cmd.exe equivalent.

      Yes, PowerShell is significantly different from cmd. Bash also broke some backwards compatibility with the earliest shells. cmd to PowerShell is a much bigger leap compared to the leap from the first sh to bash. For one, the commands of cmd are (somewhat) unix style in the way they use text/stream stdin and stdout. PowerShell does away with that and streams objects. All PowerShell cmdlets stream objects (COM objects, .NET objects, WMI objects wrapped in PS extended type system). Backwards compatability with older utilities is achieved by regarding old utilities as commands that consume and produce sequences of strings - where string is an object type.

      It has arcane syntax and plenty of warts, but an investment in bash will probably still be useful in another twenty years. Will Microsoft be using Powershell in ten years, in a form that's compatible with current syntax?

      Who knows? Will you still be using bash if something vastly better comes along? One problem with bash (and an obvious difference between PowerShell and bash) is how bash is still created to run on a single machine. Yes, you can use SSH and other tools to fan out and run on multiple machines, but each script is still understood in the context of a single machine. PowerShell is designed with remoting in mind, and many of the commands - and all of the workflows - support multiple remote machines by default. This is not merely the capability to launch remote commands, it also extends to being able to control remote jobs through local job commands and to how the results are marshalled back with a reference back to the computer, thus the command consolidates results from multiple computers into a single result

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    66. Re:Hmm by MightyMartian · · Score: 1

      I've been digging into Powershell because, as you say, it's the only decent game in town for Windows, so if you're doing any kind of major scripting, it's the beast you have to use. But I find it obscenely verbose. *nix userland utils may be very cryptic, but I spend a helluva lot less time in actual man-hours typing them out, and where I have to deal with any kind of inconsistency in output (which, if you use GNU utils, isn't that great anyways), there is still good ol' sed, which once you master regular expressions, can pretty much do anything.

      I don't exactly see a lot of difficulty with system level scripting either, although this is considerably more system dependent. At least in Linux, where I've done most of my work in the last ten years, you've got /proc where you can find, and in many cases alter, core kernel functionality with ease. I can't think of anything Powershell could bring to the *nix table that hasn't already been around one way or another for decades.

      I still just wish that MS had built a decent sh variant with extensions for all the Windows "specialness".

      --
      The world's burning. Moped Jesus spotted on I50. Details at 11.
    67. Re:Hmm by Richy_T · · Score: 1

      Yep, just what I wanted for a simple three liner script, adjust the security policy of the whole machine. Which I may not even have access to anyway and could necessitate several layers of bureaucracy and will not be worth it for the small benefit my script gives.

      I found a work around in the end. So this restriction didn't even provide the security it purported to, it just made my life more needlessly complex. This is the exact opposite of what scripting is supposed to be.

      Don't get me wrong. Though I'm not a Windows guy, Powershell is a good step in the right direction and has some quite nifty features. In a generation or two, it might even have been slick. There was just no need for Microsoft to cripple it like that.

    68. Re:Hmm by Richy_T · · Score: 1

      FWIW, I think the work-around was calling powershell with my script as the parameter instead of calling my script directly.

    69. Re:Hmm by lgw · · Score: 1

      "Taxes on wealthy Americans" is a distraction. It gets you all worked up about class warfare and social justice, but it's just not a significant amount of missing revenue. Worse, tax revenue from the working and middle class is fairly stable though hard economic times, but tax revenue from high income brackets takes a dive in a recession.

      Anyhow, have whatever tax system you want, everything's been tried and nothing has kept federal revenue above 19% of GDP for long. If we keep spending more than 19% of GDP, we will go under. And of course that's what's going to happen - we've already missed the chance to provide a soft landing for people dependent on entitlements. Now when the entitlement bubble bursts it's going to be very ugly indeed: people are planning and depending on promises that simply cannot be met.

      Oh, well, it's mostly medical costs, and as you say we spend a lot more than we have to there, so it's not like there won't be health care after the current insane system collapses.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    70. Re:Hmm by Richy_T · · Score: 1

      Powershell implements a few ideas I'd been wishing for in scripting languages for a while (notably piping objects). I'll still use Perl over it in a heartbeat because those warts, they're of Lemmy from Motorhead stature. Instantiating object is powerful but awkward for simple tasks (And one script I found lists about six different options for which object to complete the same task - see below*) and STDIN and STDOUT handling gives a serious headache for certain tasks.

      Still, definitely some good ideas to pick from.

      (OK, this isn't powershell but I think it applies equally)
      *

      ' Set Http = CreateObject("WinHttp.WinHttpRequest.5.1")
      ' Set Http = CreateObject("WinHttp.WinHttpRequest.5")
      ' Set Http = CreateObject("WinHttp.WinHttpRequest")
      ' Set Http = CreateObject("MSXML2.ServerXMLHTTP")
      ' Set Http = CreateObject("MSXML2.XMLHTTP")
          Set Http = CreateObject("Microsoft.XMLHTTP")

    71. Re:Hmm by Richy_T · · Score: 1

      There aren't really system objects in the same way on Linux since no COM (or whatever Microsoft is calling it this week). Nonetheless, I think something similar could be brought to bear and some of the same benefits could be realized.

    72. Re:Hmm by Richy_T · · Score: 1

      Our grandkids will tell us "F*ck you" and sell us for rendering for the fat. And serve us right.

    73. Re:Hmm by benjymouse · · Score: 1

      FWIW, I think the work-around was calling powershell with my script as the parameter instead of calling my script directly.

      Yes - you can always invoke powershell.exe with a -command parameter. Given that it can take a script block and/or multiple statements separated by semicolon you can invoke a "script" like that.

      Script signing is not designed to be a permission mechanism. Rather it is an integrity mechanism, one that ensures that the script has not been tampered with at rest or in transit. You do not authorize anyone to run a script by signing it, instead you guarantee them that it has not been changed by anyone since it was signed.

      As a sysadmin you may receive a script from a developer who instructs you to "run it on the production server". You may (rightfully) be suspicious towards such requests, especially if it is a highly secured server or a server in a regulated domain. But if the script is signed by an auditor/supervisor authority and you have ok through change management, you are in the clear. Script signing supports such a scenario.

      The default setting to disallow *all* script file execution is just Microsoft erring on the side of caution. They want you to explicitly and knowingly set the execution policy to something else. The same reason that ps1 files are associated with notepad and *not* with powershell. If you doubleclick a ps1 file, the file doesn't run. Instead notepad pops up. :-)

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    74. Re:Hmm by benjymouse · · Score: 1

      I'd use Invoke-WebRequest - which has a standard alias iwr.

      For instance:
      (iwr http://apache.slashdot.org/story/13/08/12/2236256/apache-web-server-share-falls-below-50-percent-for-first-time-since-2009).ParsedHtml.getElementById('title-49466063').OuterText

      will invoke a web request and get this slashdot page and use the COM API to get the title element (getElementById is exposed as an IDispatch method) and print the title.

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    75. Re:Hmm by DuckDodgers · · Score: 1

      Some nations - i.e. Denmark, maintain a much higher revenue as percentage of GDP, have much more social welfare benefits, and still have a thriving economy.

      Now obviously comparing nations is difficult because of so many factors outside of government control. The US economy grew like gangbusters after World War 2 because we were one of the few first world nations without most of our factories and infrastructure in ruins.

      But some of our uncontrolled spending is imprisoning marijuana offenders, which is ludicrous - pot users are idiots, but pot is less dangerous to the user and to others around the user than alcohol.

    76. Re:Hmm by DuckDodgers · · Score: 1

      You're right, of course. But like many people, I'm already comfortable with bash and cmd.exe, so I'm not in the mood to learn something new.

      Of course that attitude is self-defeating - few things irritate me more than working with IT professionals that fight tooth and nail against learning new technology. There may be damned good reasons for preferring technology X to technology Y, but you can't make that judgement unless you're highly skilled in both. It just so happens that right now I'm trying to learn new programming languages, and I had put sysadmin tools on the back burner.

    77. Re:Hmm by benjymouse · · Score: 1

      I can't think of anything Powershell could bring to the *nix table that hasn't already been around one way or another for decades.

      PowerShell is not a good fit for *nix.

      Most Windows APIs (and indeed the Windows kernel with it's concept of handles) are already object-oriented. The low level stuff is typically exposed through native COM APIs. The manageability of kernel, devices etc is exposed through WMI. Applications typically through COM or .NET. PowerShell unifies all these object models.

      Not so on *nix. That is not to say that some of the ideas from PowerShell could not be beneficial to *nix shells. But if you ported PowerShell to *nix you would still need some object-oriented view of the system to reap the benefits.

      It's just two models with advantages and disadvantages for each OS. *nix use a lot of text files and the traditional tools consume and produce text. Hence, a text oriented shell makes sense, and especially a powerful tool like awk.

      Windows does not use a lot of text files. XML files are becoming more prevalent, but mainly configuration is done through object-oriented APIs. Hence, a shell that allows access to those APIs, that speaks objects and makes XML grokking easy makes a lot of sense.

      Which is also why a text oriented shell like bash would be inferior (on Windows) to something like PowerShell.

      Just different ecosystems. But the days where Windows was lagging *nix on scripting capabilities are definitely over.

      --
      Reading slashdot one-liner: (irm http://rss.slashdot.org/Slashdot/slashdot).rdf.item | fl title,desc*
    78. Re:Hmm by DuckDodgers · · Score: 1

      Wow. Thanks for all of that explanation.

      You are definitely correct that bash's strength - consistency over time - is also its weakness. I suspect people have already worked on much more full-featured, modern shells for Linux that just haven't caught on. But one of the curses of proprietary programming, that the company can take your preferred technology tool that they make and end-of-life it, is also a strength because they can force their customers to move in different directions. Sometimes those directions are backwards or at best sideways, but this is a case where Microsoft is pulling things forward.

      Some guy on Sourceforge had started working on Powershell for Mono so that you could use one admin tool on all of your platforms. I think the project was abandoned, but I wonder if he was on to something good.

    79. Re:Hmm by DuckDodgers · · Score: 2

      I think you unfairly got modded down, sorry enthusiasm for FOSS got in the way of fair discussion.

      Typically Linux gets more patches because the person has a lot of software installed. If you've got a pretty barebones setup and only pulled in exactly what you need (Apache + PHP + PostgreSQL), I imagine the patch rate isn't too different from something like IIS + PHP + PostgreSQL or IIS + .NET framework + SQL Server.

    80. Re:Hmm by lgw · · Score: 1

      Yeah, different things work in different countries. The only thing that would really change the actual resources available to us would be for the US to become a net exporter. That's not as far-fetched as it sounds. We're a net exporter of energy, and I expect us to be a net exporter of oil in my lifetime. Automated manufacturing is really blossoming, and may make a huge difference in the amount of manufacturing done in the US in the next 10 years (that's never really fallen, though the jobs have gradually been replaced by robots, but its getting cheap enough now to support growth by export).

      While everyone has a government program they hate, it's all peanuts aside from defense and "mailing checks to people" (entitlements, plus pensions), and interest on the debt. Everything else combined is down around 20% of the budget, and not really worth worrying too much about. Massive cuts in the defense budget are certain at this point, but rising rates are rising and will likely balance that. There's really nowhere left to go beyond reducing entitlements and pensions - but I just don't believe that will happen short of disastrous collapse of the system. Like all bubbles popping that's going to be quite ugly for a few years, then be far less important long term than it seemed.

      --
      Socialism: a lie told by totalitarians and believed by fools.
    81. Re:Hmm by turbidostato · · Score: 1

      "You realize all you've really said was "I understand Linux and not Windows Server, and I like what I already know"?"

      What you don't realize is that I manage (not alone, certainly the other five guys are of help) around 2000 windows servers. You can bet I know my trade.

    82. Re:Hmm by turbidostato · · Score: 1

      "Yeah, but you're running NFS4, Samba4, BIND9, and Postfix with a bunch of extras bolted on (dnsrbl, postscreen, etc.) which didn't exist 20 years ago! :P"

      Which means an incremental advantage spread along 20 years, nothing to difficult to cope with.

    83. Re:Hmm by turbidostato · · Score: 1

      Yeah, you're right. Being there-done that has sometimes the nasty side effect that some wikipedia-based toddlers can correct you. Yes, I didn't start using Postfix 20 years ago, I remember using Sendmail till around 1999, so it makes merely 14 years for postfix. First incarnations of SMB I remember using on HP-Ux about 1993/1994 and LDAP no later than 1998.

      Is that better for you?

    84. Re:Hmm by lgw · · Score: 1

      And you can't do proper change management and prevent configuration drift? How bizarre. Do you let the servers patch themselves through automatic Windows Updates or something? Do you have stateful servers running software that has some wonky patch scheme? How are you not in precise control of the software running on servers?

      --
      Socialism: a lie told by totalitarians and believed by fools.
    85. Re:Hmm by turbidostato · · Score: 1

      "How are you not in precise control of the software running on servers?"

      Who says I am not? Of course I am. Of course we deploy patches in batches over different waves of servers with proper approval processes, proper paper track record, SCCM support, some helping scripts here and there, and the whole of ITIL burden.

      That's exactly why I know the difference between doing it properly and what happens in windows-world.

    86. Re:Hmm by turbidostato · · Score: 1

      "Most of the newer admin tools in 2008 R2 can spit out powershell cmdlets at the end of a wizard"

      Which is a very good idea but barely new. Google for AIX SMIT.

    87. Re:Hmm by lgw · · Score: 1

      But that's exactly what happens in windows world. Managing change control for Linux and Windows servers differs only in the tools these days (and for stateless servers, not even that - an image is an image). What on Earth are you going on about?

      --
      Socialism: a lie told by totalitarians and believed by fools.
    88. Re:Hmm by smash · · Score: 1

      Never claimed it was new. Parent post commented it was nice that server 2012 did that. Microsoft have been writing the back end of their admin tools in Powershell since about 2006-2007.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    89. Re:Hmm by Tablizer · · Score: 1

      You should have started worrying about that in 2001, when the bad policies began. Nancy Pelosi warned about financial gloom and doom back when W first pushed the tax-cuts, but was laughed off the floor by Republicans as a chicken-little.

      It wasn't broken all at once and cannot be fixed all at once.

    90. Re:Hmm by smash · · Score: 1

      ... and this behavioural change at Microsoft is to be commended. Its quite a refreshing change from the days of autorun, unsigned VB macros running by default, activeX enabled for the internet and blank SA passwords by default allowed in SQL.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    91. Re:Hmm by smash · · Score: 1

      If you're tying out full powershell cmdlet names you're probably doing it wrong - the shell and IDE both have command completion via tab, parameter completion, etc.

      As far as access to /proc goes, the powershell equivalent would be to query wmi. there's a LOT more in WMI than you'll get out of /proc.

      Try "get-wmiobject -list" for example. Then get-wmiobject with one of the class names in the list.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    92. Re:Hmm by smash · · Score: 1

      It's a case of using the correct tool for the job. Powershell is not a replacement for Perl. Powershell is not heavily text processing focused, so trying to munge text with it is like driving nails with the blunt end of a screwdriver. Possible? Sure...

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    93. Re:Hmm by smash · · Score: 1

      Yes, you can go with Windows or you can do the proper thing: hire competent developments.

      Oh really? What if the application your business deems to be mission critical is not available on other platforms?

      No, it isn't because, as you say, the trade offs. As Bellovin stated, the most secure platform is the one you know the best: it makes no sense using Windows on most on your servers and then go with a drastically different OS for a minority of them. Given that, Linux offers the best trade off: people will tell OpenBSD makes for a better firewall and maybe they are right but then, Linux can be competently used all the way so it makes an overall better choice.

      Maybe you should hire competent administrators. Plural.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    94. Re:Hmm by smash · · Score: 1

      Pretty much that. The tools are available to effectively secure and maintain both platforms. The platform choice comes down to what is supported by your application vendor and/or software developers. I think he perhaps took my "some Linux administrators are muppets" comment personally perhaps, and flew off into a barely coherent, wandering rant.

      --
      I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
    95. Re:Hmm by karbonforms · · Score: 1

      "multi-track music synthesizer" In Bash? Per sample processing and timing? Synth? Reverb? Compression? etc? I wrote one in Javascript. It was a struggle. But I'm not superhuman like you! (I jest)

    96. Re:Hmm by lgw · · Score: 1

      2001? 2001?!?!?! What sort of bizarre partisan world are you living in. Please stop rooting for your team in the big game - it adds nothing to the discussion to pretend the parties are different here.

      There is no small government party. That's the problem. It's just a fight as to which side can loot the treasury for it's own supporters - and in some cases there's not even a difference there, as a big chuck of the national debt was trillions (!) handed by both sides to banks as spoils of victory.

      And what's worse, anyone who suggests "maybe the government could be just a little bit smaller" gets shouted down as an insane libertarian, as if the only choices were "as much government as possible" and "no government at all".

      --
      Socialism: a lie told by totalitarians and believed by fools.
    97. Re:Hmm by badkarmadayaccount · · Score: 1

      D-Bus? The rest of the shit sounds like a customized zsh setup.

      --
      I know tobacco is bad for you, so I smoke weed with crack.
    98. Re:Hmm by turbidostato · · Score: 1

      "but that's exactly what happens in windows world."

      Exactly. I already told that's the way we managed windows. The point is that you think that's the way to go.

      "What on Earth are you going on about?"

      See my point? That's the result of 30 long years of marketing and unwise management: you don't even know what the heck I'm talking about.

    99. Re:Hmm by MooseMiester · · Score: 1

      Could not agree more, Linux is incredibly easy to administer. All the same basic functions are on both platforms, but with Microsoft you are constantly searching for the right dialog, or where they hid the stupid context menu in THIS version.

      RANT
      Why would I trust my website to a company who after 20 years can't create a decent FTP server or talk to WebDAV?
      END RANT

      --
      Murphy was an optimist
    100. Re:Hmm by Richy_T · · Score: 1

      I think the thread's dead but I just spent most of the day yesterday trying to get a powershell script to run either via srvany or vi xp_cmdshell. In the end, I gave up. Weird issues on the srvany (local machine security showed different than when run from the command line and the snapin needed was not available) and xp_cmdshell just had weird hangs. In the end, the powershell itself wasn't needed (it was just calling invoke-sqlcmd) but it was very frustrating.

  5. Re:1st post. by ackthpt · · Score: 3, Informative

    apache 4 life!

    No kidding. I hate IIS right now. It's so much more time consuming to sort out configuration issues with than Apache.

    --

    A feeling of having made the same mistake before: Deja Foobar
  6. stand alone nginx? by mozar · · Score: 1

    I always thought nginx was used as a web accelerator, working in conjunction with other web servers like apache. People use nginx as a stand alone web server?

    1. Re:stand alone nginx? by rainer_d · · Score: 1

      I have a busy Typo3-site running with NGINX+PHP-FPM.
      No Apache anymore.
      Unless you need complex rewrite rules or the need for user-accessible .htaccess files, there's no need for Apache.

      --
      Windows 2000 - from the guys who brought us edlin
    2. Re:stand alone nginx? by CadentOrange · · Score: 1

      I use nginx as a web server and load balancer. It works very well and I have no need for Apache.

  7. Not "always" dominated by EmagGeek · · Score: 1

    Apparently it did not dominate at some point back in 2009.

  8. Removed parked sites by Todd+Knarr · · Score: 4, Insightful

    In my book, the stats ought to be excluding "parked" sites, ones which don't have any content beyond a parking page. I'd also exclude sites whose only content is boilerplate advertising (eg. the one you get if you're on Cox Cable's internet service and type a nonexistent domain into your browser). I'm more interested in what servers are being used for productive work without the numbers being skewed by the guy who registered 10,000 domains related to the latest fad and is waiting to see which ones he can sell at a profit.

  9. I've dealth with both by kilodelta · · Score: 1

    And hands down I prefer Apache. IIS is still closed and tries to be cute but fails miserably both for configuration and security.

  10. Re:1st post. by Anonymous Coward · · Score: 2, Funny

    But IIS is NSA-friendly!

  11. Citation needed - When/why did GoDaddy switch? by bramp · · Score: 1

    I'm curious to find out why GoDaddy switched from Apache to IIS?

    1. Re:Citation needed - When/why did GoDaddy switch? by dltaylor · · Score: 4, Informative

      The originally-linked Yahoo finance page is expired, but here's the /. discussion from 2006:

      http://slashdot.org/story/06/03/23/008229/godaddycom-dumps-linux-for-microsoft

  12. What about... by djupedal · · Score: 1

    Greg Stein - I'd like to here what he has to say?

  13. Re:1st post. by Anonymous Coward · · Score: 5, Funny

    There hasn't been any serious security holes in IIS for years now. So the government ordered MS to add PHP support.

  14. Re:1st post. by bprice20 · · Score: 1

    Seriously though. Apache, nginx, lighthttpd, hell.. mongrel, thin, etc... Anything before IIS. The point and click mentality works for people that know how to follow instructions but don't care how things work. That having been said I guess this news is legit.

  15. Apache? by Galactic+Dominator · · Score: 1

    In many respects, it is the most successful and widely deployed open-source technology today.

    Not even close. OpenSSH owns Apache here and that's not even considering things like BSD sockets.

    --
    brandelf -t FreeBSD /brain
  16. Not the first time either by MrNemesis · · Score: 3, Informative

    Dupe! ...and the knock-on.

    I'm beginning to wonder if GoDaddy's web server policy follows the solar cycle... :)

    From the look of Netcraft's graph, prior to the GoDaddy move it looked like most of the marketshare lost from apache went straight into nginx (itself also frequently used as a caching proxy/frontend to another web server on the backend) so I'm not quite sure what the summary/TFA are trying to imply.

    http://news.netcraft.com/archives/2013/04/02/april-2013-web-server-survey.html

    --
    Moderation Total: -1 Troll, +3 Goat
  17. Wow by synapse7 · · Score: 1

    Godaddy must have been running apache on Windows server, otherwise the licensing costs would have been a fortune.

  18. Re:1st post. by Anonymous Coward · · Score: 1

    I'm not using either. I got burned on the most recent apache/php upgrade where all of my sites went down because of some retarded issue with PHP not handling something or another. I don't know what the problem was nor do I give a fuck, all I know was that it was poorly planned for by Apache and within 2 days of fighting to get any of my sites to keep from crashing I just switched to Nginx. I've had a few issues due to the fact that Nginx wasn't installed initially so all the permissions were still set for apache:apache on some directories but it works much faster and with far less delay than apache ever did. I imagine it will work much better when I do a fresh install where apache isn't included.

    What I'm getting at is that these numbers are dropping for a variety of reasons and IIS isn't the whole reason, sometime it's apache.

  19. Rubbish by Tough+Love · · Score: 5, Informative

    it's Microsoft IIS that has picked up share.

    No. Microsoft picked up a bunch of parked domains and its long term trend is still down, even for parked domains. In terms of active sites, Microsoft's trend is steadily down, now around 12% and sinking. And it is indeed nginx that is mainly picking up share from Apache, though Google is hanging in there pretty well too. This puff piece glosses over the one fact that can't be denied: Linux servers rule the web by a large and increasing margin.

    http://news.netcraft.com/archives/2013/08/09/august-2013-web-server-survey.html#more-12060

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  20. back-end security doesn't matter to you? by dltaylor · · Score: 1

    You could care less if the back end that has your credit card numbers or medical info' has less-effective security, either because of the built-in Windows back doors or the MS-certified script followers called admins operating the site?

    I've cancelled credit cards because they could not convince me that they even understood the question regarding the boundary between the web access for those that want it and the actual database of account information.

  21. Re:Didn't I hear that story YEARS ago?! by Tough+Love · · Score: 1

    You probably did. From time to time Ballmer issues an order to ramp up the web share for IIS, so a couple M$ salesmen drop by to bribe the usual suspects at godaddy. Of course all they get is parked domains, and only for a while.

    --
    When all you have is a hammer, every problem starts to look like a thumb.
  22. Microsoft was paying large hosts to switch $10 sit by raymorris · · Score: 4, Interesting

    A while back Microsoft was paying hosts and registrars with large numbers of domains parked, or $30 / year type, to switch over.
    I don't know if that program is still active.

  23. Uh, didn't godaddy switched over years ago? by the_B0fh · · Score: 3, Interesting

    why is it that everytime I read about a dip in apache stats, it's because of godaddy switching over? Bloody hell, they've been switching over for years, just how many effing sites do they have?

  24. Re:LOL. PHP will provide plenty of holes by cjb658 · · Score: 1

    They're gonna tear Microsoft a new one.

  25. Re:1st post. by smash · · Score: 3, Insightful

    Be that as it may (I hate the IIS administration interface as well), for an enterprise who runs microsoft on the desktop, microsoft SQL, and other microsoft services, IIS integrates far easier into that environment.

    And I suspect this is where it is winning share - the web isn't static pages any more.

    Sure, Apache can do this, but the environment is totally foreign to your average corporate type.

    And as usual, security is probably some way down the priority list.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  26. "admitted" 3rd graders can reboot Windows $4 hosti by raymorris · · Score: 2

    No, he "admitted" than any 3rd grader can reboot Windows. $4 hosting companies don't get server admins, the get phone monkeys. I used to get frustrated with their "admins" being clueless, but then it happened. I was working with HostGator, a top hosts who has the same business model as GoDaddy hosting, and I found out their "admins" don't have access to the datacenter. They are literally just a phone bank and marketing company, with The Planet running the servers. So yeah, it's easier to hire Windows phone monkeys than Linux phone monkeys. (Maybe because Linux users tend not to be the phone monkey type?)

    If you want actual qualified admins, people who know the difference between a gigabit and a gigabyte, you're going to pay no matter which OS. (Though I do know a _certified_ Windows admin who doesn't know the difference between bits and bytes ...)

  27. Paying Go Daddy again? by CODiNE · · Score: 1
    --
    Cwm, fjord-bank glyphs vext quiz
  28. Re:What about Linux (the kernal)? by smash · · Score: 1

    I suspect the BSD ip stack would give it a good run, given that it is in every i-device, every mac, Windows, Juniper, Netapp, some Cisco devices, etc. It also formed the core of the original Linux IP stack.

    --
    I run: Windows, OS X, Linux, FreeBSD. Just because you have a hammer, doesn't mean everything is a nail.
  29. Re:1st post. by MightyMartian · · Score: 4, Insightful

    IIS is an absolute fucking nightmare when you have to deal with a buggered up config. Actually that applies to most MS point and click services. Apache can be a bastard, but at least I can back up the configs with a quick "cp".

    Worst experience I ever had was with IIS and Exchange and something going wonky with IIS's settings, and OMA completely screwing up. In the end I literally had to uninstall IIS. Only MS would build things with such fragility and such insanely dangerous solutions.

    --
    The world's burning. Moped Jesus spotted on I50. Details at 11.
  30. fork() vs epoll() by NynexNinja · · Score: 5, Informative

    I think when Nginx first came on the scene (a little bit after libevent was released), Apache had known about the scalability problems associated with using fork() versus epoll(). This was almost a decade ago. Apache has yet to provide a scalable implementation using epoll similar to what Nginx provides. Its at least a 10x speed improvement on the same hardware.

    All that I can say is that all new installations over the past I'd say about 5 years, I've been doing using Nginx only because Apache just can't scale well with their fork() implementation compared to Nginx. I'd say this has something to do with people leaving Apache, at least all the people I know.

    1. Re:fork() vs epoll() by codealot · · Score: 2

      Why are you still using prefork? You have at least two good alternative MPMs, one of which can use epoll().

  31. it is getting a LOT better by raymorris · · Score: 2

    Having acknowledged the sometimes extreme security issues PHP has had in the past, I have to say it's getting a LOT better. PHP was designed as something like a blogging system, not a general purpose programming language. Because people are using it for general programming, they have made huge improvements.

    Now if only people would read the giant warning at the top of the SuExec documentation: "SuExec can result in severe security risks. Do not consider using SuExec unless you are knowledgeable about ...". That warning is there for a reason. SuExec / suPHP really is dangerous as hell, just like it's documentation says.

    1. Re:it is getting a LOT better by Anonymous Coward · · Score: 3, Insightful

      The problem isn't the language, it's the community. Google "php mysql" and the first link teaches you how to create a SQL Injection point. And 'experienced' PHP developers still write code that way. I'm convinced they just don't care.

    2. Re:it is getting a LOT better by Anonymous Coward · · Score: 1

      When PHP came out the term "blog" wasn't even coined yet.

      PHP derives from Perl (where it was first implemented) and Service Side Includes (SSI)--http://en.wikipedia.org/wiki/Server_Side_Includes

      There's no excuse for why PHP sucked early on. It just sucked. The implementation was crap. Period. End of story.

      Is it useful? Of course. That doesn't mean it doesn't suck.

    3. Re:it is getting a LOT better by aaronb1138 · · Score: 1

      You're convinced they just don't care, but I've talked to enough "PHP coders" and similar "web designers" who are just dumb by IT and CS standards (though still hover in the 90-110 IQ range). They're the roofers of our industry.

      Hrm, is it odd that I meant that metaphor one way and it fits a few others?

    4. Re:it is getting a LOT better by ko7 · · Score: 1

      "Hrm, is it odd that I meant that metaphor one way and it fits a few others?"

      It's not odd... it just fits...

  32. Re:1st post. by Anonymous Coward · · Score: 3, Insightful

    Sounds like your gripe should be with the fine PHP people, not the Apache project.

  33. Actually, they are losing share to nginx by haggholm · · Score: 2

    The Netcraft article does have statistics that exclude parked domains, and here IIS doesn't look to have an increasing trend at all. The only webserver with a steadily increasing trend is nginx. In the graph of the top million busiest sites, nginx is again growing the fastest, though "other" is also a growing category.

  34. Re:Microsoft paid GoDaddy for exactly this reason by couchslug · · Score: 1

    Good find, and

    citation very much needed.

    --
    "This post is an artistic work of fiction and falsehood. Only a fool would take anything posted here as fact."
  35. Re: 1st post. by Anonymous Coward · · Score: 1

    Asp.net MVC (especially with service stack for rest/ajax stuff) with ef as the orm and take your pick of db is really a pleasure to work with. All the point and click stuff (which I don't actually ever use) is just a shine wrapper over a couple config files that are no harder to work with than Apache. Problem is that the barrier to entry for windows is much lower than Linux so there are a lot more incompetent morons pretending to be sysadmins.

  36. Re:1st post. by micheas · · Score: 2, Interesting

    It was mostly due to microsoft cutting a check to godaddy to not show apache traffic server in the headers.

    Godaddy runs IIS on linux. Well, they run IIS behind apache traffic server so which webserver to count as the webserver is a bit of an academic question. The moral here is that godaddy hosts a lot (hundreds of thousands, if not millions) of inactive sites that they collect 9.95 or so a year for hosting.

  37. Re:How does GoDaddy feel about MS price hikes? by Tablizer · · Score: 1

    When is MS going to run out of money to subsidize itself?

  38. Re:1st post. by Zenin · · Score: 5, Interesting

    You can backup IIS's config just the same. It's just an XML file (and a surprisingly easy to read/understand one at that).

    You can also do your config by editing it as well, although typically you'll use something like AppCmd or more modernly PowerShell.

    It's frankly easier to reliably automate/script IIS configuration changes than Apache. Apache's configuration system is incredibly powerful and at times that's needed, but that power also means it's effectively impossible for a random admin script to make sense of it enough to modify. Such a tool must intrinsically know not just Apache's config system...but your specific implementation with it. AppCmd and PowerShell can pretty reliably walk into nearly any IIS setup, no matter how convoluted, and safely make additions, tweaks, etc.

    Frankly I'm first and foremost an Apache fan, have been since it was literally A Patchy Server. And I still deploy it more often than not, often in front of IIS to get some clever hack done that just isn't practical in IIS.

    But that said...I'm warming up to IIS, especially as C#/.Net gains major traction in the wake of Oracle's kiss of death to Java.

    --
    My /. uid is better then your /. uid
  39. Re:1st post. by Wootery · · Score: 1

    I liked Mono, but it is stillborn with the IIS immigration, plus the need to have .NET on Linux / Apache only demonstrates it's utility.

    Say what? Your problem with the Open Source .NET stack is that... it's a .NET stack?

  40. Re:Microsoft was paying large hosts to switch $10 by gbjbaanb · · Score: 4, Interesting

    IIRC, GoDaddy switched to IIS for these parked domains and a dip in Apache usage appeared, then reversed itself a year or so later... now its repeating.

    Seems more like a money-making initiative fromGoDaddy, or a money-losing initiative from MS yet again. What's the chances history will repeat itself once the contract runs out...

  41. Re:1st post. by TheRaven64 · · Score: 3, Informative

    And people say Microsoft doesn't innovate. Making something that's more painful to configure than Apache requires an impressive amount of R&D...

    --
    I am TheRaven on Soylent News
  42. interpretation of data... by MS · · Score: 1

    Apache isn't below 50%. What counts, are "active sites", not parked domains or similar (see Netcraft). Numbers for active sites fluctuate much less and show us a more realistic picture. Apache is still at 53,62%.

    And no, IIS is not the winner, but a distant second with only 11,78% market share. Considering, IIS had once 38% (october 2007), IIS is the biggest looser so far.

  43. Prefork is the worse MPM for performance by kervin · · Score: 3, Interesting

    Prefork plus increased file descriptors? You're kidding right? While you can get Apache to match NGinx, it's definitely nowhere that simple. As optimized as Unix fork() is, processes are going to use more resources than threads in this scenario every time. Prefork is the worse MPM you can use when you need performance. Even the Apache manual spells this out.

    You'd have *begin* with worker or event MPM, use Apache 2.4 at least, and finely tune for your Application and specific load.

    The benefit of NGinx is that you get a highly optimized web server right out of the box. You don't have to mess with the configs and you're almost there.

    Technically the Apache team can do the same if they get rid of Prefork and a whole bunch of decades old legacy configuration options. Remove code processing modules from the webserver application space, i.e. get rid of mod_php for php_fpm, etc. All this can be configured now and you'll get that speed and stability, but it's just not done out of the box.

    With NGinx it is. The only way to do things is the 'fast' or optimized way.

    1. Re: Prefork is the worse MPM for performance by Ash-Fox · · Score: 2

      processes are going to use more resources than threads in this scenario every time.

      I definitely agree it uses more resources typically - It doesn't however mean that the response time is worse.

      Prefork is the worse MPM you can use when you need performance.

      System resource wise, not necessarily performance.

      The benefit of NGinx is that you get a highly optimized web server right out of the box. You don't have to mess with the configs and you're almost there.

      Flipping a few configuration settings in Apache's httpd.conf and Linux's sysctl.conf is trivial for me, it's only a minute or two.

      Remove code processing modules from the webserver application space, i.e. get rid of mod_php for php_fpm, etc. All this can be configured now and you'll get that speed and stability, but it's just not done out of the box.

      mod_php, php_fpm aren't part of the default Apache configuration? And if you want to remove module support all together, you could just compile Apache with:

      ./configure --disable-so

      Not that I have ever seen any notable speed differences through disabling Dynamic Shared Object (DSO) Support.

      With NGinx it is. The only way to do things is the 'fast' or optimized way.

      Load testing performed through SOASTA Cloud Test sadly didn't live up to those numbers on my environments. There was no notable improvement over Apache and at the cost of sacrificing useful functionality provided in Apache for what appeared to be no gain. Perhaps it was my environments, but I doubt it.

      --
      Change is certain; progress is not obligatory.
  44. Re:1st post. by pr0fessor · · Score: 1

    When you need an internal application and you need it yesterday C#. and I'm not just talking about with iis. C# is just so easy and the .Net framework has so much and if you are stuck in an all windows environment anyway...

  45. Re:BGP for load balancing ? by Ash-Fox · · Score: 1

    BGP publishes your *network* routing tables to other routers so eventually the core routers can learn how to get traffic to you.

    You can also use it on 'internal' (they're sort of semi-public in how they route traffic through routers technically) networks without pushing the routes themselves to external networks. It is done via a combination of weights and port hashes to direct traffic to do load balancing on routers. Using BIRD, the announcements can be performed by the servers themselves to route traffic on an internal network, providing their own weights declaring their load etc. Server downtime handled gracefully through BGP, since they stop announcing when that happens.

    That is part of load distribution, the target IP is the same only the route changes depending on the source, and the router doesn't have to do anything much less hashing source and destination IPs.

    Under the system I described above, you need to apply the port hashing because you're not using BGP to simply direct traffic, you're trying to ensure that a TCP connection is consistently gets routed to a specific server. This would be a non-issue for sessionless protocols like UDP.

    --
    Change is certain; progress is not obligatory.
  46. Re:1st post. by Zenin · · Score: 1

    You do realize many of these options are comparable to compile time options in Apache and/or PHP?

    It's extraordinarily rare that they need tweaking...but when they do, I'll take a registry key (trivially managed via PowerShell btw) over a complete reconfigure and recompile from source of Apache and/or PHP, etc.

    --
    My /. uid is better then your /. uid
  47. Godaddy... by iXam · · Score: 1

    Well to my calculation Godaddy has the most "popular" IP-address on the Internet. http://dnsdigger.wordpress.com/2013/05/30/what-single-ip-is-the-most-crowded-on-the-internet/