The best way to try out what cms engine for you when you create website is to try it out first in your computer. I had install joomla in my website but i deleted it coz i don’t have enough space in my web.
So I would like to try to install joomla in my home computer with xampp. I am using xampp 1.6.8a (you can download it directyly here) and joomla 1.7. But of course always the best if we’re using the latest version of them. But I will write down later how to upgrade them.
Here is to install xampp, the basic of all. xampp already packed with mysql, apache, proftpd they are all we need for hosting.
Go to command line (console, konsole)
$su (input your root password)
$tar xvfz xampp-linux-1.6.8a.tar.gz -C /opt
Now start xampp (still as root)
If these line appears then your xampp is working
Starting XAMPP for Linux 1.6.8a…
XAMPP: Starting Apache with SSL (and PHP5)…
XAMPP: Starting MySQL…
XAMPP: Starting ProFTPD…
XAMPP for Linux started.
Check with your browser and type http://localhost
We will have xampp logo there.
Now the joomla.
Joomla usually using zip type compression file.
$unzip Joomla_1.7-Stable-Full_Package.zip -d /opt/lampp/htdocs/
htdocs folder is the root folder for www or http in localhost.
Now the installation. We’re going to use web base installation process which is the easiest part here.
Open your browser, type http://localhost/joomla (in this case i create folder joomla in /opt/lampp/htdocs/joomla) if use just http://localhost/installation/index.php
After choosing language and click next the joomla show a No in configuration.php it means that we have not yet configuration.php file in the root folder as writable of there is no such file. Actually joomla has it. But named as configuration.php-dist. Rename and make it writable.
Go to command console line again and make sure we are in /opt/lampp/htdocs/joomla
$cp configuration.php-dist configuration.php
$chmod 766 configuration.php
Back to configuration browser, click Check again button
You will see this kind of screen
Just click next in licence screen
Now the database configuration.
Choose mysql as the common database type file. But we need to configure some setting in our mysql setting.
Open up another tab in your browser and go to http://localhost click security.
Then you will find some instruction right over there.. like go to console and type this
Follow all the instruction appear.
Let’s go back to our joomla.
You have a safe xampp. And click next until joomla ask to fill database name. Fill them and finally, joomla will ask to remove the installation folder. Which is in /opt/lampp/htdoc/joomla/installation
$rm -r /opt/lampp/htdocs/joomla/installation
Now click administrator and enter your password that you just created.
And you will have joomla dashboard.
That’s all for installing joomla. I’ll be back with the experiences how to use joomla in the next articles.