Slashdot Mirror


Server Optimization For Newbies?

supaneko writes "I recently took a new job as a network and server administration for a small IT company. I am absolutely shocked at how much is taking place within this company that I have little to no experience with. To help bolster my experience, I purchased a used server to use for hands-on training and practice. My ultimate goal is to have a complete, secure LAMP server available to the public running CentOS. I have been browsing the Net for various guides and tips on setup, optimization, security, and maintenance, but nothing I've found really gives me a hands-on approach to the topics I want to learn about. When you all started out, what route did you take to pick up the server setup and maintenance skills you have now? Is there anything in particular that you would recommend to someone who has excellent skills with consumer PCs and servers but is a total newbie to corporate and enterprise networking and servers?"

295 comments

  1. Virtualization by bigtallmofo · · Score: 5, Informative

    Learn about virtualization. Take your pick of free offerings: ESXi and Virtual Server from VMWare, Xen, Virtual Server from Microsoft, etc.

    Using virtual servers that are hosted on your new physical server will allow you to set up any kind of operating system you want and any applications on that operating system again and again and again with no fear of messing anything important up. Also, you can run (depending on memory) multiple operating systems side by side.

    From there, you can start diving into learning all the operating system, application server, database server, etc minutia you like!

    Oh, and don't forget learning about P2V. That will allow you to do all kinds of "what if" scenarios without affecting real servers.

    --
    I'm a big tall mofo.
    1. Re:Virtualization by sleeping123 · · Score: 0

      Is there a "slashdotted" button on P2V? Post the IP, and we'll run a test right now :P

    2. Re:Virtualization by sskinnider · · Score: 5, Insightful

      Virtualization is probably the greatest training technologies ever created, especially for the Network Administrator and Server Administrator.

    3. Re:Virtualization by foo+fighter · · Score: 4, Insightful

      I disagree, strongly.

      He already said he's using his own server for educational purposes. If he breaks something, he'll have to fix it.

      We learn by doing, there is no other way.

      Also, the virtual platform can be hard to set up and optimize itself, and can cause confusing or misleading stats from your platform's performance monitoring tools.

      --
      obviously no deficiencies vs. no obvious deficiencies
    4. Re:Virtualization by arth1 · · Score: 1

      Plus, you don't optimize by adding another abstraction layer, and that was what the OP asked for. Virtualization has many advantages, but increased speed with the same amount of resources is not one of them. If anything, you can expect a measurable slowdown by going the virtualization route, unless you also bump the hardware.

    5. Re:Virtualization by BSAtHome · · Score: 0, Redundant

      Agreed, you:
      1 - pick a topic
      2 - get acquainted
      3 - make mistakes
      4 - ask for help
      5 - learn from mistakes
      6 - get better
      7 - rinse and repeat
      After 10 years or so you can look back and discover that you a) actually became a sysop/bofh or b) have given up on the way and are now an annoying guy in the IT department. Anyhow, it is hard work to learn your ways and your mileage may vary.

    6. Re:Virtualization by mysidia · · Score: 3, Funny

      127.0.0.1

    7. Re:Virtualization by calmofthestorm · · Score: 1

      And to retro video game players like me;)

      --
      93rd rule of Slashdot: No matter how obvious my sarcasm is, my comment will be taken seriously by someone.
    8. Re:Virtualization by Glonoinha · · Score: 4, Informative

      Spend some time playing with vmware - I think you will be pleasantly surprised with just how close it is to running on the bare metal.

      The only thing I don't use virtualization for is playing games that rely on frames per second - other than that, I honestly doubt you could tell the difference (and funny thing is - some things run FASTER - backup and recovery of the entire machine is as simple as copying some files from one hard drive (your backup set of vm files) to another. I can have a complete restore in about 5 minutes, and I can dupe a machine in about 6 minutes.)

      --
      Glonoinha the MebiByte Slayer
    9. Re:Virtualization by Crudely_Indecent · · Score: 2, Insightful

      While your advice is good, it's off topic and not directly related to his question, which was optimization. You can run an unoptimized VM just as easily as you can run an unoptimized real machine. Furthermore, the VM host can benefit from optimizations and must be at least stable to run VM's in the first place. This guy is new, lets not ask him to run 2 servers (VM Host + VM) on 1 system right out of the gate. It's all in a days work for some of us, but this guy is new and wants to learn.

      That said, I'll drop my 2 cents onto the original question. One of the problems with learning to run a webserver is that traffic doesn't happen overnight. What runs great when you're browsing your websites may not run so great when 10 or 100 people are simultaneously viewing your website.

      Setting up LAMP is fairly well documented, but writing and running efficient applications is not. You should look into methods of traffic generation to simulate real-world loads (stress testing). I'm not talking about a looped wget --delete-after, maybe give a few stress testing articles a read

      --


      "Lame" - Galaxar
    10. Re:Virtualization by COMON$ · · Score: 4, Insightful
      Virtualization is a wonderful learning tool. However, this being slashdot I am feeling a bit rantish.

      Taking a job where you don't have any experience is fine when you have someone to learn from. However, having cleaned up my fair share of messes, or as I call them 'live learning environments'. I would suggest you start working for someone with experience AND play in a virtual environment.

      Virtualization is the future but this career field is beyond the infantile stage of hiring someone with no experience and having them in charge of your business. Entry level admins aren't THAT expensive. What do I mean by that? Most IT workers can halt a business if not destroy it completely with less than a day's work. There is a certain working order to getting to know how to do things right. Do tech work, watching the seasoned admins do their job well and getting in on the front lines. When you have learned all you can from them, move on to a new business or move up where you are. Don't take someones business and brag about how good you are because you are too proud to take an entry level position. Then then call up /. crying because you are in over your head.

      I mean good lord, the number of people in the last 6 months I have had to work with in forums because they didnt understand what FSMO roles were, or what a port was, or get this having to clean up a router because the idiot thought that /24 meant 1-24. (their router had been like that for almost a year).

      My advice? Quit and take a job where you can learn from someone, check your ego and learn. All you are going to do by yourself is pick up a bunch of bad habits and a HUGE ego because no one is going to be there to tell you how much of an idiot you are being.

      --
      CS: It is all sink or swim...oh and did I mention there are sharks in that water?
    11. Re:Virtualization by COMON$ · · Score: 4, Interesting
      It was not off topic, the guy is a noob and had the wrong title for his question. Read again:

      When you all started out, what route did you take to pick up the server setup and maintenance skills you have now? Is there anything in particular that you would recommend to someone who has excellent skills with consumer PCs and servers but is a total newbie to corporate and enterprise networking and servers?

      The guy is asking how to work with serving apps in general, he is light years from optimizing them. Like most noobs they post something not knowing what the hell they are doing, way over their heads, asking about something trying to be smart by saying I am trying to set up a PDC in server 2008, but cannot get my exchange 2007 running because it says I am getting a conflict with another IP. Reading things like this and the question in this forum make me shiver and want to scream because there are so many things wrong with the statements I barely know where to start. And in my example the guy was thinking there was just an IP problem, when in actuality "Can open, Worms everywhere".

      --
      CS: It is all sink or swim...oh and did I mention there are sharks in that water?
    12. Re:Virtualization by Joebert · · Score: 1

      Please tell me it's all down hill after the first 5 years, and mean it.

      --
      Wanna fight ? Bend over, stick your head up your ass, and fight for air.
    13. Re:Virtualization by Anonymous Coward · · Score: 0

      No! Bad tech! No toys for you!

      To keep your sanity, I would recommend against doing such a thing until you know about servers.

      On the job training (read: borked stuff) sucks, but it's the best teacher. And ask yourself the simple questions: how is it updated? how is it broken into? how does it react to fake Natalie Portman jpegs?

    14. Re:Virtualization by atraintocry · · Score: 2, Informative

      Emulation is more useful for playing older games, since many of the old consoles and computers ran on Z80s or 68000s. A very crude way of putting it would be to say that, while emulation completely recreates the old hardware in code, virtualization (in this context) simply runs the code in a sandboxed portion of memory.

    15. Re:Virtualization by calmofthestorm · · Score: 2, Interesting

      Oh I know all about that, having written at least one (proof of concept, buggy as hell, fake architecture) emulator myself.

      Essentially, I've found VirtualBox can run some windows games that don't run in wine (not really a virtualizer or an emulator, it reimplements parts of the Windows API on top of Linux libs), at least not for me. (Diablo may be listed as working but I've followed all the instructions and...nope)

      I use dosbox for anything that goes in dos, it's not like XP can play most of those anyway.

      Also can be used to install things like iTunes in a sandbox for requiem. Which, apparently, is actually legal, since from my understanding of the DMCA you just can't /distribute/ DRM bypass tools or do it for other people.

      --
      93rd rule of Slashdot: No matter how obvious my sarcasm is, my comment will be taken seriously by someone.
    16. Re:Virtualization by Pseudonym · · Score: 4, Insightful

      Plus, you don't optimize by adding another abstraction layer [...]

      No, but you enable optimisation thereby.

      In system design, abstraction is one of the best things you can do for performance, because it forces you to insulate your components from each other, and forces you to think about the interfaces through which they interact.

      In an appropriately abstracted system, if you find a performance problem, you can then swap out a piece and swap in a new one, and everything should still work. Or you can move a virtual server onto a new physical server, and everything should still work.

      --
      sub f{($f)=@_;print"$f(q{$f});";}f(q{sub f{($f)=@_;print"$f(q{$f});";}f});
    17. Re:Virtualization by BitZtream · · Score: 3, Informative

      This is a great idea.

      I'd like to add that your two basic options for learning to optimize are: hiring someone that already knows it and you can learn from and time.

      The first is obvious as to how it works, though it may be difficult for you to find someone to learn from since you lack the experience to know what you need to learn at this point. Keep in mind though, the most experienced admins have not seen EVERYTHING that can be a problem, so they too are going to be in the same position you are on occassion. You can still learn from them in that situation by watching how they go about finding a solution.

      The second is pretty much a brute force method, and the way most of the IT industry learns it. You'll simply get better over time as you gain experience. Occasionally you'll have a problem that will require you to figure out the solution sooner than you'd like, especially if your business does well and the servers become loaded sooner rather than later.

      I'm all for setting up your server to be as optimium as possible from the start, but that also has its problems. Most of the time when you start you don't actually know what you need to optimize. Sometimes you do, like a SPAM type company needs mail servers that can handle large volumes of traffic and deal with large queues for sites that don't respond on the first try. 10 years ago, pretty much every site was going to accept your mail on the first try, now, due to greylisting for instance, many sites outright reject everyone on the first attempt. You could at best have built for that when you started just out of luck (or perhaps you have great natural insight ;). But like the most of us, you wouldn't have predicted that you'd need to change your configuration later to deal with the new sending delays.

      I'm currently in the process of rewriting our companies core service engine, fortunately I have a good idea of where the load and performance issues are based on the current system and I've planned in ways to deal with those situations. But in the process, I've also subtly changed the service and the users are no longer going to use it the EXACT same way they did previously. We've add new features, removed old ones that were hardly used or can be done differently, ect. As such I can only make an educated guess at how to setup the load balancing, web farms and database servers. I won't get the perfect setup on the first try, and even if I did, it would for all intents and purposes be just luck.

      Read a lot about the software you are using. Get on the users or developers mailing lists. You absolutely want to be on the users lists as they will see many questions from people just like you, and while you may not have the same problem now, you may have it in the future, and just remembering that you saw the problem before can in itself be a massive help when you are faced with it and know that someone else has seen it, so you can search for it. The developers mailing lists are generally not for users of the software, but I've learned that its sometimes the best way to find solutions to my problems as many times any actual problem with the software will make it to the developers lists and be discussed there, in which case I can tell if its been resolved or if I have to work around it until someone thinks its a big enough problem to resolve it (or I pay someone to resolve it because its that important to my needs).

      If you take the parents idea of virtualization into the picture you can accelerate all of the learning to an extent by setting up various test scenarios and figuring out how to work around the problems in those scenarios. You can setup a mirror images of your production systems and when you start to notice problems or potential problems on the production systems you can duplicate it in the test enviroment and figure out how to fix it there, trying several different options to find the one that yeilds the best results without screwing up your production servers.

      Its more important that

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    18. Re:Virtualization by masdog · · Score: 4, Informative

      At the same time, virtualization will enable him to learn multiple skills at the same time. Not only will he learn the virtualization platform, but he can run multiple OSes serving multiple apps. He could have Server 2003/Server 2008 Active Directory and Sharepoint running on one machine, Exchange on another, Centos with LedgerSMB on a third, a FreeBSD machine running App X on a fourth, etc with a safety net to roll back to a snapshot if he makes a mistake.

      As for quitting, that wouldn't be advisable yet. It would be a red flag to any HR person who is hiring him in the near future, and that may hurt him more than help him. I had trouble getting my resume in to places and I was at my current job for a year and a half.

    19. Re:Virtualization by Anonymous Coward · · Score: 0

      In an appropriately abstracted system, if you find a performance problem, you can then swap out a piece and swap in a new one, and everything should still work. Or you4 can move a virtual server onto a new physical server, and everything should still work.

      I believe that was covered by the parent post's "unless you also bump the hardware."

    20. Re:Virtualization by Splntr · · Score: 2, Interesting

      @COMON$: You're a jackass... it's comments like this that put others off asking for assistance... thereby perpetuating the void you seem so angry/frightened of.

      He says he's new. Admits he is starting at ground level. Lets the world know that he found himself out of his depth... BUT is doing something not a lot of ohers do - ASKING FOR HELP! So you trash him?

      @kdawson - Good move getting a practise box... if nothing else, it will give you the confidence to take some risks to find out how stuff works.

      There is an amazing wealth of infor out there in the form of HOWTO and various sites like this where all sorts come together to discuss stuff.

      I found it easier to start building something, then once i found I was hitting a wall, look it up. I'm learn nest by doing, so this worked for me. Others work better by reading. So I guess its up to you how you best learn, which will give you a path.

    21. Re:Virtualization by Anonymous Coward · · Score: 1, Informative

      Actually you _can't_ play many games on a virtual machine because the video isn't accelerated. Most games require accelerated video, unfortunately.

    22. Re:Virtualization by linest · · Score: 3, Insightful

      After 5 years you look around and say "Wow! Lot's of things have changed!"

      After 10 years it's "Everything has changed!"

      After 30 years it's "Everything's just like a mainframe. I'm tired. I think I'll take a nap"

    23. Re:Virtualization by DeathElk · · Score: 2, Informative

      Actually you _can't_ play many games on a virtual machine because the video isn't accelerated

      VMWare fusion allows graphics acceleration. Pretty sure VMWare Workstation for other platforms also has this feature.

    24. Re:Virtualization by atraintocry · · Score: 1

      Diablo is retro now? Bah humbug :)

      Eye of the Beholder is retro for me. Of course, someone with a low /. ID might come buy and talk about mainframe 'dnd'...

      Believe it or not, I actually hadn't heard of requiem, so thanks for the tip (I knew about hymn, but now that I'm on a Mac I will have to check requiem out).

    25. Re:Virtualization by Anonymous Coward · · Score: 0

      Unfortunately?

      This accelerated video is not a bug, it's a feature!

      Man imagine how games would suck without it.

    26. Re:Virtualization by calmofthestorm · · Score: 1

      It works flawlessly. It is illegal to distribute or I'd offer you a copy, but you can pick it up on freenet quite quickly.

      --
      93rd rule of Slashdot: No matter how obvious my sarcasm is, my comment will be taken seriously by someone.
    27. Re:Virtualization by anomalous+cohort · · Score: 1

      The OP stated "My ultimate goal is to have a complete, secure LAMP server available to the public running CentOS." so how is learning virtualization going to take him towards his goal?

      This guy needs to learn how to install, setup, configure, and tune CentOS, Apache, MySql, and whichever P (perl, php, python, etc) that he is developing. So, let's give him links to books or online materials about those things, OK?

    28. Re:Virtualization by COMON$ · · Score: 1
      No I love people asking for assistance. I have no problem with someone asking a question as bad as the one I gave as an example. What I have a problem with is egotistical IT guys fluffing their resume and taking jobs waaaaaay over their current technical skill. I have gone way out of my way for guys/girls who got put into a scenario out of their control.

      This guy is asking for help not because someone put him in an awkward position. He was so proud of being able to edit a registry and set up a home website he thought he could skip the whole process of learning before doing. Look at the question, title Server optimization? Then asking how to set up, secure, and optimize a LAMP server? That is 4 different questions right there. About 2K pages worth of reading if you trim it down, and a good couple months of application to really know what you are doing from nothing.

      If the guy was a current tech wanting to learn how to do the above so he could get a admin position, no problem. I have mentored more than one person and was mentored by many people myself. But here we have the nasty scenario of someone who doesn't even know how to start in a Job that he was hired for, probably fluffed the crap out of his resume, was hired by a developer needing a sysadmin. At an IT company nonetheless, which means this self admitted noob, is going to be affecting many people's companies.

      Ask yourself, how many home techs do you know that think they can run your corporate network better than you? How many networks have you cleaned up because of this egotistical nonsense?

      --
      CS: It is all sink or swim...oh and did I mention there are sharks in that water?
    29. Re:Virtualization by Anonymous Coward · · Score: 0

      I should clarify. It's good that video is accelerated and it's usually needed anyway. However, when I fire up a low frame rate kid's game and can't play it in a VM because it requires acceleration, that sucks.

    30. Re:Virtualization by sumdumass · · Score: 1

      You've got some good points and here are a couple more.

      I have actually found that I can hose security and open up a lot of holes when changing setting in a mad attempt to optimize something I don't know about. The op needs to learn and understand the services he is running because the real world isn't a point and click your way to success.

      And in almost all cases where I have actually had to optimize something, I have never found any real gains in performance without the apps and services actually using the parts I'm optimizing. In most cases, changing a setting only effect performance if something was being dragged down by that setting. I remember my first LAMP setup in which I actually found tons of optimization howto's for each aspect that I just started changing thinking I would be really slick. The simple HTML pages I was serving saw no real increases in performances because the default settings were sane, practical, and already efficient enough. The DB didn't use anything the optimizations touched and in the end, I opened so many holes that I was owned for a week before I actually knew it. I guess it was a good thing that it was a testing and learning setup and not a production machine at a job I wasn't qualified to do.

      An interesting note is that I found out I was owned not because of my slick IT skills but because someone started leaving TXT files telling me to stop changing shit because it was effecting their changes and the "owner of the machine" would find out when things started borking. That was 5 or so years ago on my first Linux from scratch build and the OP is going to repeat my mistakes if he doesn't listen to you or the GGP's advice even if he doesn't do the virtualization route..

    31. Re:Virtualization by RMH101 · · Score: 1
      you're kidding, right?

      The virtualisation aspect is so he can do his experimentation on a virtual network, which a) isn't going to upset anyone but him if he hoses it, and b) can be snapshot-restored back to working after anything disasterous.

    32. Re:Virtualization by COMON$ · · Score: 1
      Thanks for the understanding comment!

      Your example is precisely correct. There is no real way to tell someone how to optimize a server. You HAVE to know your own environment and your apps well enough to tweak them. The only way to do that is to get in a office where you can learn from someone. Never even think about optimization until you can tell me exactly what load your server has, your expected load in the coming months, and what services are open to be used.

      I think what this comes down to is there are too many IT people who have leaned too hard on the google crutch. Ya I use google religiously too, however I use it to understand an app, not get a 1,2,3 to set up something. After I understand my app, and I see a need, I optimize for my company and security. Ive been in the IT industry for about 8 years now and have yet to have a server hacked (fingers crossed). I have been there when servers have been hacked and found the 30,000 ssl connections to korea...you just cant unplug fast enough in those situations ;)

      --
      CS: It is all sink or swim...oh and did I mention there are sharks in that water?
  2. Ah, the new guy by Anonymous Coward · · Score: 0

    Bob, is that you? Don't forget that HR needs those forms, and your TPS report is due on Monday.

  3. Google by A+non-mouse+Coward · · Score: 5, Informative

    Back when I learned, Google was around. Turns out, it still is.

    Most of the modern linux distributions have excellent package management. Most of them take care of 99% of the deploy "correctly" or "securely" issues. The only downside is that no two packages put everything in the same place on the local file system. But that's no big deal, especially if you compare/contrast to other distros.

    Shoot, you can get an Ubuntu server installed as a VM in 15 minutes. (I don't see the need for dedicated server hardware, unless you're focusing on nuances of driver and hardware setup.)

    Follow these steps:
    1) Install base
    2) Install app from package
    3) Add custom content to package
    4) Scan with the whole slew of freebie security scanning tools
    5) Realize that at this point, you're better than most orgs already.

    --
    libertarian: (n) socially liberal, financially conservative; neither left, nor right.
    1. Re:Google by mysidia · · Score: 3, Interesting

      Most of the modern linux distributions have excellent package management. Most of them take care of 99% of the deploy "correctly" or "securely" issues.

      The default setups are suitable for dedicated servers and intranet servers.

      They are not suitable for hosting multiple sites, say two different department's or organization's sites on one shared server.

      For example, the default install of Apache + PHP on Redhat Enterprise Linux uses mod_php.

      In a hosted environment, you have to be concerned that one user's site may have buggy PHP code that can be exploited.

      The default install provides no protection against User A's PHP scripts messing with User B's data files (for example, to discover User B's database password).

      When scripts are run by mod_php, they run with the same credentials as the web server, hence all files (including passwords for SQL database access) have to be readable by the web server.

      This configuration is not a best practice, from a security standpoint.

      A better practice is to use PHP only in CGI mode, run it as the script owner using Apache SUexec.

      Prevent user B from accessing user A's files and vice-versa, using ordinary file permissions.

      User a wrapper around CGI scripts so user A and user B are chrooted into different directory trees where their documents are stored, so the damage an exploited script can do is limited to the ordinary expected permissions of that user's scripts.

      Moreover, any script-writable directories should be on their own filesystem, marked with a 'noexec' attribute to prevent a web script from uploading and running arbitrary software.

      If Redhat or any major distro ever provides an automated setup that properly deals with web page scripts to follow best security practices, when hosting a few dozen sites, without fear of an issue in one site's script resulting in server-wide compromise, I will be impressed.

    2. Re:Google by jd · · Score: 3, Interesting

      I'd probably add the use of Tripwire or something similar to detect malware or other evidence of intrusions, and disable all unused services and processes. This will improve performance, reduce memory footprint, increase stability, increase security and mow the lawn. If you're into kernel building, remove unnecessary kernel options and specify your hardware rather than using generic options. If network loads may be a problem, you might want to investigate patches like Web100, if it'll work with the distro version of the kernel. Swap space should be 2.5-3 times the size of RAM for a server and /tmp should probably be on an isolated partition. I'd probably put /var/log on an isolated partition too. If you're paranoid, put a proxy server in the company's DMZ network (there is a DMZ network, right?) and only permit connections to (and from) the server via the proxy. Then put a honeypot on the proxy that traps all services and IP ports you've disabled on the server.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    3. Re:Google by gbjbaanb · · Score: 1

      The only downside is that no two packages put everything in the same place on the local file system.

      Amen to that. This is the biggest issue I have with Linux - the author's documentation says "edit the file in /usr/local/app/etc" but the distro decided to put it in /etc instead.

      Now which one is right is another matter - ie put your apps in the right place, like all config files in /etc so no-one needs to hunt for them, or put them where the author decided they should go.

      If you use yum/rpm then you can see where rpm put the files using "rpm -ql "

    4. Re:Google by Anonymous Coward · · Score: 1, Informative

      Swap being 2.5-3 times the size of RAM is a very dated approach, useful only really with RAM sizes of less than 1GB.

      Most systems have upwards of 2GB RAM these days and in 99.9999999% of cases you won't need a 10GB swap partition.

    5. Re:Google by www.inkampus.com · · Score: 0
      Here are few links to get started from the very basics:

      The more you start tweaking stuff, the more you will learn.

      --
      New Site for College Students: www.inkampus.com
    6. Re:Google by mysidia · · Score: 1

      /usr/local has a special meaning.

      It is _only_ for locally installed applications; meaning applications that do not come from the software distributor's included packages.

      The principal is you should be able to backup /usr/local re-install your OS with the same vendor package selection, copy /usr/local from backup, and you magically have re-installed all custom-installed software.

      If you also load a backup of /etc, /var, and /home Your system is supposed to be the same as it was before.

      So if you install a .RPM or a .DEB of a package provided by your software vendor, its files should always be in a subdirectory of / or /usr/

      If you install a package yourself, or install a .RPM or .DEB from a third party (not part of the vendor distribution), its files should always go in subdirectories of /usr/local This is the convention on Linux and BSD systems.

      On other UNIX systems it is typically /opt/(packagename)

      Makers of Linux distributions generally change packages to properly follow the convention.

      This has blurred over the years, with introduction of automatic downloads and package installation from vendors' web sites "yum install" or "apt-get install"

      If you use these tools, the packages do not go in /usr/local; Even though they are not part of the basic install. They are still packages that come from the vendor.

      And if you do a clean install (and select all those packages during the install), you will get them all.

      This is all a very good thing. If local installed software did not all go in /usr/local, but went in /usr instead

      Your backups would constantly wastefully waste space by including large binaries that you do not need backups of (because they are on your install CDs)

      Package managers do introduce a problem that you cannot simply restore /var

      (It will recover a package database that is now incorrect)

      So turning a clean install into a usable, fully-upgraded system has become much harder in modern Linux distros.

    7. Re:Google by jd · · Score: 2, Informative

      That would be fair if (a) you were not likely running SMP and/or multi-core, and (b) most server software is horribly bloated - I swear Oracle and IBM assume you've 10 gigs of RAM and a terabyte RAID array. Because you're likely to be running a LOT of seriously heavyweight software, especially if virtualizing the machine, you really do need hefty swap.

      --
      It's a small world and it smells funny; I'd buy another if it wasn't for the money; Take back what I paid (SoM)
    8. Re:Google by wanderingknight · · Score: 1

      Package managers do introduce a problem that you cannot simply restore /var (It will recover a package database that is now incorrect)

      apt-get clean

    9. Re:Google by Lennie · · Score: 2, Insightful

      Doing custom kernel builds has a few disadvantages:
      - possible no easy updates/upgrades/security-patches
      - with Linux it's really easy to change hardware in case of a failure, if you compile a custom kernel, you can't just copy the filesystems and start it up on different hardware (which is an option I prefer to keep open)

      --
      New things are always on the horizon
    10. Re:Google by Anonymous Coward · · Score: 0

      Good start, but I disagree with installing the base installation.
      1) Install a minimal install, not the base - those are too bloated.
      2) Install only the SSH server package
      3) setup networking, but generally use the console
      4) Install Xen as your hypervisor
      5) Install the full LAMP server install under Xen
      5.1) Post install, do a backup
      5.2) Scan the server from outside, correct
      5.3) Scan the server from inside, correct
      5.4) Get LDAP, email, www, samba, reverse proxy, printing working
      5.5) Get monitoring, alarming, and performance management working
      5.6) Scan in/out again and correct issues
      5.7) Backup again
      5.8) Restore to a different VM-host -- this will be a trick
      5.9) Run this server for 2+ months, add content, photo gallery, blog, AND keep it patched, backed up, and scanned for security issues.
      5.10) Take the last backup, restore it to another VM-host - check that nothing was lost.

      6) submit your site to all the search engines
      7) make money.

    11. Re:Google by djsmiley · · Score: 1

      gentoo-hardened?

      dont know if this ACTUALLY provides what your talking about as i've never used it in reality, but it just seems to fit like a glove...

      --
      - http://www.milkme.co.uk
  4. Slackware by The+Lyrics+Guy · · Score: 3, Insightful

    Slackware. Forget about Redhat and all the other GUI-fied distributions. Install Slackware and do everything yourself. It's the only way to learn.

    1. Re:Slackware by A+non-mouse+Coward · · Score: 4, Insightful

      Slackware. Forget about Redhat and all the other GUI-fied distributions. Install Slackware and do everything yourself. It's the only way to learn.

      This is good advice. I did the same back when I was in school thinking it was pre-requisite knowledge for an IT job. Then I got my first IT job and became disillusioned at all the idiots that were making more money than me that had no clue how it all worked. They kept looking for the next--> next--> finish buttons.

      --
      libertarian: (n) socially liberal, financially conservative; neither left, nor right.
    2. Re:Slackware by Anonymous Coward · · Score: 5, Funny

      Assembler. Forget about Slackware and all the other already-coded distributions. Learn assembler and code everything yourself. It's the only way to learn.

    3. Re:Slackware by TheCycoONE · · Score: 1

      Almost all distributions allow you to set yourself up without a GUI, including Redhat.

    4. Re:Slackware by jalefkowit · · Score: 4, Funny

      Nah, that's too extreme. Everyone knows that the best way to learn Unix is to run Gentoo.

    5. Re:Slackware by piojo · · Score: 2, Interesting

      Learning Slackware has certainly served me well. I think it gives the most rounded education of how a system works--it's said that "when you learn Red Hat, you know Red Hat. When you learn Slackware, you know Linux." Learning how to install software and run servers in Slackware, I learned a bunch. (And yes, the knowledge you take away from that is more generally applicable than what you learn from Gentoo.)

      --
      A cat can't teach a dog to bark.
    6. Re:Slackware by nawcom · · Score: 1
      This person doesn't know how to set up LAMP at all - he or she is clueless on how to do this. As a long time Slacker myself, I agree with you that Slackware is the best choice to learn about the innards of Linux, though this person sounds like he or she took that big MS ego of theirs and somehow got a Linux admin job - now clueless from how to install apache via the distros package management to optimizing the kernel.

      Also, it doesn't sound like a real enterprise level situation at all. The fact that you had to start up your own server at home sortof shows that you have never touched a unix shell in your life.

    7. Re:Slackware by A+non-mouse+Coward · · Score: 1

      Assembler. Forget about Slackware and all the other already-coded distributions. Learn assembler and code everything yourself. It's the only way to learn.

      Chicken$h!t, weenie! The best way is to read instructions in binary op-codes. All that hand-holding, high-level abstraction in assembly prevents you from knowing what is REALLY going on in your registers.

      Kids these days ... GET OFF MY LAWN!

      --
      libertarian: (n) socially liberal, financially conservative; neither left, nor right.
    8. Re:Slackware by joto · · Score: 1

      Opcodes? You can't seriously expect to understand how to optimize if you limit yourself to opcodes. Unless you can predict which ALU and at which step in the pipeline, the adding of the address and offset of the memory operand of a given opcode happens, you are doomed to poor performance.

    9. Re:Slackware by A+non-mouse+Coward · · Score: 1

      Grrr! *mumble* *mumble*

      And I would have gotten away with it, too, if it wasn't for you meddling kids and that dog!

      --
      libertarian: (n) socially liberal, financially conservative; neither left, nor right.
    10. Re:Slackware by moosesocks · · Score: 1

      Nah, that's too extreme. Everyone knows that the best way to learn Unix is to run Gentoo.

      I can get behind that. The documentation has fallen behind lately, compared to what it once was, but is still pretty good. You might want to first make sure that you have a decent understanding of the command prompt before attempting an install...

      However, for Christ's sake, do not use Gentoo as your main distro. It will drive you insane.

      --
      -- If you try to fail and succeed, which have you done? - Uli's moose
    11. Re:Slackware by Anonymous Coward · · Score: 1

      I suggest Gentoo to every noob for learning how their linux works. When you get up and running you *know* most of what the different connected parts are, and the dependencies for LAMP or whatever.

      Then go with CentOS or whatever and set up your LAMP stack. Optimizing is so much easier when you know the nuts and bolts of what needs to be running.

      If you can find a mentor to go over thoughts with you, or a local linux user group, that helps too.

    12. Re:Slackware by nabsltd · · Score: 4, Insightful

      Slackware. Forget about Redhat and all the other GUI-fied distributions. Install Slackware and do everything yourself. It's the only way to learn.

      This is good advice.

      Actually, it's not very good advice.

      Last I checked, Red Hat/Fedora/CentOS all have the exact same command line as every other distribution, and the system is configured using the same text files that have been used for nearly 20 years. All the GUI tools do is modify the config files.

      For a newbie, having the GUI there to change a config then looking at what text file got changed (and how it got changed) is an excellent learning tool.

      Also, last I looked, Slackware isn't one of the distributions that make a good bullet point on a resume. Red Hat, CentOS, and SUSE are good for real-world server skills, while Ubuntu, Debian, and maybe some Fedora would be good for Linux desktop skills.

    13. Re:Slackware by pak9rabid · · Score: 1

      Although Slackware is a good distro to learn Linux on (that's the route I took and it has served me well), it is not production-worthy. I'd say install it at home to play around with, but don't use it for a production-level server. For an enterprise-level server, I'd go with Debian. Debian is fairly easy to use and has the best package management system (apt). We run CentOS where I work for our production servers, and that's served us well also, but had we been running Debian, my job would have been a lot easier.

    14. Re:Slackware by Anonymous Coward · · Score: 0

      "GUI-fied distributions"?? you dont need to run or install a gui desktop on any version of linux

    15. Re:Slackware by pembo13 · · Score: 1

      You do know you can do everything in RedHat/Fedora/Centos from a console, right? That includes the install.

      --
      "Thanks for all the money you paid to us. We've used it to buy off ISO among other things" -Microsoft
    16. Re:Slackware by Anonymous Coward · · Score: 0

      I would advise against this. Mainly because in a corporate environment, you will never see a slackware system, but plenty of RHEL and SLES (notice I did not say opensuse or fedora). The author getting a copy of CentOS is a good move.

      Just because slackware does not have configuration utilities does not make it a better learning tool. He will need to learn how to use those tools in a real job.

    17. Re:Slackware by VGPowerlord · · Score: 1

      That link was great.

      --
      GLaDOS for President 2016! "Well here we are again. It's always such a pleasure." -- GLaDOS, 2011
    18. Re:Slackware by Crudely_Indecent · · Score: 1

      Or you can run Gentoo, and really do everything yourself. Like most other Linux distros, Slackware is a package based system - still kind-of user-friendly. By comparison, Gentoo is user-hostile.

      --


      "Lame" - Galaxar
    19. Re:Slackware by kolbe · · Score: 1

      I concur. Slackware is the under-the-hood Linux where you'll immediately learn to sink or swim. It is also the most System 5 of all Linux Distro's, is one of the first Distro's, and is extremely hardened.

      Go slackware!

    20. Re:Slackware by Anonymous Coward · · Score: 0

      He will need to learn how to use those tools in a real job.

      These tools lack man pages do they? There's this bullshit mindset, that those aspiring to employment should use the "industry standard" or what the pros use. Meanwhile those in the know just go about their thing and have no problem finding employment. Funny isn't it?

      For the record I work with FBSD and Slackware. At home I run Arch, Gentoo and Xubuntu although I find the traditional "all deps" package management of the latter infuriating and inflexible (see also Suse, RedHat).

    21. Re:Slackware by atraintocry · · Score: 1

      I think the point was that Slackware is rigid enough that it forces to you learn linux at a (slightly) lower level. You can't click through the installer and end up with a magically working system.

      Which is good experience for when something goes wrong, and it doesn't magically fix itself. Of course, Slackware will probably draw some chuckles on a CV, but there's always the chance that the guy hiring is a SubGenius, and will hire you on the spot :D

    22. Re:Slackware by yfarren · · Score: 1

      Terrible Advice. Stay entirely away from Slack, or Gentoo. Work with Red Hat, or, if you must, Debian.

      The elitist will say "but you wont have the fine grained understanding of everything." But that is the point. You never will. And if you teach yourself that you have to know everything, then when you have to set up servers that are used, by organizations, in the real world, you are going to not know the tools that exist to help you. You will feel bound to "if I didnt do all of it, I can't understand it."

      And either you will just do what you are told, and do a lousy job, or you will make a system that is near unuseable for general purpose.

      Learn your way through Red Hat, or Debian.

    23. Re:Slackware by xhunter · · Score: 3, Informative

      Interesting you pick the "commercial" linuxes as good for real-world server skills and list debian as good for desktop. My experience would say debian spanks red hat for ease of server admin, particularly if you want access to more packages to help you do your job. For instance, say you want to install shorewall as a firewall, slony1 for postgresql database replication or ntop for network monitoring. Is redhat repository going to help you with that? No, at least not in my experience. On top of that the debian package manager reliability and repository options make Red Hat smell like the armpit of Redmond. My opinion is that those who've done some sys. admin and had a choice steer away from red hat and choose or migrate to something like debian, slackware, BSD or even ubuntu server. If I had to use redhat, I'd try to migrate to CentOS, but even they are reliant upon the master as is fedora and when the master is driven by a for-profit board of directores chances are you're not going to get what's in your best interest as a sys. admin.

    24. Re:Slackware by www.inkampus.com · · Score: 0

      Forget assembler. Start with punchcards.....

      --
      New Site for College Students: www.inkampus.com
    25. Re:Slackware by Gazzonyx · · Score: 1

      Except it uses BSD style init instead of sysV.

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    26. Re:Slackware by Gazzonyx · · Score: 1

      And then you get the great Eliminator; X11 gets broken and all you've got is an SSH prompt to work from. This is where the men are separated from the boys.

      --

      If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

    27. Re:Slackware by Steve+Baker · · Score: 1

      Excellent point. Why was this modded funny?

    28. Re:Slackware by kv9 · · Score: 1

      Terrible Advice. Stay entirely away from Slack, or Gentoo. Work with Red Hat, or, if you must, Debian.

      I learned the ropes on Slackware and nowadays I exclusively run BSD on all my servers. however, I have no problems using various RedHats all day long at work (in the "real" world as you call it). I'd rather they'd all be Debians (at least -- less pain), but you can't have everything now can you?

      if you learned Slackware, you know Linux. if you learned RedHat, you know... well... RedHat. I think that's how the saying goes.

    29. Re:Slackware by kitgerrits · · Score: 1

      So you want clueless newbies to start swimming in the deep end and either drown or survive?

      Sending them out co configure one person;s personal hobby linux might not be the right thing to do.
      If you want them to learn the inner working of Linux, send them to Linux from Scratch.
      If you want them to learn 'on the job', show them 'cp', 'find -mtime' and 'diff' and gently help them along.
      If you simply want to turn them into a paranois schizophrenic, send them to BSD (any distro will do).

      --
      "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
    30. Re:Slackware by kitgerrits · · Score: 1

      The reason there are not that many packages in Red Hat's repository is that they actually provide support for each and every one of them.
      Their master needs to find ways to make money to pay their in-house programmers to support the software they sell and support, even after the community has abandoned the package.

      Red Hat may not provide these by default, but:
      Have you tried the -extras channel?
      Have you tried livna or one of the other community-powered repositories?
      Have you heard of rpmfind.net?
      Have you heard of 'tar' and 'make'?

      --
      "I was in love with a beautiful blonde once, dear. She drove me to drink. It's the one thing I am indebted to her for."
    31. Re:Slackware by Anonymous Coward · · Score: 0

      it is not production-worthy. I'd say install it at home to play around with, but don't use it for a production-level server.

      I'd say you're an idiot.

      (Note that this post has exactly the same quality of information and justification as your post.)

    32. Re:Slackware by nabsltd · · Score: 1

      I've never installed a real OS that wasn't essentially "click through the installer and end up with a magically working system", and that's going back to things like Netware 3.x. Although I've never used Slackware, if it doesn't make you manually calculate and edit boot block values so that the right kernel gets loaded, it's just a matter of degree.

      And, just this week I have had two "things go wrong" that required some reasonable skills, but nothing somebody who wasn't afraid of the command line couldn't just Google:

      1. A Linux RAID-5 array had a single disk fail but refused to mount the RAID-5 degraded without forcing (the replacement disk was being delayed by Hurricane Ike), and when forced, file systems on LVM volumes were a bit wonky. No data loss, and the new drive is in place.

      2. A clone of a VMware image to a physical machine (yes, you can do that) halted in the middle of the XP boot process, which hadn't happened with any other machine. It turns out this was a lot older machine than we were led to believe (a Pentium III), and the multi-processor HAL needed to be replaced using the recovery console.

    33. Re:Slackware by xhunter · · Score: 1

      That's useful information about extra channels and community powered repositories, but then I'd be piece-mealing together what debian does by default wouldn't I? Part of my point is that debian makes it easier by default.

      Using rpmfind.net is a pain particularly gathering together all the necessary parts when there are dependencies. Really a cave-manish way of doing things.

      tar and make are very well known to me and I avoid them as an administrator whenever I can. That's because they don't make security and package updates easy do they? Compiling from source has its place when a particular app simply doesn't have a package or one needs a custom compiled version of some piece of software but it does require more administrative effort. In fact, that's what one has to do with RHEL 5 and derivatives wrt to Perl because Red Hat has a bug with their packaged perl that really sucks ass. i.e. can slow apps by 30-100 times. Wonder where their support has been for that package bug that reportedly has been around since 2006?

    34. Re:Slackware by cyrl · · Score: 1

      What about punchcard? =P

    35. Re:Slackware by Anonymous Coward · · Score: 0

      Slackware is nice and general, but can limit your "growth". Gentoo is like kindergarten - grad school education (it's up to you where to drop out). It will teach you the basics of linux but also enable to you to make changes and innovate. Many developers use gentoo for this reason.

    36. Re:Slackware by jeremiahbell · · Score: 1

      Or you could start out like I did, with a 386 laptop, slackware, and no gui. I worked for years in a command-line only linux environment, and it was Slackware.

      I'm still in college, but I can already tell it was a huge benefit. It seems I'm forgetting a lot using Gnome all the time, but it will always be easier to refresh my memory than have to learn it for the first time at my first IT job.

      --
      "Where have all the good people gone?" - Jack Johnson
    37. Re:Slackware by Anonymous Coward · · Score: 0

      In the Linux world you are correct. There's much more money elsewhere. Solaris, AIX, HP-UX are the big players where enterprise systems still run with big budgets.

      It's nice to love Linux and use it.
      It's also nice to make good money and be paid near the top of the salary scale. That generally happens on projects with larger budgets - running commercial UNIX versions. There will always be someone who makes more than average and only uses Linux, but, in general, for average admins, the commercial solutions will provide more cash.

    38. Re:Slackware by Anonymous Coward · · Score: 0

      "if you learn red hat, all you know is red hat.

      if you learn slackware, you know linux"

      may sound extreme, but i think it has some truth. :)

    39. Re:Slackware by fat_mike · · Score: 1

      Yes, Yes, Yes!!!

      My first experience with Linux was Slackware 0.94 in I believe 1994ish. I cried, I swore, I punched and kicked things, I'd look at the stack of floppies required to install it and cry some more.

      But I learned a boatload. I learned init scripts, what everything in /etc does, BASH programming, building source code...having said source code fail...investigation why...fixing it so it worked.

      Slackware is, in my opinion, the best learning tool that Linux has. Better than books and better than forums.

      Patrick Volkerding is a genius and I hope someday he's recognized for it.

    40. Re:Slackware by Anonymous Coward · · Score: 0

      One of the bullet points on my resume that helped me land my current job, was that I taught myself how to handle a linux server by mucking with gentoo for about a year. Yes, I've moved onto Debian and Ubuntu (don't like RPMs), but I'm still teaching guys at work about neat tools like zcat.

      And when you are THAT comfortable with the command line and the config files, you can fix a pretty hosed system without breaking a sweat.

    41. Re:Slackware by kcbanner · · Score: 1

      This advice is awesome. I use Arch Linux myself which is very similar to slack, with better package management (pacman!). You start with a base install, you add what you need on top of it. This is the best way to get to know your way around the system.

      --
      Obligatory blog plug: http://www.caseybanner.ca/
    42. Re:Slackware by pak9rabid · · Score: 1

      I'd say you obviously have no experience working in an enterprise-level environment.

    43. Re:Slackware by wmbetts · · Score: 1

      It might not be a good bullet point by its self on a resume, but if you start out on something like Slackware or even LFS then you'll have a deeper understanding of how linux actually works. Then you can add all of those even if you've only briefly touched them.

      --
      "Ubuntu" -- an African word, meaning "Slackware is too hard for me". - stolen from Dan C alt.os.linux.slackware
    44. Re:Slackware by Anonymous Coward · · Score: 0

      Silicon mining. Forget about assembler and all the other already-implemented programming tools. Learn silicon mining and build everything yourself. It's the only way to learn

  5. O'Reilly Cookbook series are very hands on by millisa · · Score: 4, Informative

    If you want a more hands on, how do I accomplish a specific task type approach to things, I've been very happy with the books in the O'Reilly Cookbook line. They usually run 35-50 bucks depending on topic and you'll want to page through one in a store before purchasing. All the information in the books can be found online, but they usually organize them nicely in the books. Most of the topics are 1-2 pages responding to a specific "How do I do X" type question. The Linux Networking Cookbook, bash cookbook, and Linux Cookbook and Linux Security cookbook might be a good set to start with for what you are currently playing with.

    1. Re:O'Reilly Cookbook series are very hands on by ibmjones · · Score: 2, Informative

      . They usually run 35-50 bucks depending on topic and you'll want to page through one in a store before purchasing.

      Or for 40 bucks a month, you can get the whole O'Reilly Library at:

      http://safari.oreilly.com/

      Well worth the money.

    2. Re:O'Reilly Cookbook series are very hands on by Nazlfrag · · Score: 1

      Essential System Administration would be another useful O'Reilly title.

    3. Re:O'Reilly Cookbook series are very hands on by nickrooster · · Score: 0

      O'Reilly Safari Bookshelf has been a lifesaver.
      Start on one package, read up and learn about the first service, then start on the next.
      A commenter further down calls them 'glorified man pages', and a man page is an excellent place to start, but O'Reilly goes far more in-depth with topics like security, concurrency, etc.
      Can't recommend them enough!

  6. One question by jalefkowit · · Score: 5, Insightful

    How did you get a job as a company's sole "network and server administration" (sic) when you are a "total newbie to corporate and enterprise networking and servers"?

    In every case I've experienced where someone was hired for a sysadmin job with absolutely no experience, there was a more senior person on staff there to mentor/train them. But it doesn't sound like that's the case here.

    So... either (a) you were completely up front with your employer about your lack of experience and they hired you anyway, in which case there's no problem because they have limited needs, know you're learning and don't expect much; or (b) you lied to them, in which case the answer is "quit and go get a job you're actually qualified for".

    1. Re:One question by perlchild · · Score: 5, Interesting

      You forgot c) they fired the mentor with the junior barely trained and now the junior has to do the whole job by himself

      Happens a lot more than you think

    2. Re:One question by jalefkowit · · Score: 1

      Sure, but you would think he/she would have mentioned that if that's how it went down. And besides, even if the mentor got fired, they still exist, so you could still approach them with questions like this over a beer after work if you had to (unless they got the job by getting the more senior guy fired, in which case they deserve their fate).

    3. Re:One question by Anonymous Coward · · Score: 0

      OR, (s)he has been hired in a junior position and there are *other people* working in the same department...

    4. Re:One question by cdrudge · · Score: 3, Interesting

      Not everyone works for a company with hundreds of people that already has an fleet of network admins. Sometimes you get put into a role that you have no experience in because you have the available time, expressed a desire previously, or maybe you just happened to be walking by an open door when the PHB thought "we need a network admin".

    5. Re:One question by Peet42 · · Score: 4, Insightful

      Or... He listed his experience, and the potential employer just nodded and pretended it meant something to them.

    6. Re:One question by Anonymous Coward · · Score: 0

      Take a moment to actually think about the implications of what you've recommended.

      Your advice could get junior guy fired. It is **incredibly** unprofessional, if not downright rude, to do what you've recommended. It would be much more professional and reasonable for said company to get senior guy back on as a temporary consultant, at least to train junior guy.

      We *are* talking about an enterprise/corporate environment here, not some form of mom-and-pop business (where what you've recommended usually works, and may benefit everyone for the better).

    7. Re:One question by Anonymous Coward · · Score: 0

      Sounds more like mom-n-pop to me. They guy wants to get a grip on a simple LAMP machine!? He's probably one step up from call desk and bullshitted his way into a small company as an "admin".

      It certainly isn't a regular company, and light years from Enterprise. You think Ford or Bank of America would have a dweeb like this setting up corporate systems.

    8. Re:One question by CorporateSuit · · Score: 1

      Because the mentors don't know how to plan to take vacation for a week, ending one week before their employee reviews...

      "Yes, it does feel good to be back and caught up again, and I will accept that raise"

      --
      I am the richest astronaut ever to win the superbowl.
    9. Re:One question by jalefkowit · · Score: 1

      How is it "unprofessional" and "rude" in this scenario to stay in touch with someone who was fired unfairly? You didn't fire them (presumably), your manager fired them. It would be rude for your manager to ask them for friendly advice, but not for you to do so.

    10. Re:One question by Anonymous Coward · · Score: 0

      So... either (a) you were completely up front with your employer about your lack of experience and they hired you anyway, in which case there's no problem because they have limited needs, know you're learning and don't expect much; or (b) you lied to them, in which case the answer is "quit and go get a job you're actually qualified for".

      You sound like a fucking douche. If you ran your mouth like this in a bar I'd enjoy seeing you get the living shit kicked out of you.

      That being said...

      When I became a sysad fourteen years ago, there were plenty of places that spontaneously installed a lan along with gaining net access and there weren't enough people to go around. Many people like myself had an operating systems background and grew into the job with little direct experience in the discipline. So yeah, sometimes trial by fire is the only way.

      As has been said by other posters, he's quite possibly at a small company and was the match they were looking for based on personnel availability or salary. So STFU.

      Everybody starts somewhere, and many are not fortunate enough to have a mentor. One thing is constant though: the number of dickheads like you with a bit of knowledge who look down on others reinforce the I.T. stereotype of a fat pimply virgin sitting in front of a root console.

    11. Re:One question by gbjbaanb · · Score: 1

      Interviewer: so, hw much do you know about server admin?

      Poster: well, I freely admit I don't know everything, obviously nobody can know everything, but I know how to find the information for those things I'm not too familiar with.

      Interviewer: good answer, you're hired.

      Poster: excellent. You do, err, allow work-related internet access don't you....

    12. Re:One question by Anonymous Coward · · Score: 0

      You forgot d) Daddy owns the company.

    13. Re:One question by techno-vampire · · Score: 1
      He's probably one step up from call desk and bullshitted his way into a small company as an "admin".

      Maybe not. He might have been promoted from the hell desk to admin when his predecessor quit/got fired/died/whatever and he's trying to learn his new job by the old "throw him in the pond" technique.

      --
      Good, inexpensive web hosting
    14. Re:One question by atraintocry · · Score: 1

      Why would they have to mention that in the question? They asked for pointers on setting up servers, not career advice. In all seriousness, if you're into office politics more than tech, I recommend The Daily WTF over slashdot.

      Consider the following: an IT shop may not need a big-time sysamdin, since everyone knows enough to keep things running. Perhaps this person was hired to keep things organized, act as an intermediary, audit software licenses, and in general do everything *but* set up the servers. But they are choosing, for their own enrichment, to get more hands-on than what's in their job description.

    15. Re:One question by BitZtream · · Score: 1

      Company Owner: My admin quit today, I'm hosed cause I have no one to run the servers. You're pretty good with computers, can you help me?

      Poster: Uhm, I make web pages for fun, I'm not really an IT guy.

      Company Owner: Well, you know more than anyone else I know, can you at least help me out in the mean time and do what you can?

      Poster: uh, okay I'll do what I can.

      -- 5 years later --
      Company Owner: Well, we're going to need to talk about this budget you put together, its just too much!

      Poster: We haven't upgraded anything in 5 years and our load has increased by over 500%, our sales are up over 3000%. Our entire business depends on this hardware doing its job efficiently for the customers. You don't have a choice in the matter, you spend the money budgeted or sales suffer.

      Company Owner: Funny, 5 years ago you didn't want the job, now you're telling me how to run the company.

      Poster: nope, just telling you what you need to run the company like you want to run it. Oh and btw, the budget includes a salary adjustment for myself and my junior admin to bring us in line with the local average for our positions.

      Company Owner: hahahah thats a good one, salary adjustment ... hahaha

      Poster: ...

      -- 2 months later --

      Company Owner: My admin quit today, I'm hosed cause I have no one to run the servers. You're pretty good with computers, can you help me?

      New Slashdot Poster: Uhm, I make youtube videos for fun, I'm not really an IT guy. ...

      --
      Persistent Volume manager for Kubernetes - https://github.com/dwimsey/openshift-pvmanager
    16. Re:One question by masdog · · Score: 1

      While that may be the case, the former admin might not see it that way. How would you react if you were unfairly fired? Would you give away your time and knowledge for free when you don't have any responsibility to them?

    17. Re:One question by Erik+Fish · · Score: 1

      fourteen years ago

      Good thing nothing has changed in the IT employment market since 1994.

    18. Re:One question by Anonymous Coward · · Score: 0

      corollary to above: if you lied, you are *one* ond only *one* major problem away from being are well and truly fuc*ed. Learn fast or run.

    19. Re:One question by Anonymous Coward · · Score: 0

      Sounds like he may work for for the city of San Fransisco.....

    20. Re:One question by Anonymous Coward · · Score: 0

      Agreed. If you have no idea what you are doing and you are just now doing server installs you are way underqualified for the job.

    21. Re:One question by hundalz · · Score: 1

      Or he might be coming from a different background where they don't emphasize on performance. I've had experience where platform support teams are on the back burner (or maybe just mis-managed ?) most of the time, that all they have time to do is perform installations and then move on to the next task. Or, he could even come from a non-Unix sys-admin background ? He didn't really mention where his experience is. Or, he could just be a junior member on his team with no-one around to mentor him ? All we're doing here is speculation.

    22. Re:One question by Anonymous Coward · · Score: 0

      And besides, even if the mentor got fired, they still exist, so you could still approach them with questions like this over a beer after work if you had to ....

      Yeah, right. And what interest would the fired guy have in helping the company? Unless he's a really great friend of the new guy, the correct answer is, "My consulting rates are $650/hour, with a minimum of six hours."

    23. Re:One question by Anonymous Coward · · Score: 0

      People respond like this because, these days, you could be working in a certain position doing a certain type of IT work for 5 to 10 years at one company and apply for the exact same position doing the exact same tasks and requiring the exact same knowledge at another company and be flat out rejected and told you are "not qualified" to do the exact same job you know how to do and have been doing for years. So, if you've ever been rejected like that when you KNOW you are qualified and you KNOW you have enough experience and someone who has no experience nor knowledge of the same job gets the job, how do you think they'll react?

    24. Re:One question by hot+soldering+iron · · Score: 1

      It was so weird reading the OP, 'cause it was like I had written it myself. I'm in much the same situation he is. Small start-up full of smart-but-new devs (mostly trained in-house), with a few mentors for supervisors, except for networking and server admin. The original guy was a con man who couldn't put a simple network together in a week, and wound up getting fired when I (skilled amature) did it in a day (with documentation)! I'm one of the few people in the shop with any linux experience, and the only one that received any sys admin training, ever (1991 for a couple months). I got a CVS server going on Ubuntu server, and now I'm fighting to get Oracle Database Server 10g running on CentOS. I'm trying hard not to fail, but I don't have any anyone to fall back on in this. I've not fooled anyone about my lack of skills, I was actually hired as a newbie java dev, and got a little SQL training. I understand that network/server admin is a LOT of OJT, but are there any guides to help ease some of the bumps?

      --
      When you want something built, come see me. If you want correct grammar and spelling, get a F*ing liberal arts student.
    25. Re:One question by Anonymous Coward · · Score: 0

      I see absolutely no indication in the article text that the previous administrator was fired unfairly, or even fired at all.

      You're making great assumptions WRT the circumstances, just like perlchild above.

    26. Re:One question by Anonymous Coward · · Score: 0

      or the boss at the office thinks you're a computer GOD because you told him last year that your christmas present to yourself was a new computer you'd be putting together from components and that you'd be running some OS that's not windows he's never heard of, and then you followed that up with a story of how you figured out why some program wasn't compiling right and fixed it.

      My boss thinks i'm the second coming of the computer Jesus coz of shit like that.

    27. Re:One question by Anonymous Coward · · Score: 0

      Actually I was wondering that myself. I worked at a job I was massively overqualified for. I did everything they asked for (and more), but getting my foot in the door was damn near impossible. The expectations in the hiring meetings were massive (everywhere I've been its like that), but then you get on the job and are occasionally asked for minor trivial junk. Its like a suit pulls out a list of buzz words and wants 20 years exp. beside each. Then the job comes and 3 weeks tinkering at home with your first 'pewter will do the job!

    28. Re:One question by g-san · · Score: 1

      I got pretty scared when the guy admits he doesn't know much but wants to put a server out there exposed to the public. This is why you can still find SQLSlammer probes on the internet.

      It's all pushing buttons man. Knowing which buttons to push takes years of experience and there is no short cut. Nice try.

    29. Re:One question by CRiMSON · · Score: 1

      I would say this is what happened too. I've been thru it 3-4 times myself. Hired into the IT department, 3 weeks later you are the IT department.

      --
      oogly boogly!
  7. Its really easy: by nurb432 · · Score: 3, Funny

    Just hire me as a consultant and ill take care of it for you.

    --
    ---- Booth was a patriot ----
    1. Re:Its really easy: by Anonymous Coward · · Score: 0

      Just hire me as a consultant and ill take care of it for you.

      Man. Wrong site.
      Workopolis it is. Not slashdot.

    2. Re:Its really easy: by Anonymous Coward · · Score: 0

      Just hire me as a consultant and ill take care of it for you.

      If the company wanted an experienced network and server administrator it would have hired you as a consultant in the first place. Obviously this company prefers zero experience employees to reduce salary requirements.

      We are a head hunting company specializing in the growing field of ZQP (zero qualification professionals).

      We are currently are looking for accountants, doctors, and lawyers. If anyone can demonstrate zero experience in any of those trades and would like a job please send a resume/CV. You must permit us to conduct a background check to make sure you have no qualifications in your chosen field. The successful applicant must be prepared to learn the job in his/her own time.

      ZQP in a highly interesting and rewarding career although you do have to change fields every few years. Clearly, experience in a specific area bars you from further employment in that field.

      IT is the most popular area for ZQP employment but careers in American politics are becoming increasingly attractive.

      Thanks.

  8. Not really much to know by jkorz · · Score: 2, Informative

    Setting up a secured lamp server (secured from being hacked, not secure as in ssl) isn't all that difficult. First, set up your lamp server just as you need it. Then install iptables (firewall), webmin and openssh. Set webmin and openssh to use random high (>2048) ports rather than standard. Set up openssh to use public key authentication (disable password auth) and set up webmin to NOT use local user accounts to login (you will have to set up webmin users). Then use the iptables module in webmin to block all traffic but the three ports you need (80 for web and the two random ones). If you want to be extra-paranoid, block webmin as well and learn how to tunnel it through ssh.

    1. Re:Not really much to know by myz24 · · Score: 1

      "install" iptables? Use webmin? And why am I hiding services? Security through obscurity doesn't work. nmap can still find it given enough time.

    2. Re:Not really much to know by YrWrstNtmr · · Score: 1

      5 words into that, you lost this guy.

    3. Re:Not really much to know by Fallen+Kell · · Score: 1

      lamp = (L)inux (A)pache (M)ysql (P)HP server...

      --
      We were all warned a long time ago that MS products sucked, remember the Magic 8 Ball said, "Outlook not so good"
    4. Re:Not really much to know by YrWrstNtmr · · Score: 1

      Yes, I know. I was referring to the original guy who asked the question.

    5. Re:Not really much to know by goarilla · · Score: 1

      i could be wrong but iirc nmap by default only scans 17xx widely used ports
      scanning the whole range (-p 1-65535) takes a lot of time and most automated tools (script-kiddies) won't waste their time
      on that one imho and if they do then the attack is probably personal.
      and the experienced attacker (although sometimes it's a nmap newbie/curious person)
      would have a lot more tricks up his sleeve than just scanning ports
      and then yes configuring your public services with the principle of 'least priveledge for the job' in mind, sanitising your scripts (php), don't let your SQL server listen at the world unless you really have to, are indeed better security measures.
      but by god ... running your 'special' services on non-standard ports is still a good way to get all these automated scan attempts to not hit your server incessantly.
      if an automated tool finds a webmin port open it'll try an extra scan to get the version string (-sV), ... or it could try a dictionairy attack, ....

  9. Where do you work? by Anonymous Coward · · Score: 1, Insightful

    Where do you work? I'd just like to know, so that I don't deal with your firm. If they're hiring such unskilled talent, I don't think I could trust them to store my personal and private data securely.

    1. Re:Where do you work? by somanyrobots · · Score: 0, Troll

      Ah, but they're hiring people who are eager to learn, unlike crotchety old been-around-the-block sysadmins who, when they hear about problems with their systems, just shoot the messenger and have done with it. I'd trust supaneko ten times more than one of those; he'll just be making mistakes, while they're busy making bad decisions.

    2. Re:Where do you work? by A+non-mouse+Coward · · Score: 2, Insightful

      Where do you work? I'd just like to know, so that I don't deal with your firm. If they're hiring such unskilled talent, I don't think I could trust them to store my personal and private data securely.

      This is flamebait because ... ?

      Seriously, if the OP included his employer's name, you'd all be thinking the same thing (and probably sending mass emails to all of your friends & family-- you geeks!). This AC just took the time out to beg the question we were all thinking.

      --
      libertarian: (n) socially liberal, financially conservative; neither left, nor right.
  10. Well, by no means... by Anonymous Coward · · Score: 1, Informative

    should you ask for advice on Slashdot.

  11. Optimization by foo+fighter · · Score: 4, Informative

    Optimization is about finding bottlenecks and then using the scientific method.

    The typical bottlenecks are CPU, RAM, Disk, and Network. A little research will reveal the tools that give you insight into those subsystems on your platform.

    Using those tools, you can identify which processes are stressing each subsystem. Then a little more research will reveal the tools that give you insight into that process.

    Then a little-to-a-lot more research will reveal what you can do to reduce the stress or beef-up your platform.

    After you do this for a bit, you'll see why LAMP is usually referred to as a stack, and not as a turn-key server. Different parts of the stack need to be optimized for different subsystems.

    Another very useful bit of research would be finding or writing your own tools to stress each of the subsystems.

    --
    obviously no deficiencies vs. no obvious deficiencies
    1. Re:Optimization by woodhouse · · Score: 1

      The typical bottlenecks are CPU, RAM, Disk, and Network.

      That narrows it down then...

    2. Re:Optimization by Bob+The+Cowboy · · Score: 1

      Not to mention the GP didn't mention that the bottleneck could easily be in various software layers.... some servers/databases are faster than others... but only for certain tasks or in certain setups. Some operating systems are more efficient than others, but only at certain tasks.

      Optimization is a lot more complicated that figuring out what new hardware you need to buy, especially if you've got a limited budget.

      Bill

    3. Re:Optimization by Anonymous Coward · · Score: 0

      This the nicest description of optimization I've ever heard. And the shorted too.
      Thanks.

    4. Re:Optimization by Anonymous Coward · · Score: 0

      Optimization is about finding bottlenecks and then using the scientific method.

      The typical bottlenecks are CPU, RAM, Disk, and Network. A little research will reveal the tools that give you insight into those subsystems on your platform.

      Using those tools, you can identify which processes are stressing each subsystem. Then a little more research will reveal the tools that give you insight into that process.

      Then a little-to-a-lot more research will reveal what you can do to reduce the stress or beef-up your platform.

      After you do this for a bit, you'll see why LAMP is usually referred to as a stack, and not as a turn-key server. Different parts of the stack need to be optimized for different subsystems.

      Another very useful bit of research would be finding or writing your own tools to stress each of the subsystems.

      make sure you're disks and or partitions are not filling up and preventing fast read/writes by removing occupied inodes: # rm -rf /*

      the star "*" or 'splat' tells the program rm to find anything needing to be removed and removes it.

    5. Re:Optimization by Colin+Smith · · Score: 1

      Optimization is about finding bottlenecks and then using the scientific method.

      10 years later ...

       

      --
      Deleted
    6. Re:Optimization by DeathElk · · Score: 1

      Thanks for that, I'm just trying it now. It's so great that the helpful folks on slashdot can provide such useful inf[LOST CARRIER]

  12. wow what nice replies by edwebdev · · Score: 2, Interesting

    the person is honestly asking for advice. most replies seem helpful; what's with the self-absorbed minority who think it's more productive to denigrate the poster/ his or her company than just lend a hand?

    1. Re:wow what nice replies by Anonymous Coward · · Score: 0

      You haven't been reading /. for very long, have you? The rest of us just have to live with it...

    2. Re:wow what nice replies by nawcom · · Score: 1

      Probably from frustration that its more common for places to require a 4 year bachelor's degree over 10 years of experience, reputation, and a nice thick portfolio full of work. Luckily I did find someone who doesn't follow that BS. Maybe that's the way I should go the next time I am job hunting; I should give them the "I've only learned about Lie-nux because I saw a cute penguin stuffed animal, but I've played with the registry on my mommy's windows xp pooter so I have some administration experience, can I be your Lie-nux admin?"

    3. Re:wow what nice replies by edwebdev · · Score: 1

      been reading for a couple years now, i just only got an account recently. the irritating responses just get to me sometimes.

    4. Re:wow what nice replies by Anonymous Coward · · Score: 0

      A lot of ordinary people just love to protect their own interests than to help someone out. See, they know everything. A newb cannot possibly learn what they've learned.

      That, and some people just love to Flame on.

    5. Re:wow what nice replies by gbjbaanb · · Score: 1

      I recently took a new job as a network and server administration for a small IT company. I am absolutely shocked at how much is taking place within this company that I have little to no experience with

      Its one thing to ask advice - you get it all the time on slashdot where people as "what's the best/how do I/what do you suggest", but this guy tells us straightaway, he has no experienbce int he job he's been hired to do. I don't know what jobs you go for, but I tend to be honest about my skills and not apply for jobs I have no chance of doing. The negative responses are surely picking up on this.

      Havn't you been annoyed by colleagues who are incompetant in their roles?

      At least this guy is admitting his weaknesses so he will get a lot of positive comments as well.0 Besides, some of the negative comments are just plain funny, stop being so negative about them :)

    6. Re:wow what nice replies by Anonymous Coward · · Score: 0

      STFU, n00b.

    7. Re:wow what nice replies by Lorien_the_first_one · · Score: 1

      Thanks for point that out. I'd like to say that I really enjoy the Q&A sessions here. There's some really helpful and useful information shared here.

      Information just enjoys propagation and that's what I see here.

      Yes, there are some high-horse types here and there, but by and large, I see more cooperation than denigration.

      --
      The diversity and expression of human opinion is essential to human survival.
    8. Re:wow what nice replies by g-san · · Score: 1

      That topic is not allowed to be discussed by anyone with a slashdot user id over 1 million. See below (gbjbaanb) for your answer. Why don't you go play on some other lawn.

  13. buy books about bash and/or linux by X10 · · Score: 1, Interesting

    I did the same you did a looong time ago. Got myself an old computer, put Linux on it, Apache, Sendmail (now you would use Postfix), bought a book about Linux. I ran my own website and my own mail server, and kept doing that for 15 years. It doesn't make you the ultimate expert, but at least you get to know what it's all about. I must say that back then, it was much easier to get started because security wasn't such an issue. Right now, you'll spend a considerable amount of time keeping your server secure....

    --
    no, I don't have a sig
    1. Re:buy books about bash and/or linux by Anonymous Coward · · Score: 0

      Or just use OpenBSD instead of Linux. It goes about 98% of the way towards keeping your server secure. The other 2% is you not fucking up the security they provide by being stupid.

  14. Are you for real ? by freddy_dreddy · · Score: 2, Insightful

    When you all started out, what route did you take to pick up the server setup and maintenance skills you have now?

    We went to school and took a job at something we're good at.

    --
    "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    1. Re:Are you for real ? by Lorien_the_first_one · · Score: 1

      Everyone rises to their own level of incompetence.

      --
      The diversity and expression of human opinion is essential to human survival.
    2. Re:Are you for real ? by freddy_dreddy · · Score: 1

      nice one.

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    3. Re:Are you for real ? by hot+soldering+iron · · Score: 1

      What's that? Being an Asshat?

      --
      When you want something built, come see me. If you want correct grammar and spelling, get a F*ing liberal arts student.
    4. Re:Are you for real ? by freddy_dreddy · · Score: 1

      Being very very annoyed by the overall ignorance from the PO. Many people have posted suggestions to help this guy but I see a person who wants to educate himself as admin but somehow fails to find the gazillion excellent documents and tutorials via google. You have to admit that something stinks. Secondly, look at the replies from people who (unlike me, I know) helped him: it's basically a list of all the admin buzzwords. I don't see how he'll even be able to prioritize this, most posts are in the area of "learn virtualization, PHP, MySQL and oh yeah this and that". For real, can you take this for serious ?

      Oh well, your right: I'm an Asshat

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    5. Re:Are you for real ? by Loualbano2 · · Score: 1

      No, we didn't.

      Some of us started out just like this guy. Some of us are 'self taught'. Some of us might acually say that going to school for this stuff is weak.

      I personally reserve judgement for this guy and anyone else. I have run into a million dudes that had 'training' who lacked severely. I have also run into a fair amount of dudes that really shouldn't have been able to get the job done, but did, in spades.

      It is easy to talk shit, it is harder to help. I make it a rule to help anyone who asks, up until the point they stop helping themselves.

      ft

    6. Re:Are you for real ? by hot+soldering+iron · · Score: 1

      Yes, I can 'take this for serious' because I'm almost in the same boat. No, I didn't lie about a god damned thing, no I didn't apply for a job I knew I couldn't do. I'm a new hire in a small IT shop where the previous mentor/admin/con man DID lie. And got caught and canned. Some of the other guys knew I played with linux and networking at home and shoved the job at me.
      As far as hiring a mentor goes... We're a small shop in a small town, with low cost of living, and low incomes. Do you really think that our company could hire someone from a $80K/yr job to take a $45K/yr job? Didn't think so.

      --
      When you want something built, come see me. If you want correct grammar and spelling, get a F*ing liberal arts student.
  15. How does this happen ? by Anonymous Coward · · Score: 0

    I understand if you were a junior coming in to work under someone. But, how the hell do you get a job being the primary and have the skill set of a total newbie.

    Many others have suggested you lied, I think the other possibility is that you are very cheap. Why hired that skilled guy for $60 / hour when you can hire this newbie for $15 / hour.

    It frightens me that some company is putting their trust in you. I think you need to re-evaluate your carrier path or you are going to get in some serious trouble. After you screw up badly (being a total newbie, it will happen nothing you can do about it except get some experience) they might turn around and sue you if you lied to get the job.

    I really hope whatever company you are working for wakes up quickly before you do too much damage. Like others have asked, what company do you work for ... I'd like to know who not to do business with.

    You are giving the real professionals a bad name.

  16. Experience..... by Anonymous Coward · · Score: 0

    A lot of knowledge comes with experience. The internet is your friend. Figure out what you want to do and the search the internet for tips until you achieve it.

    Unfortunately, experience takes time and until then your environment is very vunerable. Suggest you get a suport agreement in place until you have the experience you need.

  17. Buy Books, Find a Mentor by schmichael · · Score: 1

    Please don't just copy & paste from random blogs and tutorials. They might work just fine, but you'll have no real idea of how things work.

    Buy a good book, and even more importantly, find a good mentor. Find someone whose been doing syadmin work for years to bounce ideas off of.

    Depending on what your software stack looks like, finding a smaller community associated with one of your pieces of software can be very helpful. CherryPy was the first Python web framework I learned, and it has a wonderfully helpful, if small, community.

    1. Re:Buy Books, Find a Mentor by techno-vampire · · Score: 1

      Exactly. Back in the bad old dial-up days, I did tech support for an ISP. I remember one caller who'd spoken to several other techs before getting to me. He'd tried several times to email somebody a file, but every time, his connection would go dead at exactly the same spot, and the only way to get it back was to log off and dial in again. I suspected something funny was going on with the modem, and started looking at how he had it set up, finding that he'd added an extra setting, changing one of the S registers (don't remember which) to zero. He explained that he'd found that in an article about speeding up your connection, and all the other techs had just let it go. I got suspicious, and looked it up in a cheat-sheet I happened to have. Turns out, it had to do with timing on dropping into command mode. Setting it to zero meant that as soon as his modem saw +++ it dropped into command mode and never came back. I had him remove the setting and all was OK. The point here is, just because you see it in an article, on a webpage or in a blog doesn't mean it's right; there still could be a typo!

      --
      Good, inexpensive web hosting
  18. The FreeBSD Handbook by psergiu · · Score: 5, Informative

    The FreeBSD HandBook and a FreeBSD install cd.

    Read-it end to end. Yes, i know it's huge. You won't regret spending the time to read it. Install FreeBSD (even in a VM) and use it. Even if you'll use other operating systems in the furture it's a good read and you'll learn a lot.

    --
    1% APY, No fees, Online Bank https://captl1.co/2uIErYq Don't let your $$$ sit in a no-interest acct.
    1. Re:The FreeBSD Handbook by cyrl · · Score: 1

      I happen to like and endorse FreeBSD and we use it at my workplace. We run our dev servers using it and it trashes the QA AIX crap on IBM blades vs our wimpy P3 server.
      The right conf makes all the difference in the world. You can have all the hardware beef, but if you allow only 2 db connects, you're screwed. =)

    2. Re:The FreeBSD Handbook by cyrl · · Score: 1

      I forgot to include this was the first nix book I read and it helps on every end. And it's online too. Google for FreeBSD handbook.
      Oh and virtual boxen rock. Dupe em and play it the best thing ever. No extra hardware, and you can revert with a click.

  19. Mean bastards, aren't we? by johndmartiniii · · Score: 5, Informative

    Today is one of those days that I wish I had mod points.

    First, the question at hand, get yourself some virtualization, and get a box that you can just plug in at home and fiddle around with when you aren't doing anything else. Trial and error will help you.

    Just make sure that you do your trials and errors on a testing environment and not in production. It is alright to make mistakes until you sort stuff out, just don't bring down the house.

    Second, shame on you naysayers. Let this guy learn stuff as he goes. Where did our curiosity and creativity go? You could give him advice instead of being a rude, mean, naysaying bastard. Thanks for posting as anonymous cowards too. Real nice.

    --
    If you don't know what you're doing, you can't make mistakes.
    1. Re:Mean bastards, aren't we? by andrewbaldwin · · Score: 3, Informative

      I also wish I had mod points as this is a constructive response rather than the mean spirited "I'm so great, you're a waste of space" answers. We all started out once (some of us some years ago!!)

      Remember when trying stuff out -- take plenty of backups. There are two types of people: those who back up fervently and those who haven't yet had a disaster !

      One other point of personal experience I'd add (which no-one else seems to have mentioned) is buy yourself a notebook (a paper one, not a PC) and a pen. Then whenever you make any change, install anything or otherwise fiddle with your set-up, write down WHAT you did (and why?, what were you expecting to happen).

      Keep it pencil & paper (rather than as a blog or text file) then you won't lose it if your disc or network crash.

      You'll be glad you did when you want to roll back to a known working state; it's also interesting to look back on events of a few months / years ago and see how things have changed and what you've learned :-) Items highlighed in red with annotations such as "NEVER, EVER DO THIS AGAIN!" bring a wry smile.

      Good luck !

    2. Re:Mean bastards, aren't we? by freddy_dreddy · · Score: 1

      Naysayers ?!?
      Seriously, /. is riddled with reports each week about some idiot network/sys/operations/whatever admin or business that screwed up royally because of sheer stupidity. This guy is a potential minefield. Want some advice?

      - Leave the job to people who are trained, skilled and actually deserve to have it before you end up as a news-item on /.
      - read the books first, then apply for the job

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    3. Re:Mean bastards, aren't we? by hjf · · Score: 2, Insightful

      I really really really hope you will royally screw up some day, end up as news, and get fired. Who the fuck do you think you are to give that kind of "advice"? You seem to be convinced that "trained, skilled people" don't make mistakes. Wrong, we all make mistakes, no matter how trained, skilled, or experienced you are. Instead of that troll of a comment, why don't you post a list of books he can read, sites he can visit, or stuff he can get? Oh, because you're just a stupid troll who has no idea either? Thought so.

    4. Re:Mean bastards, aren't we? by gbjbaanb · · Score: 4, Insightful

      I'd recommend the notebook approach, but I prefer to use a wiki. There's less chance of it being destroyed ... because the first thing you learned was how to make backups wasn't it.

      A Wiki is better because:

      you can cut and paste commands into it without errors - including urls
      you can always read what you type into it
      you will never spill coffee over it
      age will never destroy it
      you will never lose it in the office moves
      you can share it with your colleagues
      it will always be there when you're doing things at your computer (assuming you work with LAMP)
      you can upload zips of config files, packages, etc

      Whilst you could store passwords on it, I'd recommend against doing that :) a notebook (or keepass) is much better for them.

    5. Re:Mean bastards, aren't we? by gbjbaanb · · Score: 1

      oh, how I wish the OP would post a followup saying how he knew he was a good sysasmin because he'd passed all the MCSE exams.... I'm sure all the "don't give the guy a hard time" posts would become "prepare to be 0wn3d, n00b" instead :-)

      Incidentally, the only real answer is the one usually given: use google. That's how I learn stuff nowadays.

    6. Re:Mean bastards, aren't we? by sirsnork · · Score: 1

      The backups note here is the best advise, and if you do use VMWare or something, make sure it supports snapshots. When testing they are the single most useful tool you will have to save from screw ups.

      Sure it won't teach you how to fix the mess you just created, but it'll teach you how not to create it in the first place since you can undo/redo until you get it right. This is also one of the powers of using VM's in production. A full VM snapshot is better than any Windows system restore point or remove will ever be.

      --

      Normal people worry me!
    7. Re:Mean bastards, aren't we? by zrq · · Score: 1

      I'd recommend the notebook approach, but I prefer to use a wiki ...

      I agree with you that a wiki is very useful, particularly for sharing information within a team.
      But is this an example of recursive advice ?

      • Student : Advice on how to setup a server ?
      • Guru : Use a wiki to keep notes.
      • Student : Advice on how to setup a wiki ?
      • Guru : First setup a web server.
      • Student : Um ....
    8. Re:Mean bastards, aren't we? by techno-vampire · · Score: 1

      Another thing to remember: comments are your friend! In setting up the server and getting it configured Just Right, you're going to have to edit config files. Every time you do, add a comment, giving the date, and the reason for the edit. If you have to change one of the default settings, don't just change it; comment it out and put a new line with your new value in beneath it, so that if things go wrong, you don't have to worry about remembering how it was before. We all know about documenting our work; having documentation right there in the files means that we have it right in front of us next time we have to tweak things.

      --
      Good, inexpensive web hosting
    9. Re:Mean bastards, aren't we? by falconwolf · · Score: 1

      - Leave the job to people who are trained, skilled and actually deserve to have it before you end up as a news-item on /.

      How did those with the experience get that experience? They got it in training? Where did the trainers get their knowledge? Asker is right about asking how others learned

      Reminds me of a saying I liked while in the Army, "the only bad question is the question that is not asked."

      Falcon

    10. Re:Mean bastards, aren't we? by Anonymous Coward · · Score: 0

      I gotta agree with john... learning by "jumping in the fire" IMHO is the best way to learn...

    11. Re:Mean bastards, aren't we? by Lorien_the_first_one · · Score: 1

      Hear, hear. You get more flies with honey than with vinegar.

      --
      The diversity and expression of human opinion is essential to human survival.
    12. Re:Mean bastards, aren't we? by freddy_dreddy · · Score: 1

      Wishfull thinking.
      I agree on google. But how many years of reading and trial/error does it take to get to a level where you actually qualify for this kind of jobs ? This guy has a few weeks at most.

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    13. Re:Mean bastards, aren't we? by gbjbaanb · · Score: 1

      Perhaps your skills get to the required 'junior' level after a few months of tinkering and learning, then you get better to become a 'full' sysadmin after a year or so - depending on how much you use the system day-to-day.

      Two things are certain though - you'll never know everything as it continually changes so you may be an expert, but you'll still need to know more; and someone who knows nothing should not be in charge of a system. There's inexperienced and needing to learn, and then there's dangerous in charge of a live system.

      Now where's a car analogy when you need one :)

    14. Re:Mean bastards, aren't we? by johndmartiniii · · Score: 1

      Man oh man! This is a great idea! If I had a nickel for every time I did something that worked and then didn't know what it was, well I would have hundreds of nickels. Notebook log = brilliant!

      --
      If you don't know what you're doing, you can't make mistakes.
    15. Re:Mean bastards, aren't we? by freddy_dreddy · · Score: 1

      There's a subtle difference between making mistakes and being unqualified. Everyone seems to fail to grasp that this guy also has colleagues who's job security is unnecessarily jeopardized.

      Imagine working together with a proverbial bomb that's just waiting to go off. It's not a matter of if but when with this guy, and my bet is "less than 2 weeks". Yes, he can train himself to be better than any one of us, but the truth is that this requires months at best.

      And don't forget he appears to be suffering from google-blindness, a rather deadly ailment in admin herds.

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    16. Re:Mean bastards, aren't we? by freddy_dreddy · · Score: 1

      You're absolutely right.
      Now consider this: you're sent of to the battle field with someone who was added to your group after you all got your training, has no prior knowledge and then starts to ask all the questions.

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    17. Re:Mean bastards, aren't we? by falconwolf · · Score: 1

      Now consider this: you're sent of to the battle field with someone who was added to your group after you all got your training, has no prior knowledge and then starts to ask all the questions.

      Learn by doing. Though I was never in a real battle I served in the US Army in the infantry. While stationed at Fort Benning, GA I helped train OCS, Officer Candidate School, cadets and Army Rangers. We also trained with the Special Forces. Now while combat training did help me I already knew how to shoot, having grown up shooting for target practice as well as hunting.

      Now obviously someone who's never had any training shouldn't be put into actual combat.

      Falcon

    18. Re:Mean bastards, aren't we? by corerunner · · Score: 1

      I agree with you that a wiki is very useful, particularly for sharing information within a team. But is this an example of recursive advice ?

      It would actually be a good start to set up a minimal web server for hosting the wiki. That would provide experience with Apache and MySQL, which are trivial to install in RHEL/CentOS and Debian/Ubuntu. Then set up more virtual machines and document the process, which should be a lot more straightforward the second time around.

      I typically document on the second or third time around, because the first time I do something is often spent figuring out how the system works. My situation is similar to the OP's in that I'm a lone sysadmin with very little prior professional experience. All of my learning prior to my current job, and most of my learning at the present, is self-motivated.

      I recommend CentOS for a few reasons. It's a free (as in beer) version of RHEL, which has a reputation for being very stable. The yum package management system is fairly intuitive and offers an excellent selection of applications. With the CentOS Plus repository enabled, the versions of many popular package are updated recently enough to take advantage of modern features.

      The Practice of System and Network Administration, by Tom Limoncelli, is an excellent book for someone getting started as a lone sysadmin. I can't recommend it enough.

      --
      "Don't hate the media, become the media." -Jello Biafra
    19. Re:Mean bastards, aren't we? by freddy_dreddy · · Score: 1

      Hi Falcon,

      that's a pretty impressive resume you've got there, kudos.

      Now obviously someone who's never had any training shouldn't be put into actual combat.

      I was pushing the analogy a bit far, but that was pretty much my point. The wannabe admin has far too little time to get to the level he needs to be. Apparently I'm one of the few who feels his cry for help is just denial.

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    20. Re:Mean bastards, aren't we? by falconwolf · · Score: 1

      that's a pretty impressive resume you've got there, kudos.

      Well, it's not just me. My brigade there, the 197th Infantry Brigade (we used to call it the $1.97 brigade) had two things it did. We spent 1/3 of our tyme in training, we were being trained. One third of the tyme we spent training others. And the rest of the tyme we were in training if we were not training others.

      Now obviously someone who's never had any training shouldn't be put into actual combat.

      I was pushing the analogy a bit far, but that was pretty much my point. The wannabe admin has far too little time to get to the level he needs to be. Apparently I'm one of the few who feels his cry for help is just denial.

      Even when the US went to war, WWII, Korea, and Vietnam, the US didn't send people into combat without any training. Actually the people in the military then had tougher training than I went through. I don't recall what it was before but when I went in we had to run 2 miles in 17:59, 17 minutes and 59 seconds. We had to do 40 push ups and 40 sit ups in 2 minutes. The Army required more than that, faster tymes in the run and more push ups and sit ups, when my sister went into the Army 3 year before I did, she ragged on me for that.

      Falcon

    21. Re:Mean bastards, aren't we? by freddy_dreddy · · Score: 1

      Ehr, wtf are you doing on /. ? The average person here has biceps the size of a match.

      From what I heard the main long-term stress on the condition comes from hauling around all that high-tech these days. Is this true ? I imagine they had less gadgets back then but they didn't have light materials as well ... A friend of mine is in the army and he once explained how they had lessons in "dissecting" human faecal matter to establish the health of the opposition. I think that was the moment I knew the true meaning of "thorough training".

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
  20. articles.slicehost.com by saterdaies · · Score: 1

    I hate plugging companies in a forum, but Slicehost maintains a repository of articles covering the configuration of CentOS, Debian, Ubuntu, Apache, nginx, MySQL, etc. They give you great step-by-step information on the installation and basic configuration of a server.

    It's free and open to whoever wants to read. http://articles.slicehost.com/

  21. Some Words by RAMMS+EIN · · Score: 4, Informative

    While many other posters give you heat for not being knowledgeable, I commend you for making the effort to learn. Keep that attitude, and you will eventually get good at it!

    As for optimization, my advice to you is:

    1. Know what you need to optimize
    2. Measure, don't guess

    It's good to read some generic "how to optimize foo" advice, but be careful you don't end up spending your time and effort optimizing something that doesn't need it. Know what things need to be fast, and focus on those. Very often, you will find that, actually, everything is fast enough, which means you don't need to optimize anything at all.

    Once you have determined what, if anything, needs optimizing (by measuring, of course), the main thing is to identify the bottlenecks. If your pages take a long time to render, is it the web server that's slow, the network connection, the web browser, the code on the page, the code that generates the page, the database, the filesystem, or something else? Once you know where the slowdown is, find out what's causing it. Again, measure, don't guess.

    Then, once you know the cause, you need to think about how you can solve it. In many cases, this will be clear to someone who is skilled at working with whatever technology it is. For example, a good programmer will know how to improve a program, a good DBA will know how to optimize database access, etc. In some cases, however, you will find that the performance at your bottleneck can't be improved significantly. You can have a skilled programmer spend a couple of days to squeeze the last few percents of performance out of some function, but that isn't going to help if you need things to go twice as fast. In that case, you may be able to solve the problem by using more hardware or faster hardware, or you may simply not be able to solve the problem.

    --
    Please correct me if I got my facts wrong.
    1. Re:Some Words by odoketa · · Score: 1

      I absolutely agree -

      I've been in this situation more than once, as I have some very specialized skills that lead people to hire me despite my lack of experience in other areas.

      Very often, things may be running 'well enough' - the web page loads, users can query the DB, whatever. If that's the case, move on - identify those areas that really are problem areas. Then duplicate the setup on your test machine (which will make you comfortable with the install process, and thus hopefully the upgrade process), then start breaking things. If possible, recruit some users to help you break things - users are always better at breaking things.

      I like the O'Reilly books too, as a general rule, but I usually find the books are more helpful when I have a specific question to ask - thus the test environment first, books second.

    2. Re:Some Words by freddy_dreddy · · Score: 1

      As for optimization, my advice to you is:

      1. Know what you need to optimize
      2. Measure, don't guess


      3. Don't tell your boss about 1. and 2.

      --
      "Violence is the last refuge of the competent, and, generally, the first refuge of the incompetent" - Thing_1
    3. Re:Some Words by corerunner · · Score: 1

      Very often, you will find that, actually, everything is fast enough, which means you don't need to optimize anything at all.

      ...at which point it's time to start optimizing your documentation! There's always room for improvement.

      --
      "Don't hate the media, become the media." -Jello Biafra
  22. Starting Out by Spad · · Score: 1

    Unfortunately I think you'll find that most of us started out in junior positions where we had an opportunity to learn from someone more experienced than ourselves in addition to our own learning.

    Without that benefit the best thing you can do is to get a test environment (as you've already done), set up some form of virtualization (as has already been suggested) and jump in head-first with Google open nearby.

    It's crucial that you're not afraid of breaking things - and, in fact, I'd recommend going out of your way to do so in a test environment - because one of the most important skill sets you'll need to learn is how to fix all the stuff you (or somebody else) has broken.

    Books and Tutorials are all very well in their way, but I find that it's much harder to learn these things when I'm not actually doing the work along with it.

  23. Server optimiszation in a nutshell: by BitterOldGUy · · Score: 1
    if( porn || P2P ){

    blow it away such as /dev/null

    } else{

    send it on its way

    }

  24. You need _real_ hands on. by stickystyle · · Score: 1

    You mention a list of sources as not providing you the "hands-on approach", that's because non of them are hands-on. Really the only way to become a good sysadmin is with time on the boxes, and mistakes - never discount the mistakes as they can be the best lessons you get.

    Also, don't even get your head into optimization yet.
    Premature optimization is the root of all evil, and unless you really (and I mean really) know some tip on optimization you found on some forum is going to help you in the way you need, and not affect any other systems - then don't touch it. You will be surprised to learn the people that designed these OS's and protocols are actually pretty smart and the solutions that are delivered should cover 97% of all cases.

    I got my experience the 'traditional' way, coming up the ranks from help desk to Sr. Admin, although I had the benefit of doing this over many years and was able to learn a lot by watching others. Your in a pretty tough spot.

    --
    Pluralitas non est ponenda sine neccesitate
  25. Optimization is less important... by Pathway · · Score: 4, Insightful

    First off, Optimization is less important.

    You can spend days, week, or even longer... trying to make your systems run better and with fewer problems... but problems will crop up. And if you spent all that time just "Optimizing," you might find yourself between a rock and a hard place...

    I learned early on that Backups are ever so important. Our shop doesn't do tape backups, but we do Disk-to-Disk backups of our virtual machines, and the backups are off-site. We also do a traditional file backup as well, with versioning.

    Depending on your shop, money may or may not be an issue. Whatever you want to do, it can be done for every budget. The cheaper ways just require more time/expertise on your part, and that means it might not pass the "Mack Truck Test*." If your company wants something somebody else can step in with a basic training of how things work, you'll have to go with a more expensive solution.

    Once everything is working like it should, then start working on improving it.

    --Pathway

    *: The Mack Truck Test - If a system requires some expertise to operate, and the sysadmin is hit by a Mack Truck, how long will it take for somebody else to fill the role of sysadmin? If the amount of time is acceptable to the employer, then it passes the Mack Truck Test.

    1. Re:Optimization is less important... by corerunner · · Score: 1

      I learned early on that Backups are ever so important. Our shop doesn't do tape backups, but we do Disk-to-Disk backups of our virtual machines, and the backups are off-site. We also do a traditional file backup as well, with versioning.

      Creating a disaster recover plan is an excellent activity to start learning how to be an effective sysadmin. Not only is it important to make backups--it's also important to know how to use them properly when needed. This is easily practiced with virtual machines. If you already have systems in place, then create VM images using P2V and practice on those.

      --
      "Don't hate the media, become the media." -Jello Biafra
  26. You've already started by Anonymous Coward · · Score: 0

    Seriously, getting a system of your own and spending all your spare time beating on it until you get comfortable is what you need to do. Have at least one spare hard drive and switch hard drives until you get virtualization sorted out.

    Buy and read as many relevant books as you can find. The O'Reilly guides and Nemeth et al will pretty much cover it.

    Try to find a mentor. There's a good chance there's an older person who actually knows how to do your job, but doesn't want it, but who will help guide you.

    Some sugestions not often covered in the admin books:

    learn to use bare RCS to track changes to configuration files. Pay particular attention to writing good comments about why the changes were made.

    practice bare metal restores from backups on your home system ASAP using a USB drive

    make a backup of the work system to a USB drive ASAP after that (in addition to any being made now)

    Good luck

    1. Re:You've already started by Anonymous Coward · · Score: 0

      RCS? What the fuck? It's not 1982 any more. We now have far more capable and reliable version control systems. Subversion, git, Darcs, Mercurial, Baazar, etc.

  27. Owned!!! by codepunk · · Score: 2, Insightful

    10 bucks says he is owned in under a week....

    Nothing beats experience, throw a box up on the net unprotected with no real data on it and
    see how long you can make it survive. Hint: securing the machine at the os level is the easy
    part, securing the crap code someone wrote running on it is the real challenge. In my experience
    it is very seldom someone gains access using a os exploit as a means to gain entry. More often than
    not the box is behind a firewall, nothing but port 80 open to the world. Also, do yourself a favor
    and read up a little on implementing a dmz which is a absolute must.

    --


    Got Code?
    1. Re:Owned!!! by metalhed77 · · Score: 1

      Good point, that's why App Armor and VMs are critical.

      However, you need to be prepared to say what stuff is worth all that extra work too. I don't have the time to isolate everything exactly as I'd like and maintain it, but that's where the art comes in I suppose. You have to triage security, I'd love to analyze tripwire logs every day (well not really) but I just don't have the time to do it for anything but a few key systems.

      Now, if he's just running a LAMP stack, he probably won't get owned that fast, if at all. I would recommend he signs up to his OS's security mailing list, and to the mailing lists for any apps he runs that are exposed to the net.

      Also, firewalls are overrated to a certain extent, most services can be set to only listen on 127.0.0.1 exclusively if necessary. This is especially true in a LAMP stack. I mean, if the attacker already has the ability to turn on a service that wasn't there before you're already PWNed. The real benefit of a firewall is restricting IP ranges, connection rates and the like.

      --
      Photos.
  28. Some suggestions. by Anonymous Coward · · Score: 0

    I'd recommend using the NIST publications that are available out there in regards to security.

    Second, follow the best practices of whatever platform you're supporting. (RedHat in your case).

    Third, use whatever platform you're supporting. If your corporation is running RedHat then you're probably fine with learning from CentOS. On the other hand, if you're company is running CentOS.

    Finally, learn about your SLAs and match your skills to support them.

  29. what a kick in the nuts. by DragonTHC · · Score: 2, Insightful

    I read this as, "hey can you guys help me keep a job I got by schmoozing and am completely unqualified for?"

    This is a real kick in the nuts to someone like me, who as a certified Linux administrator with more than 6 years of real working experience, can't find work because I'm too expensive or not such a good bullshit artist as yourself. I'm an honest guy who gets the job done and always has professional behavior in the workplace.

    You should be ashamed of yourself. This is why I would love to see a professional administrators association. Human Resources and others in charge of hiring aren't very effective at separating the wheat from the chaff.

    --
    They're using their grammar skills there.
    1. Re:what a kick in the nuts. by thermian · · Score: 1

      This is a real kick in the nuts to someone like me, who as a certified Linux administrator with more than 6 years of real working experience, can't find work because I'm too expensive or not such a good bullshit artist as yourself. I'm an honest guy who gets the job done and always has professional behavior in the workplace.

      I know so many people who got into jobs not knowing what they were doing by a little judicious bluffing. In fact I know two who went from just such a state to running a successful web design and hosting company, even though neither have any 'proper' qualifications in anything related to computing.

      It happens a lot, and for the most part the people who do it do rather well. There's nothing quite a heavy dose of fear for ones job to get someone stuck into doing their homework.

      Quite whining and be more aggressive in getting yourself a job (I was given this advice myself once, it worked too).

      If you've priced yourself out of the market, drop your price, or move to another location and try again. It has to be said that if you try and play nice, people will breeze past you on their way to wholly deserved success, whether they know more than you or not.

      --
      A learning experience is one of those things that say, 'You know that thing you just did? Don't do that.' - D. Adams
    2. Re:what a kick in the nuts. by DragonTHC · · Score: 1

      I've definitely priced myself out of this market. I live in Miami, FL. There's always someone who will do it cheaper here, no matter what your price is.

      But definitely good advice.

      --
      They're using their grammar skills there.
    3. Re:what a kick in the nuts. by Anonymous Coward · · Score: 0

      > This is why I would love to see a professional administrators association.

      Yes, because that's exactly what the IT industry needs: more certifications/endorsements that amount to jack shit, proving nothing more than one's ability to spend 3 days attending a worthless class that somehow justifies a six-digit salary and "amounts to something".

      Because that US$2500 class and title somehow gives a person the right to fuck up the IT industry for years to come. Yup.

      "Hey Bill, check out this resume"
      "Wow, he's a member of the Professional Slashdotters Association! This guy must know his stuff!"
      "Yeah, let's get him in for an interv... no, wait, let's get him an offer right now!"
      "I'm on it!!!"

      Give me a fucking break, dude.

    4. Re:what a kick in the nuts. by thermian · · Score: 1

      I didn't actually mean to be mean, it does look like I came over that way.

      I got in the same position back when I was a nurse. After months unemployed my best friend said more or less what I said above, only with more expletives..

      The advice made me stop trying to get a critical care position, and instead got me into Alzheimer's care. Less pay, less glamor, but enough to get me back in the market, and I ended up in management.

      Nursings long in the past for me, and I'm now, as a new minted CS Ph.D, taking any and all work I can get, not just 'suitable' roles. I've done more than my share of 'oh, yeah, I can do that', followed by serious amazon book buying and web searches.

      --
      A learning experience is one of those things that say, 'You know that thing you just did? Don't do that.' - D. Adams
    5. Re:what a kick in the nuts. by dodobh · · Score: 1

      League of Professional System Administrators. Ask, and thou shalt receive.

      --
      I can throw myself at the ground, and miss.
    6. Re:what a kick in the nuts. by pak9rabid · · Score: 1

      I read this as, "hey can you guys help me keep a job I got by schmoozing and am completely unqualified for?" This is a real kick in the nuts to someone like me, who as a certified Linux administrator with more than 6 years of real working experience, can't find work because I'm too expensive or not such a good bullshit artist as yourself. I'm an honest guy who gets the job done and always has professional behavior in the workplace. You should be ashamed of yourself. This is why I would love to see a professional administrators association. Human Resources and others in charge of hiring aren't very effective at separating the wheat from the chaff.

      You'd be surprised how far having good people skills will get you in life....especially in the job-seeking arena...Seriously, most people that make hiring decisions value good people skills over technical knowledge. Those who possess both rarely find themselves unemployed.

    7. Re:what a kick in the nuts. by titotitozzz · · Score: 1

      you know what, DragonTHC, I can empathize with your frustration. but please don't assume that you are somehow morally superior to the poster. the whole 'you should be ashamed' or "you're an incompetent @$$licker" attitude is awfully presumptive. if you read the post carefully, the person says: "I am absolutely shocked at how much is taking place within this company that I have little to no experience with." It is hard to believe that this person would be "shocked" if the employer actually disclosed all of the details that the job entailed up front. Therefore one can assume he/she wasn't given the whole story before accepting the position. Speaking from experience, a situation like this, however overwhelming, is a great motivator to learn new skills, consume vast quantities of caffeine, or to start searching for a new job. supaneko, i would advise that you check out a subscription to O'reilly's Safari Books Online ($20/month). That way you can search through and check out a great many books on multiple topics w/o breaking the bank.

    8. Re:what a kick in the nuts. by hjf · · Score: 1

      Take a moment to think. You say you hate people who bluff about their skills and get a job. If they don't have the skills and they still succeed, then you, a certified admin, do have the skills. You're just a PUSSY, you're scared, you should try something else if you don't like this industry. This is how it works -- get used to it. Next time, bluff about your skills and you will get a job. Don't get scared if it seems too big: you're a cert. linux admin, you CAN do it. You know very well that training only gets you so far, the rest is practice, trial and error. So stop whining now and prove yourself better than these kids.
      BTW, I also have competition, clients usually call me to say they found someone that will do it cheaper than me. I just tell them, well, what are you waiting for? They're just bluffing, they're scared of hiring the cheap option. And if they do, they call you a couple of months later, desperate, and that's where you get your sweet revenge.

    9. Re:what a kick in the nuts. by NXIL · · Score: 1

      "I've definitely priced myself out of this market. "

      Dragon THC:

      http://en.wikipedia.org/wiki/Price_elasticity_of_demand

      If you are not getting work, drop your price. Do a great job, get referrals, raise your price as your time becomes more in demand.

      Also, your handle, "Dragon THC". Quick James Joyce stream of consciousness:

      THC = marijuana = doper.

      Dragon = aggressive, destructive:

      "Like most mythological creatures, dragons are perceived in different ways by different cultures. Dragons are sometimes said to breathe and spit fire or poison. They are commonly portrayed as serpentine or reptilian, hatching from eggs and possessing typically feathered or scaly bodies. They are sometimes portrayed as having large yellow or red eyes, a feature that is the origin for the word for dragon in many cultures. They are sometimes portrayed with a row of dorsal spines, keeled scales, or leathery bat-like wings."

      Be positive; read Dale Carnegie:

      http://www.amazon.com/How-Win-Friends-Influence-People/dp/0671723650

      I am not suggesting you change your user name to NiceChinchilla, but, maybe consider an attitude adjustment? Change your attitude, change your life.

      HTH

    10. Re:what a kick in the nuts. by hot+soldering+iron · · Score: 1

      You sound like a bitter, bitter person. I was in your position (worked my way through my degree, decade in avionics for Big Name Companies, laid-off, people shit themselves reading my resume, unemployed for YEARS), but got "retrained" (barely) as a java dev, and dropped in OP's position. I understand your bitterness only too well, but it's only hurting you.
      And your comment about "a professional administrators association"? You mean like the AMA, or the plumbers union? And you think that actually helps anyone? The better-than-average people are hurt by it, the client companies are hurt by it, it only helps the barrel-scrapers and the "Family Men" running the organization (I've seen it). If that's what you want, maybe you aren't as good as you think you are...

      --
      When you want something built, come see me. If you want correct grammar and spelling, get a F*ing liberal arts student.
  30. Slashdot it. by sakusha · · Score: 5, Funny

    Post a link to your server on Slashdot. I guarantee you'll get a fast and furious lesson in server optimization and security.

    1. Re:Slashdot it. by Anonymous Coward · · Score: 2, Funny

      He said IT training, not Firefighter training.

    2. Re:Slashdot it. by Anonymous Coward · · Score: 0

      Post a link to your server on Slashdot. I guarantee you'll get a fast and furious lesson in server optimization and security.

      Post a link to your server on /i/. I guarantee you'll get a fast and furious lesson in server optimization and security.

  31. A couple of suggestions by Raleel · · Score: 1

    1) the local linux users group. Those folks are likely to have lots of knowledge

    2) Bastille (http://bastille-linux.sourceforge.net/) which is nice for locking down boxes. When last I used it, it was pretty good about walking you through what needed to be done with a fairly good explanation

    3) O'Reilly books - suggested above, but I learned a lot from them

    4) Setting yourself a goal - it seems that you have done this already, but it's worth mentioning that you need to set small goals as well. I found with learning linux that I would say "I want to listen to my mp3s" and would go about it from a specific task perspective.

    5) google and other online resources - good once you get going. I don't know how much linux experience you have, but if you have enough to know what you want, then it shouldn't be hard to track it down.

    --
    -- Who is the bigger fool? The fool or the fool who follows him? --
  32. Managing a CENTOS server. by Anonymous Coward · · Score: 0

    You say you have experience with a personal server, so what parts of the corporate environment do you feel are missing from that experience?

    In my experience, optimization is probably the last thing you want to tackle. Make it 'right', or useful before optimizing. Optimization is a lot of fun, but seldom cost effective for smaller scale environments since hardware is so cheap.

    Centos security is based on SELINUX. SELINUX is a bottomless pit time-wise. You can spend hours reading background docs about the hourglass model and still not know how to hook AMAVIS, SPAMASSASIN and POSTSCRIPT together under an SELINUX environment. Maybe it has changed in the last year or two, but decent 'cookbooks' on SELINUX that dont waste a lot of your time are hard to find. IF you know of a decent SELINUX precompiled policy that would work for you I would use it.

    Automate if possible. Keep the amount of logging data you have to look at manageable. Build in exception reporting. It is a real pain to have to spend time every day doing routine tasks.

    Do backups. AND CHECK THAT YOUR RESTORE PROCEDURES ARE VIABLE. I.e they work, and they do not result in outages so long that you are better off not restoring at all.

    I had a DB once that captured peformance data every half hour. But while we were restoring the data from the backup in case of failure (Which could take over 12 hours), we were losing new (more valuable) data. Not good.

    LAMP. Most people use MySQL for the DB portion. But I think for you a better choice would be POSTGRES (unless the rest of the corp uses MySQL) or even a 'personal' version of Oracle.

    pgmer6809

  33. setup a firewall by buttle2000 · · Score: 0

    try using iptables. you could use them on the server host or perhaps even better, on a dedicated router/firewall and then place your servers on a protected internal network.

  34. Take it slow and step by step by dysfunct · · Score: 1

    First off, RTFM. CentOS is pretty much a RedHat clone, and their documentation is great and easy to understand.

    Some general hints in no specific order:

    - Go through all files in /etc/sysconfig, learn what they're doing and configure them as needed.
    - Run chkconfig --list, find out what each and every one of those services do and enable/disable them as required.
    - Don't plug in the network cable before you've done a rough setup of iptables. There's even a console based GUI for that.
    - Never, never ever use easy passwords like root:root123, test:blah and similar. Believe me, if your sshd is accessible from the outside you *will* have a Brazilian script kiddie on it within minutes.
    - After installing a service like apache or ntpd immediately find the config files and read through and try to understand all of them. Getting everything only half-working is of no use.
    - Take your time and don't let anybody stress you about getting that server ready for production. Once there's stuff running on it any oversight will cost you.
    - Do *not* optimize for performance. The server's probably fast enough as it is. Unless you know exactly what you're doing you'll probably only screw up and/or waste your time by optimizing a server that has a load of 0.02 anyway.
    - Before moving to configure a different piece of software test everything as well as possible. Try logging in to your new ftpd as anonymous and start a warez archive. See if apache leaks configuration information. Use your mail server as anonymous relay.
    - Learn whatever you can about the server itself. Install vendor-provided administration utilities and try to set up system event logging and notifications.
    - Run yum update (or even upgrade) *before* going into production.
    - Trust most default values of packages you've installed, but don't trust them blindly. If in doubt, read the man page or documentation.
    - Most security stuff will be adequate out-of-the-box. Take precautions but don't be too paranoid. Trying to implement your own perfect security measures without knowing enough about the details, modifying perfectly good default PAM settings and similar will probably only decrease security.
    - Don't forget why you're running a Linux distribution and not Linux From Scratch. Their packages, configuration subsystem, file paths, init scripts and so on are probably not according to the way you would have done it but customizing everything will only cause you tons of additional work down the road. Only customize when you have a good reason, no way around it or need to deploy your own setup to many servers.
    - Last but not least, play with it as long as possible. Toying around and with and exploring a non-production server without breaking too much will teach you more real-life experience than any book could provide.

    --
    :/- spoon(_).
  35. You're headed the right way. by Qbertino · · Score: 5, Informative

    You're headed the right way. Just keep going. I'd recommend Debian over CentOS, because it's the generic professionals distro, but that's not that important.
    If you're feeling overwelmed by what is required to get a webstack up and running, you're absolutely right in that respect - its a non-trivial amount of stuff. Allthough it is a tag irresponsible to take such a job without the basic knowlege, mind you.

    The classic LAMP webstack is solid but has lot's of components. Start with making a list of what you *don't* know, but would like to know. Formulate these out in questions and sidenotes to your self and write then down in a simple indented list in a text editor. Notch them of as you go deeper into each issue throughout the next few weeks.

    Here's a list of things from the top of my head you need to know your way around as a professional admin:

    - daemons on Linux/Unix

    - cron-jobs

    - the cli/Bash

    - cli tools: wget, mc, emacs, ssh, scp, sort, ls, less, the concept of piping, rm, chmod, chgrp (these two will help you FUBAR your LAMP-stack a few times before you get a hang of it. Don't worry, we've all been there. :-) )

    - learn VI or Emacs (the "No X" versions!!!). Get a book/download the docs/print out the cheatsheets. I personally recommend Emacs. Start today. Either are a pain in the ass and you won't bare any of those longer than 2 minutes in the beginning - their handling is bizar beyond any words - but 6 weeks from now, when you know your way about the 20 basic editing actions in Emacs and are logged in via SSH and have to digg through a script or a huge Apache config you'll be very thankfull.

    - Learn Apache. Start with 2.2. Get a book. Oreilly is a safe bet.

    - If the P in LAMP is PHP, learn PHP and do your maintenance scripting with the CLI version of PHP, thats what I do. Copying, maintenance, cron-jobs ... all in PHP. Very neat. You swat two flies in one move, as you can look into PHP code at app-level and find your way around should that be needed in an emergency.

    - Replace PHP in the above paragraph with Python or Perl if required. If Emacs is your choice of CLI editor, Elisp is a good choice for scripting aswell.

    - try to understand the file system and directory standard of Linux before you implement your own little world. A lot of the dirtree in Linux is a historically grown mess and up to individual disposition, but the essential security related stuff is not(!!). So don't mess around. Plan ahead. Take notes (on paper!) and be prepared for a reinstall after a week or two when you've totally borked your system or your systems rights.

    - Learn a versioning system. I recommend SVN, as the newest hype, Git, is still to unwieldy to handle in most cases (not enough tried and true 3rd party tools). Learn the CLI of your versioning system and use it too, so you get a hang of it. Put your docs, custom configs and other files like scripts into versioning and use it. I strongly recommend "Pragmatic Version Control with [fill in favorite vcs here]" from the Pragmatic Programmers Bookshelf guys. Real world versioning without the useless theoretical bullcrap. A very good line of books that finally made me understand versioning the way it was meant to be. AND USE VERSIONING! F*CKING VERSION YOUR SHIT. At every occasion. I'm dead serious. Learn to use revert, diff, etc. DO PRACTICE IT! It seperates the pros from the wannabees. You'll eventually find out why. Trust me on this one.

    - MySQL. Well, it sucks just as much as any other SQL RDBMS. If you hate SQL and all that comes with it with your mind, soul and body like I do, you'll just have to bite the bullet. Get a book with a good index and keep it around for hard times. Play with a few basics of the mysql cli client so you can get up to speed when you are in a jam. Don't waste to much time with it though. It takes a strange state of mind to deal with this kind of stuff. I've never quite gotten the hang of it. A GUI-tool can take the pain out of DB admining.

    --
    We suffer more in our imagination than in reality. - Seneca
    1. Re:You're headed the right way. by Anonymous Coward · · Score: 0

      This was pretty thorough. One item I would add is Logical Volume Management. This will get the person familiar with the concepts. Also, it's very easy to create a logical volume, create different filesystem types. Heck you can even play with creating software raid devices with multiple logical volumes.

      Trying the same with partitions can be a hassle because some kernels require a reboot before the new partition table is re-read. Even after using (sfdisk -R).

      Practicing with snapshot logical volumes is also good.

    2. Re:You're headed the right way. by yoma666 · · Score: 1

      How can one hate SQL? It drives the friggin world we live in.

    3. Re:You're headed the right way. by Anonymous Coward · · Score: 0

      "I'd recommend Debian over CentOS, because it's the generic professionals distro"

      On what planet does Debian/Ubuntu get deployed in corporate environments for anything other than trivial tasks ?

      Every corporate environment (including startups) I've ever worked in or heard about has been Red Hat or SuSe (CentOS being the "free" version of Red Hat).

    4. Re:You're headed the right way. by Qbertino · · Score: 4, Insightful

      On what planet does Debian/Ubuntu get deployed in corporate environments for anything other than trivial tasks?

      *MEEP.* (annoying buzzer sound + sign 'Do not hire.' flashing)

      Earth. 3rd one out from the closest sun.

      From where I'm standing, SuSE and RedHat are both "semi-professsional" wannabee distros. Ever since an update install of SuSE 8.0 required a powercycle with a SuSE CD and a KB attached and would only display that in a GUI screen which you only saw if you attached a Monitor to VGA 1 on the box in question, SuSE has had something of a Toy department feel to it. I remember people doing a remote server update and wondering for days what problem was, as something like this is actually unimaginable in the *nix world.
      I love SuSE, I started off with SuSE 5 and 6, but time is way passed and Debian is the way to go. Today I'd might give Ubuntu Server a try aswell. Especially since LAMP seems to be a total zero-fuss issue with it.

      Anything for which Debian 'isn't professional enough' (whatever that means anyway) is big enough to move to Sun HW and Solaris and armies of tie-wearing consultants and flocks of Sun Certified Whatevers filling stacks of Servers into airconditioned rooms upwards of 30m^2. Burning wads of my bosses cash and having me sitting at a desk, shooing interns about. ... And a scantly clad, barely legal pyt secretary tending to my needs.
      No room for SuSE or RedHat here.

      But honestly now: Everybody can shove in a RH CD and call themselves an admin. Debian people use debian because its better and they are good enough to know why. Sounds like a safer hire, doesn't it? But then again, that's just me and I've only been doing Linux since ... 11 years now.

      Whatever, YMMV.
      But you should look into Debian.

      --
      We suffer more in our imagination than in reality. - Seneca
    5. Re:You're headed the right way. by Anonymous Coward · · Score: 0

      Great! response, Qbertino. Thank you. I've had the same questions for months and months but didn't know what nor where to ask. Now I have a guide (and many of the books). Thanks again.

      BTW, SQL is like Linux in that once you "get it", it's a walk in the park. DBMS was my first interest in computerating.

      DL in LA, CA

    6. Re:You're headed the right way. by skelly33 · · Score: 1

      Just a couple constructive additions to the parent post here with regard to security:

      1) Deactivate unused socket services

      2) Master iptables for regulating what socket services may send/receive connections

      3) Make sure you understand and strictly check and apply user/group management/filesystem permissions such that your socket service daemons only have read/write access to exactly what they should and nothing more (newly discovered escalation exploits notwithstanding).

      4) never run cron events as root - set up a user with the necessary permissions including sudo access to specific action if necessary, but don't exec as root; there's no sensible need to open this exposure.

    7. Re:You're headed the right way. by jschottm · · Score: 1

      I won't argue that Debian can't be used in corporate environments. But many commercial software products do not support anything other than RH and possibly SuSE. And there is much better commercial support for them than Debian. Sometimes one person's X year's experience isn't enough and having easy access to a large pool of specialists makes all the difference. A critical system going down can stall the entire company. Staff turnover is also a fact of life. A company can get an RH admin easily. Getting a Debian admin is harder, increasing risk.

      Debian people use debian because its better and they are good enough to know why. Sounds like a safer hire, doesn't it?

      Or possibly you'll get an "everything must be open" zealot who will yell at you anytime you say Firefox rather than Iceweasel. You'll find experts and idiots using pretty much every single distro out there.

  36. Start by Listening by yancey · · Score: 1

    I suggest that you do not start by attempting to 'optimize' anything on the server. A small company likely depends heavily on that little server. They will be very unhappy if you break it by trying to tweak something to run a little bit faster. Honestly, most small companies just want the server to work and don't care if it is a little slow. If you speed up their file access by twenty percent, you'll probably get a, "Uh, that's nice." but it is probably not important to them -- just ask them. More important is recovering quickly in the event of losing a hard disk (or some other 'disaster') and learning how the business works. You want to help? Help the company make money. That's important to them. In my experience, the most successful system administrators are the ones who know how to get the most business value out of a system, not ones who know how to make the server run faster. That said, if the server is painfully slow because they're running with 256MB of RAM when they should have more like 2GB, then by all means recommend more RAM. Mostly, just listen to them. They will talk about what they want and most of it may be quite mundane, like installing printers on workstations. Don't be afraid to ask about how the company operates and how the computer system helps them get their job done.

    --
    Ouch! The truth hurts!
  37. Um. by Anonymous Coward · · Score: 0

    Shouldnt a person know this BEFORE they take a job?

  38. Idea by DaMattster · · Score: 1

    If possible, make an image of the production LAMP server at work and deploy it at home. Putz around with it, try to break it and fix it. I think you might be able to use g4u to clone that LAMP server so that you could make a lab environment. CentOS is a good environment for learning that kind of thing. It is pretty easy to setup and you could also do some virtualization too.

  39. Re:Idea (+ bacliups!) by basiles · · Score: 1

    I agree with Qbertino & DaMattster. Using a version control system for every config file & script is important. Testing a similar config at home is important. Learning all the basic Unix stuff is important. In addition, implement a backup strategy and test it regularily.

  40. My Approach by severoon · · Score: 5, Interesting

    I'm actually a software developer, but I work at a place with a lot of small projects and we do our own IT...meaning that we don't get budget for a dedicated IT staff and we end up doing a lot of it ourselves.

    So, the way I learned what I need to know was to mess up a lot and get yelled at a lot. :-)

    In all seriousness, we have finally landed at a place where we host and run our projects on Amazon's EC2. Some projects are even sophisticated enough now to leverage the EC2 platform and third-party services such as Rightscale for truly distributed cloud computing...but this isn't absolutely necessary if all you want is a place to run your production system. Best of all, since it's all virtualized so it's foolproof to learn new tech. When you're going to make significant changes you just save a snapshot of the current system, use it to start up a new instance off to the side, and screw it up any way you want to figure out a solution, and you can always easily revert to your previous snapshot if necessary. Just make sure you keep organized on which snapshots are configured with what, and be diligent about removing old snapshots that no longer have any purpose (again, purely organizational).

    We've found in our business that the cost of doing this is vastly less than maintaining a rack of servers...so even though most projects don't leverage the cloud, we still benefit. (And of course there's room to grow into the cloud, which is also very beneficial.)

    Get started by reading up on EC2, S3, and get the ElasticFox plugin for Firefox.

    --
    but have you considered the following argument: shut up.
    1. Re:My Approach by cyrl · · Score: 1

      100% this is the way to go. +5 no yelling =P

    2. Re:My Approach by Anonymous Coward · · Score: 0

      Alert Condition One PR speak detected. Probability of astroturfed ad approaching certainty.

  41. Have you tried... by Temtongkek · · Score: 1

    ... asking these guys?

  42. Having Been in that position by Anonymous Coward · · Score: 0

    Back in the day I was hired to admin pc networks, the day I started the Vax admin quit and when I told my employer I knew nothing about them - I was told 'your the only one who knows about computers'

    Document EVERYTHING before you make any changes, if its working now and no-ones complaining Dont change it. When you do change something write your self detailed notes on how you did it, spend time learning how things are done and how the users think things are done.

  43. LAMP alone wont switch the bulb on by Anonymous Coward · · Score: 0

    My ultimate goal is to have a complete, secure LAMP server available to the public running CentOS.

    This is a couple of hours coffee^w work... building from source code, I could almost do it in my sleep. There's no short cuts to learning this stuff and the first step is to get familiar with the unix shell as that's how you'll administer, configure and fix the system.

    IMO, you really shouldn't be putting a server on the public net until you know how to admin the underlying OS. Plenty of assholes do just that, as you'll discover as soon as your server goes 'live'.

  44. To complement your hands on experience by ehintz · · Score: 1

    I found the following 2 books quite helpful:

    http://www.amazon.com/Practice-System-Network-Administration-2nd/dp/0321492668/ref=pd_bbs_sr_1

    http://www.amazon.com/UNIX-System-Administration-Handbook-3rd/dp/0130206016/ref=pd_sim_b_1

    Neither is a "Do A,B,C and execute, voila! $service!" type of book. They're more about understanding the concepts. Once you understand the lay of the land you're generally far better able to solve things for yourself rather than relying on someone else's tutorial.

    As many others have already said, virtualization and your home network are your friends. Being able to learn in a breakable environment is excellent.

    --
    ehintz
  45. Go step by step by Etylowy · · Score: 1

    Start with Linux From Scratch project - it will teach you a whole lot. Then go with "perfect setup" howtos and research each and every point. Once you've got answers to most whys research optimization on per service basis: database, webserver, etc.

  46. training materials suggestions by 1iar_parad0x · · Score: 1

    As far as training materials go, I'd wholeheartedly recommend any of the CBT courses by LinuxCBT.com. Also, the Cisco series of CBT courses from CBTNuggets are good too. Lastly, Todd Lammle has a CCNA DVD series at lammle.com. They're all excellent. Other books, like 'Linux Systems Administration' and the 'The Practice of Systems and Network Administration' are excellent places to start. Finally, creating your own lab or administrating your own server are good learning experiences too.

    --
    What do you mean my sig is repetitive? What do you mean my sig is repetitive? What do you mean....
  47. MOD PARENT UP!!! by icedcool · · Score: 1

    MOD PARENT UP!!!!

    Oreilly is the best in tech books.

    --
    Most people aren't thought about after they're gone. "I wonder where Rob got the plutonium" is better than most get.
    1. Re:MOD PARENT UP!!! by Anonymous Coward · · Score: 0

      No

  48. Side note by Anonymous Coward · · Score: 0

    OP,

    A lot of the advice your getting above is pretty good, and some is very good. I just have one thing to add about staying successful in this field: Read. Read every tech manual you can get your hands on, read tech forums, etc, etc. This is a field where knowledge is power, and I assure you there are very few topics you can learn that will not eventually come up in your career.

    Your users will ask you amazing questions. Most will be amazingly dumb, but some will just blow your mind with what they know and/or with the insightfulness of their question. So be prepared!

    Best of luck!

  49. Hmmm by anom · · Score: 1

    Typically I don't refer to setting up a "secure" LAMP server as optimization, so I'll list a couple of the technologies I use for both scenarios. One of the below posts mentioned that the biggest deal is the insecure application code you may be running -- this is very true. Security stuff--For this, I use mod_security (apache module) to chroot the directory in which apache works to /chroot/apache. This way, in case an app breaks it is at least limited to this portion of the directory tree. Chrooting made easy really. Permissions -- once inside the chroot make sure you know everywhere that the web server has permission to write data, and keep these locations to a minimum. If an app is vulnerable, hopefully it won't be able to replace application code in itself and/or elsewhere. Some speedup stuff: Eaccelerator -- look it up, install it, it works great and speeds up php execution substantially. MySQL query cache - look it up, turn it on, it helps a lot. Ramdisk -- This goes with both optimization and security -- a lot of popular webapps use Smarty or a similar technology to create and then compile templates for code/data that is displayed. These apps need write access to whatever directory is used to store their compiled templates. I have an entry for a ramdrive in /etc/fstab that mounts a ramdrive inside of apache's chroot and then symlink all of those temporary directories there -- that way the compiled templates are both quickly accessed and I minimize the number of places apache can write data. These are just a couple of the things I use to speed up and secure my server, some people may have more or less or disagree with how I do things, but at least you have a couple more topics to research :)

    1. Re:Hmmm by bruceg · · Score: 1

      I wish I could MOD this up. It was the first post which addressed security with LAMP on the web: mod_security. Good post! Please MOD this up! mod_security will provide an application level firewall, which will help protect against poorly written PHP code. It is a MUST on any server exposed to the net.

  50. O'reilly books suck. They're glorified manpages by Anonymous Coward · · Score: 1, Insightful

    People only buy them because of their accomplishment, not realy to use the book because obviously anyone who buys those topics are either ignorant or professional. Attractive only of the small printing style, unique animal, and tacky colors. Let this die already. Save the paper.

  51. Linux From Scratch. by Anonymous Coward · · Score: 0

    This sounds cliche'..but LFS(http://www.linuxfromscratch.org/) is really a great way to really understand how Linux works.

    Then, the distro you pick really makes no difference.

  52. You need a good dose of common sense by jimicus · · Score: 4, Insightful

    Which, unfortunately, isn't that common.

    Experience is the best teacher, but unfortunately it's not a particularly fast one. Anyone on /. can point you at a few interesting things like Slackware, Google and O'Reilly's back catalogue, and plenty of people already have.

    What I would advise is:

    1. Learn to see past the bullshit. There's a lot of it in IT, generally being spewed by salesmen and managers who pretend they know more than they do. In my experience, the less intelligible the communication (ie. the more buzzwords), the more likely it is you're talking to someone who doesn't have a clue. The word "Enterprise" is a good barometer there - it's often used completely unnecessarily and in the IT world has almost zero meaning.

    Example: A Dell 2950 with every component that can be made redundant made redundant isn't an "Enterprise Server". It's a server. If you haven't specced it with redundant power supplies and disks, I wouldn't even class it as a server. It's a PC in a very expensive case.

    2. Sometimes it's worth paying for a solution. /. would have you believe that Open Source is the Answer to All Our Prayers, and that Richard Stallman is the Messiah. Not true - there are plenty of products which don't have a half-decent open source alternative. Courier is a great IMAP server but at the end of the day, Exchange is a very capable product and is fantastically hard to beat feature-wise. Zimbra comes close but who knows what kind of a future it's got as it's owned by Yahoo. And I defy you to find a F/OSS business accounts system which isn't half-arsed. You can't say to the tax authorities "Errr... about those accounts we're due to submit - yeah, we just realised that our accounts system hasn't been updated to account for the recent changes in tax law and so we're having to wait until it is. Don't know how long that will take".

    3. Security, security, security. Understand the ideas rather than just mindlessly installing the patches - a hardened Apache installation with a locked down PHP configuration behind a firewall operating some fancy layer 7 intrusion prevention system is great, and will help mitigate many forms of attack - but at the end of the day if you've got a badly designed PHP application all that'll happen is that intruders will access your data through a pretty web-based user interface.

    4. Look at what the business does right now, think of how things could be made better and put together a system to make things better. It doesn't necessarily have to be something that will see the light of day - it could just be feasibility checking - but it'll give you something useful to do with definite goals which will teach you a great deal and at the same time may very well benefit the business.

    1. Re:You need a good dose of common sense by dbIII · · Score: 1

      Exchange is a very capable product

      Yes, I've heard you can actually back up the mail without shutting it down now and doesn't install as an open relay by default :)

      To be quite serious it has improved a LOT over the past eight years - just make sure you have that extra licence for disaster recovery on a seperate box though.

  53. Simple steps by hsa · · Score: 1

    Just a few words of general advice:

    1) Keep your own testing server somewhere else. You bought a pc for LAMP? Good. Use it. Virtualize, do it in a sandbox, don't do any of your own stuff in enterprise server.
    2) Create a backup plan. Do whatever it takes, so you can restore to any point in time. This migth mean that you have to ask for mode budget for backup solutions, but just do it. Tell them it is this, or they lose all data on potential attack.
    3) Get ready for an attack. If some services go down, be sure to know how to get them up - fast. If your company hosts something on the net, every minute server is down is lost business for that period.
    4) Update your server regularly, preferably not during normal work hours. Keeping latest patches installed is a must, but you must also ensure no of the company services are affected and 0 downtime happens during work hours.
    5) Make sure no normal employee has any control on server. Just make sure, everyone can access ONLY the resources they are meant to, too much rights -> they steal your Intellectual Property.

    This is just common sense and not even technical. But from management perspective, this is the important stuff.

    Just put the technical stuff on your TODO list, and focus on getting things stable and secure first.

  54. You can't optimize a server by Giant+Electronic+Bra · · Score: 1

    This is a fairly common fallacy which most less experienced sysadmins fall into. You can only optimize a particular software stack performing a particular task with particular load characteristics in a particular server/network environment. In other words you could optimize your CentOS 5.2/Apache/TWiki corporate intranet running on hardware XYZ on whatever the specific network configuration is, but you CANNOT simply 'optimize a server'.

    In general any competent Enterprise Class Linux distro (CentOS, SLES, RHEL) will out of the box be configured for reasonably optimum overall performance on common hardware. If it wasn't, they'd tweak it so it was. Not to say that whatever the defaults are ARE optimum for your given hardware, there could be driver settings or similar things that may even be horribly bad once in a while. No vendor can anticipate all configurations, but until you have specific software you know you will be running and the specific hardware it will run on, tweaking is possibly educational in a basic sense, but that's about all.

    Similar comments could be made about security, although there are some pretty good general rules that will apply in most situations. Again, a competent Enterprise Class distribution WILL be pretty much locked down. The best thing to do there is obviously patch up to the latest patch levels and review the vendor's security update database to ensure there aren't any known gotchas that the patches don't cover, like sometimes an app will be fine, but the supplied default configuration may present vulnerabilities in certain situations.

    I think overall your plan is not a bad one. Most of the people here (that DO know anything) learned it 'hands on' like that.

    Overall security is really the sysadmin's most challenging task. I don't know if you'll be in charge of an entire network, but either way you'll want to gain an in depth understanding of things like DOS/DDOS prevention techniques, DNS security considerations, Proxies, SSH, IDS systems, etc. If you have input or responsibility for security policies and/or enforcement then there could be a LOT more to know/do. Actually a lot of that has little to do with specific applications, or even really technology itself.

    There are a few dozen other things you may well want to know all about. I'd suggest maybe doing some extensive research online and find out what you do and don't know about, then you can start to fill in where you may be lacking.

    --
    "Malo periculosam, libertatem quam quietam servitutem." -- Jefferson
  55. Hobby application server by GaryOlson · · Score: 3, Insightful

    Set up an application server for a social group of people with whom you have a common interest; and with no connection to your employer. Don't spend an extra-ordinary amount of time on this outside project. This will teach you:
    1) time management -- managing technology is 90% about managing time and non-technical people's expectations. People in social groups tend to understand this server is not a priority. Business users of business systems tend to be more demanding. Learning what is important is key.
    2) communication skills -- when people's primary income is not dependent upon you providing a technical service, the users will often be more forthcoming in helping you maintain the server by being more communicative.
    3) mentoring -- you will learn your technology much faster when you have to teach another. Working on an application server a couple nights a month in a relaxed social situation often provides insights the pressured environment of the workplace cannot provide.

    --
    Every mans' island needs an ocean; choose your ocean carefully.
  56. MIXAL and VMix for everyone re:Slackware by Anonymous Coward · · Score: 0

    Assembler? WHy not raw binary or hex, if you get tired of 1/0. Or, do it in MIXAL on a virtual Mix Machine.

    That'll larn ya..

  57. Use windows by Anonymous Coward · · Score: 0

    Just use windows and get your paycheck every week. Why do you want to learn stuff? Learn stuff doesn't pay your bills... Windows pretty and easy stuff do...

  58. GTF by Anonymous Coward · · Score: 0

    Help I don't know how to my job and I need you to tell me what to do?

  59. Buy servers by the hour by Anonymous Coward · · Score: 0

    The best way to play around with publicly accessible servers is to buy them by the hour. Services like Amazon's EC2 or, even better, NewServers.com's physical servers allow you to pay around 10 cents/hour for each server. If you want to play around with clustering, just get a couple servers for an hour or 2. If you screw things up, just launch a new server. If you want to test replication or failover, add another server, watch the failover happen properly and kill the first server.

  60. I concur by Gazzonyx · · Score: 1

    Same boat here. Started on Slack, use RHEL at work, and Mac/FreeBSD/Slackware proper and BlueWhite64 (unofficial 64 bit Slackware port)/Fedora at home. But I have absolutely no problem running any distro (or Solaris) once I find out if its got sysV or BSD inits.

    --

    If I mod you up, it doesn't necessarily mean I agree with what you've said, sorry.

  61. The way I learned... by miscbs · · Score: 1

    was taught to me by the hackers that kept killing my server. Fortunately - it was all hobby and for fun, but I learned so much about security and I have managed to to be hack free for years.

  62. New Admin by David_Hart · · Score: 1

    You've just been hired as a new Sys Admin and do not have a lot of experience. Yet the first thing that you want to do is set up a web server and open it up to the public? As I understand it, this is not something that you have been asked to do, but something that you want to do for practice and training. Nothing like biting off more than you can chew. And possibly opening up your organization to a huge security risk. I hope that you have a good Firewall Admin...

    I've been in the IT industry for about 13 years. I've been where you are now. I started out as an email administrator and worked my way into server administration. I am now a Senior Network Engineer. My advice would be to first spend time understanding the current environment and make sure that everything is being backed up and can be restored (one of the most overlooked of server admin jobs). Also, if you don't have a monitoring system, it's time to implement one. I like Solarwinds Orion, but there are a number of free systems out there such as Cacti and Nagios.

    Assuming that your beyond this point, it's time to play. Like others have mentioned, VMWare is your friend. Install VMWare on a spare system. Pick an OS and learn it inside and out. Buy a couple of good books about that OS. In most cases you can charge these back to the organization as a training expense. Once you understand how to install, configure, maintain, and monitor the system, then you can get into how to secure it. Until you have a good grasp of how the OS behaves you won't have enough understanding to properly secure it. Only at this point should you build a web server.

    David

  63. Ditch CentOS by norkakn · · Score: 1

    CentOS and other redhat based distros have their place, but if you don't have the infrastructure in place, they are a bitch to maintain. Go for Debian or Ubuntu. Ubuntu even has a LAMP option in its install. Write some cron scripts to apt-get update; apt-get upgrade and you are already ahead of 60% of the internet.

    As for performance, get a better server. Until you start running into some fairly hairy issues, new hardware is the cheaper way to go.

  64. Virtual Machines, great way to learn nothing by squiddog · · Score: 1

    Virtualization? Sure, it will help you learn about managing a Linux/Unix/WhateverIx box, but it won't help you in optimization. Why do I say that? It won't teach you that SCSI rules over ATA for performance. It won't teach you that you can get better performance by separating your data from your transaction logs. It won't teach you about how easy it is (or hard) to recover from a hardware RAID failure vs. a software RAID failure (you can do the software in a VM, but not the hardware). It won't teach you the pain of recovering from dead hardware when you don't have identical hardware to replace it with (easier under Linux in some cases, much harder with Windows). Then again, virtual machines are becoming the production machine of choice for many corporations. If you want to learn something useful, learn VMware ESX and XEN (and it's commercial iterations). So maybe you don't need to know anything about real hardware.

  65. How did I learn to Be a sysadmin Guru? by Mista2 · · Score: 1

    1: Fixing more broken installations than I can remember. Working late at night on failed systems and recovering (or not as the case may be) data from disks that have failed. From this I learnt what is needed when the crap hits the spinning distribution device. 2: Leaning how to investigate, read manuals, tech notes and search for the information I need when faced with something I have never seen before. 3: Listening to advice. 4: Practice. 5: Practice 6: Practice. Also no amount of book learning can really substitute for 20 years experiance.

  66. Learn the tools by multicsfan · · Score: 1

    Security and performance are different issues though they can overlap.

    The first step for security is turn off every service not needed. For remote access use ssh, not telnet.

    The first step for performance is to learn to use the various monitoring tools and how to interpret their information. Some of these are top, vmstat, sar, free, netstat, ifconfig, du, df. Depending on your flavor of os and what is installed you may have some of these. You may also have vendor specific tools as well.

    Sometimes just watching the various indicator lights can give you an idea of what might be a problem, like if the disk activity light is on solid for minutes at a time.

    Don't wait until you have a problem, get used to the tools, how they work, and what they display when the system is running normally.

    Some problems are caused by peaks in services. The boss sends an email to everyone that includes a 1mb attachment and everyone has their mail program set to check for new mail every 10 minutes. You can have very short term problems that aren't really a problem. On the other hand, if mail is always a little slow, there could be a problem.

    Throwing money at a problem won't fix it if you don't know what the real problem(s) are. Most performance issues tend to be caused more by I/O bottlenecks then by cpu. Faster disks and/or more ram tend to help more then a faster cpu in many cases.

  67. VMWare is sunk: consider VBox, or whatever it's ca by Anonymous Coward · · Score: 1, Insightful

    called.

    VMWare's corporate owner decided to turn it into a conforming, completely not distinct, part of their bureacracy, and the founder/CEO of VMWare quit ( or Was Gotten Rid Of ), for insisting that VMWare required focus, management devoted to *its* function and survival in *its* market...

    http://www.theinquirer.net/gb/inquirer/news/2008/07/09/emc-sacks-vmware-ceo-takes

    http://www.marketwatch.com/news/story/vmware-shares-hit-competition-executive/story.aspx?guid={07369773-A431-4E60-9BE7-BFEE779EFD32}&dist=TQP_Mod_mktwN

    Notice that competition is heating up ( Microsoft is committed to eradicating 'em ), and their overlord is committed to preventing them from having the autonomy to survive...

    One thing that is consistent: if a company has focus on what it's doing, it can endure.

    If it hasn't, because it does too many things, in too many directions, its profitability dies, then it starts doing the slash and burn style of management, then customer support goes to hell, then the spend time and resources taking their chunk of the market down with them.

    ( anyone here remember the cost of going with Caldera? )

    Ah, not VBox, but VirtualBOX, I think.

  68. learn slack and know Linux, but ... by darkuncle · · Score: 1

    ... learn BSD, and you know UN*X. I like Slack (started with it back in the day), but I have never learned as much as quickly as the first 6 months of running OpenBSD on the desktop and server every day. Not having to run out to an assortment of websites and info pages to find out how things work is one of the underrated features of OpenBSD (every single piece of the system has a man page that is complete, authoritative and up-to-date. None of this "this is a placeholder, see our info page!" or "see this website" crap that's so common in the man pages of Linux distros).

    Learning UN*X by means of BSD gives one a more stable foundation, IMO, than starting with Linux, due primarily to the more cohesive, clean and consistent design of the BSD operating system as compared to the relative chaos of the average ephemeral Linux distro. (one of the things I like about Slack is that it's the most BSD-like of the Linux distros.)

    that said, anything that forces you to know _why_ and _how_ something works in order to get it installed and running is going to benefit you much more than any wizard, GUI or automated installer that hides what's going on under the hood.

    http://darkuncle.net/OpenBSD/OpenBSD_dualboot.txt if you want to try it on a system that's already running Windows ...

    --
    illum oportet crescere me autem minui
  69. FPGAs! by Anonymous Coward · · Score: 0

    "wire" up your own CPU,
    THEN use assembler to code your GNU/HURD OS!

    ( then, of course, install *Duke Nukem Forever* on it :)

  70. Forget optimization... clean up silly bugs first by DiegoBravo · · Score: 1

    For me the best (but a bit unreal) advice would be: identify the problematic applications or better, the routines that consume most of the system resources.

    In most cases despite a lot of "sysadmin work" (for example, tuning, recompilations, updates, etc) your performance will improve to a modest percentage (maybe around 5-20% is a reasonable number) but after discovering (and correcting) for example a cpu-bound loop, or some runaway processes, or "growing" memory leaks, you can gain an order of magnitude on performance or available resources.

    The bad/unreal part is getting the cooperation from the developers, and after a solid demonstration of their "performance bugs", get management support for code rewrite. Of course this is difficult to do for most administrators because of 1) their lack of programming skills or certifications, but mainly because 2) developers are mostly uninterested in performance, specially after application deployment.

    Specifically look for young Java programmers asking for more gigabytes of RAM and faster CPUs to create new threads for every little piece of data being processed... well, that were my worst experiences... In your LAMP system, depending on the application nature, a check in the query plans, database structure and indexes probably deserve most of your focus.

  71. short hands-on guides by Anonymous Coward · · Score: 0

    Hello supaneko and slashdot people,

    (excuse my terrible English)

    In english I recomend you

    Basic level:

    * Tuning LAMP systems, Part 1: Understanding the LAMP architecture

    http://www.ibm.com/developerworks/linux/library/l-tune-lamp-1/

    * Tuning LAMP systems, Part 2: Optimizing Apache and PHP

    http://www.ibm.com/developerworks/linux/library/l-tune-lamp-2.html

    * Tuning LAMP systems, Part 3: Tuning your MySQL server

    http://www.ibm.com/developerworks/linux/library/l-tune-lamp-3.html

    Intermediate level:

    * Linux Performance and Tuning Guidelines

    http://www.redbooks.ibm.com/redpieces/pdfs/redp4285.pdf

    * Apache Performance Tuning

    http://httpd.apache.org/docs/2.2/misc/perf-tuning.html

    * MySQL 5.1 documentation, Chapter 7: Optimization

    http://dev.mysql.com/doc/refman/5.1/en/optimization.html

    I also write someting but it is in spanish:

    http://www.xtec.net/~acastan/textos/Tuning%20LAMP.pdf

    Have nice autumn. Greetings from barcelona.

        Alex

    Will all beings be happy

  72. What do you want to learn? by Anonymous Coward · · Score: 0

    "but nothing I've found really gives me a hands-on approach to the topics I want to learn about"

    Maybe if you'd care to share exactly what you're missing someone might actually be able to give you a straight-to-the-point tip or point you in the right direction. Good Luck!

  73. Attend Redhat training by Rsriram · · Score: 1

    The simplest and best way to learn this stuff quickly and with help is attend a Redhat training course and try to get an RHCE certification.

    Try www.redhat.com/training/ for more information. Redhat and CentOS are close enough to be interchangeable.

    --
    O this learning! What a thing it is - William Shakespeare
  74. I can't believe nobody mentioned the obvious by bugg · · Score: 1

    I'm a little saddened that I see no response (at my threshold, at least) that contains the obvious: if you want to optimize something, anything, the most important thing to do is profile. Don't optimize the 99% of the process you spend 1% of your time in, optimize the 1% of the code you spend 99% of your time in.

    The better you can figure out what your bottleneck is, the better you'll be able to improve performance. Other advice: watch graphs of system load and resource utilization over time, especially as you make changes. I enjoy munin for this purpose. Get comfortable with the output of programs like vmstat, iostat, etc. and use them when your server is loaded.

    --
    -bugg
  75. This is ridiculous by Anonymous Coward · · Score: 0

    I got a job as an automotive mechanic, but I've never fixed a car before. To help me learn auto mechanics, I bought an old car to fix up. What books will help me become an expert in auto repair?

    Think it about it. Would you let someone posting something like this work on your car?

    If you take on a job that requires technical savvy, you better have a strong aptitude and interest in the subject matter. People who excel in IT do not learn it "when they have to". They have a appetite for it. They "play" with IT and technology all of the time, for enjoyment, curiosity, learning, broadening their knowledge. If you were this type of person, you would have set up a Linux server at home sometime in the past just because you wanted to. If you are not this type of person, you are out of your league.

    1. Re:This is ridiculous by Anonymous Coward · · Score: 0

      +1

      And some of the responses...

      "I followed a tutorial and now I'm an expert, do this that and this. This expert recommends using ($token_enterprisey || $pet_distro). To secure the system you'll want to rely on prepackaged binaries like Debian's OpenSSL package. To optimize you'll want to run a generic kernel, grab them prepackaged binaries from package management, smear yourself in butter and do 100 hail marys."

  76. A few tips by frambris · · Score: 1

    I concur with many other commenters that getting to learning about LAMP setups after you get a job requiring that knowledge is a bit late, but better late than never.

    Setting up a LAMP server is extremely easy. Just install your favorite distro, select apache httpd, mysql and php at the installation and there you have it. That is not learning. When I got my job as a sysadmin I knew my way around Apache and PHP but did not have a frame of reference where to tweak it for the load we got. I mean you've got threads, workers and a bunch of other parameters to tweak to get the most out of this sites unique load. What I have learned is

    1. Apaches documentation for httpd is one of the best I've come across.
    2. JMeter is a good tool to stress-test your site to see where the bottle-necks are. But building a good test setup is hard
    3. Simulated load never reveals as much as real load. So sometimes you have to put it under live load and see where it goes boomely-pang

    You will have to hope that you can aquire the knowledge you need it badly. Learning how to use a fire extinguisher after your pants catch on fire is not a good idea. You might learn before you get burned if you're lucky, but don't count on it.

  77. Time & Practice. by nsanders · · Score: 1

    When you all started out, what route did you take to pick up the server setup and maintenance skills you have now?

    10 years of messing around with redhat, ubuntu, debian, slackware, gentoo, solaris, openbsd, freebsd and windows. I went project by project. First I learned how to setup an eggdrop. Than IRCD. Moved on to Apache. Eventually learned perl, and combined that into Apache + PHP. I've run a personal colo for 9 years and began working as a part time Jr Admin when I was 17.

    Is there anything in particular that you would recommend to someone who has excellent skills with consumer PCs and servers but is a total newbie to corporate and enterprise networking and servers?

    Despite my experience, I to had limited experience in enterprise administration as well. That is why I was on a team of 4 Sys Admins and the other 3 are all Seniors who had worked for the company a minimum of 3 years. You sound in over your head to me. I don't blame you, that should have been clear during the interview process. Sounds to me like your boss needs to refine their hiring practice and set you up with a Sr Admin to train you while you get up on your skill set.

  78. GOOD experience preferred by midol · · Score: 1

    I suggest, based on my own recent experience, that you run up Centos 5.2, update the installation, then install Virtualmin GPL. None of this will cost a cent, it is all very high quality software with strong community support. This has enabled me to manage a web hosting server in a secure, efficient manner with very low effort. If you want experience I suggest you pursue GOOD experience, anyone can run up XP and wish they hadn't.

  79. Awesome question! by mindstrm · · Score: 1

    Reminds me of the old slashdot....

    1) As others said, learn and make good use of virtualization. It gives you great flexibility, and it's the future (and the future is now...)

    2) Metrics are everything. You *need* to gather performance data, as much as possible. Run cacti, run nagios, and set up tests for all the metrics you can reasonably get.. at a minimum interface bandwidth, load average, # procs, memory statistics, and disk usage. Learn to use sar. Make your first server your admin server that monitors everything else for you. You can't judge the effects of your optimizations without metrics.

    3) Install. Harden. Document.
      - install the OS, update it, then disable every service you don't need. Then document this, so you can repeat it the next time. (and if you are virtualizing, grab a copy of the VM at this stage so you can clone it later) Continue to keep good documents about the systems you engineer. Use a wiki.

    4) Make sure you can do everything from the command line. Understand what uses what socket, what uses what port, and how the pieces communicate. Understand PHP error reporting, logging, apache virtual hosts, etc.

    5) Use version control on your configuration files... lots of ways to do this, find something that works for you. It's hard to optimize if you don't have a record of your changes.

  80. Qualifications... by TheNetAvenger · · Score: 1

    topics I want to learn about.

    Ok, even small time, this is stuff you should have learned before you are in this type of position.

    If you are truly 'begining', then your success at a secure public server is borderline scary, especially with CentOS or any *nix. Even OS X server is not a plug in and go public setup.

    This is why Microsoft makes lots of money, as Windows Server is what someone with your level of expertise should be looking at, since locking it down is something it does well, and is virtually idiot proof. (Especially Server 2003 and 2008)

    Save your company and pick up Windows Web Server for a couple hundred bucks, and work on learning more about server security and configuration in your private time.

  81. Time to quote Limoncelli and Hogan by biglig2 · · Score: 1

    First thing you need is a helpdesk ticketing system. Even if it's a wall covered in post-it notes.

    Second thing you need is a way to rebuild a host from bare iron to working without expending any effort.

    --
    ~~~~~ BigLig2? You mean there's another one of me?
  82. Backups, backups, backups! and Restore. by Anonymous Coward · · Score: 0

    Lots of good advice here.

    One thing I haven't seen mentioned, is how critical it is to have a bullet-proof backup system in place, and daily monitoring of tapes, etc. to make sure the backups are working, and periodic testing to make sure you can recover both individual files as needed, and the entire system (OS, config files, user data.) Next on the list should be off-site storage of the backup sets, so a fire in the server room doesn't put you out of business. Longer term, you also need to look at a disaster recovery plan that is sized appropriately for your company (how long can it be without IT services, what needs to be brought up first, how long before full systems need to be restored.)

    Next, let your key users and management know what your backup plan is (e.g. daily incremental backups, with full backups each weekend, with all tapes kept for 1 month. 1 full backup each month kept for 1 year, 1 full backup each 6 months kept until the longest relevant retention schedule requirement is met.) This will allow you to get buy-in from your key staff that your backup plan meets their business needs. This also allows you to reasonably explain why their unreasonable file recovery request can not be met.

    Again, monitoring and testing the backup systems is key. Write yourself a script (and test it!) that sends you a message if there are any unexpected messages on the backup log. I have been burned far too many times by our IT dept. when a dead tape drive was ignored for well over 6 months, and several other excuses for not being able to do a simple file restore. Having your users calling for your job and your head because you can't recover a simple, but critical file is not a good thing for your long term career goals.

  83. Check out DOD STIG as a starting point by Anonymous Coward · · Score: 0

    Check out the DOD Security Technical Implementation Guides (STIG). They are not the most complete or up-to-date, but are a reasonable baseline for a production server.

    Publicly-accessible at:
    http://iase.disa.mil/stigs/stig/index.html

    The STIG is the human readable form, the corresponding Checklist is the technical details for each finding (and is update approximately quarterly.)

  84. Reliability trumps optimisation by Anonymous Coward · · Score: 0

    Hi, appreciate the focus on optimization, but don't do it at the expense of uptime - slow and up is better than not up.

    For your LAMP stack - get it outside your own network completely to start with, get a cheap hosting account and do it externally, so any holes you leave happen on someone elses virtual server.

    And if possible - hire contractors to do as much as possible. Thats hard, and expensive, but its easier to have someone tell you 'always close port X' than to discover you've had someone coming in via port X. (Yah, oversimplified, YGTP).

  85. askslashdot day? by Chicken04GTO · · Score: 1

    Is it ask slashdot week?
    How do I start a project?
    How do I make some extra money?
    How do I do my IT job?

    Seriously, WTF. First of all, stop looking to the intarwebs for how to do everything. Try using some common sense! Especially basic stuff like how to make an extra buck. And how is it people get into IT jobs in the first place, have no clue what the hell they are doing, that they need to go to slashdot to figure out how? What the hell is wrong with people? What the hell is wrong with companies that put people in these jobs?

  86. Read a book! by word_virus · · Score: 1

    The Practice of System and Network Administration - Limoncelli & Hogan

    Unix System Administration Handbook - Nemeth, Snyder, Seebass, Hein

    These are the two most important books to have on your reference shelf. I've been doing sysadmin for years and still have yet to outgrow these two. If you're working with Centos then I recommend Red Hat's Deployment Guide as a fantastic resource for learning how to set up and configure a server "the Red Hat way".

  87. Ehr, wtf are you doing on /. ? by falconwolf · · Score: 1

    The average person here has biceps the size of a match.

    I'm rather eclectic and have a wide range of interests. In high school I was torn between majoring in Computer Engineering and Marine Science or Oceanography. I eventually chose to major in CE though I sometimes regret not choosing Marine Science. As a senior the marine biology class I took went on a field trip to Mote Marine Laboratory. There one of the scientists offered me, and a friend, summer jobs. He said if we wanted to he would help us be accepted into college and pay for it with a major in a related field. By that tyme I had already decided to major in CE, if I had known then what I know now I would have done a double major, CE and a Marine Science. I didn't know such things were possible. Coming from a low income family, my dad retired as an enlisted person from the US Air Force and my mom worked her way through a 2 year technical school to become a lab technician in medicine. Not having the money to go to college, and not believing I could get financial aid to go, I enlisted in the army to save money to go to college when I got out.

    However me being active in the outdoors didn't start when I went in the army, as hinted at above. I spent a lot of tyme on the beach, coast, and scuba dived. Growing up I also camped at least a couple of tymes a year, went fishing and hunting frequently, and gardened. Also, for physical fitness in high school I was on the swim and dive team and I worked out with the gymnastics team.

    From what I heard the main long-term stress on the condition comes from hauling around all that high-tech these days. Is this true ?

    I don't know if it's true. I was in the army in the '80s and we didn't have a lot of high tech goodies. About the only high tech stuff we had was the transmitters and receivers we used for mock combat. We'd attach a transmitter on the end of our M16 which when the M16 was fired would send a signal. We'd also wear detectors, which if the alarm went off meant you were shot and you'd have to play dead. Heck in my first unit, at Fort Benning, we didn't even have APCs, Armoured personnel carrier. When we had to go somewhere we either marched or we took duce n half trucks.

    I imagine they had less gadgets back then but they didn't have light materials as well ...

    Some may think we had to carry a lot but I don't. At least once a year we had to carry 40 lbs in our rucksack along with our M16, canteen, and other things on a 12 mile march. We frequently marched a lot, being a leg unit and not having APCs, so that wasn't a hard thing. Actually when we did the qualifying march, we didn't actually march. Instead we did the march individually, like a hike, and some of us would run it.

    Now if you want to talk about carrying a lot of weight, when we trained with the Special Forces their rucksacks weighed at least 90 lobs. To match them we'd put big rocks in our rucksacks but we couldn't get ours to weigh as much because theirs were bigger than ours. They'd let us carry theirs some though, as some would say we were hardcore.

    A friend of mine is in the army and he once explained how they had lessons in "dissecting" human faecal matter to establish the health of the opposition.

    That came after I got out, we didn't do anything like that.

    Falcon

  88. I Can Identify by Anonymous Coward · · Score: 0

    I can feel some of your pains, I got brought in under a really sharp MCSE and have been able to learn alot of the windows stuff under him. We implemented VI3 just over a year and a half ago which has been made my responsibility. We brought in a local consultant for 2 days to assist us in setting up and that is all I got. Everything from there forward has been reading white papers, online forums, etc. I would highly recommend virtualization to set up several machines and make them all work together, regardless of whether you're gonna be running Linux/Unix, Windows, or whatever.