Results 1 to 1 of 1

Thread: The HEXUS Apple Guide

  1. #1
    Loves duck, Peking Duck! bsodmike's Avatar
    Join Date
    Jul 2003
    Location
    Colombo
    Posts
    2,909
    Thanks
    495
    Thanked
    92 times in 80 posts
    • bsodmike's system
      • Motherboard:
      • Misc.
      • CPU:
      • Mac Pro 2.8 GHz (8-cores) / iMac 2.8GHz C2D Extreme Edition / MacBook Pro 15" 2.33 & 13.3" 2.26 GHz
      • Memory:
      • 2GB DDR2 kits on all systems / FB ECC RAM in Mac Pro
      • Storage:
      • 320GB + 3x 1TB, Mac Pro / 500 GB, iMac / 2x 1TB & 2x 2TB WD My Book Studio II, via FW800 to Mac Pro
      • Graphics card(s):
      • ATI Radeon HD 2600 XT 256MB (two dual-link DVI ports / Mac Pro)
      • PSU:
      • Misc.
      • Case:
      • Misc.
      • Operating System:
      • Mac OS X 10.5 (Mac Pro) / Mac OS X 10.4.11 (others)
      • Monitor(s):
      • Apple 23" Cinema HD / Dell FPW2408 / iMac 24" display
      • Internet:
      • 2mbps ADSL (Mac Pro) / 512kbps WiMax (Wifi/MacBook Pro)

    The HEXUS Apple Guide

    Introduction



    Intermediate to Advanced




    Advanced: The Dark Arts

    fink

    Apache

    MySQL

    Start: sudo /usr/local/mysql/bin/mysqld_safe --user=mysql &
    Stop: sudo /usr/local/mysql/bin/mysqladmin -u root -p shutdown

    A Quick and Easy Back Up Script

    The actual script, backup-script:

    Code:
    #! /bin/bash
    tar -cvzf /Users/michaeldesilva/My\ Files/OS\ X\ Files/Backup\ of\ Safari\ -\ Copy\ to\ ~\:Library/Safari.tar.gz /Users/michaeldesilva/Library/Safari/
    tar -cvzf /Users/michaeldesilva/My\ Files/OS\ X\ Files/Backup\ of\ Address\ Book/AddressBook.tar.gz /Users/michaeldesilva/Library/Application\ Support/AddressBook/
    tar -cvzf /Users/michaeldesilva/My\ Files/OS\ X\ Files/Backup\ of\ iCal\ Calendars/Calendars.tar.gz /Users/michaeldesilva/Library/Calendars/
    $ chown 755 backup-script

    Start a new file with nano using the '-w' flag to prevent line wrapping. If you do not have nano, perform a 'fink install nano' first

    $ nano -w crontab.cron

    Now copy the following into the crontab.cron file. You will need to update the location of the script accordingly.

    Code:
    # crontab.cron
    
    #       minute (0-59),
    #       |       hour (0-23),
    #       |       |       day of the month (1-31),
    #       |       |       |       month of the year (1-12),
    #       |       |       |       |       day of the week (0-6 with 0=Sunday).
    #       |       |       |       |       |       commands
    # ------{ daily cron jobs }------------ #
            0       18      *       *       *       /Users/michaeldesilva/Scripts/backup-script
    Now add settings into crontab by performing the following

    $ crontab crontab.cron

    To check that the changes have taken place perform

    $ crontab -l


    Securing Your Mac

    Setting up Open Firmware Password Protection --Update for Tiger

    http://docs.info.apple.com/article.html?artnum=106482





    Adding Users & Groups

    Updating the SMB Workgroup

    For a freshly installed issue of OS X, this machine will sit on the samba network @ 'workgroup'. What if you have a whole other network on a different name? Simple fix. Open up the Directory Access utility.



    Click on the padlock icon and authorize with an admin account. Then click on SMB and configure and define what you want for the workgroup name and hit 'OK'. All done!









    Troubleshooting

    Reseting the PMU (Older Power Macs)

    How to reset the SMU on a Power Mac G5 (Late 2004)

    http://docs.info.apple.com/article.html?artnum=300341

    If you have any content that you would like to contribute here please email it to mike@bsodmike.com please
    Last edited by bsodmike; 06-09-2005 at 05:41 AM.

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •