Thursday, September 22, 2011

How to Install Moodle on Mac OS X 10.4 Client?


Step-1: You have to prepare your Server.
·         You need to get a global IP address and a domain name assigned to your server.
·         Go to System Preferences and then go to Sharing and then in Sharing go to Services and then click on Personal Web Sharing and turn it On, this will turn on Apache.
·         Then you have to turn off the energy saving by going to System Preferences and then in Energy Saver and changing the computer sleep time to Never and then uncheck the hard disk sleep box as well.
·         Then you need to download the Tinkertool to turn on the hidden files because many of the files in Mac OS X are hidden in the system from ordinary users.
·         You need to Upgrade your Mac OS X to the latest version and the latest Security Releases.
Step-2: You need to Install PHP on your System.
·         Download the latest PHP for Apache 1.3
·         After Installing the PHP do the test.php to check if your PHP and Apache are running.
Step-3: You need to install MySQL into your system.
·         Download the latest MySQL standard version for the Mac OS X.
·         Install the MySQL into your system and then click on the MySQLStartupItem package and follow the instructions.
·         Then Make a new folder in /Library called “PreferenncePanes” and drag the MySQL,prefPane file into that folder.
·         Restart your computer and click on the System Preferences of OS X.
·         Now open the preference pane active at the bottom of the System Preferences and make sure that the check box for automatic MySQL startup is checked.

Step-4: You need to make a Secure Database for Moodle.
·         Open the terminal and make a password for the MySQL root user.
·         Now make a database foe moodle in Terminal.
·         Now to make a secure setup, you first make a database and then make a new user and password for using that database, then flush and quit.

Step-5: Now you need to install Moodle.
·         Download the latest version of Moodle and unzip it.
·         Now make it accessible to the public by moving it to: /Library/WebServer/Documents/moodle.
·         Now make another folder for moodledata and store it in any another non-public area so that is inaccessible.
·         Now you can set the read and write permissions for apache.

Step-6: Now you can make a cron job.
·         You can send out email messages from forums by making a cron job.
·         You can download Cronnix, for editing the crontab in Mac OS X.

Step-7: Now you need to turn on the Postfix Mail Server.
·         To turn on the mail server of OS X, that is the Postfix Mail Server you may need to download WitiSMTP and turn on the outgoing mail server.
·         After you download WitiSMTP, you need to click on Enable Postfix and then go into your Mail application and in it go to Preferences and then go to Accounts to rename the SMTP mail server as “localhost”.

Step-8: Now you must adjust the PHP and Moodle Settings.
·         In a text editor such as the TextWrangler open the files to make typical adjustments.
·         Now you need to change some of the PHP settings, first increase the PHP memory limit from a default 8M to 16M.
·         To increase the limit you need to find the php.ini file and then find the line that says php_value_memory_limit and change the value from 8M to 16M.
·         Now, secondly increase the limit for file uploads, increase t to about 20MB or higher.
·         For best performance close all the other programs and log out all the other users.

Wednesday, September 21, 2011

How to use OS X Lion Server as a Home Server?





You can use your OS X Lion Server as a Home Server by following these few steps:
Step-1: You need to Set Up the Profile Manager and the Apple Push Notification Service:
  • In Server app, click on the Profile Manager entry and then view the configuration options.
  • Then click on configure and you will guided through the setup of Profile Manager.
  • You also need to set up the open directory service and an SSL certificate as well.
  • Then to Set Up the Apple Push Notification Service you need to enter your Apple Id and Password and then the server will handle the certificate acquisition and installation in the background.
  • In the Profile Manager Configuration Panel you need to check on the checkbox Sign your Configuration Profiles and then click edit and select your certificate.
Step-2: Open the Profile Manager.
  • When you click and open the Open Profile Manager link at the bottom of the panel, your browser will open with a login screen.
  • Enter your Admin username and Password to View the tool.
  • Before proceeding any further make sure that you familiarize yourself through all the menus.
Step-3: In this step you are going to Enroll Your Computers.
  • Before Enrolling Your Computers you need to ensure that you have these ports forwarded to your router by your server (Port 1640 and Port 2195).
  • Without doing this you will get an “unexpected error” when you try to enroll different Computers other than the server computer. 

How to install all-in-one printer and scanner in Mac OS X 10.7?


You need follow these steps in order to install your all-in-one printer and scanner in Mac OS X 10.7:

Step-1: Connect the USB cable to your computer.

Step-2: Select the  menu and select System Preferences and then select Print and Scan then click and select your product and then close the Print and Scan Window.

Step-3 Select the menu and then the Software Update and then when you find new Epson product software, click on install and then the all-in-one printer and scanner will be installed in your Mac OS X 10.7.

Tuesday, September 20, 2011

How to install Mac OS X Lion using USB drive?


Step -1. You Need to Restore Mac OS X Lion installation to your USB Drive
  • Boot into your existing Snow leopard.
  • Use a 8GB USB Drive to restore to USB and name it Lion.
  • Mount the image of Mac OS Lion (it’s a .dmg file) and then right click and show the package contents on the install file of Mac OS X and then Go to the SharedSupport folder and mount the image file InstallESD.dmg and then find and mount BaseSystem.dmg as well.
  • Open the Disk Utility folder and click on Lion and Partition then click restore tab and then Drag and drop the BaseSystem.dmg file to Source and Lion to Destination and then click restore.
  • Go to the USB partition (Restore drive) and then go to Systems –> Installation folder and then delete the Package shortcut.
  • Go to “Mac OS X Install ESD” and copy “Packages” folder and go back to restore drive and then paste.
  • Download the FakeSMC.kext file and copy to the “System -> Library -> Extentions” folder on USB drive and open Terminal.


Step-2. Install the XPC Bootloader.
  • Boot into your existing Snow leopard.
  • Download XPC Bootloader.
  • Insert a different 2GB USB Drive.
  • open “ XPC Boot Prepare Tool ” and install it to usb drive and then copy efi folder and Efildr20 file to USB drive.


Step-3. Install the Mac OS X Lion in your system.
  • Boot your computer via XPC Bootloader from your USB Drive.
  • Then Press “M” and set boot flags : arch=i386 -v and exit
  • Select your Lion or USB restore drive.
  • Once the installation loads, select your language and continue normal installtion of mac os x lion.


Step- 4. After the Installation of the mac os x lion is completed you need to follow the following steps.
  • Now first boot into your existing Snow leopard.
  • Then Go to Installed Mac OS X Lion Drive and Go to “System/Library/CoreServices” folder and delete PlatformSupport.plist file.
  • Copy the FakeSMC.Kext that you have downloaded to the “System/Library/Extensions” on the Installed Lion Drive.
  • Then Open the Terminal and type :
  • sudo -s
  • (password)
  • chown -R 0:0 (drag and drop Fakesmc.kext here) and press enter
  • chmod -R 755 (drag and drop Fakesmc.kext here) and press enter
  • Reboot and boot your computer from XPC Bootloader from the USB drive and select the Installed Lion partition and finally your Mac OS C Lion is installed.