Ubuntu: installing Joomla development environment
In spite of working mainly with a commercial ECM plataform, sometimes a new corporate site for a small division or department would be better suited with one of the many open source CMS systems available.For this purpose I chose Joomla and took the time to leave here a pretty straightforward version to set it up on a Ubuntu machine. Having said that, the following technologies will be installed:
- Apache Web server: to serve the web pages to the client browsers;
- PHP: to generate the dynamic content pages and functionalities;
- MySQL: to store all the Joomla related data, such as content and user accounts;
- PHPMyAdmin: A tool written in PHP intended to handle the administration of MySQL over the Web.
- Joomla: a free and open source content management framework (CMF) for publishing content on the Web.
sudo apt-get install apache2 php5 mysql-server phpmyadmin
The second step, still on the command shell, is to map the PHPMyAdmin alias on Apache mapping it to the corresponding installation folder. To do this, issue the following commands:
- sudo chmod 777 /etc/apache2/apache2.conf
- sudo gedit /etc/apache2/apache2.conf &
Alias /phpmyadmin /usr/share/phpmyadmin
Save the file and exit the editor. For Apache to read the new configuration, you must restart the service with the following command:
sudo /etc/init.d/apache2 restart
The third step is, of course, to install Joomla. To do so:
- Donwload the files from the Joomla official site;
- Unzip them and copy them to the Apache documents root (/var/www)
- Browse the folder on your web browser (ex: http://localhost/joomla/)
To solve this issue, type in the following commands:
- touch configuration.php
- sudo chmod 777 ./configuration.php
rm -rf ./installation
You're all done!
Subscribe to:
Post Comments
(
Atom
)
No comments :
Post a Comment