#1
  1. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,675
    Rep Power
    171

    Does this cover the basic of Linux and Apache?


    Hi;

    Not as a Linux expert but as a php developer, I want to learn the basics of LA part of LAMP as well. Several times I have to hire a freelancer to do some hourly work for me. I want to be able to look after a dedicated server without Cpanel installed on it.

    I am not familiar with it at all. Based on what I have been needing while working on websites, I came up with this list.


    I have 2 questions:


    1 - I was wondering if you could have a quick look and let me know if there is anything missing from this list. Is there any critical subject that you'd add to this list? Anything I am gonna have to learn to avoid hiring a server guy.

    Please ignore the hours.

    Text editor - vi (1h)

    Useful commands - 4h
    grep, cat, tail, head, mv, cp, mkdir, rsync, shutdown, reboot, du, less, tar, gzip, zip, ls, tree, find, lynx, clear, sed, awk (4h)

    Getting help - man (30 min)

    Package management - aptitude and dpkg (1h)
    search, install and remove software

    Piping and Redirection (1h)
    sdtin, stdout, stderr
    What is it?
    How does it work?

    Linux directory structure (1h)
    /dev, /boot, /etc, /sbin, /var, /usr, /lib, /home, /tmp
    Users and Groups (1h)
    Adding, Editing and removing users and groups - groupadd, groupdel, useradd, userdel
    /etc/passwd and /etc/shadow
    Useful commands - id and getent

    cron - 1h
    what is it?
    how does it work?

    Processes - 1h
    ps
    top
    atop
    iotop
    vmstat

    File systems - 2h
    /etc/fstab
    df
    mount, umount
    Permissions - chown, chmod, umask

    Logs - your way around trouble - 1h
    Shell scripts - 4h
    variables
    Decision making in shell script ( i.e. if command)
    if...else...fi
    Loops - for and while
    case
    debugging
    examples
    Mysql administration - 2h
    grant/revoke privileges
    create/drop databases
    changing passwords
    backup databases - mysqldump common usages
    restore databases
    Apache - 12h
    mod_rewrite
    frequently used configuration directives
    setting up multiple web sites
    SSL
    tuning
    http cache
    mod-php
    troubleshooting

    2 - Does it make a difference if I learn CentOs, Fedora or Ubuntu? I mean if I learn one, can I work on the other as well or are they very different?

    Thanks
    Bye
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2006
    Posts
    2,464
    Rep Power
    1751
    Looks like you have the basics - you may want to add dump (ufsdump) and restore (ufsrestore) of file systems to the list. Plus an appreciation of the actual shell environments themselves, not just how to script in them - for example what shell uses what control files when it starts, both on a global level and on a per-user level.
    The moon on the one hand, the dawn on the other:
    The moon is my sister, the dawn is my brother.
    The moon on my left and the dawn on my right.
    My brother, good morning: my sister, good night.
    -- Hilaire Belloc
  4. #3
  5. A Change of Season
    Devshed Frequenter (2500 - 2999 posts)

    Join Date
    Mar 2004
    Location
    Next Door
    Posts
    2,675
    Rep Power
    171
    Originally Posted by SimonJM
    Looks like you have the basics - you may want to add dump (ufsdump) and restore (ufsrestore) of file systems to the list. Plus an appreciation of the actual shell environments themselves, not just how to script in them - for example what shell uses what control files when it starts, both on a global level and on a per-user level.
    Thanks
  6. #4
  7. No Profile Picture
    Grumpier old Moderator
    Devshed Supreme Being (6500+ posts)

    Join Date
    Jun 2003
    Posts
    14,445
    Rep Power
    4539
    If you have a stray computer around, take the time to build a server with ispconfig3. ispconfig is an open-sourcxe alternative to cpanel and other panels, and offers good tutorials on building a complete server from scratch. When you're done, youll have a nice testing/development server and you can review all the steps you took to build it.

    ispconfig3 is all written in php, and you can build different configurations of servers. I generally use apache./mysql for the web server, postfix and dovecot for the mail.

    Anyway in my opinion building an ispconfig3 server is an excellent learning experience.
    ======
    Doug G
    ======
    Bartender to Rene Descartes "have another beer?" Descartes: "I think not" and he vanished.
    --Alfred Bester
  8. #5
  9. Providing fuel for space ships
    Devshed Supreme Being (6500+ posts)

    Join Date
    Mar 2004
    Location
    nr Edinburgh, Scotland
    Posts
    14,382
    Rep Power
    3848
    I'd also take a look at iptables, netstat, traceroute, mtr, strace etc. - especially if you're trying to narrow down any potential port conflict or network issues
    The No Ma'am commandments:

    1.) It is O.K. to call hooters 'knockers' and sometimes snack trays
    2.) It is wrong to be French
    3.) It is O.K. to put all bad people in a giant meat grinder
    4.) Lawyers, see rule 3
    5.) It is O.K. to drive a gas guzzler if it helps you get babes
    6.) Everyone should car pool but me
    7.) Bring back the word 'stewardesses'
    8.) Synchronized swimming is not a sport
    9.) Mud wrestling is a sport

IMN logo majestic logo threadwatch logo seochat tools logo