Disable Mac OS X's "Downloaded from the Internet" warning message

Open Terminal and enter: sudo xattr -d -r com.apple.quarantine /Applications/Firefox.app
Where Firefox.app is the example. You may use on whole directories as well (i.e. /Applications)

0 comments

Oswalt-Make a New Wiki

Creating your new wiki or blog is easy once you are familiar with the layout. The video below will take you through the steps to create a new wiki.

Changing your wiki's avatar is, of course, optional. It does provide a nice branding to quickly identify your wiki.

Setting the permissions on your wiki is very important. This web server is open to the world and we only want the world to view our creations. Be sure All Guests are always set to Read Only to ensure no unauthorized editing and prevent wiki vandalism. We only want authorized persons contributing to our sites. So we can set All logged in users to Read Only or Read & Write if you'd like your students to contribute.

For the same security reasons, we set our Comments to Authenticated users because we want to know who is making the comment. This also deters bad behavior.
Comment Moderation can be set to either All comments or None as long as only authenticated users are allowed to comment. If set to All comments, you, as the owner of the wiki, will receive email notices asking to approve or deny a comment request. This can get a bit tiresome for most people and it's best to set moderation to none.

0 comments

Giano Connect to Server

To connect to the Student Dropbox:
Click on GO in the upper left menu
Click on Connect to Server...
Enter afp://spartacus.giano in the space provided for Server Address
Click Connect
Enter your teacher credentials (user name and password)
Select Student DropBox from the volume list and click OK

The volume should now appear somewhere on your desktop. You can easily add Student DropBox to the right side of the dock by drag and drop. This can be used to easily reconnect to the server.


0 comments

Remove Outlook Mail Recipient from Autofill



0 comments

Lion Server Setting Up OD Master Fails

I received this error: "The hostname does not resolve to any configured address." while setting up a Lion OD master on an upgraded Snow Leopard server. After a bit of research, resolved to back up and archive services and perform a clean Lion Server install. After updating to 10.7.4 and confirming DNS to be solid, I still receive the same response.

The server is configured to use DHCP with manual address which includes two DNS servers; the forest root controller and a local DC. I changed to MANUALLY input network info and excluded the local DNS server. This fixed my issue.

It turns out the local Windows domain controller has issues and has been denying access to several network resources (one of them being DNS).

1 comment

Disable Safe Sleep Mode In Lion

Safe Sleep, a feature of the Mac OS that writes the contents of the RAM to a file called sleepimage on the SSD/ disk to protect active data in the event the MacBook loses all power. Disabling safe sleep can free up precious storage space particularly when working with MacBook Airs and their SSD drives (128 GB and 256 GB).

Turning Off Safe Sleep

Open the Terminal (in Applications > Utilities), then type the following command:

sudo pmset -a hibernatemode 0

Press Enter. You’ll be prompted to enter your password. Do so, then press Enter again.

Next, type this command:

sudo rm /var/vm/sleepimage

Restart.

If you decide to re-enable Safe Sleep, just replace the first Terminal command with this one:

sudo pmset -a hibernatemode 3

Changing the “0” to a “3” turns Safe Sleep back on, where data is saved during Sleep to both the RAM and the disk/SSD. Reboot after the change.

Disabling Safe Sleep doesn’t mean that you can’t put your Mac to sleep; closing the lid still puts it in a low-power state. It just means that if you lose all battery power while sleeping, you’ll lose your active data.

0 comments

Lion Wiki: Restore from SL and Lion

Browse in your Snow Leopard server to /Library and copy the Collaboration directory.

Copy this to the desktop of your Lion server.

Now start the Wiki in the Server app of the Lion server.

Assuming eric is the user name you are logged in under:

Execute the folowing command:

sudo wikiadmin migrate -r /Users/eric/Desktop/Collaboration

If you want transfer the current wiki from Lion to Lion:

open terminal and type thefollowing lines:

