• Mac OS X

    Changing Volume Silently

    When you turn the volume on a Mac up or down you end up hearing a tone indicating the volume level. If you hold down the Shift key while you’re changing the volume then you won’t hear that tone. Kinda’ fun. Also, if you hold down the Option key when you change the volume level you will bring up the Output tab of the Sound System Preference pane.

  • Mac OS X

    Basic Installation of TripWire

    I originally posted this at http://www.318.com/TechJournal To install Tripwire, run in the folder that you have extracted the tripwire files into sudo ./install.sh Then enter passphrases/passwords when asked Then enter the shortname of the primary user of tripwire Allow the system to define the baseline state of the Server. To update your tripwire database after making system changes run this command: ./tripwire -m u -r ../report/day-month-year-initials.twr To update your tripwire config, change the /usr/local/etc/twcfg.txt file and run this command ./twadmin -m F -S ../key/site.key ../../etc/twcfg.txt To enforce a new policy, edit the /usr/local/tripwire/policy/twpol.txt file and run this command: ./twadmin -m p > ../policy/twpol.txt To view Tripwire reports run this command…

  • Mac OS X

    Keyboard Shortcuts: Windows

    I originally posted this at http://www.318.com/TechJournal 10 Essential Keyboard Shortcuts for Microsoft Windows Users to Get More from their PCs Keyboards: We all use them. Those of us that work for Three18 happen to use ours for anywhere between 6 and 18 hours a day, hopefully not more. With that kind of time, we’ve learned to be especially crafty in our pursuit to be as efficient as possible. We don’t know all the keyboard shortcuts, but we do know a bunch. Here are a few shortcuts that will have you keyboard jockeying like a pro in no time. 10 & 9: Ctrl-Tab and Alt-Tab. These 2 gems will cycle you…

  • Mac OS X,  Mac OS X Server,  Mass Deployment

    Positional Parameters and Packaging

    When packaging it is worth note that Apple reserves some positional paremeters for your scripts. These are defined at http://developer.apple.com/mac/library/documentation/DeveloperTools/Conceptual/SoftwareDistribution/Install_Operations/Install_Operations.html#//apple_ref/doc/uid/10000145i-CH14-SW1 They include: $1: Path to the package $2: Path to the destination. $3: Installation volume. $4: Root directory

  • Mac OS X

    vm_stat

    The vm_stat command in Mac OS X will show you the free, active, inactive, wired down, copy-on-write, zero filled, and reactivated pages for virtual memory utilization. You will also see the pageins as well as pageouts. If you wish to write these statistics routinely then you can use the vm_stat command followed by an integer. For example, to see the virtual memory statistics every 5 seconds: vm_stat 5

  • Mac OS X Server

    Howto Install awstats on OS X

    I originally posted this at http://www.318.com/TechJournal Here are the steps for setting up AWStats on Mac OS X 10.4 Tiger Server. 1. Download the last stable release of AWStats from www.awstats.org to your desktop. 2. In the Finder, navigate to /var/log/httpd 3. Backup and remove any old web logs. 4. Open Server Admin. 5. Select Web:Settings:Modules 6. Make sure the “perl_module” and “php4_module” are enabled. 7. Click Save. 8. Select the “Sites” pane. 9. Double-click the entry for the site you are going to enable stats on. 10. Select the “Options” pane. 11. Enable CGI Execution and Server Side Includes (SSI). 12. Click Save. 13. Select the “Realms” pane. 14.…

  • Mac OS X,  Mac OS X Server

    Finding Things on Mac OS X

    Mac OS X has a number of commands that will help you find things.  There’s find, grep and way more.  But the easiest of them all to use is locate.  To run locate simply type the word locate from within terminal followed by the case sensitive string of what you are looking for.  For example, if you want to find all files with the word Krypted in the name use the following command: locate Krypted Keep in mind when using the locate command that it will also find files that have the name in the path, so if I have a folder called Krypted, every single file in that folder…