Tuesday, September 16, 2008

XAMPP for Mac OS X [run php and my sql on OSX]

Welcome to XAMPP for Mac OS X


XAMPP for Mac OS X is the simplest, most practical and most complete webserver solution for Mac OS X. The distribution includes an Apache 2 web server, integrated with the latest builds of MySQL, PHP (both 4 and 5) and Perl. It comes as a Mac OS X Installer package which contains all the necessary files and requires no dependencies.

If you are an experienced web developer or a Mac enthusiast who needs to run a webserver, create dynamic webpages or use databases, this is your lucky day!
This version is for Mac OS X 10.4 (Intel&PPC) and higher.

Jump-off point

Installation in 4 Steps

Step 1: Download
Step 2: Installation
Step 3: Start
Step 4: Test

READ ME

A matter of security (A MUST READ!)
Advanced start and stop parameters
What's where?
Stopping XAMPP
Uninstall
Thanks

Installation in 4 Steps

* Step 1: Download

Simply click on the link below. It's a good idea to get the latest version. :)

A complete list of downloads (older versions) is available at SourceForge.
There are none yet, but there will be.

XAMPP for Mac OS X 0.7.3, 2008/2/11

Version

Size

Notes
XAMPP Mac OS X 0.7.3
Installer Version
Universal Binary
91 MB Apache 2.2.9, MySQL 5.0.51b, PHP 4.4.8, PHP 5.2.6, Perl 5.10.0, ProFTPD 1.3.0a, phpMyAdmin 2.11.7, OpenSSL 0.9.8h, GD 2.0.35, Freetype 2.3.5, libjpeg 6b, libpng 1.2.18, libungif-4.1.4, zlib 1.2.3, expat 2.0.1, Ming 0.3, Webalizer 2.01-10, pdf class 009e, mod_perl 2.0.3, SQLite 3.4.0, phpSQLiteAdmin 0.2, libiconv-1.11, gdbm-1.8.3, libxml-2.6.29, libxslt-1.1.21, openldap-2.3.36, imap-2004g, gettext-0.16.1, libmcrypt-2.5.8, mhash-0.9.9, curl-7.16.4, zziplib-0.10.82, bzip2-1.0.3, freetds-0.64
MD5 checksum: 6d01e64fffa87f471c5641cf6e845b97
XAMPP Mac OS X (tar) 0.7.3
Universal Binary
91 MB Apache 2.2.9, MySQL 5.0.51b, PHP 4.4.8, PHP 5.2.6, Perl 5.10.0, ProFTPD 1.3.0a, phpMyAdmin 2.11.7, OpenSSL 0.9.8h, GD 2.0.35, Freetype 2.3.5, libjpeg 6b, libpng 1.2.18, libungif-4.1.4, zlib 1.2.3, expat 2.0.1, Ming 0.3, Webalizer 2.01-10, pdf class 009e, mod_perl 2.0.3, SQLite 3.4.0, phpSQLiteAdmin 0.2, libiconv-1.11, gdbm-1.8.3, libxml-2.6.29, libxslt-1.1.21, openldap-2.3.36, imap-2004g, gettext-0.16.1, libmcrypt-2.5.8, mhash-0.9.9, curl-7.16.4, zziplib-0.10.82, bzip2-1.0.3, freetds-0.64
MD5 checksum: 4589036275ac404d3b6b41f56eca7f50
Upgrade 0.7.2 to 0.7.3 5 MB Upgrade package
MD5 checksum: c943e7144410d596c8041abdf0c2b805
Developer package 32 MB Developer package
Installation tar xvfpz xampp-macosx-0.7.3-dev.tar.gz -C /Applications/xampp
MD5 checksum: 94780a90c45b90d93027ce04dbeeeaf2

* Step 2: Installation

After downloading simply run the following commands in a terminal:

    Installation requires an admin account.
    # Enter „sudo su“. You will be prompted for a password.
    # tar xfvz xampp-macosx-0.7.3.tar.gz -C /

    Notice: all old installations of XAMPP for MacOS X will be overwritten!
That's all. XAMPP is now installed below the /Applications/xampp directory.

* Step 3: Start