sudo -s

PGUSER=_postgres pg_dumpall >cluster.dump

This will dump all of your databases into a file, called "cluster.dump"

You can find the file in yourhome directory.

Transfer this file to your new server into the home directory.

Download this zip file on your new server: http://sourceforge.net/projects/phppgadmin/files/phpPgAdmin%20%5Bstable%5D/phpPg Admin-5.0/phpPgAdmin-5.0.2.zip/download,unzip it, rename the folder to "phppgadmin"(this is to make it easier to browse to) and copy it into your /Library/Server/Web/Data/Sites/Default folder.

In your server app, go to the web service and check the box next to "Enable PHP web applications".

Open safari and browse to http://localhost/phppgadmin

Click on PostgreSQL and that will bring up a login screen.

Use the login name of _postgres.

The password is your administrator password.

You should see the following databases:

caldav

collab

device_management

postgres

roundcubemail

Go to the server app and turn all the services off except for the Web service (be sure that the wiki service is off as well)

In the phppgadmin screen, click on the PostgresSQL icon on on the left pane.

Check all the boxes next to the databases excluding the postgres database.

In the 'Action on multiple lines" section select "drop" then Execute

This will delete all the databases except for the "posgres" database. (don’t worry, all these databases are in the file you made and transferred to your home directory.

After you have verified that all the databases are gone except for the postgres one, run the following lines:

sudo -s

PGUSER=_postgres psql -f cluster.dump template1

This should rebuild the databases including all your data from the other server.

There is one more step: you need to copy the /Library/Server/Wiki/FileData folder from your old server to the new one. (this contains all the attachments files on your old wiki). You might have to repair permissions after that as well.

There may be some problems you encounter after this, as im not sure if there are any other data stores you need from your other server. KEY!! Backup before you try any of this! The best backup to use is a bootable image. Time Machine does NOT backup databases. I use SuperDuper from shirt pocket. If you use this program,make sure your external drive is partitioned using the GUID table and is bootable. Then backup “all files” using the Erase and Backup script. Be sure to test this backup, restart the server while holding down the option key. This should bring up a menu where you can select the backup drive and boot from it.Select the backup drive and hit return. If it boots up just fine, your backup is working!

0 comments

Lion Wiki: Delete Current Wikis and Start Fresh

Here is a set of TERMINAL commands that will reset Mac OSX Lion Server Wiki. All posts will be deleted. You will restart with a clean wiki database:

sudo serveradmin stop postgres

sudo mv /var/pgsql /var/pgsqlold

sudo mkdir /var/pgsql

sudo chmod 700 /var/pgsql

sudo chown _postgres:_postgres /var/pgsql

sudo /System/Library/ServerSetup/CleanInstallExtras/01_PostgreSQLSetup.rb

sudo serveradmin fullstatus postgres

sudo serveradmin start postgres


To restore Wiki Server from a backup go here.

0 comments

Apple Resources

Webcasts and tutorials for iOS and Mac Deployments


http://maclearning.org/

Lexington SD 1 - lexington1.net/ios/StudentiPadGuideSelfPaced.pdf

Apple Product Tutorials - http://support.apple.com/kb/HT4427

Apple Training and Certification
http://training.apple.com/
http://training.apple.com/itpro/macinteg

Don't miss the technical white papers - http://training.apple.com/lion

Find Out How - http://www.apple.com/findouthow/mac/

Learning iLife - http://www.apple.com/ilife/resources/

Learning iWork - http://www.apple.com/iwork/tutorials/#pages-hero

Learning iTunes - http://www.apple.com/itunes/how-to/

Learn Mac OS X Automator - http://www.macosxautomation.com/automator/learn.html

IT Tutorials - http://www.apple.com/education/resources/information-technology.html#ios-deployment-and-itunes

iOS 5 Deployment Guide


http://apple.com/education/it

http://images.apple.com/education/docs/IOS_5_Education_Deployment_Guide.pdf

This guide is a great start to learn how to deploy and support iOS devices in an education environment.

Learning Resources


Challenge Based Learning - a multidisciplinary approach to teaching and learning:
http://www.challengebasedlearning.org/
http://www.nmc.org/projects/challenge-based-learning


http://www.apple.com/education/resources/
http://www.ipadinschools.com/
http://www.apple.com/education/apps/
http://itunes.apple.com/us/institution/apple-distinguished-educators/id380379132
http://ipadeducators.ning.com/profiles/blogs/one-year-later-assessing-the?xg_source=msg_mes_network
https://docs.google.com/present/view?id=dfvwdtqp_691dvqrj8gq
http://speirs.org/
http://fraserspeirs.com/
http://www.iear.org/
http://appitic.com/


Kathy Shirley Podcast on iTunes U
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewPodcast?id=455065522

Escondido iRead Program: https://sites.google.com/a/eusd.org/eusd-iread/
Watch a video about Escondido
http://www.apple.com/education/profiles/escondido/#video-escondido


Canby School District: http://www.canby.k12.or.us/ Canby Student Achievement:
http://wiki.canby.k12.or.us/groups/ipodusergroup/weblog/6a110/Student_Achievement_Data_20092010.html


iEngage, Aliso Elementary, Saddleback Valley USD
http://www.schooltube.com/video/10509aab97b79a0f3cd5/iEngage


*** Find Apps for Education!
APPS for Education on the iTunes Store!
Education category on the App Store. A destination for handpicked education apps on the App Store, it features the best education apps, all Apps for Learning app collections, and more. You can find it anytime by going to the Education category of the App Store.
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewFeature?id=459773799&mt=8

Accessibility/Special Education and Apple:


http://www.apple.com/accessibility/
http://itunes.apple.com/WebObjects/MZStore.woa/wa/viewMultiRoom?fcId=399470755
http://www.apple.com/education/special-education/
http://www.apple.com/accessibility/ipad/vision.html
http://www.apple.com/macosx/whats-new/features.html
http://help.apple.com/voiceover/info/guide/10.7/English.lproj/index.html
https://sites.google.com/a/eusd.org/eusd-iread
http://www.ipadsforeducation.vic.edu.au/ipad-education-case-studies/10-warringa-park-school
http://www.visionaustralia.org/atpodcasts/
http://www.scribd.com/doc/24470331/iPhone-iPad-and-iPod-touch-Apps-for-Special-Education
http://assistiveware.com/videos.php


0 comments

Parallels 7: Unattended File Error

During Windows 7 64-bit installation, the error "unattended answer file contains an invalid product key.." appears.

Here's the fix: http://kb.parallels.com/en/112045. Be sure to disable floppy drive.

If error persists, start new installation. When prompted to enter product key, click the box to continue without a key.

0 comments

Apple Configurator Numbering

Apple Configurator assigns sequential device names to devices in the order they are connected. To make sure they correspond to a label on the device, or to the slot number of a cart or rack, follow these steps.

  1. If desired, label the devices with sequential numbers.
  2. Connect the Mac running Apple Configurator to a USB hub, rack, or cart with numbered slots. Do not connect devices yet.
  3. Open Configurator and click the Prepare pane.
  4. Set the base name for the devices (and optionally the first number to use).
  5. Check the "Number sequentially" check box.
  6. Select Supervision, iOS version, Restore, and Profiles options as desired.
  7. Click Prepare. Apple Configurator will wait for a device to be connected.
  8. Connect the lowest-numbered device to the USB hub, or connect an unnumbered device to the connector in the lowest-numbered slot. The lowest number is assigned to the name of that device as soon as Apple Configurator recognizes it.
  9. Connect the next lowest-numbered device or connect an unnumbered device to the connector in the next-lowest-numbered slot.
  10. Repeat step 8 until all connectors are in use.
  11. If you have more devices than connectors, when configuration of the lowest-numbered device is complete, disconnect it and connect the next device in sequence. Repeat step 10 until all devices have been configured.

0 comments

Apple Configurator: Preserving User-Installed Apps

Summary

Learn how to preserve apps installed by a user who has checked out a device that is supervised by Apple Configurator.

Products Affected

Apple Configurator

By default, whenever you connect a supervised device to Apple Configurator, any apps which were installed on that device by a user will be deleted.

By changing the setting described below, you can check out a device to a user, and if that user installs apps onto the device they will be preserved when you connect the device to Apple Configurator until you check the device back in.

  1. Quit Apple Configurator if it is running.
  2. Execute the following command in Terminal:

defaults write com.apple.configurator PreserveUserAppsAndData -bool YES


Now, when you connect the device to Apple Configurator to update or apply new settings, any apps installed by the user will be preserved along with their data.

When you check the device back in, the user-installed apps will be deleted.

0 comments

Safari for OS 10.4.11

PowerPC

Download file "Safari.zip"

0 comments

Bind Lion Client to Snow Leopard Server

Lion clients unable to connect to Snow Leopard server

If you are attempting to connect from a bound Lion client to a bound Snow Leopard server you must use the FQDN for the server.

For example: servername.yourdomain.com

If you don't, you may receive an error "The version of the server you are trying to connect to is not supported. Please contact your system administrator to resolve the problem."

Also check what authentication method you are using.
  • Open Server Manager
  • Highlight "AFP"
  • Click on the "Access" tab
  • Change "Authentication" to "Any Method"
Attempt to connect from at Lion client using the FQDN of the server.

Note: changing the authentication to Any Method can possibly break single-sign-on for Snow Leopard client. If this happens, change the authentication to "Kerberos". Lion clients should still be able to access the server.

Apple kb on issue: http://support.apple.com/kb/TS3861?viewlocale=en_US

0 comments

SUS for multiple Mac OS X client versions

Mac OS X clients running versions 10.4, 10.5,10.6 or OS X Lion can all use the same URL to connect to a Software Update Server running Mac OS X Server v10.6.7 or later. Before following the steps in this article, you must do the following:

  • Update your Software Update Server to Mac OS X Server v10.6.7 or later.
  • Stop and start the Software Update service using Server Admin.
  • See additional instructions for hosting Lion updates in Hosting Lion Updates on Snow Leopard Server

Managed Client X

To manage access to Software Update servers:

  1. In Workgroup Manager, click Preferences.
  2. Make sure the correct directory is selected and you are authenticated. To switch directories, click the globe icon. If you are not authenticated, click the lock and enter the name and password of a directory administrator.
  3. Select a computer group.
  4. Click Software Update.
  5. Set the management setting to Always.
  6. Specify a URL such as this (substituting your Software Update Server's fully qualified host name forsu.domain_name.com):

    http://su.domain_name.com:8088/index.sucatalog
  7. Click Apply Now.

Unmanaged Clients

To point unmanaged clients (clients not being managed with MCX) to a Software Update server:

  1. On the unmanaged client, open Terminal.
  2. Enter the following command (substituting your Software Update Server's fully qualified host name forsu.domain_name.com):
    defaults write /Library/Preferences/com.apple.SoftwareUpdate CatalogURL http://su.domain_name.com:8088/index.sucatalog

You can verify your change using the following command:

    defaults read /Library/Preferences/com.apple.SoftwareUpdate CatalogURL

To point the unmanaged client computer back to the Apple Software Update server, use the following command:

    defaults delete /Library/Preferences/com.apple.SoftwareUpdate CatalogURL

============================================================================================

Resetting SL SUS to defaults and configuring for Snow Leopard and Lion.
An issue has been raised when attempting to restore SUS and specify OSes.

RewriteRule ^/index\.sucatalog$ /index-lion-snowleopard-leopard.merged-1.sucatalog

The swupd.plist and .conf files reflect new settings but server does not
hold setting even after restart. SA overwrites with default setting.

Worked out by Peter Waldo of Mac Enterprise Solutions.

Got it working today!

1st attempt:

Stopped SUS
Deleted SUS Service
Restored SUS Service
Modified files
Started SUS
No go.

2nd attempt
Stopped SUS
Deleted SUS Service
Deleted plist and conf files
Restored SUS Service
Started SUS
(Conf and plist now restored to original settings)
Stopped service
Modified conf & plist files
Started SUS
No go.

3rd attempt
Stopped SUS
Modified files
(okay at this point I applied a couple of outstanding server updates: security update, safari, etc.)
Restarted server
Checked files (still okay)
Started Server Admin
Started SUS
Checked files (for the first time, okay!) Whew!

Not sure if it was restarting the server or applying an update that did the trick (cleared some caches?), but it’s working.

Thanks for you help.

0 comments

Disable the "Reopen Windows When Logging Back In" Action in OS X Lion

Turning Off “Reopen windows when logging back in” by Making it Useless

Remember, this script disables the feature, but the dialog window will still pop up. The difference is with this script, it won’t matter if the dialog box is checked or not, windows and apps will not restore.

Paste the following into a single line within the Terminal:

curl http://goo.gl/Z4EFC -L -s -o ~/fixlogin.sh && chmod +x ~/fixlogin.sh && sudo ~/fixlogin.sh ; rm ~/fixlogin.sh

(The above text is intentionally small so that it will fit on a single line)

That command downloads a script, places it in the appropriate location, makes it executable, and then removes the temporary file. If you are wondering, the contents of the downloaded bash script are the following:

#!/bin/bash
echo "#!/bin/bash" > /tmp/loginfix.sh
echo "rm /Users/*/Library/Preferences/ByHost/com.apple.loginwindow.*" >> /tmp/loginfix.sh
mv /tmp/loginfix.sh /usr/bin/loginfix.sh
chmod +x /usr/bin/loginfix.sh
defaults write com.apple.loginwindow LoginHook /usr/bin/loginfix.sh

If you ever want to revert back to the default behavior of this OS X Lion feature, just type the following defaults write command:

sudo defaults delete com.apple.loginwindow LoginHook

And you’ll be back to be able to select window restore based on that checkbox’s choice.

0 comments

Reset Printing System in OS 10.6

To reset the print system without using the Print & Fax system preferences, you can follow these steps in the Terminal. This can be done either locally or by logging in remotely via an SSH session.

    1. Stop the CUPS daemon with the following command:
    sudo launchctl stop org.cups.cupsd

    2. Rename the old CUPS configuration file:
    sudo mv /etc/cups/cupsd.conf /etc/cups/cupsd.conf.backup

    3. Restore the default settings file:
    sudo cp /etc/cups/cupsd.conf.default /etc/cups/cupsd.conf

    4. Rename the printers file:
    sudo mv /etc/cups/printers.conf /etc/cups/printers.conf.backup

    5. Restart CUPS:
    sudo launchctl start org.cups.cupsd

0 comments

Completely Uninstall Apple Remote Desktop 3.x

Uninstalling ARD 3.x

To remove the administrator software completely, you must remove the application, the encrypted list of computer user names and passwords, and the client information database.

  1. Drag the Remote Desktop application to the Trash.
  2. Empty the Trash.
  3. Delete the Apple Remote Desktop database from /var/db/RemoteManagement/ using the following commands in the Terminal application:
    $ sudo rm -rf /var/db/RemoteManagement
  4. Delete the Remote Desktop preferences files using the following commands in the Terminal application.
    $ sudo rm /Library/Preferences/com.apple.RemoteDesktop.plist
    $ sudo rm /Library/Preferences/com.apple.RemoteManagement.plist
    $ rm ~/Library/Preferences/com.apple.RemoteDesktop.plist
  5. Delete the Remote Desktop documentation using the following commands in the Terminal application.
    sudo rm -r /Library/Documentation/Applications/RemoteDesktop
  6. Delete the Apple Remote Desktop support files from /Library/Application Support/ using the following commands in the Terminal application:
    $ rm -rf ~/Library/Application\ Support/Remote\ Desktop/
    $ sudo rm -rf /Library/Application\ Support/Apple\ Remote\ Desktop/
  7. Delete the Apple Remote Desktop installation receipts from /Library/Receipts/ using the following commands in the Terminal application:
    $ rm -r /Library/Receipts/RemoteDesktopAdmin*
    $ rm -r /Library/Receipts/RemoteDesktopRMDB*
  8. Delete the Apple Remote Desktop Dashboard Widget (after closing every instance of the Widget) using the following commands in the Terminal application:
    $ sudo rm -r /Library/Widgets/Remote\ Desktop/

0 comments

Managed Client - Customize User Experience

The Managed Client App:

Using Workgroup Manager to effectively set Desktop Picture, screen saver, browser home page, etc.

- Start up Workgroup Manager.
- Click on the Preferences tab.
- To the right, click on the Details tab.
- At the bottom, click the Plus button.

Working with Workgroup Manager

- Navigate to /System/Library/CoreServices.
- Select ManagedClient.app and click Add.

Working with Workgroup Manager

Now we can get into the advanced features Workgroup Manager offers.

1. Set the Desktop Picture:

This is most useful in computer labs and other implementations where you want a uniform look.

- From the Detail pane, click Desktop Picture.
- Click the Pen button towards the bottom.
- Click to highlight the Often line.
- Click the New Key button at the top.
- Click the “New Item” key that appeared and choose “Background”

Working with Workgroup Manager

- Expand all the triangles until you reach the end.
- At the “Image Path” key, type in the exact file path to your preferred desktop image.

2. Controlling iTunes:

With this Workgroup Manager Trick, you can allow iTunes but restrict potential sources of network and liability problems. By managing some of iTunes functions – iTunes Store, Radio, Podcasts and Content Ratings you can customize iTunes to be usable for your environment.

- From the Detail pane, click iTunes.
- Click the Pen button towards the bottom.
- Click to highlight the Always line.
- Click the New Key button at the top.
- Set whichever keys you need for your situation.

Working with Workgroup Manager

3. Disabling Dashboard:

Dashboard.. How I loathe thee. Well that’s just my opinion, you may find that it’s little resource sucking gizmos, widgets, and doo-dads to be just lovely. But in a managed environment, Dashboard could be a source of unwanted apps, security risks and stability issues. So if you want to altogether shut it off, Workgroup Manager can do that too.

- From the Detail pane, click Dashboard.
- Click the Pen button towards the bottom.
- Click to highlight the Always line.
- Click the New Key button at the top.
- Click the new key and select “Disable Dashboard”.
- Change the value from false to true.

Working with Workgroup Manager

4. Set Home Page:

Setting a Home Page is a nice touch in labs. Or maybe your homepage is the key to logging in to the computer. Or maybe you’d like to prevent someone from setting a malware infested page, phishing site or otherwise inappropriate website as your lab’s homepage. Workgroup Manager can do this and more:

- From the Detail pane, click Internet Configuration.
- Click the Pen button towards the bottom.
- Click to highlight the Always line.
- Click the New Key button at the top.
- Select and set the appropriate keys.

Working with Workgroup Manager

0 comments

Backup and Restore Wiki Server Data

All wiki data is located here:

/Library/Collaboration

The following Terminal commands will tar this folder:
cd /Library
sudo tar -czvf wiki_backup.tar.gz Collaboration

To restore:
cd /Library
sudo tar -xzvf wiki_backup.tar.gz

After restoration, reboot the server.

0 comments