h2. Pre-requisites Although "Macs are easy", this is a "hands-on" approach to install LAMS 2.0 the goo'ld command line way. Or as a friend of mine will say, the cowboy's way :-) At any rate, this is the way I use to build LAMS 2.0 in my PowerPC Mac OS X Powerbook. Although I have not tried this on an Intel Mac (I don't have one yet), it should work just fine. For the stable release we'll have a nice and neat installer application just as we did before, but we are [very busy|https://bugs.lamsfoundation.org/secure/IssueNavigator.jspa?reset=true&pid=10020&status=1] now with LAMS 2.0 development to engage in building installers. If you want to help, please let [me|mailto:ErnieG@melcoe.mq.edu.au] know! Verify you have the latest JAVA installed, by running the following application: {{/Applications/Utilities/Java/J2SE 5.0/Java Preferences.app}} It should look like this: That means that you are using JAVA J2SE 5.0, which is the one that you'll need to run LAMS. If you don't have this. Make sure you update your Mac using the "Software Update..." in the Apple menu (top left corner on your mac). h2. Downloading MySQL 5.0 Getting and installing MySQL is a walk in the park. Just download [MySQL 5.0|http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-standard-5.0.22-osx10.3-powerpc.dmg/from/pick] from their website and follow the installation instructions. Unfortunately, the MySQL installer does not create a password for the MySQL root user. Some people argue that setting up root password for MySQL is not important, but my take with data security is [otherwise|http://www.securityfocus.com/infocus/1726]. So it's up to you. However, if you want to set it, you can do as follows: {noformat} $ /usr/local/mysql/bin/mysqladmin -u root password new-passwd-goes-here {noformat} \\ \\ h3. Creating a LAMS user and its password in MySQL {noformat} $ mysql -u root -p mysql Enter password: here-it-goes-the-password-you-entered-before Reading table information for completion of table and column names You can turn off this feature to get a quicker startup with -A Welcome to the MySQL monitor. Commands end with ; or \g. Your MySQL connection id is 1019 to server version: 5.0.22-standard Type 'help;' or '\h' for help. Type '\c' to clear the buffer. mysql> GRANT ALL PRIVILEGES ON *.* TO 'lams'@'localhost' IDENTIFIED BY 'lamsdemo' WITH GRANT OPTION; Query OK, 0 rows affected (0.15 sec) mysql> GRANT ALL PRIVILEGES ON *.* TO 'lams'@'%' IDENTIFIED BY 'lamsdemo' WITH GRANT OPTION; Query OK, 0 rows affected (0.15 sec) mysql> \q Bye {noformat} Now you are done! h2. Getting JBoss 4.0.2 JBoss is the application server that LAMS 2.0 uses. You can download it from [here|http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=16942&release_id=312621]. Get the jboss-4.0.2.tar.gz one. This is quite a big file (60+MB), so it might take a while. Go have a beer while you wait. h3. Setting up the