Linux basic configurations - cms http://www.basicconfig.com/taxonomy/term/12 en Setting up a Drupal website http://www.basicconfig.com/software/setting-up-drupal-website <!-- 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 guide on setting up Drupal content management system on localhost. This guide is the second part tutorial on how to build a website using Drupal cms. You can read the first tutorial in <a href="http://www.basicconfig.com/software/drupal-installation-on-windows-tutorial" target="_blank">Drupal installation on windows</a> tutorial and <a href="http://www.basicconfig.com/linuxsoftware/setup-configure-drupal-slackware-linux-tutorial" target="_blank">Setup and configure Drupal 6 in Slackware Linux</a> tutorial.</p> <p>We will be taken to the first page, the Drupal welcome page(as screenshot example below)when we click 'You may now visit your new site.' link at the 'Drupal installation complete' page (refer the first tutorial). One thing to note at this point, you are now officially log in as administator or super user.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setting-drupal01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setting-drupal01.png" alt="Setting up drupal website screenshot image" /></a></p> <p>There are several steps that supposed to guide a first time user to begin using Drupal. We will do all those with step by step instructions in this tutorial. Let's do that now if you are ready.</p> <p>Configure your website - Once logged in, visit the <span style="color:blue;">administration section</span>, where you can customize and configure all aspects of your website.</p> <p>What we need to do here is to click the 'administration section' link to administrator home page, which is where we can configure our drupal website. Here is the screenshot example of the administrator section page:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/administer.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/administer.png" alt="Drupal Administer page screenshot image" /></a></p> <p>There are 5 main menus in the Drupal administration section. Here are brief explanation of each menu:</p> <p>1) Content management - Manage your site's content. Here is where you can manage your posts, other user's comments and everything related to the content.</p> <p>2) User management - Manage your site's users, groups and access to site features. You can create a new user, manage users and groups access and permission and other stuff related to the user management.</p> <p>3) Reports - View reports from system logs and other status information. You can see reports on your website here such as errors, visitor details and update available for Drupal core and modules.</p> <p>4) Site building - Control how your site looks and feels. Here is where you can customize your website looks. You can change theme, add and remove side bar, create and remove menu, and add modules (extensions).</p> <p>5) Site configuration - Adjust basic site configuration options. Here is where you control everything else.</p> <h2>Configure Drupal website</h2> <h3>Drupal add new user</h3> <p>Now that we already know the basic structure of Drupal's administration menu, we can start configure our Drupal website. The first thing that we should do is to create a new user account. Let's treat our Drupal the same as Linux. We'll create a new user in Drupal and give the user administrator privilege. Here are the step by step instructions:</p> <p>Click <b>Users</b> menu under User management. In the Users page, choose 'Add user'. See example screenshot below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/add-user01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/add-user01.png" alt="Drupal add user screenshot image" /></a></p> <p>Fill in all the requirements. We are going to create a user with administrator privilege, so remember to create a strong password. Make sure you get a green 'High' for the 'Password strength' status. Mix your password text with uppercase, numbers and special characters. For Username, spaces are allowed; punctuation is not allowed except for periods, hyphens, and underscores.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/add-user02.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/add-user02.png" alt="Drupal add user fill in all requirements screenshot image" /></a></p> <p>When you are done, click 'Create new account'.</p> <h3>Drupal add roles and assign permissions</h3> <p>We have a new user, so now we must give him some administrative privileges. To do this, open <b>Roles</b> menu under 'User management'. Type the new role's name for example 'admin' and click Add role button.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/add-roles01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/add-roles01.png" alt="Drupal add roles screenshot image" /></a></p> <p>To assign permissions for the new role, click 'Edit permissions' or open <b>Permissions</b> menu under 'User management'.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/assign-permissions01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/assign-permissions01.png" alt="Assign permission to the new role screenshot image" /></a></p> <p>Tick all permissions in the menus checkbox and click 'Save permissions' when you're done.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/assign-permissions02.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/assign-permissions02.png" alt="Assign permission save configuration screenshot image" /></a></p> <h2>Site configuration</h2> <p>We configured most of our website during the Drupal installation stage. Now, we can configure some more. Let's look at the <b>Site configuration</b> menu. The first menu, Actions, just leave it for now.</p> <p>The next menu, Administration theme is where you change your administrative pages look which means the look is for you not for the visitors. You can change to a different theme if you want but there is nothing wrong with the default theme.</p> <p>The menu Clean URLs is already configured during Dupal installation. But you can enable or disable clean URLs for your site here (you need to disable it during Drupal core update). For now, just leave it alone.</p> <p>The next menu is Date and Time, where you can choose whict date and time format that you want. You can just accept the default and go to the next menu, Error reporting, which you need to specify the error pages for default 403 (access denied) page and default 404 (not found) page. Named it 403 and 404 respectively and save configuration. We need to create the error page later.</p> <p>Skip all unnecessary changes and head to the Input formats menu. This menu affect the text editor we used to create content in drupal. I change to the Full HTML format here because I write my content in full html format. You have to decide it for yourself.</p> <p>The next menu that we need to look at is the Site information. You can change your site name and email address that you set during installation here. Also, you can set site's motto, tag line, or catchphrase (often displayed alongside the title of the site) in the Slogan textbox. Most importantly, you can set your website's mission or focus statement which often prominently displayed on the front page. Finally, set a footer message. A disclaimer for your website is a good idea. Here's an example screenshot:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/site-config.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/site-config.png" alt="Drupal site configuration screenshot image" /></a></p> <p>That's it for site information. Save configuration when you are done. The final menu, Site maintenance is where you can put your website offline during maintenance period. That's all for the Site configuration.</p> <h2>Planning a website and create menu</h2> <p>We must properly plan on how to present our content to the visitors. For example, we are going to make a website about Linux. We must have a category for every related content subject such as 'Linux commands', 'Linux servers', 'Linux security' and etc. Under Linux commands, we can further categories our content such as Linux basic commands, Linux administration commands, Linux network commands, and so on. For the Linux servers category, we can have DNS server, dhcp server, FTP server, and etc. You should plan your website too. When you are ready, we can start create menus for our website.</p> <p>We can do this in Drupal using <b>Menus</b> which can be found under 'Site building' menu. In the Menus page, select 'Add menu'.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/drupal-menu01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/drupal-menu01.png" alt="Drupal add menu screenshot image" /></a></p> <p>In the Menu name, key in the first category for your website. In this example, it is 'linux-commands'. Make sure the name contain only lowercase letters, numbers, and hyphens, and must be unique. This is the machine-readable name of this menu. The name will be used for constructing the URL of the menu overview page for this menu. In the Title, put a normal 'Linux commands' (this will appear in the website menu) and in the Description, type a brief explanation about this menu. See example screenshot below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/drupal-menu02.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/drupal-menu02.png" alt="Add menu example screenshot image" /></a></p> <p>When you are done, click Save. You'll be taken to the new menu page. Don't do anything here, not yet. Click 'Menus' link from the left sidebar menu. Create all categories that you need using the same method above.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/drupal-menu03.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/drupal-menu03.png" alt="Drupal new menu created screenshot image" /></a></p> <p>Create another menu using the Menus link from the left sidebar.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/drupal-menu04.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/drupal-menu04.png" alt="Create menu link from sidebar screenshot image" /></a></p> <p>That's all for now. We'll continue setting up Drupal website in the next tutorial.</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/10" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">drupal</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> Wed, 06 Oct 2010 09:36:13 +0000 jinlusuh 90 at http://www.basicconfig.com http://www.basicconfig.com/software/setting-up-drupal-website#comments Drupal installation on windows tutorial http://www.basicconfig.com/software/drupal-installation-on-windows-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>This is a guide on how to setup website and configure Drupal content management system on windows. You need to have web server, mysql and php installed in your computer before begin the Drupal installation.</p> <p>Download latest Drupal content management system from <a href="https://drupal.org" target="_blank">drupal official website</a>. There are two versions of Drupal active at the moment, Drupal 5 and Drupal 6. Active means that Drupal 5 and Drupal 6 still maintained and supported by Drupal developer and modules developer. </p> <p>Which drupal version should I use? Drupal 5 is the older version while the Drupal 6 is the latest stable released. The first time user should choose Drupal 6 since it's an upgraded version of Drupal 5. Drupal 5 will be stop maintained once Drupal 7 is released (not confirm however that's what happened to Drupal 4).</p> <p>In order to install Drupal content management system in your local computer, you need to have php, mysql database and web server installed. The easiest way is to install XAMPP, which is a package of Apache web server, MySQL database server, PHP and PERL compiled by apachefriends.org team. It's available in executable file(installer) for windows, Mac OS X and also for Linux. A XAMPP tutorial can be found in <a href="http://www.basicconfig.com/software/local_webserver" target="_blank">Setup local web server for windows - Install, configure and testing xampp</a>.</p> <p>Create database for a new drupal website. You can do this easily using phpmyadmin which included with xampp package. See example in <a href="http://www.basicconfig.com/database/create-new-database-new-user-mysql" target="_blank"><br /> Create new mysql database and new user</a> tutorial.</p> <p>Extract Drupal file(drupal-6.xx.tar.gz) and copy the extracted file to the web server directory (windows in c:\xampp\htdocs\). You can use <a href="http://www.7-zip.org" target="_blank">7zip</a> to extract the file. Rename the extracted file from drupal-6.xx to your domain name or website name. See xampp tutorial(mention above) on how to configure web server or if you need help on where to copy the drupal file.</p> <p>Before we begin installing drupal website, copy the <b>'xampp\htdocs\drupal\sites\default\default.settings.php'</b> file to <b>'xampp\htdocs\drupal\sites\default\settings.php'</b>. The 'settings.php' file must be writable. The 'xampp\htdocs\drupal\sites\default\files' folder also must be writeable. Since we are using windows, the permission is enabled by default. So don't worry about the permission bit.</p> <p>Now we can start installing Drupal website. Here are the steps:</p> <p>1) Open web browser and type 'localhost/drupal' in the url (replace 'drupal' with your drupal folder name).</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/01-url-drupal.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/01-url-drupal.jpg" alt="Enter drupal url address screenshot image" /></a></p> <p>2) Choose language. We are going to use 'English language' for this example:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/02-choose-language.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/02-choose-language.jpg" alt="Drupal installation - Choose language screenshot image" /></a></p> <p>3) Setup database:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/03-setup-database.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/03-setup-database.jpg" alt="Drupal installation - Setup database screenshot image" /></a></p> <p>4) Drupal installation error:</p> <p><b>Warning:</b> fopen(./sites/default/default.settings.php)[function.fopen]: failed to open stream: No such file or directory in <b>C:\xampp\htdocs\drupal\includes\install.inc</b> on line <b>188</b></p> <p><b>Warning:</b> Cannot modify header information - header already sent by(output started at C:\xampp\htdocs\drupal\includes\install.inc:188) in <b>C:\xampp\htdocs\drupal\includes\install.inc</b> on line <b>618</b></p> <p><b>Warning:</b> Cannot modify header information - header already sent by(output started at C:\xampp\htdocs\drupal\includes\install.inc:188) in <b>C:\xampp\htdocs\drupal\includes\install.inc</b> on line <b>619</b></p> <p>If you get this error, probably you renamed the 'default.settings.php' to 'settings.php' in previous step. To fix this, you just copy 'settings.php' and name it 'default.settings.php' so that you have both, the 'default.settings.php' and 'settings.php'.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/04-drupal-error.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/04-drupal-error.jpg" alt="Drupal installation error screenshot image" /></a></p> <p>5) Configure Drupal site. <b>Site name:</b> - Give your website a name. It should be something related to the whole content in the website (in the future). <b>Site e-mail address:</b> - The main email address that you would use for this website.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/05-config-site.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/05-config-site.jpg" alt="Drupal configure site screenshot image" /></a></p> <p>6) Setup Drupal administrator account. The administrator account has complete access to the site; it will automatically be granted all permissions and can perform any administrative activity. This will be the only account that can perform certain activities, so keep its credentials safe. <b>Username:</b> - Enter user name for administrator account. Just give a single name without white space. The e-mail address already automatically fill-in during previous step. <b>Password:</b> - Key in a password for the administrator account. To get a 'Password strength: High', you need to mix your password characters with Upper case, letters and special characters (symbols). Make sure you get the 'Passwords match: Yes'. Write these informations and keep them safe.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/06-admin-account.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/06-admin-account.jpg" alt="Drupal installation - Setup administrator account screenshot image" /></a></p> <p>7) Server settings. Normally, there's nothing to do here. The 'Clean URLs' is very important for SEO and it should be enable by default.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/07-server-settings.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/07-server-settings.jpg" alt="Drupal installation - Server settings screenshot image" /></a></p> <p>8) Drupal installation complete:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/08-drupal-install-complete.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/08-drupal-install-complete.jpg" alt="Drupal installation complete screenshot image" /></a></p> <p>Drupal mail server error warning:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/09-warning-mail.jpg" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/09-warning-mail.jpg" alt="Drupal installation mail server error screenshot image" /></a></p> <p>Don't worry about the email server warning for now. We successfully completed the Drupal installation. Click link to the website or type the website address(localhost/drupal) to go to the new drupal website. It's time to setup the new website.</p> <p>Will be continue on the second part. Too many screenshot pictures make page loading slow.</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/10" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">drupal</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, 05 Aug 2010 05:59:39 +0000 jinlusuh 89 at http://www.basicconfig.com http://www.basicconfig.com/software/drupal-installation-on-windows-tutorial#comments Joomla 1.5 how to change template tutorial http://www.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://www.basicconfig.com http://www.basicconfig.com/linuxsoftware/joomla-howto-change-template-tutorial#comments How to create a new website Joomla 1.5 tutorial for beginner http://www.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://www.basicconfig.com http://www.basicconfig.com/linuxsoftware/howto-create-new-website-joomla-tutorial-beginner#comments How to setup Joomla 1.5.x in Ubuntu http://www.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://www.basicconfig.com http://www.basicconfig.com/linuxsoftware/howto-setup-joomla-ubuntu#comments Setup and configure Drupal 6 in Slackware Linux tutorial http://www.basicconfig.com/linuxsoftware/setup-configure-drupal-slackware-linux-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>This is a basic guide on how to setup and configure Drupal 6 in Slackware Linux. Many beginner webmaster out there still haven't heard of Drupal.Here is a little information. Drupal is an open source <em>Content Management System</em> like Joomla. It has been awarded <b>The best open source content management system (CMS)</b> for a couple of years already. The official Drupal website is <a href="https://drupal.org" target="_blank">drupal.org</a>. You can read more about drupal in the Drupal founder's personal website, <a href="http://buytaert.net/" target="_blank">Dries Buytaert - Personal website</a> and see for yourself who's using Drupal.</p> <p>Basically, we need to setup web server, Mysql and PHP in Slackware before begin setting up Drupal. When you got all those servers running then it's time to begin the Drupal installation. See user guides below on how to setup and configure Drupal in Slackware Linux:</p> <h2>Get latest Drupal 6 released</h2> <p>Download latest Drupal 6 released from official drupal website. You can also using <em>wget</em> command from Linux command line terminal to download Drupal package. See example below:</p> <table><tr><td><code>root@slackware:~# <span style="color:red;">wget http://ftp.drupal.org/files/projects/drupal-6.13.tar.gz</span><br /> --2009-07-06 03:57:04-- http://ftp.drupal.org/files/projects/drupal-6.13.tar.gz<br /> Resolving ftp.drupal.org... 64.50.238.52<br /> Connecting to ftp.drupal.org|64.50.238.52|:80... connected.<br /> HTTP request sent, awaiting response... 200 OK<br /> Length: 1080373 (1.0M) [application/x-gzip]<br /> Saving to: `drupal-6.13.tar.gz'<br /><br /> 100%[======================================&gt;] 1,080,373 113K/s in 12s<br /><br /> 2009-07-06 03:57:16 (91.2 KB/s) - `drupal-6.13.tar.gz' saved [1080373/1080373]<br /><br /> root@slackware:~# </code></td> </tr></table><p>Change directory to the Slackware web server directory. The default location is <b>/var/www/htdocs</b>. See example below:</p> <table><tr><td><code>root@slackware:~# <span style="color:red;">cd /var/www/htdocs/</span> </code></td> </tr></table><p>Extract Drupal 6 package here.</p> <table><tr><td><code>root@slackware:/var/www/htdocs# <span style="color:red;">tar zxvf /root/drupal-6.13.tar.gz</span><br /> drupal-6.13/<br /> drupal-6.13/includes/<br /> drupal-6.13/includes/actions.inc<br /> drupal-6.13/includes/batch.inc<br /> drupal-6.13/includes/bootstrap.inc<br /> drupal-6.13/includes/cache-install.inc<br /> drupal-6.13/includes/cache.inc<br /> ...<br /> ...<br /> ... </code></td> </tr></table><p>If Drupal package has been extracted without any error, then we can rename the extracted directory as the website name. See an example below:</p> <table><tr><td><code>root@slackware:/var/www/htdocs# <span style="color:red;">mv drupal-6.13/ testdrupal</span> </code></td> </tr></table><p>Rename /testdrupal/sites/default/default.settings.php as /testdrupal/sites/default/settings.php. Give all permission to settings.php file. See command example below:</p> <table><tr><td><code>root@slackware:/var/www/htdocs/testdrupal# <span style="color:red;">mv sites/default/default.settings.php sites/default/settings.php</span><br /> root@slackware:/var/www/htdocs/testdrupal# <span style="color:red;">chmod 777 sites/default/settings.php</span> </code></td> </tr></table><p>Create a new directory named <b>files</b> in <em>sites/default</em> directory. Give permission to all. See example step below:</p> <table><tr><td><code>root@slackware:/var/www/htdocs/testdrupal# <span style="color:red;">mkdir sites/default/files</span><br /> root@slackware:/var/www/htdocs/testdrupal# <span style="color:red;">chmod -R 777 sites/default/files/</span> </code></td> </tr></table><h2>Create database for the new drupal cms</h2> <p>We already installed Mysql and now it's time to create a database for Drupal cms. Login into mysql and create a new database with privilege user. You can also use Phpmyadmin if you have it in your Slackware. See step by step example below:</p> <p>Create a new database for the drupal website:</p> <table><tr><td><code>root@slackware:~# <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 63<br /> Server version: 5.0.67-log Source distribution<br /><br /> Type 'help;' or '\h' for help. Type '\c' to clear the buffer.<br /><br /> mysql&gt; CREATE DATABASE drupal;<br /> Query OK, 1 row affected (0.00 sec)<br /><br /> mysql&gt; </code></td> </tr></table><p>Create a new Mysql user:</p> <table><tr><td><code>mysql&gt; CREATE USER 'drupal'@'localhost' IDENTIFIED BY 'password';<br /> Query OK, 0 rows affected (0.00 sec) </code></td> </tr></table><p>Give the new user privilege for the drupal database and run <em>flush privileges</em> command. See example below:</p> <table><tr><td><code>mysql&gt; GRANT SELECT, INSERT, UPDATE, DELETE, CREATE, DROP, INDEX, ALTER ON drupal.* TO 'drupal'@'localhost' IDENTIFIED BY 'password';<br /> Query OK, 0 rows affected (0.00 sec)<br /> mysql&gt; FLUSH PRIVILEGES;<br /> Query OK, 0 rows affected (0.00 sec) </code></td> </tr></table><h2>Edit Apache httpd server configuration file</h2> <p>Open /etc/httpd/httpd.conf file using text editor. Change <b>AllowOverride None</b> to <b>AllowOverride All</b> enable Drupal clean-url.</p> <table><tr><td><code>&lt;Directory "/srv/httpd/htdocs"&gt;<br /> #<br /> # Possible values for the Options directive are "None", "All",<br /> # or any combination of:<br /> # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews<br /> #<br /> # Note that "MultiViews" must be named *explicitly* --- "Options All"<br /> # doesn't give it to you.<br /> #<br /> # The Options directive is both complicated and important. Please see<br /> # http://httpd.apache.org/docs/2.2/mod/core.html#options<br /> # for more information.<br /> #<br /> Options Indexes FollowSymLinks<br /><br /> #<br /> # AllowOverride controls what directives may be placed in .htaccess files.<br /> # It can be "All", "None", or any combination of the keywords:<br /> # Options FileInfo AuthConfig Limit<br /> #<br /> #AllowOverride None<br /><span style="color:red;">AllowOverride All</span><br /><br /> #<br /> # Controls who can get stuff from this server.<br /> #<br /> Order allow,deny<br /> Allow from all<br /><br /> &lt;/Directory&gt; </code></td> </tr></table><p>Add the following lines to the <em>httpd.conf</em> file:</p> <table><tr><td><code><directory><br /> RewriteEngine on<br /> RewriteBase /<br /> RewriteCond %{REQUEST_FILENAME} !-f<br /> RewriteCond %{REQUEST_FILENAME} !-d<br /> RewriteRule ^(.*)$ index.php?q=$1 [L,QSA]<br /></directory></code></td> </tr></table><p>Restart httpd service:</p> <table><tr><td><code>root@slackware:/etc/httpd# <span style="color:red;">/etc/rc.d/rc.httpd restart</span></code></td> </tr></table><h2>Drupal 6 installation and configuration</h2> <p>Open Mozilla Firefox and type drupal website url.</p> <h3>Install drupal - Choose language</h3> <p>Choose installation language that you prefer.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/drupal-install01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/drupal-install01.png" alt="Drupal installation screenshot image" /></a></p> <h3>Install drupal - Verify requirements</h3> <p>We already created a file named <b>settings.php</b> and a new directory named <b>files</b> in /sites/default/ directory. There should be no problem here.</p> <h3>Install drupal - Database configuration</h3> <p>Enter <em>Database name</em>, <em>Database username</em> and <em>Database password</em> for drupal 6. Click 'Save and continue' when you are done.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/drupal-install02.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/drupal-install02.png" alt="Drupal database configuration screenshot image" /></a></p> <p>Error:</p> <table><tr><td><code>Fatal error: Trying to clone an uncloneable object of class mysqli in /var/www/htdocs/linuxbasicconfig/includes/install.mysqli.inc on line 36 </code></td> </tr></table><p>To fix this, set "zend.ze1_compatibility_mode = off" in Apache's php.ini file.</p> <table><tr><td><code>root@slackware:~# vim /etc/httpd/php.ini </code></td> </tr></table><p><a href="http://www.basicconfig.com/files/imagepicker/2/drupal-php-ini.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/drupal-php-ini.png" alt="Apache php.ini configuration screenshot image" /></a></p> <p>Refresh or reload the page.</p> <h3>Install site</h3> <p>When you are done, please change the permission of 'settings.php' file back to the way it was.</p> <table><tr><td><code>All necessary changes to ./sites/default and ./sites/default/settings.php have been made,<br /> so you should remove write permissions to them now in order to avoid security risks.<br /> If you are unsure how to do so, please consult the on-line handbook. </code></td> </tr></table><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/10" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">drupal</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> Mon, 06 Jul 2009 09:21:43 +0000 jinlusuh 77 at http://www.basicconfig.com http://www.basicconfig.com/linuxsoftware/setup-configure-drupal-slackware-linux-tutorial#comments Setup and configure Joomla 1.0.x in Slackware Linux http://www.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://www.basicconfig.com http://www.basicconfig.com/linuxtips/setup_configure_joomla_in_slackware_linux#comments