Create your Joomla! 1.5 site
Leave the directory /usr/local/www/joomla15 alone, and make a copy of it for your site. For example,
cp -Rp joomla15 <your site>
chown www:www <your site>
For Aapache HTTP server must know about this site, we will create a NameVirtualHost for it. First, edit /usr/local/etc/apache22/httpd.conf, and uncomment the line
Open the file /usr/local/etc/apache22/extra/httpd-vhosts.conf, comment out all the lines for VirtualHost examples. Add the following lines to the file:
# <your site>
ServerAdmin webmaster@<your domain name>
DocumentRoot "/usr/local/www/<your site>"
ServerName <your domain name>
ServerAlias www.<your domain name>
ErrorLog "/var/log/<your site>-error_log"
CustomLog "/var/log/<your site>-access_log" common
<Directory "/usr/local/www/<your site>">
Allow From All
Options Indexes FollowSymLinks ExecCGI
Please replace <your site> and <your domain name> with your own values.
Check Apache HTTP server configureation:
# /usr/local/etc/rc.d/apache22 configtest
Fix any configuration problems, and then restart Apache.
# service apache22 restart
Before running Joomla! 1.5 installer, you need to create a MySQL database and a database user with proper permission to access that database. To create MySQL database, issue the command:
# mysqladmin -u root -p create <your db>
You will be asked to enter the password for MySQL root user.
Now let's use the MySQL client program to create a user and grant that user permissions.
# mysql -u root -p
Once you are at the client program's command prompt, enter this command:
mysql> grant all privileges on <your db>.* to <db user>@localhost identified by '<db password>'
There <your db> is the newly created MySQL database, <db user> is the username used to access that database, and <db password> is the password for that user.