After installing simply type in the following commands to start XAMPP for MacOS X:

  1. Go to a Terminal shell and login as the system administrator root:

    sudo su

  2. To start XAMPP simply call this command:

    /Applications/xampp/xamppfiles/mampp start

    You should now see something like this on your screen:

    Starting XAMPP for MacOS X 0.7.3...
    XAMPP: Starting Apache with SSL (and PHP5)...
    XAMPP: Starting MySQL...
    XAMPP: Starting ProFTPD...
    XAMPP for MacOS X started.

Ready. Apache and MySQL are running.

If you get any error messages please take a look at the MacOS X FAQ.

* Step 4: Test

OK, that was easy but how can you check that everything really works? Just type in the following URL at your favourite web browser:

http://localhost

Now you should see the start page of XAMPP containing some links to check the status of the installed software and some small programming examples.

READ ME

* A matter of security (A MUST READ!)

As mentioned before, XAMPP is not meant for production use but only for developers in a development environment. The way XAMPP is configured is to be as open as possible and allowing the developer anything he/she wants. For development environments this is great but in a production environment it could be fatal.

Here a list of missing security in XAMPP:

    1. The MySQL administrator (root) has no password.
    2. The MySQL daemon is accessible via network.
    3. ProFTPD uses the password "xampp" for user "nobody".
    4. PhpMyAdmin is accessible via network.
    5. MySQL and Apache running under the same user (nobody).
To fix most of the security weaknesses simply call the following command:
/Applications/xampp/xamppfiles/mampp security
It starts a small security check and makes your XAMPP installation more secure.

* Advanced start and stop parameters

With /Applications/xampp/xamppfiles/mampp you can not just start and stop XAMPP für MacOS X, you can do loads more. To see what else you can do, just read below.
ERWEITERTE START- UND STOP-PARAMETER

Parameter

Bedeutung
start
Starts XAMPP.
stop
Stops XAMPP.
restart
Stops and starts XAMPP.
reload
Apache, MySQL and - if started - ProFTPD reload their config files
startapache
Only starts the Apache.
startssl
Starts the Apache SSL support. This command activates the SSL support permanently, e.g. if you restart XAMPP in the future SSL will stay activated.
startmysql
Only the MySQL database ist started.
startftp
Only the ProFTPD-Server is started. Via FTP you can upload files for your web server (user "nobody", password "xampp"). This command activates the ProFTPD permanently, e.g. if you restart XAMPP in the future FTP will stay activated.
stopapache
Stops the Apache.
stopssl
Stops the Apache SSL support. This command deactivates the SSL support permanently, e.g. if you restart XAMPP in the future SSL will stay deactivated.
stopmysql
Stops the MySQL database.
stopftp
Stops the ProFTPD server. This command deactivates the ProFTPD permanently, e.g. if you restart XAMPP in the future FTP will stay deactivated.
reloadapache
The Apache webserver reloads its config files.
reloadmysql
The MySQL database reloads its config files.
reloadftp
ProFTPD reloads its config files.
For example: To start Apache with SSL support simply type in the following command (as root):
/Applications/xampp/xamppfiles/mampp startssl
You can now also access your Apache server via SSL under https://localhost.

Stopping XAMPP

To stop XAMPP simply call this command:
/Applications/xampp/xamppfiles/mampp stop
You should now see:
Stopping XAMPP for MacOS X 0.7.3...
XAMPP: Stopping Apache with SSL...
XAMPP: Stopping MySQL...
XAMPP: Stopping ProFTPD...
XAMPP stopped.

And XAMPP for MacOS X is stopped.

* Uninstall

To uninstall XAMPP just type in the following command in your Terminal shell as administrative user root:
rm -rf /Applications/xampp
The end.

* Thanks

We would like to thank Kai "Oswald" Seidler, Kay Vogelgesang, the whole Apache Friends Team and of course also our users for supporting us and to have made Apache Friends what it is today.

February 2005, Kristian Marcroft

[News] Special Version of iTunes to Unbrick 3G iPhones Leaked

Download link will be posted
Apple News | Special Version of iTunes to Unbrick 3G iPhones Leaked
Monday, 30th June 2008, 11:06 am

A special version of iTunes required by cellular carriers to unbrick 3G iPhones has been leaked online.

Bricked: Default state of the iPhone, only emergency calls allowed.
Unbrick: Enabling the phone for services.

The entire setup process for installing the software was leaked onto iPhoneinCanada.ca.

Read More

