Linux basic configurations - joomla http://basicconfig.com/taxonomy/term/11 en Joomla 1.5 how to change template tutorial http://basicconfig.com/linuxsoftware/joomla-howto-change-template-tutorial <!-- google_ad_section_start --><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Here is a guide on how to change template in Joomla 1.5. There are several steps that you need to do, including pre-requisites before begin installing the new template. See all examples with step by step instruction below:</p> <h2>Joomla 1.5 change template - Pre-requisites</h2> <ol><li>Login as joomla super administrator.</li> <li>Click Help → System info.</li> <li>Open 'Directory Permissions' tab.</li> <li>Make sure all directory permission status is 'Writable'.</li> </ol><p>This is the 'Directory Permissions' screenshot image example:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/help-system-info-permissions.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/help-system-info-permissions.png" alt="Joomla 1.5 check directory permissions screenshot image" /></a></p> <h2>Joomla 1.5 change template - Install a new template</h2> <p>There are a few websites that offer free Joomla template such as <a href="http://www.siteground.com/joomla-templates.htm" target="">Siteground</a>. Download a new Joomla template that you like and we are ready to go.</p> <p>Login as super administrator privilege user into your Joomla website. To install a new Joomla template, follow the steps below:</p> <ol><li>Extensions → Install/Uninstall.</li> <li>Upload Package File → Browse.</li> <li>Upload File &amp; Install.</li> </ol><p>Here is the screenshot image example:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/upload-package-file-new-template.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/upload-package-file-new-template.png" alt="Install new Joomla template using upload package screenshot image." /></a></p> <p>Notes: Make sure the template is for Joomla 1.5 version and the template is in '.zip'.</p> <h2>Joomla 1.5 change template</h2> <p>If you succeed installing the new template, you can proceed and enable the new Joomla template using the steps below:</p> <ol><li>Extensions → Template Manager.</li> <li>Click new template's option button and choose 'Default'.</li> <li>Click 'Preview' to see the new template.</li> </ol><p>Here is the screenshot image example:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/enable-new-template.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/enable-new-template.png" alt="Enable new Joomla template screenshot image" /></a></p> <p>That's it. Click 'Preview' to see the new Joomla template in action:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/new-template-preview.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/new-template-preview.png" alt="New Joomla template preview screenshot image" /></a></p> </div></div></div><!-- google_ad_section_end --><div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-above"><div class="field-label">Tags:&nbsp;</div><div class="field-items"><div class="field-item even" rel="dc:subject"><a href="/taxonomy/term/9" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">software</a></div><div class="field-item odd" rel="dc:subject"><a href="/taxonomy/term/11" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">joomla</a></div><div class="field-item even" rel="dc:subject"><a href="/taxonomy/term/12" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">cms</a></div></div></div> Tue, 20 Oct 2009 04:08:58 +0000 jinlusuh 85 at http://basicconfig.com http://basicconfig.com/linuxsoftware/joomla-howto-change-template-tutorial#comments How to create a new website Joomla 1.5 tutorial for beginner http://basicconfig.com/linuxsoftware/howto-create-new-website-joomla-tutorial-beginner <!-- google_ad_section_start --><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>Joomla can be quite confusing for a new user. This tutorial will explain Joomla in a simple way so that a new user understands the basic Joomla. This tutorial considers Joomla has been successfully installed and you must have 'super administrator' privilege account.</p> <h2>Joomla basics</h2> <p>For a new user, there are two parts in Joomla that you should understand. The first one is '<b>Content</b>' and the other one is '<b>Menus</b>'. You can check them by login into the administrator control panel.</p> <h3>Joomla Content management</h3> <p>Joomla has three-tier content management system. The first tier is called '<b>Section</b>'. The second tier is '<b>Category</b>' and the third tier is the '<b>article</b>' itself. Here is the explanation:</p> <p>Section:</p> <ul><li>Can contain numerous 'categories'.</li> <li>Only for articles</li> <li>Section example: Pets</li> </ul><p>Categories:</p> <ul><li>Can contain numerous 'articles'.</li> <li>Use by other 'Components' as well such as Banners, Contacts, News feeds and Weblinks.</li> <li>Categories example: Cats, Dogs.</li> </ul><p>Articles:</p> <ul><li>Pages.</li> <li>Articles example: Articles about cats and dogs.</li> </ul><p>If you are still confused about Joomla content management (Section, Category, Article), here is another example. The Joomla's Section, Category and Article is like the Ubuntu file system structure. Let's say you want to store a file named Ubuntu-tutorials.txt in your computer. In Ubuntu, you store your data in the Documents directory. The Ubuntu Documents directory location is in the user's home directory (hostname). So, the whole directory structure would be:</p> <p>/hostname/Documents/Ubuntu-tutorials.txt</p> <p>That's the same as how we organize our articles in Joomla using Section and Category:</p> <ul><li>hostname = Section.</li> <li>Documents = Category.</li> <li>Ubuntu-tutorials.txt = Articles.</li> </ul><p>Now we can create new section, category and article. First let's create a new section. Click 'Content' and choose 'Section Manager'. In the Section Manager, choose New. Named the new section as 'Pets'. See the example screenshot image below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/create-section.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/create-section.png" alt="Create a new section in Joomla 1.5 screenshot image" /></a></p> <p>Next, we can create a new category. Click 'Content' and choose 'Category Manager'. In the Category Manager, choose New. Let's name the new category as 'Cats'. See the example screenshot image below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/new-category.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/new-category.png" alt="Create a new category in Joomla 1.5 screenshot image" /></a></p> <p>Finally, we can create a new article about cats. Click 'Site' and choose 'Control Panel'. In the Control Panel, choose 'Add New Article'. See the example screenshot image below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/add-new-article.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/add-new-article.png" alt="Create a new article in Joomla 1.5 screenshot image" /></a></p> <p>Let's name the new article 'Title' as 'Siamese cats'. Choose 'Pets' from the Section drop down list. The Cats category automatically appears. That's because it is the only category for Pets section at the moment. Write a content for Siamese cats in the editor. On the Front Page option, choose 'Yes' to put our article in the front page. See the screenshot image example below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/new-article.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/new-article.png" alt="Create new article in Joomla 1.5 screenshot image" /></a></p> <p>Save when you are done. Click preview to see the new article. </p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/preview-new-article.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/preview-new-article.png" alt="Image" /></a></p> <p>We can see the article but where is the 'Pets' Section and 'Cats' category that we've just created? Continue reading the next section, Joomla menu and you'll understand.</p> <h2>Joomla Menu management</h2> <p>If you installed Joomla 'Sample data' during the Joomla installation, you can see a sample website. The sample Joomla website has a section, category, articles and menu examples. Physically, you can only see articles and menus. Section and category are invisible. Why? Because that's the way we manage our contents in Joomla cms. The section and category are not a menu. So, if we want to view a section or a category in Joomla website, we must create a menu for them.</p> <p>In Joomla sample data website, we have Top menu (horizontal menu), Main Menu (Vertical menu), Other Menu and User Menu. To create a new menu or to edit an existing menu, click 'Menus' and choose 'Menu Manager'. In the Menu manager, choose New:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/menu-new.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/menu-new.png" alt="Create new menu in Joomla 1.5 screenshot image" /></a></p> <p>In the new menu text boxes, type:</p> <ul><li>Unique Name = pets</li> <li>Title = Pets</li> <li>Description = Pets</li> <li>Module Title = Pets</li> </ul><p>Do not put white space in 'Unique Name'. When you are done, click Save.</p> <p>Click Extension menu and choose Module manager. Search for the name of the new module you've just created and click on the name to edit. Edit details:</p> <ul><li>Position = Left</li> <li>Order = Choose where do you want to put the menu.</li> </ul><p>Edit 'Assignment'.</p> <p>Edit 'Parameters'. The Module Parameters:</p> <ul><li>Menu style: List</li> </ul><p>Edit 'Parameters'. The Advanced Parameters:</p> <ul><li>Module class suffix: _menu</li> </ul><p>Save.</p> <h2>Add item for the new menu</h2> <p>Create new menu item using 'Menus - Menu Manager'. </p> <p>Click 'Edit Menu Item' to add item (article) for the new menu we just created. See example screenshot image below to see where you should click:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/add-menu-item.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/add-menu-item.png" alt="Add menu item in Joomla 1.5 screenshot image." /></a></p> <p>We are now at the 'Pets' menu item manager. You can also open this menu using 'Menus - Pets'. Click 'New' to create a new item. Select menu item type using 'Internal link - Articles - Article - Article layout'. See example screenshot image below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/menu-article-layout.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/menu-article-layout.png" alt="Add menu article in Joomla 1.5 screenshot image." /></a></p> <p>In the new menu item, select article for the menu using 'Select Article' in the 'Parameters (Basic)' section. Choose your article section and category section, in this example, Pets and cats respectively. Select 'Siamese cats' article. See example screenshot image below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/select-article.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/select-article.png" alt="Select article for new menu item in Joomla 1.5 screenshot image." /></a></p> <p>We'll be back at the new menu item again. Fill in the title for the new menu item in the 'Menu Item Details'. Normally, the menu title is the same as the article's title. So we put 'Siamese cats' for this example. Leave the 'Alias' blank. Click 'Save' when you are done.</p> <p>Now, check the new menu in the front page.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/new-menu-item-frontpage.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/new-menu-item-frontpage.png" alt="New menu item in Joomla 1.5 front page screenshot image." /></a></p> <p>That's all.</p> </div></div></div><!-- google_ad_section_end --><div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-above"><div class="field-label">Tags:&nbsp;</div><div class="field-items"><div class="field-item even" rel="dc:subject"><a href="/taxonomy/term/9" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">software</a></div><div class="field-item odd" rel="dc:subject"><a href="/taxonomy/term/11" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">joomla</a></div><div class="field-item even" rel="dc:subject"><a href="/taxonomy/term/12" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">cms</a></div></div></div> Thu, 15 Oct 2009 07:32:49 +0000 jinlusuh 84 at http://basicconfig.com http://basicconfig.com/linuxsoftware/howto-create-new-website-joomla-tutorial-beginner#comments How to setup Joomla 1.5.x in Ubuntu http://basicconfig.com/linuxsoftware/howto-setup-joomla-ubuntu <!-- google_ad_section_start --><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>This is a tutorial on how to set up Joomla in Ubuntu. The set up examples based on Linux Ubuntu desktop 8.04. You can use this as a guide to learn Joomla cms. If you are planning to set up a web server and Joomla as a production server, this tutorial also applicable in Ubuntu server as well (some of it where x-window is not required). However, the tutorial does not cover the web server security and other issues. That's different topics and you can find them in their respective category.</p> <p>If you are ready, here is the list of what we are going to do:</p> <ul><li><a href="#lamp">Set up and configure LAMP server.</a></li> <li><a href="#mysql">Set up MYSQL database for Joomla cms.</a></li> <li><a href="#install">Install Joomla cms.</a></li> <li><a href="#test">Test Joomla cms.</a></li> </ul><h2><a name="lamp" id="lamp">Set up LAMP server in Ubuntu desktop</a></h2> <p>Open command terminal by clicking 'Applications - Accessories - Terminal'. Change to root environments using 'sudo su' command. See step by step example below:</p> <table><tr><td><code>kucing@ubuntu-laptop:~$ <span style="color:red;">sudo su</span><br /> [sudo] password for kucing:<br /> root@ubuntu-laptop:/home/kucing# <span style="color:red;">tasksel</span><br /></code></td> </tr></table><p>Choose LAMP server and OK to install. See screenshot example below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/tasksel-lamp.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/tasksel-lamp.png" alt="Install LAMP server screenshot image" /></a></p> <p>When LAMP server installation is finished, we can start Apache web server using '<b>/etc/init.d/apache2 start</b>' command. Then, we can start configure Apache web server.</p> <p>Change directory to /etc/apache2.</p> <table><tr><td><code>root@ubuntu-laptop:/home/kucing# <span style="color:red;">cd /etc/apache2/</span><br /> root@ubuntu-laptop:/etc/apache2# <span style="color:red;">ls</span><br /> apache2.conf envvars mods-available ports.conf sites-enabled<br /> conf.d httpd.conf mods-enabled sites-available<br /></code></td> </tr></table><p>Copy 'sites-available/default' file configuration for Joomla virtual host.</p> <table><tr><td><code>root@ubuntu-laptop:/home/kucing# <span style="color:red;">cp sites-available/default sites-available/joomla-basic</span><br /></code></td> </tr></table><p>Run '<b>a2ensite</b>' to enable site:</p> <table><tr><td><code>root@ubuntu-laptop:/etc/apache2/sites-available# <span style="color:red;">a2ensite joomla-basic</span><br /> Enabling site joomla-basic.<br /> Run '/etc/init.d/apache2 reload' to activate new configuration!<br /> root@ubuntu-laptop:/etc/apache2/sites-available# <span style="color:red;">/etc/init.d/apache2 reload</span><br /> * Reloading web server config apache2<br /> apache2: Could not reliably determine the server's fully qualified domain name,<br /> using 127.0.1.1 for ServerName<br /> [ OK ]<br /> root@ubuntu-laptop:/etc/apache2/sites-available# <span style="color:red;">cd ..</span><br /> root@ubuntu-laptop:/etc/apache2# <span style="color:red;">ls sites-enabled/</span><br /> 000-default joomla-basic<br /> root@ubuntu-laptop:/etc/apache2#<br /></code></td> </tr></table><h2><a name="mysql" id="mysql">Set up MYSQL database for Joomla cms</a></h2> <p>Create a database for Joomla. See example steps below:</p> <table><tr><td><code>root@ubuntu-laptop:/home/kucing# <span style="color:red;">mysql -u root -p</span><br /> Enter password:<br /> Welcome to the MySQL monitor. Commands end with ; or \g.<br /> Your MySQL connection id is 66<br /> Server version: 5.0.67-0ubuntu6 (Ubuntu)<br /><br /> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<br /><br /> mysql&gt;<br /></code></td> </tr></table><p>Create a new database:</p> <table><tr><td><code>mysql&gt; <span style="color:red;">create database joomladb;</span><br /> Query OK, 1 row affected (0.07 sec)<br /><br /> mysql&gt;<span style="color:red;">\q</span><br /></code></td> </tr></table><p>Quit mysql and we can begin the Joomla installation.</p> <h2><a name="install" id="install">Install Joomla in Ubuntu</a></h2> <p>1) Download latest joomla 1.5.x from official Joomla website:</p> <p><a href="http://www.joomla.org/download.html">http://www.joomla.org/download.html</a></p> <p>2) Extract joomla 1.5.x and move it to web server home directory. Here is an example on how to transfer Joomla to web server root directory in Ubuntu desktop:</p> <table><tr><td><code>root@ubuntu-laptop:/home/kucing# <span style="color:red;">cd /var/www/</span><br /> root@ubuntu-laptop:/var/www# <span style="color:red;">mkdir joomla-basic</span><br /> root@ubuntu-laptop:/var/www# <span style="color:red;">cd joomla-basic/ </span><br /> root@ubuntu-laptop:/var/www/joomla-basic# <span style="color:red;">cp -R /home/kucing/Documents/kursus-joomla/Joomla_1.5.14-Stable-Full_Package/* .</span><br /> root@ubuntu-laptop:/var/www/joomla-basic# <span style="color:red;">cd ..</span><br /> root@ubuntu-laptop:/var/www# <span style="color:red;">chown -R www-data.www-data joomla-basic/ </span><br /></code></td> </tr></table><p>3) Open web browser and key in “localhost/joomla-basic” in the url.</p> <p>4) Follow joomla installation steps.</p> <p>Choose language:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-joomla01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-joomla01.png" alt="Setup Joomla - choose language screenshot image" /></a></p> <p>Pre-installation check:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-joomla02.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-joomla02.png" alt="Setup Joomla - pre-installation check screenshot image" /></a></p> <p>Joomla license agreement:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-joomla03.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-joomla03.png" alt="Setup Joomla - Joomla license agreement screenshot image" /></a></p> <p>Joomla database configuration:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-joomla05.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-joomla05.png" alt="Setup Joomla - Joomla database configuration screenshot image" /></a></p> <p>FTP configuration:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-joomla05_1.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-joomla05_1.png" alt="Setup Joomla - FTP configuration screenshot image" /></a></p> <p>Main configuration:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-joomla06.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-joomla06.png" alt="Setup Joomla - Main configuration screenshot image" /></a></p> <p>Finish:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-joomla07.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-joomla07.png" alt="Setup Joomla - Finish installation screenshot image" /></a></p> <p>5) Remove “installation” directory.</p> <table><tr><td><code>root@ubuntu-laptop:/var/www# <span style="color:red;">rm -r /var/www/joomla-basic/installation</span><br /></code></td> </tr></table><h2><a name="test" id="test">Test Joomla cms</a></h2> <p>Open your new website's administration page by entering the address such as 'localhost/joomla-basic/administrator' in the web browser url. Replace the 'joomla15' with the name of your joomla's directory name.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/joomla-admin-login-page.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/joomla-admin-login-page.png" alt="Joomla administrator login page screenshot image" /></a></p> <p>Key in joomla's administrator username and password.</p> <p>Here's Joomla administration menu page:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/joomla-admin-menu01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/joomla-admin-menu01.png" alt="Joomla administration menu screenshot image." /></a></p> <p>That's all. What you have to do next is to set up your website. Joomla provides sample data that you can use as an example on how your website can be. You can use that as a guide. My personal opinion, to set up a website using Joomla cms is quite difficult and confusing. It is also hard to find a simple step by step tutorial on how to create a Joomla website out there. Many tutorials just confused you more. Anyway, good luck!</p> <p>There is a simple explanation about Joomla cms and a step by step guide for a new user in <a href="/linuxsoftware/howto-create-new-website-joomla-tutorial-beginner" target="_blank">How to create a new website Joomla 1.5 tutorial for beginner</a> tutorial. I hope the tutorial is useful for anybody planning to build a new website based on Joomla.</p> </div></div></div><!-- google_ad_section_end --><div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-above"><div class="field-label">Tags:&nbsp;</div><div class="field-items"><div class="field-item even" rel="dc:subject"><a href="/taxonomy/term/7" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">linux tutorials</a></div><div class="field-item odd" rel="dc:subject"><a href="/taxonomy/term/9" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">software</a></div><div class="field-item even" rel="dc:subject"><a href="/taxonomy/term/11" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">joomla</a></div><div class="field-item odd" rel="dc:subject"><a href="/taxonomy/term/12" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">cms</a></div></div></div> Sat, 10 Oct 2009 16:48:19 +0000 jinlusuh 83 at http://basicconfig.com http://basicconfig.com/linuxsoftware/howto-setup-joomla-ubuntu#comments Setup and configure Joomla 1.0.x in Slackware Linux http://basicconfig.com/linuxtips/setup_configure_joomla_in_slackware_linux <!-- google_ad_section_start --><div class="field field-name-body field-type-text-with-summary field-label-hidden"><div class="field-items"><div class="field-item even" property="content:encoded"><p>This is a basic configuration of Joomla 1.0.x setup in Slackware Linux web server. Joomla is an open source content management system widely used as a website, blog and forum by many individuals and organisations. You need to prepare several things first before start to install and configure Joomla in Slackware. Here are the prerequisites:</p> <ul><li>Setup Web server.</li><br /><li>Setup MySQL database.</li> </ul><p>You must have a working web server before installing joomla. The <a href="/linuxnetwork/setup_linux_web_server-install_configure_apache_slackware" target="_blank">Setup Linux web server - Install and configure Apache in Slackware</a> tutorial is a basic guide if need it.</p> <p>Joomla need mysql database to store the content management system data. A guide on mysql setup can be found in <a href="/linuxservers/setup_configure_mysql_slackware" target="_blank">Setup and configure MYSQL in Slackware Linux</a> tutorial.</p> <p>When you are ready, let's continue to setup Joomla in Slackware Linux. Firstly, create a new database for the Joomla website and give privilege to a database user. Write down the database name, database username and database user password. You need to provide these data during Joomla setup.</p> <p>Next task is to get Joomla package. You can get the latest version of Joomla 1.0.x from <a href="http://www.joomla.org/download.html">Joomla official website</a>. Extract the package to /var/www/htdocs/ directory in Slackware after finished download (depends on how you setup your web server, the given directory is the default Slackware web server home directory). See example steps below on how to do that:</p> <table><tr><td><code>luzar@slackware:~$ <span style="color:red;">wget http://joomlacode.org/gf/download/frsrelease/6828/22538/Joomla_1.0.15-Stable-Full_Package.zip</span><br /> --2009-06-10 10:26:17-- http://joomlacode.org/gf/download/frsrelease/6828/22538/Joomla_1.0.15-Stable-Full_Package.zip<br /> Resolving joomlacode.org... 70.87.155.82<br /> Connecting to joomlacode.org|70.87.155.82|:80... connected.<br /> HTTP request sent, awaiting response... 302 Found<br /> Location: http://downloads.joomlacode.org/frsrelease/2/2/5/22538/Joomla_1.0.15-Stable-Full_Package.zip [following]<br /> --2009-06-10 10:26:19-- http://downloads.joomlacode.org/frsrelease/2/2/5/22538/Joomla_1.0.15-Stable-Full_Package.zip<br /> Resolving downloads.joomlacode.org... 70.87.155.98<br /> Connecting to downloads.joomlacode.org|70.87.155.98|:80... connected.<br /> HTTP request sent, awaiting response... 200 OK<br /> Length: 2829952 (2.7M) [application/zip]<br /> Saving to: `Joomla_1.0.15-Stable-Full_Package.zip'<br /><br /> 100%[======================================&gt;] 2,829,952 6.81K/s in 7m 11s<br /><br /> 2009-06-10 10:33:38 (6.41 KB/s) - `Joomla_1.0.15-Stable-Full_Package.zip' saved [2829952/2829952]<br /> luzar@slackware:~$<br /> luzar@slackware:~$ <span style="color:red;">cd /var/www/htdocs/ </span><br /> luzar@slackware:/var/www/htdocs$ <span style="color:red;">mkdir testjoomla </span><br /> luzar@slackware:/var/www/htdocs$ <span style="color:red;">cd testjoomla/ </span><br /> luzar@slackware:/var/www/htdocs/testjoomla$ <span style="color:red;">unzip /home/luzar/Joomla_1.0.15-Stable-Full_Package.zip </span><br /></code></td> </tr></table><p>Open web browser such as firefox or seamonkey and key in <b>localhost/testjoomla</b> in the url (replace testjoomla with your joomla directory name). Screenshots below shows normal warnings when setting up Joomla in Slackware Linux:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/joomla-warnings.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/joomla-warnings.png" alt="Joomla warnings screenshot image" /></a></p> <p>This is the pre-installation check. Fix all warnings and recommended settings.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla01.png" alt="Image" /></a></p> <p>To fix the above warnings, open /etc/httpd/php.ini file with text editor and change the warnings value. See example below:</p> <table><tr><td><code>root@slackware:~# <span style="color:red;">vim /etc/httpd/php.ini </span><br /></code></td> </tr></table><p>Search <b>display_errors</b> and turn the value to <b>On</b>.</p> <table><tr><td><code>display_errors = <span style="color:red;">On </span><br /></code></td> </tr></table><p>Search <b>magic_quotes_gpc</b> and turn the value to <b>On</b>.</p> <table><tr><td><code>magic_quotes_gpc = <span style="color:red;">On </span><br /></code></td> </tr></table><p>Save php.ini file and exit. Now it's time to fix the next warning, Joomla configuration.php unwriteable:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla02.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla02.png" alt="Joomla configuration.php unwriteable screenshot image" /></a></p> <p>The above fix is optional. You can fix this now by changing configuration.php file's permission or you can copy the configuration to the file at the end of Joomla setup later. If you want to change permission for the configuration.php file now, below is an example commands on how to do it:</p> <table><tr><td><code>root@slackware:/var/www/htdocs/joomla# <span style="color:red;">touch configuration.php </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chown luzar.users configuration.php </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 configuration.php </span><br /></code></td> </tr></table><p>Next step is you have to edit permission for all unwriteable directories and files below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla03.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla03.png" alt="Joomla directory and file permission check image" /></a></p> <p>Here is how to give permission to directory and file:</p> <table><tr><td><code>root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 administrator/backups/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 administrator/components/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 administrator/modules/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 administrator/templates/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 cache/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 components/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 images/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 images/banners/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 images/stories/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 language/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 mambots/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 mambots/content/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 mambots/editors </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 mambots/editors-xtd/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 mambots/search/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 mambots/system/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 media/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 modules/ </span><br /> root@slackware:/var/www/htdocs/joomla# <span style="color:red;">chmod 777 templates/ </span><br /></code></td> </tr></table><p>Click <b>Check again</b> to see the result. When you are done, click <b>Next</b> to continue.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla04.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla04.png" alt="Joomla pre-installation check screenshot image" /></a></p> <p>Here is the Joomla License agreement. Read it and when you understand the terms and conditions, click Next to continue.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla05.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla05.png" alt="Joomla license agreement screenshot image" /></a></p> <p>Step 1 - MySQL database configuration.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla06.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla06.png" alt="Joomla mysql database configuration screenshot image" /></a></p> <p>Step 2 - Enter the name of your Joomla! site.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla07.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla07.png" alt="Enter the name of your Joomla! site screenshot image" /></a></p> <p>Step 3 - Confirm the site URL, path, admin e-mail and file/directory chmods. Change the Admin password.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla08.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla08.png" alt="Confirm the site URL, path, admin e-mail and file/directory chmods screenshot image" /></a></p> <p>Step 4 - Congratulations! Joomla! is installed.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/configure-joomla09.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/s/suarkuyak/thumbs/configure-joomla09.png" alt="Congratulations! Joomla! is installed screenshot image" /></a></p> <p>PLEASE REMEMBER TO COMPLETELY REMOVE THE INSTALLATION DIRECTORY. Here is how to do it:</p> <table><tr><td><code>root@slackware:/var/www/htdocs/joomla# <span style="color:red;">rm -r installation/ </span><br /> root@slackware:/var/www/htdocs/joomla#<br /></code></td> </tr></table><p>Now you can visit you new Joomla administrator page. The administrator url is <b><a href="http://localhost/testjoomla/administrator/index.php">http://localhost/testjoomla/administrator/index.php</a></b>.</p> <p>That's all. Good luck!</p> </div></div></div><!-- google_ad_section_end --><div class="field field-name-field-tags field-type-taxonomy-term-reference field-label-above"><div class="field-label">Tags:&nbsp;</div><div class="field-items"><div class="field-item even" rel="dc:subject"><a href="/taxonomy/term/7" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">linux tutorials</a></div><div class="field-item odd" rel="dc:subject"><a href="/taxonomy/term/9" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">software</a></div><div class="field-item even" rel="dc:subject"><a href="/taxonomy/term/11" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">joomla</a></div><div class="field-item odd" rel="dc:subject"><a href="/taxonomy/term/12" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">cms</a></div></div></div> Wed, 10 Jun 2009 02:14:08 +0000 jinlusuh 78 at http://basicconfig.com http://basicconfig.com/linuxtips/setup_configure_joomla_in_slackware_linux#comments