| Instruction | What am I doing? |
|
Download and unzip the latest WebSphere sMash command line interface.
|
This is the bootstrap which will get the rest of WebSphere sMash for you as you request it.
|
Add the location of the newly unzipped zero directory to your path.
Windows: set PATH=c:\where_i_unzipped\zero;%PATH%
Linux: export PATH=/home/me/where_i_unzipped/zero:$PATH
|
The WebSphere sMash command line zero must use the CLI you downloaded, not any other one you may have downloaded earlier - otherwise you might get older sMash modules downloaded.
|
|
Go to the where_i_unzipped/zero directory and zero resolve.
|
This downloads the core of sMash, and sets up your local repository under zero/zero-repository.
|
| In the same directory zero create joomla.
|
This creates a new sMash project called "joomla", from a default template which does not yet include php dependencies.
|
Go to the newly created zero/joomla/config directory and edit the ivy.xml file. Add the following lines in the dependencies section.
<dependency org="zero" name="zero.php" rev="[1.0.0.0, 2.0.0.0["/>
<dependency name="mysql-connector-java" org="mysql" rev="[5.0.0.0,6.0.0.0["/>
|
These tell WebSphere sMash that your project requires php and mysql.
|
|
In your new zero/joomla directory zero resolve.
|
The newly requested php and mysql libraries will be downloaded to your local repository.
|
|
Get the latest copy of Joomla (mine is Joomla 1.5.14 ). Untar the contents into your /zero/joomla/public directory.
|
The public directory is the root directory for WebSphere sMash.
|
Edit the php.ini file in zero/joomla/config, add the following lines:
SMTP = <smtp server>
sendmail_from = <from field for emails sent by joomla>
smtp_port = <smtp port>
|
The SMTP settings will allow Joomla to send out emails when a new user registers to Joomla.
|
Edit the php.ini file in zero/joomla/config, modify the following line:
error_reporting = E_ALL
|
Removing E_STRICT prevents a large number of strict warning messages from filling the sMash logs.
|
Use mysql or similar to create an empty database called joomla.
mysql -uroot -p<password>
mysql> create database joomla;
mysql> exit
|
Joomla needs a database to start from, but will create and populate its own tables - so you just create an empty database for it to work with.
|
|
In your zero/joomla directory - zero start.
|
This starts the ZSO launcher for your application - you should see the message saying that sMash is listening on port 8080. If you do not like the choice of port, you can zero stop, alter the zero.config file in zero/joomla/config, and zero start again.
|
|
Navigate in a browser to http://localhost:8080, and you should see the Joomla installation page. Follow the on screen install instructions.
|
If in doubt - follow the instructions in the Joomla installation documentation.
|