-----
Requirement 1) Download/Install 'Store only version' of iTunes
* In order to unbrick the iPhone in store (which is a requirement of the iPhone Sales Process), you must have iTunes version 7.6.3b4. Installed on your computer. This version has a special 'Activation Only Mode' that must be enabled and used in store.
* The iTunes version that is currently available on the Apple website is version 7.6.2. This version does NOT have the activation only mode and as such please action the following steps to complete the installation of version 7.6.3b4:

1) Download and install 7.6.3b4 from the following link. Do not attempt to use any other version of iTunes as V7.6.3b4 is a specific activation only module designed for in-store use.
https://attache.apple.com/AttacheWeb...QNmUHPjRZRI%3D

2) When you enter the link above you will be asked if you want to 'open' or 'save' the file. Select 'Open'. The file is 102mb and may take 5 to 15 minutes to download, depending on your connection speed.

3) Once downloaded you will see a window containing two files. One file is for a Mac and the other is for Windows. Please double-click the Windows.exe file.

4) A small 'warning' window will pop-up that advises you to extract all files –Please do so.

5) An 'Extraction Wizard' will start. Click 'Next'.

6) You will be asked where you want the files to be extracted to. The default location (a temporary file) is ok, so select 'next'. You will then be advised that the extraction has finished. Click 'Finish'.

7) A new window will appear with the extracted files in (both Mac and Windows). Double click on the Windows.exe file. You may be presented with a Windows security warning. If so, select 'Run' as the files are safe. There may be a delay before the next step starts.

8) Pop-up windows and instructions will guide you through the rest of the installation process. You must close MS Outlook (if it's open) before completing the installation.

9) During the installation process you will be asked if you would like an iTunes shortcut on your desktop – Please do so.

10) You may be asked to restart your computer – Please do so if asked.

11) Once you have restarted you will see an iTunes shortcut on your desktop.

12) The download process is complete – you must now follow the following steps to complete the process.
* You MUST now enable the 'Activation only Module' within iTunes.

13) Create a shortcut on your desktop by right clicking on a blank space on your desktop and selecting 'new' and then 'shortcut'.

14) A 'Create a shortcut' wizard window will appear. In the box within the window marked 'Type the location of the item', please type or copy and paste the following bolded text in this EXACT format.

15) Please ensure you use the whole of this text with all punctuation/grammar exactly as specified:
"C:\Program Files\iTunes\iTunes.exe" /StoreActivationMode 1

16) Click 'Next'. You will be asked to enter a name for the shortcut. use:
iTunes Activation Module

17) Click 'Finish'. You will now see a new iTunes shortcut on your desktop with this name.

18) This shortcut is the Activation Module and should be used to unbrick the iPhone. When you first start this version of iTunes there will be a terms and conditions agreement that you will need to "accept' in order to proceed.

Note: Unbricking the iPhone should only be completed after activating the iPhone on Sales Central. Full instructions on how and when to activate and unbrick will be provided in a training job aid on fast track and sales central. You will be informed when this Job Aid is available.

Note: As of July 11 2008, an updated version of iTunes (7.7) will be publicly available from www.apple.ca. It will have the activation only mode built in (like 7.6.3b4) so you will not need to use unique Weblinks to download it. As it is a publicly available version of iTunes it still needs to be configured for store use. Therefore you MUST 'enable' version 7.7 in the same way as you did for version 7.6.3b4 that is detailed above.
1) To update your current version (7.6.3b4) to V7.7 to benefit from software updates; Open iTunes, select 'help' and 'check for updates' or go to www.apple.ca and download iTunes from the 'downloads' section. You do not have to uninstall previous versions first.
2) You MUST still enable the activation only mode, using the shortcut creation method above.
-----

Saturday, September 13, 2008

DAA Converter for Mac OS X

DAA Converter icon
 DAA Converter for Mac OS X
 Access DAA disk images on your Mac

Direct Access Archive (DAA) is a disk image format that's currently unsupported on Mac OS X.
DAA Converter is a free utility which allows you to access the contents of a DAA image file by converting it to ISO disk image format; The converted ISO disk image can be mounted as a readable volume on your Mac by double-clicking it.

DAA Converter is a native GUI application which wraps the command-line tool,
DAA2ISO, by Luigi Auriemma.
It runs on Mac OS X 10.3 Panther or later.

Download:
 DAA Converter v1.1 (Version History)


DAA Converter is free software, distributed under the GNU General Public License (GPL).
Download
DAA Converter's source code.