Linux basic configurations - software http://basicconfig.com/taxonomy/term/9 en Install Drupal 6 website backup from hosting server in Slackware 14.1 http://basicconfig.com/linuxsoftware/install-drupal-6-website-backup-hosting-server-slackware-141 <!-- 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>Install a backup for your website is a good practice. Here is a tutorial on how to backup your Drupal website and install it in Slackware 14.1 64bit example. </p> <h2>Prerequisites</h2> <ol><li>Download latest website database from your hosting server</li> <li>Download <em>files</em> directory from your hosting server</li> <li>Download <em>sites</em> directory from your hosting server</li> <li>Download Drupal core from drupal website</li> <li>Configure MariaDB in Slackware 14.1</li> <li>Configure web server in Slackware 14.1</li> </ol><h2>Configure MariaDB in Slackware 14.1</h2> <p>If you haven't setup MariaDB in Slackware yet, that's the first thing you have to do. See our tutorial on <a href="/linuxsoftware/configure-mariadb-slackware-141" target="_blank">how to configure MariaDB in Slackware 14.1</a>. It's an easy few steps because Slackware has MariaDB pre-configured.</p> <h2>Configure Web Server in Slackware 14.1</h2> <p>Slackware has Web Server pre-configured as well. All configuration files are in <em>/etc/httpd</em> directory. Here is a simple Web Server setup and configuration for our Drupal website.</p> <p>First, we edit <em>/etc/httpd/httpd.conf</em> file.</p> <table><tr><td><code>root@slackware:~# <span style="color:red;">vim /etc/httpd/httpd.conf</span><br /></code></td> </tr></table><p>1. Add:</p> <table><tr><td><code># DirectoryIndex: sets the file that Apache will serve if a directory<br /> # is requested.<br /> #<br /><ifmodule dir_module=""><br /> DirectoryIndex index.html <span style="color:red;">index.php index.htm index.xhtml</span><br /></ifmodule><br /> #<br /></code></td> </tr></table><p>2. Enable PHP:</p> <table><tr><td><code># Uncomment the following line to enable PHP:<br /> #<br /><span style="color:red;">Include /etc/httpd/mod_php.conf</span><br /></code></td> </tr></table><p>3. Enable mod_rewrite:</p> <table><tr><td><code><span style="color:red;">LoadModule rewrite_module lib64/httpd/modules/mod_rewrite.so</span></code></td> </tr></table><p>4. Edit 'AllowOverride None' to 'AllowOverride All' in the main directive for DocumentRoot:</p> <table><tr><td><code>DocumentRoot "/srv/httpd/htdocs"<br /><directory><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.4/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 /> # AllowOverride 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 /> Require all granted<br /></directory><br /></code></td> </tr></table><p>5. Save and exit file (Ctrl+ZZ).</p> <h2>Configure PHP</h2> <p>1. Edit <em>/etc/httpd/php.ini</em> file:</p> <table><tr><td><code>root@slackware:~# <span style="color:red;">vim /etc/httpd/php.ini</span></code></td> </tr></table><p>2. Set timezone to your location:</p> <table><tr><td><code>[Date]<br /> ; Defines the default timezone used by the date functions<br /> ; http://php.net/date.timezone<br /> ;date.timezone =<br /><span style="color:red;">date.timezone = "US/Arizona"</span><br /></code></td> </tr></table><p>3. Change maximum allowed size for uploaded files:</p> <table><tr><td><code>; Maximum allowed size for uploaded files.<br /> ; http://php.net/upload-max-filesize<br /> ;upload_max_filesize = 2M<br /><span style="color:red;">upload_max_filesize = 8M</span><br /></code></td> </tr></table><p>4. Save and exit file (Ctrl+ZZ).</p> <p>5. Start web server:</p> <table><tr><td><code>root@slackware:~# <span style="color:red;">chmod 755 /etc/rc.d/rc.httpd</span><br /> root@slackware:~# <span style="color:red;">/etc/rc.d/rc.httpd start</span><br /></code></td> </tr></table><h2>Install and configure Drupal backup website in Slackware</h2> <p>1. Copy Drupal website backup directory from your hosting server to your Slackware <em>/var/www/htdocs/</em>. You can also use a clean drupal core downloaded from Drupal website:</p> <table><tr><td><code>root@slackware:/home/jinlusuh/Documents/basicconfig# <span style="color:red;">cp -R drupal-6.29/ /var/www/htdocs/</span></code></td> </tr></table><p>2. Rename the Drupal directory as necessary:</p> <table><tr><td><code>root@slackware:/home/jinlusuh/Documents/basicconfig# <span style="color:red;">mv /var/www/htdocs/drupal-6.29/ /var/www/htdocs/basicconfig</span></code></td> </tr></table><p>3. If you choose to use a clean drupal core, copy 'files' folder from your hosting website to the backup website in your Slackware (if you setup your Drupal website to use 'files' directory in the root instead of 'sites/default/files'):</p> <table><tr><td><code>root@slackware:/home/jinlusuh/Documents/basicconfig# <span style="color:red;">cp -R files/ /var/www/htdocs/basicconfig/</span></code></td> </tr></table><p>4. Give full permission to the 'files' directory:</p> <table><tr><td><code>root@slackware:/home/jinlusuh/Documents/basicconfig# <span style="color:red;">chmod 777 /var/www/htdocs/basicconfig/files </span></code></td> </tr></table><p><strong>Note</strong>: Don't forget 'tmp' directory should be created as well.</p> <p>5. Now copy your 'sites' directory from your hosting website to the backup website directory in your Slackware:</p> <table><tr><td><code>root@slackware:/home/jinlusuh/Documents/basicconfig# <span style="color:red;">cp -R sites/ /var/www/htdocs/basicconfig/</span></code></td> </tr></table><p>6. Edit <em>sites/default/setting.php</em>.</p> <table><tr><td><code>root@slackware:/var/www/htdocs/basicconfig/sites/default# <span style="color:red;">vim settings.php</span></code></td> </tr></table><p>Edit:</p> <table><tr><td><code>* Database URL format:<br /> * $db_url = 'mysql://username:password@localhost/databasename';<br /> * $db_url = 'mysqli://username:password@localhost/databasename';<br /> * $db_url = 'pgsql://username:password@localhost/databasename';<br /> */<br /> $db_url = 'mysql://<span style="color:red;">root:admin@localhost/basicconfdb</span>';<br /> $db_prefix = '';<br /></code></td> </tr></table><p>Edit:</p> <table><tr><td><code># $cookie_domain = 'example.com';<br /> $cookie_domain = <span style="color:red;">'localhost/website-dir-name'</span>;<br /></code></td> </tr></table><p>Set 'cookie domain' to your local website directory (Drupal website directory in your Slackware). If you don't set this or forgot to change the name, you won't be able to login to your Drupal website with Access Denied "You are not authorized to access this page" error.</p> <p>7. Import drupal website database from your hosting server to the new MariaDB database in Slackware:</p> <table><tr><td><code>root@slackware:/var/www/htdocs/basicconfig/sites/default# <span style="color:red;">mysql -u root -p</span><br /> Enter password:<br /> Welcome to the MariaDB monitor. Commands end with ; or \g.<br /> Your MariaDB connection id is 1<br /> Server version: 5.5.32-MariaDB MariaDB Server<br /><br /> Copyright (c) 2000, 2013, Oracle, Monty Program Ab and others.<br /><br /> Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.<br /><br /> MariaDB [(none)]&gt; <span style="color:red;">use basicconfdb;</span><br /> Database changed<br /> MariaDB [basicconfdb]&gt; <span style="color:red;">source /home/jinlusuh/basicconfdb.sql;</span><br /></code></td> </tr></table><p><strong>Note</strong>: Change the correct path to where your database located. Normally, the backup database downloaded from hosting server would be archived and compressed in 'your-database.sql.bz2' or 'your-database.zip'. Uncompress it first.</p> <p>8. Now open web browser and type 'localhost/your-website-directory-name'. </p> <h2>Final check</h2> <p>1. Check File System directory existence (url:localhost/your-website/admin/settings/file-system)</p> <p>2. Check Status Report (url:localhost/your-website/admin/reports/status)</p> <h2>Problem and trouble-shooting </h2><p>Check your website status (url:your-website/admin/reports/status). Normally, the 'files' directory would be the problem because of permission.</p> <table><tr><td>Image module directories</td> <td>Missing directory</td> </tr><td>The image module's image directory files/content is missing.</td> <td></td> </table><p>Change permission for 'files/content' directory and other directories as well:</p> <table><tr><td><code>root@slackware:/var/www/htdocs/basicconfig/files# <span style="color:red;">chmod 777 content/</span><br /> root@slackware:/var/www/htdocs/basicconfig/files# <span style="color:red;">chmod 777 content/temp/</span><br /> root@slackware:/var/www/htdocs/basicconfig/files# chmod 777 color/<br /> root@slackware:/var/www/htdocs/basicconfig/files# chmod 777 download/<br /> root@slackware:/var/www/htdocs/basicconfig/files# chmod 777 imagepicker/<br /> root@slackware:/var/www/htdocs/basicconfig/files# chmod 777 images/<br /></code></td> </tr></table><p>That's it for now. If you have problem installing Drupal backup from your hosting server to your Slackware by following this tutorial, please comment. </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></div> Tue, 07 Jan 2014 03:29:57 +0000 jinlusuh 314 at http://basicconfig.com http://basicconfig.com/linuxsoftware/install-drupal-6-website-backup-hosting-server-slackware-141#comments Install virtualbox on Ubuntu http://basicconfig.com/linuxsoftware/install-virtualbox-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 guide on how to setup Virtualbox on Ubuntu. We use 'virtualbox-qt 4.1.2-dfsg-1ubuntu1', a Virtualbox package for Ubuntu Desktop version 11.10 for this example.</p> <h3>Download and install Virtualbox</h3> <p>It's easier to download and install Virtualbox using Ubuntu Software Center. Open Ubuntu Software Center from the left panel menu on the desktop and type 'virtualbox' in the search textbox. See screenshot example below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/virtualbox01.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/virtualbox01.png" alt="Ubuntu Virtualbox installation image" class="imgp_img" width="300" height="182" /></a></p> <p>Choose Virtualbox from the result and click install button to begin the installation. If you want to read more information about this software, click 'more about' link before you click the install button. There are some comments and reviews from other users about the software.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/virtualbox-about02.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/virtualbox-about02.png" alt="Virtualbox brief description image" class="imgp_img" width="300" height="182" /></a></p> <p>After we click the 'Install' button, Ubuntu need to authenticate, so we have to provide our account password.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/virtualbox-authenticate03.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/virtualbox-authenticate03.png" alt="Ubuntu install software authenticate image" class="imgp_img" width="300" height="196" /></a></p> <p>Wait for download to finish and Ubuntu Software Center will automatically install Virtualbox for us.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/virtualbox-install04.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/virtualbox-install04.png" alt="Ubuntu Virtualbox install image" class="imgp_img" width="300" height="182" /></a></p> <h2>Setting up virtualbox on Ubuntu</h2> <p>Now that we have Virtualbox installed in our computer, we are going to setup a virtual machine on Ubuntu. There is an explanation here in this window about Virtualbox Manager. It's important so here what it says:</p> <p>Oracle VM Virtualbox Manager: <i>The left part of this window is a list of all virtual machines on your computer. The list is empty now because you haven't created any virtual machines yet. In order to create a new virtual machine, press the New button in the main tool bar located at the top of the window. You can press the F1 key to get instant help, or visit <a href="https://www.virtualbox.org">virtualbox website</a> for the latest information and news.</i></p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/virtualbox-manager01.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/virtualbox-manager01.png" alt="Virtualbox Manager image" class="imgp_img" width="300" height="225" /></a></p> <p>At the top left of the window, there is a 'New' button. Click on this button to create a new virtual machine.</p> <p><b>VM Name and OS</b></p> <p>A new window pops up. This is a wizard to create a new virtual machine. Here is what it says:</p> <p>Oracle VM Virtualbox Manager: <i>Enter a name for the new virtual machine and select the type of the guest operating system you plan to install onto the virtual machine. The name of the virtual machine usually indicates its software and hardware configuration. It will be used by all VirtualBox components to identify your virtual machine.</i></p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/vm02-name-os-type.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/vm02-name-os-type.png" alt="Choose Virtualbox name and OS type image" class="imgp_img" width="300" height="199" /></a></p> <p>The instruction is clear. So type a name for our virtual machine's name such as 'Ubuntu Server'. In the OS Type section, choose 'Linux' for Operating System and 'Ubuntu' in Version. Click Next when you are done.</p> <p><b>Memory</b></p> <p>Now we need to provide memory size for our virtual machine. Here what it says in the wizard's window:</p> <p>Oracle VM Virtualbox Manager: <i>Select the amount of base memory (RAM) in megabytes to be allocated to the virtual machine. The recommended base memory size is 512 MB.</i></p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/vm03-memory.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/vm03-memory.png" alt="Virtualbox choose memory size image" class="imgp_img" width="300" height="199" /></a></p> <p>If you have large RAM in your computer (more than 4GB) and you are planning to install Ubuntu Desktop or Windows, then you can provide more memory size, for example 1024MB. Click Next when you are done.</p> <p><b>Create new virtual disk</b></p> <p>Our next task is to create hard disk for our virtual machine. Here is the explanation from Virtualbox Manager:</p> <p>Oracle VM Virtualbox Manager: <i>If you wish you can now add start-up disk to the new machine. You can either create a new disk or select one from the list or from another location using the folder icon. If you need a more complex virtual disk setup, you can skip this step and make the changes to the machine settings once the machine is created. The recommended start-up disk is 8.00GB.</i></p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/vm04-virtual-hard-disk.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/vm04-virtual-hard-disk.png" alt="Virtualbox create new hard disk image" class="imgp_img" width="300" height="199" /></a></p> <p>This is our first time setting up Ubuntu Virtualbox, so choose create new hard disk. Click Next to define our hard disk space.</p> <p><b>Welcome to the new virtual disk creation wizard</b></p> <p>Another wizard is going to help us create hard disk space for our virtual machine. The wizard's explanation is excellent:</p> <p>Create New Virtual Disk Wizard: <i>This wizard will help you to create a new virtual disk for your virtual machine. Use the Next button to go to the next page of the wizard and the Back button to return to the previous page. You can also press Cancel if you want to cancel the execution of this wizard. Please choose the type of file that you would like to use for the new virtual disk. If you do not need to use it with other virtualization software you can leave this setting unchanged.</i></p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/create-virtual-disk01.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/create-virtual-disk01.png" alt="Virtualbox hard disk creation image" class="imgp_img" width="300" height="218" /></a></p> <p>We are going to install Ubuntu server as guest operating system in this virtual machine. So we take the default setting and click Next.</p> <p><b>Virtual disk storage details</b></p> <p>Create New Virtual Disk Wizard: <i>Please choose whether the new virtual disk file should be allocated as it is used or if it should be created fully allocated. A dynamically allocated virtual disk file will only use space on your physical hard disk as it fills up, although it will not shrink again automatically when space on it is freed. A fixed size virtual disk file may take longer to create on some systems but is often faster to use.</i></p> <p><b>Virtual disk file location and size</b></p> <p>Create New Virtual Disk Wizard: <i>Please type the name of the new virtual disk file into the box below or click on the folder icon to select a different folder to create the file in.</i></p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/create-virtual-disk02.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/create-virtual-disk02.png" alt="Image" class="imgp_img" width="300" height="218" /></a></p> <p><b>Summary</b></p> <p>This window shows a summary of how we configured our virtual machine:</p> <p>Create New Virtual Disk Wizard: <i>You are going to create a new virtual disk with the following parameters:</i></p> <table><tr><td><code>File type:<br /> VDI (VirtualBox Disk Image)<br /> Details:<br /> Fixed size storage<br /> Location:<br /> /home/kkcj/VirtualBox VMs/Ubuntu Server/Ubuntu Server.vdi<br /> Size:<br /> 10.00 GB (10737418240 B) </code></td> </tr></table><p>Create New Virtual Disk Wizard: <i>If the above settings are correct, press the Create button. Once you press it the new virtual disk file will be created.</i></p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/create-virtual-disk03.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/create-virtual-disk03.png" alt="Image" class="imgp_img" width="300" height="218" /></a></p> <p>This is it. Click Create button to begin creating a new virtual disk. The process will take about a minute (or less). When it's done. we'll get a new virtual machine in the left pane of the window as in the picture below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/done-vm-disk-created.png" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/done-vm-disk-created.png" alt="Image" class="imgp_img" width="300" height="225" /></a></p> <p>That's it. Now prepare Ubuntu server installation disk to install our first virtual machine.</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></div> Mon, 31 Oct 2011 07:25:31 +0000 jinlusuh 75 at http://basicconfig.com http://basicconfig.com/linuxsoftware/install-virtualbox-ubuntu#comments Setting up a Drupal website http://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://basicconfig.com http://basicconfig.com/software/setting-up-drupal-website#comments Drupal installation on windows tutorial http://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://basicconfig.com http://basicconfig.com/software/drupal-installation-on-windows-tutorial#comments Ubuntu ftp client guide http://basicconfig.com/linux-desktop/ubuntu-ftp-client-guide <!-- 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 specific guide on how to install and using ftp client in Ubuntu Desktop. We are going to use <b>gftp</b> as an example, which is a quite familiar ftp client in Linux community. The gftp doesn't included by the default, so you need to install it first. Below is a brief information about gftp:</p> <table><tr><td><code>gFTP is a multithreaded FTP client. This version of it runs under X and was written using GLib/GTK+.<br /> gFTP features:<br /> * simultaneous downloads,<br /> * resuming of interrupted file transfers,<br /> * file transfer queues,<br /> * downloading of entire directories,<br /> * FTP and HTTP proxy support,<br /> * remote directory caching,<br /> * passive and non-passive file transfers,<br /> * drag-n-drop support,<br /> * bookmarks menu,<br /> * support for SSH and SSH2 file transfers,<br /> * support FXP transfers,<br /> * stop button, and many more features. Author: Brian Masney <masneyb><br /><br /> Homepage: http://www.gftp.org/<br /></masneyb></code></td> </tr></table><h2>Install gftp in Ubuntu</h2> <p>You can use Ubuntu Add/Remove program in the Applications menu to install gftp. If you prefer package manager, you can use Synaptic Package Manager which can be entered from System menu and then Administration. Here are step by step screenshots example on how to install gftp in Ubuntu using Add/Remove:</p> <p>1) Click Applications menu and choose Add/Remove.</p> <p>2) In the new Add/Remove pane, type <b>gftp</b> in the 'Search' text box:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/01-gftp-search.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/01-gftp-search.png" alt="Search gftp from Ubuntu Add/Remove program screenshot image" /></a></p> <p>3) Tick on the gftp result:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/02-gftp-choose.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/02-gftp-choose.png" alt="Choose gftp to install from Ubuntu Add/Remove program screenshot image" /></a></p> <p>4) Click 'Apply Changes' to install gftp:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/03-gftp-apply-changes.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/03-gftp-apply-changes.png" alt="Click Apply Changes to install gftp from Ubuntu Add/Remove program screenshot image" /></a></p> <p>Here's the full picture of the Ubuntu Add/Remove pane and the complete steps:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/gftp-addremove01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/gftp-addremove01.png" alt="Install gftp from Ubuntu Add/Remove program steps screenshot image" /></a></p> <h2>gftp basics tutorial</h2> <p>You can open gftp by clicking the Applications menu and then choose gftp from the Internet menu. Below is the gftp interface. There are main menu, remote login shortcut, local section, remote section and ftp progress section.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/01-gftp-interface.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/01-gftp-interface.png" alt="Image" /></a></p> <p>gftp main menu:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/02-gftp-main-menu.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/02-gftp-main-menu.png" alt="Image" /></a></p> <p>gftp login shortcut:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/02-gftp-login-shortcut.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/02-gftp-login-shortcut.png" alt="Image" /></a></p> <p>gftp local section and remote section:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/03-gftp-local-remote.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/03-gftp-local-remote.png" alt="Image" /></a></p> <p>gftp progress section:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/04-gftp-progress.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/04-gftp-progress.png" alt="Image" /></a></p> <p>Basically, to start using gftp, we need the remote ftp server address and user account information, which is the ftp account username and password. The remote server address can be domain name or IP address. Once you have the information, use the gftp login shortcut to login. Enter remote ftp server address in the 'Host' text box, username in the 'User' and press keyboard 'Enter' key to key in ftp account user password.</p> <p>If you successfully connect to the remote ftp server, you can see the home directory in the remote section. You can always check the 'Progress section' to see what happened if you fail to connect. Double-click the directory that you want to enter in the remote ftp server. The arrow between local section and remote section shows where you can transfer file (local to remote and remote to local).</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/01-using-gftp.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/01-using-gftp.png" alt="gftp arrow to transfer file screenshot image" /></a></p> <p>Here is an example on how to transfer file from local computer to remote ftp server:</p> <p>1) Navigate to the directory you want by double-click in the 'Local section'. Click the '..' at the top to go back to the parent directory (previous directory).</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/02-using-gftp.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/02-using-gftp.png" alt="gftp navigate local computer screenshot image" /></a></p> <p>2) Do the same for the 'Remote section'.</p> <p>3) Click the directory that you want to transfer and then click arrow to begin transferring the directory. If you want to transfer a file, double-click will also do the job.</p> <p>When you are done, click 'Remote' menu and choose 'Disconnect' to terminate the ftp connection.</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/15" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">linux ftp</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></div> Tue, 03 Aug 2010 03:47:05 +0000 jinlusuh 136 at http://basicconfig.com http://basicconfig.com/linux-desktop/ubuntu-ftp-client-guide#comments Install phpmyadmin in Ubuntu 9.04 http://basicconfig.com/software/install-phpmyadmin-in-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>PhpMyAdmin is a graphical user interface tool to manage mysql database. It's very popular and used by many web hosting providers around the world. This tutorial is a guide on how to install phpmyadmin in Ubuntu 9.04. Prerequisite is you need to have mysql server already installed in your system. The instructions are in step by step, however, it's not in proper order. You need to read it first and make your own notes after finished reading it.</p> <p>Open command line terminal and install phpMyAdmin using apt-get:</p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">apt-get install phpmyadmin</span><br /> Reading package lists... Done<br /> Building dependency tree<br /> Reading state information... Done<br /> Some packages could not be installed. This may mean that you have<br /> requested an impossible situation or if you are using the unstable<br /> distribution that some required packages have not yet been created<br /> or been moved out of Incoming.<br /> The following information may help to resolve the situation:<br /><br /> The following packages have unmet dependencies:<br /> phpmyadmin: Depends: php5-mcrypt but it is not going to be installed<br /> E: Broken packages<br /></code></td> </tr></table><p>Let's check why php5-mcrypt is not going to be installed. We can do this by trying to install php5-mcrypt using apt-get:</p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">apt-get install php5-mcrypt</span><br /> Reading package lists... Done<br /> Building dependency tree<br /> Reading state information... Done<br /> Some packages could not be installed. This may mean that you have<br /> requested an impossible situation or if you are using the unstable<br /> distribution that some required packages have not yet been created<br /> or been moved out of Incoming.<br /> The following information may help to resolve the situation:<br /><br /> The following packages have unmet dependencies:<br /> php5-mcrypt: Depends: libltdl3 (&gt;= 1.5.2-2) but it is not installable<br /> E: Broken packages<br /></code></td> </tr></table><p>Now we got libltdl3 (&gt;= 1.5.2-2) but it is not installable dependencies message.</p> <p>All right now something is not right. If you get the same dependencies messages as above, let's check everything required to install phpmyadmin. First check whether we have php5 installed in our Ubuntu system:</p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">apt-get install php5</span><br /></code></td> </tr></table><p>For a complete php5 installation in Ubuntu, you can check the following tutorial: <a href="http://www.basicconfig.com/software/install-php5-in-ubuntu" target="_blank">How to install php5 in Ubuntu 9.04</a>.</p> <p>Next step is we need to install <b>libltdl3</b> package. Get it from <a href="http://packages.debian.org/lenny/i386/libltdl3/download" target="_blank">Debian website</a>. When you finished download the file, install it using dpkg command. Here is the command example:</p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">dpkg --install /home/kkcjlab/Desktop/libltdl3_1.5.26-4+lenny1_i386.deb</span><br /> (Reading database ... 198567 files and directories currently installed.)<br /> Preparing to replace libltdl3 1.5.26-4+lenny1 (using .../libltdl3_1.5.26-4+lenny1_i386.deb) ...<br /> Unpacking replacement libltdl3 ...<br /> Setting up libltdl3 (1.5.26-4+lenny1) ...<br /><br /> Processing triggers for libc6 ...<br /> ldconfig deferred processing now taking place<br /> root@kkcjlab-server:~#<br /></code></td> </tr></table><p>We can now install php5-mcrypt which is needed to install phpmyadmin.</p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">apt-get install php5-mcrypt</span><br /> Reading package lists... Done<br /> Building dependency tree<br /> Reading state information... Done<br /> The following NEW packages will be installed:<br /> php5-mcrypt<br /> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br /> Need to get 12.9kB of archives.<br /> After this operation, 45.1kB of additional disk space will be used.<br /> WARNING: The following packages cannot be authenticated!<br /> php5-mcrypt<br /> Install these packages without verification [y/N]? Y<br /> Get:1 http://packages.dotdeb.org stable/all php5-mcrypt 5.2.13-0.dotdeb.1 [12.9kB]<br /> Fetched 12.9kB in 1s (9006B/s)<br /> Selecting previously deselected package php5-mcrypt.<br /> (Reading database ... 198466 files and directories currently installed.)<br /> Unpacking php5-mcrypt (from .../php5-mcrypt_5.2.13-0.dotdeb.1_i386.deb) ...<br /> Setting up php5-mcrypt (5.2.13-0.dotdeb.1) ...<br /><br /> root@kkcjlab-server:~#<br /></code></td> </tr></table><p>Everything is ready to begin the phpmyadmin installation. Use apt-get command to install phpmyadmin as in the example below:</p> <p>Note:<br /><i>During installation process, you need to configure phpmyadmin password and mysql password. See the screenshots below phpmyadmin installation example.</i></p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">apt-get install phpmyadmin</span><br /> Reading package lists... Done<br /> Building dependency tree<br /> Reading state information... Done<br /> The following extra packages will be installed:<br /> dbconfig-common<br /> The following NEW packages will be installed:<br /> dbconfig-common phpmyadmin<br /> 0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.<br /> Need to get 4101kB of archives.<br /> After this operation, 15.4MB of additional disk space will be used.<br /> Do you want to continue [Y/n]? y<br /> Get:1 http://my.archive.ubuntu.com jaunty-updates/main dbconfig-common 1.8.40ubuntu1 [488kB]<br /> Get:2 http://my.archive.ubuntu.com jaunty-updates/universe phpmyadmin 4:3.1.2-1ubuntu0.2 [3613kB]<br /> Fetched 4101kB in 41s (98.9kB/s)<br /> Preconfiguring packages ...<br /> Selecting previously deselected package dbconfig-common.<br /> (Reading database ... 198469 files and directories currently installed.)<br /> Unpacking dbconfig-common (from .../dbconfig-common_1.8.40ubuntu1_all.deb) ...<br /> Selecting previously deselected package phpmyadmin.<br /> Unpacking phpmyadmin (from .../phpmyadmin_4%3a3.1.2-1ubuntu0.2_all.deb) ...<br /> Processing triggers for man-db ...<br /> Setting up dbconfig-common (1.8.40ubuntu1) ...<br /><br /> Setting up phpmyadmin (4:3.1.2-1ubuntu0.2) ...<br /> dbconfig-common: writing config to /etc/dbconfig-common/phpmyadmin.conf<br /><br /> Creating config file /etc/dbconfig-common/phpmyadmin.conf with new version<br /><br /> Creating config file /etc/phpmyadmin/config-db.php with new version<br /> granting access to database phpmyadmin for phpmyadmin@localhost: success.<br /> verifying access for phpmyadmin@localhost: success.<br /> creating database phpmyadmin: success.<br /> verifying database phpmyadmin exists: success.<br /> populating database via sql... done.<br /> dbconfig-common: flushing administrative password<br /> * Reloading web server config apache2 [ OK ]<br /><br /> root@kkcjlab-server:~#<br /></code></td> </tr></table><p>Here are phpmyadmin package configuration screenshots:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/configuring-phpmyadmin.png" title="Configuring phpmyadmin" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/configuring-phpmyadmin.png" alt="Configuring phpmyadmin" /></a></p> <p>Configuring database's administrative user:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/phpmyadmin-password.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/phpmyadmin-password.png" alt="Configuring database admiistrative user image" /></a></p> <p>Provide password for phpmyadmin to register with the database server:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/phpmyadmin-mysql-passwd.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/phpmyadmin-mysql-passwd.png" alt="Image" /></a></p> <p>Confirm password for phpmyadmin:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/phpmyadmin-passwd-confirm.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/phpmyadmin-passwd-confirm.png" alt="Confirm password for phpmyadmin image" /></a></p> <p>That's all. To test the newly installed phpmyadmin, open web browser and type <b>localhost/phpmyadmin</b> in the url. You should get the phpmyadmin login page as screenshot below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/phpmyadmin-login-page.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/phpmyadmin-login-page.png" alt="phpmyadmin login page image" /></a></p> <p>phpmyadmin login page</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/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></div> Thu, 15 Jul 2010 05:28:56 +0000 jinlusuh 88 at http://basicconfig.com http://basicconfig.com/software/install-phpmyadmin-in-ubuntu#comments How to install php5 in Ubuntu 9.04 http://basicconfig.com/software/install-php5-in-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 guide on how to install php5 in Ubuntu 9.04 using command line. We are using apt-get package management system to install the package. It is pretty simple, straight forward instructions. There are only two important things to do here, install php5 and remove all packages that are no longer required. Here are all the steps you need:</p> <p>Install php5 using apt-get command:</p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">apt-get install php5</span><br /> Reading package lists... Done<br /> Building dependency tree<br /> Reading state information... Done<br /> The following packages were automatically installed and are no longer required:<br /> libsm-dev libice-dev libqt4-assistant x11proto-xext-dev libatk1.0-dev<br /> debhelper libaudio-dev intltool-debian x11proto-kb-dev libglib2.0-dev<br /> libdjvulibre-dev libjasper-dev x11proto-xinerama-dev libpango1.0-dev<br /> libqt4-test x11proto-render-dev libxi-dev libxmu-headers libxrender-dev<br /> po-debconf libflac++6 libqt4-opengl-dev libgraphviz-dev libcairo2-dev<br /> mesa-common-dev libxdmcp-dev libsysfs-dev libdirectfb-extra libglu1-xorg-dev<br /> libsqlite0-dev libfontconfig1-dev libmail-sendmail-perl libdirectfb-dev<br /> x11proto-composite-dev xtrans-dev libtool libqt4-xmlpatterns libqt4-dev<br /> libmagickwand-dev x11proto-core-dev libxcursor-dev gettext libqt4-help<br /> libexif-dev libglu1-mesa-dev x11proto-randr-dev x11proto-damage-dev<br /> autotools-dev libxcb-render-util0-dev qt4-qmake libxt-dev libgtk2.0-dev<br /> libxmu-dev libxext-dev libxdamage-dev libmagickcore-dev libmagick++-dev<br /> libwmf-dev libxml2-dev x11proto-input-dev libltdl7-dev libfreetype6-dev<br /> libqt4-svg x11proto-fixes-dev libpthread-stubs0-dev xlibmesa-gl-dev<br /> libmagick++1 libxau-dev libpthread-stubs0 libxcomposite-dev libgl1-mesa-dev<br /> liblcms1-dev libxrandr-dev libexpat1-dev librsvg2-dev html2text<br /> libpixman-1-dev libxft-dev libx11-dev libopenexr-dev libxcb-render0-dev<br /> libxfixes-dev libmng-dev libxcb1-dev libqt4-scripttools libxinerama-dev<br /> libsys-hostname-long-perl libbz2-dev libilmbase-dev<br /> Use 'apt-get autoremove' to remove them.<br /> The following NEW packages will be installed:<br /> php5<br /> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br /> Need to get 1060B of archives.<br /> After this operation, 0B of additional disk space will be used.<br /> WARNING: The following packages cannot be authenticated!<br /> php5<br /> Install these packages without verification [y/N]?<br /></code></td> </tr></table><p>You can press <b>Y</b> and enter now to install php5 but in this tutorial, we are going to remove all packages that are no longer required first, so press <b>N</b> to stop the installation.</p> <p>We can use <b>apt-get autoremove</b> packages command to remove all packages that no longer required. Just select the first package and remove it as in the example below:</p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">apt-get autoremove libsm-dev libice-dev libqt4-assistant x11proto-xext-dev libatk1.0-dev</span><br /> Reading package lists... Done<br /> Building dependency tree<br /> Reading state information... Done<br /> The following packages were automatically installed and are no longer required:<br /> debhelper libaudio-dev intltool-debian x11proto-kb-dev libglib2.0-dev<br /> libdjvulibre-dev libjasper-dev x11proto-xinerama-dev libqt4-test<br /> x11proto-render-dev libxmu-headers libxrender-dev po-debconf libflac++6<br /> libgraphviz-dev mesa-common-dev libxdmcp-dev libsysfs-dev libdirectfb-extra<br /> libglu1-xorg-dev libsqlite0-dev libfontconfig1-dev libmail-sendmail-perl<br /> xtrans-dev libtool libqt4-xmlpatterns x11proto-core-dev gettext libqt4-help<br /> libexif-dev libglu1-mesa-dev x11proto-randr-dev autotools-dev<br /> libxcb-render-util0-dev qt4-qmake libxml2-dev x11proto-input-dev<br /> libltdl7-dev libfreetype6-dev libqt4-svg libpthread-stubs0-dev<br /> xlibmesa-gl-dev libmagick++1 libxau-dev libpthread-stubs0 libgl1-mesa-dev<br /> liblcms1-dev libexpat1-dev html2text libpixman-1-dev libxft-dev libx11-dev<br /> libopenexr-dev libxcb-render0-dev libmng-dev libxcb1-dev libqt4-scripttools<br /> libsys-hostname-long-perl libbz2-dev libilmbase-dev<br /> The following packages will be REMOVED:<br /> autotools-dev debhelper gettext html2text intltool-debian libatk1.0-dev<br /> libaudio-dev libbz2-dev libcairo2-dev libdirectfb-dev libdirectfb-extra<br /> libdjvulibre-dev libexif-dev libexpat1-dev libflac++6 libfontconfig1-dev<br /> libfreetype6-dev libgl1-mesa-dev libglib2.0-dev libglu1-mesa-dev<br /> libglu1-xorg-dev libgraphviz-dev libgtk2.0-dev libice-dev libilmbase-dev<br /> libjasper-dev liblcms1-dev libltdl7-dev libmagick++-dev libmagick++1<br /> libmagickcore-dev libmagickwand-dev libmail-sendmail-perl libmng-dev<br /> libopenexr-dev libpango1.0-dev libpixman-1-dev libpthread-stubs0<br /> libpthread-stubs0-dev libqt4-assistant libqt4-dev libqt4-help<br /> libqt4-opengl-dev libqt4-scripttools libqt4-svg libqt4-test<br /> libqt4-xmlpatterns librsvg2-dev libsm-dev libsqlite0-dev<br /> libsys-hostname-long-perl libsysfs-dev libtool libwmf-dev libx11-dev<br /> libxau-dev libxcb-render-util0-dev libxcb-render0-dev libxcb1-dev<br /> libxcomposite-dev libxcursor-dev libxdamage-dev libxdmcp-dev libxext-dev<br /> libxfixes-dev libxft-dev libxi-dev libxinerama-dev libxml2-dev libxmu-dev<br /> libxmu-headers libxrandr-dev libxrender-dev libxt-dev mesa-common-dev<br /> po-debconf qt4-qmake x11proto-composite-dev x11proto-core-dev<br /> x11proto-damage-dev x11proto-fixes-dev x11proto-input-dev x11proto-kb-dev<br /> x11proto-randr-dev x11proto-render-dev x11proto-xext-dev<br /> x11proto-xinerama-dev xlibmesa-gl-dev xtrans-dev<br /> 0 upgraded, 0 newly installed, 89 to remove and 0 not upgraded.<br /> After this operation, 117MB disk space will be freed.<br /> Do you want to continue [Y/n]?<br /></code></td> </tr></table><p>Now we can continue installing php5:</p> <table><tr><td><code>root@kkcjlab-server:~# <span style="color:red;">apt-get install php5</span><br /> Reading package lists... Done<br /> Building dependency tree<br /> Reading state information... Done<br /> The following NEW packages will be installed:<br /> php5<br /> 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.<br /> Need to get 1060B of archives.<br /> After this operation, 0B of additional disk space will be used.<br /> WARNING: The following packages cannot be authenticated!<br /> php5<br /> Install these packages without verification [y/N]?<br /></code></td> </tr></table><p>Press <b>Y</b> and Enter to install php5.</p> <table><tr><td><code>Install these packages without verification [y/N]? Y<br /> Get:1 http://packages.dotdeb.org stable/all php5 5.2.13-0.dotdeb.1 [1060B]<br /> Fetched 1060B in 0s (1154B/s)<br /> Selecting previously deselected package php5.<br /> (Reading database ... 198455 files and directories currently installed.)<br /> Unpacking php5 (from .../php5_5.2.13-0.dotdeb.1_all.deb) ...<br /> Setting up php5 (5.2.13-0.dotdeb.1) ...<br /> root@kkcjlab-server:~#<br /></code></td> </tr></table><p>That's all. Now you have php5 installed in your Ubuntu system.</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></div> Thu, 15 Jul 2010 02:48:37 +0000 jinlusuh 87 at http://basicconfig.com http://basicconfig.com/software/install-php5-in-ubuntu#comments How to install and configure PHP-Nuke in Ubuntu Desktop http://basicconfig.com/linuxtips/howto-install-configure-php-nuke-ubuntu-desktop <!-- 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 install and configure PHP-Nuke 8.0 in Ubuntu. PHP-Nuke is a Content Management System used by many organizations and individuals as a platform for their website, blog or forum in the Internet.</p> <p>To setup PHP-Nuke on your Ubuntu Desktop operating system, first, you need a web server and database server. If you haven't install it, the easiest way is to install LAMP server. When you are ready, follow the step by step instruction below to begin setup PHP-Nuke.</p> <p>1) Download PHP-Nuke from official website: <a href="https://www.phpnuke.org/" target="">Professional Content Management System - Official Website</a></p> <p>2) Unzip PHP-Nuke zip file and copy the extracted file to the web server root directory(/var/www/).</p> <table><tr><td><code>kkcjlab@kkcjlab-server:~$ sudo su<br /> [sudo] password for kkcjlab:<br /> root@kkcjlab-server:/home/kkcjlab# cd<br /> root@kkcjlab-server:~# <span style="color:red;">cp -r /home/kkcjlab/Desktop/PHP-Nuke-8.0 /var/www/</span><br /> root@kkcjlab-server:~# cd /var/www/<br /> root@kkcjlab-server:/var/www# ls -l<br /> total 28<br /> -rw-r--r-- 1 root root 45 2009-09-10 08:10 index.html<br /> drwxr-xr-x 16 www-data www-data 4096 2009-10-20 13:13 joomla-basic<br /> drwxr-xr-x 6 kkcjlab kkcjlab 4096 2009-12-08 14:19 lapor-kerosakan<br /> drwxr-xr-x 5 root root 4096 2010-04-21 11:27 PHP-Nuke-8.0 </code></td> </tr></table><p>3) Change PHP-Nuke-8.0 directory name to your website name. See example below:</p> <table><tr><td><code>root@kkcjlab-server:/var/www# <span style="color:red;">mv PHP-Nuke-8.0/ mufti</span> </code></td> </tr></table><p>3) Now you can configure PHP-Nuke using the web browser. That's the easiest way. Open a web browser and type your web server address. For example, if you are using a local web server, the address would be something like: <a href="http://localhost/mufti/">http://localhost/mufti/</a>. Change the name 'mufti' to your website name as in the step 3 above.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke01.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke01.png" alt="PHP-Nuke installation setup image" /></a></p> <p>4) Click 'HTML' to begin setup PHP-Nuke website. You should get a page similar to example below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke02.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke02.png" alt="Begin PHP-Nuke installation setup image" /></a></p> <p>5) Click 'Web Installation' to start the installation. Here is the example of PHP-Nuke installation page:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke03.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke03.png" alt="PHP-Nuke pre-installation check image" /></a></p> <p>6) The first PHP-Nuke installation setup page is the 'Pre-installation check'. Make sure all requirements are in green color. It's stated here: If any of these items are highlighted in red then please take actions to correct them. Failure to do so could lead to your PHP-Nuke installation not functioning correctly.</p> <p>The example here shows that the 'config.php' file is 'red' because it's unwritable. So we have to give write permission to the file. The 'config.php' file is in the 'html' folder of the extracted PHP-Nuke directory (full path: /var/www/PHP-Nuke-directory/html/config.php). See the steps below on how to give write permission to the file if you are using Ubuntu:</p> <table><tr><td><code>root@kkcjlab-server:/var/www# <span style="color:red;">cd mufti/html/</span><br /> root@kkcjlab-server:/var/www/mufti/html# ls -l<br /> total 164<br /> drwxr-xr-x 6 root root 4096 2010-04-21 11:27 admin<br /> -rw-r--r-- 1 root root 21567 2010-04-21 11:27 admin.php<br /> -rw-r--r-- 1 root root 2521 2010-04-21 11:27 backend.php<br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 blocks<br /><span style="color:red;">-rw-r--r-- 1 root root 5282 2010-04-21 11:27 config.php</span><br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 db<br /> -rw-r--r-- 1 root root 3041 2010-04-21 11:27 footer.php<br /> -rw-r--r-- 1 root root 2552 2010-04-21 11:27 header.php<br /> drwxr-xr-x 12 root root 4096 2010-04-21 11:27 images<br /> drwxr-xr-x 4 root root 4096 2010-04-21 11:27 includes<br /> -rw-r--r-- 1 root root 3556 2010-04-21 11:27 index.php<br /> drwxr-xr-x 4 root root 4096 2010-04-21 11:27 install<br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 language<br /> -rw-r--r-- 1 root root 59839 2010-04-21 11:27 mainfile.php<br /> drwxr-xr-x 25 root root 4096 2010-04-21 11:27 modules<br /> -rw-r--r-- 1 root root 5429 2010-04-21 11:27 modules.php<br /> -rw-r--r-- 1 root root 264 2010-04-21 11:27 robots.txt<br /> drwxr-xr-x 16 root root 4096 2010-04-21 11:27 themes<br /> -rw-r--r-- 1 root root 57 2010-04-21 11:27 ultramode.txt </code></td> </tr></table><p>Use Linux chmod command to change permission:</p> <table><tr><td><code>root@kkcjlab-server:/var/www/mufti/html# <span style="color:red;">chmod 666 config.php</span><br /> root@kkcjlab-server:/var/www/mufti/html# ls -l<br /> total 164<br /> drwxr-xr-x 6 root root 4096 2010-04-21 11:27 admin<br /> -rw-r--r-- 1 root root 21567 2010-04-21 11:27 admin.php<br /> -rw-r--r-- 1 root root 2521 2010-04-21 11:27 backend.php<br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 blocks<br /><span style="color:red;">-rw-rw-rw- 1 root root 5282 2010-04-21 11:27 config.php</span><br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 db<br /> -rw-r--r-- 1 root root 3041 2010-04-21 11:27 footer.php<br /> -rw-r--r-- 1 root root 2552 2010-04-21 11:27 header.php<br /> drwxr-xr-x 12 root root 4096 2010-04-21 11:27 images<br /> drwxr-xr-x 4 root root 4096 2010-04-21 11:27 includes<br /> -rw-r--r-- 1 root root 3556 2010-04-21 11:27 index.php<br /> drwxr-xr-x 4 root root 4096 2010-04-21 11:27 install<br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 language<br /> -rw-r--r-- 1 root root 59839 2010-04-21 11:27 mainfile.php<br /> drwxr-xr-x 25 root root 4096 2010-04-21 11:27 modules<br /> -rw-r--r-- 1 root root 5429 2010-04-21 11:27 modules.php<br /> -rw-r--r-- 1 root root 264 2010-04-21 11:27 robots.txt<br /> drwxr-xr-x 16 root root 4096 2010-04-21 11:27 themes<br /> -rw-r--r-- 1 root root 57 2010-04-21 11:27 ultramode.txt </code></td> </tr></table><p>7) Click 'Check again' after you are done and see if you got all green result as in the example below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke04.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke04.png" alt="Successful PHP-Nuke pre-installation check image" /></a></p> <p>8) Let's scroll down to the 'Recommended' section. We don't have to get all green here as it's stated: These settings are recommended for PHP in order to ensure full compatibility with PHP-Nuke. However, PHP-Nuke will still operate if your settings do not quite match the recommended.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke05.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke05.png" alt="Recommended PHP-Nuke pre-installation check image" /></a></p> <p>9) The final section shows other files that need to be writable. Give write permission to the 'ultramode.txt' since it's red.</p> <table><tr><td><code>root@kkcjlab-server:/var/www/mufti/html# <span style="color:red;">chmod 666 ultramode.txt</span><br /> root@kkcjlab-server:/var/www/mufti/html# ls -l<br /> total 164<br /> drwxr-xr-x 6 root root 4096 2010-04-21 11:27 admin<br /> -rw-r--r-- 1 root root 21567 2010-04-21 11:27 admin.php<br /> -rw-r--r-- 1 root root 2521 2010-04-21 11:27 backend.php<br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 blocks<br /> -rw-rw-rw- 1 root root 5282 2010-04-21 11:27 config.php<br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 db<br /> -rw-r--r-- 1 root root 3041 2010-04-21 11:27 footer.php<br /> -rw-r--r-- 1 root root 2552 2010-04-21 11:27 header.php<br /> drwxr-xr-x 12 root root 4096 2010-04-21 11:27 images<br /> drwxr-xr-x 4 root root 4096 2010-04-21 11:27 includes<br /> -rw-r--r-- 1 root root 3556 2010-04-21 11:27 index.php<br /> drwxr-xr-x 4 root root 4096 2010-04-21 11:27 install<br /> drwxr-xr-x 2 root root 4096 2010-04-21 11:27 language<br /> -rw-r--r-- 1 root root 59839 2010-04-21 11:27 mainfile.php<br /> drwxr-xr-x 25 root root 4096 2010-04-21 11:27 modules<br /> -rw-r--r-- 1 root root 5429 2010-04-21 11:27 modules.php<br /> -rw-r--r-- 1 root root 264 2010-04-21 11:27 robots.txt<br /> drwxr-xr-x 16 root root 4096 2010-04-21 11:27 themes<br /><span style="color:red;">-rw-rw-rw- 1 root root 57 2010-04-21 11:27 ultramode.txt</span><br /> root@kkcjlab-server:/var/www/mufti/html# </code></td> </tr></table><p>Press 'Check again' to see the changes.If you have all green, click next to proceed with the PHP-Nuke installation.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke06.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke06.png" alt="All green PHP-Nuke pre-installation check image" /></a></p> <p>10) Here is the PHP-Nuke 'License' for you to read before you continue the installation. Click Next if want to continue.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke07.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke07.png" alt="PHP-Nuke License image" /></a></p> <p>11) Mysql configuration:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke08.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke08.png" alt="PHP-Nuke installation setup mysql configuration check image" /></a></p> <p>PHP-Nuke warns you that if a database with the same name exist, it will be deleted. Make sure you key in the correct database name. Click OK to continue.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke09.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke09.png" alt="PHP-Nuke installation setup mysql configuration check confirmation image" /></a></p> <p>12) Now you need to provide a name for your website. PHP-Nuke will use this name all over your site. Click Next when you are done. See the example below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke010.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke010.png" alt="PHP-Nuke installation setup enter website name image" /></a></p> <p>13) In this step PHP-Nuke is going to create the super user administrator account for your website. There are site url and password automatically generated for you. You can change the password and provide the administrator email address. Remember the administrator account is 'admin'. You can change the account name later in the admin panel. Click Next when you are done.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke011.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke011.png" alt="PHP-Nuke installation setup super user administrator creation image" /></a></p> <p>14) This is the final step in PHP-Nuke installation setup. Write down the administrator username and password. The last thing you should do now is to delete the 'install' directory in the web server (rm -r /var/www/php-nuke-directory/html/install). When you are done, click Administration to go to the admin panel. You can login to your new website using the administrator username and password given above.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke012.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke012.png" alt="PHP-Nuke installation setup successful image" /></a></p> <p>You can login to your new website using the administrator username and password given above.</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/setup-php-nuke013.png" title="Image" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/setup-php-nuke013.png" alt="PHP-Nuke installation setup administration system login 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></div> Thu, 22 Apr 2010 01:39:18 +0000 jinlusuh 154 at http://basicconfig.com http://basicconfig.com/linuxtips/howto-install-configure-php-nuke-ubuntu-desktop#comments Burn iso image using k3b burner software in Slackware http://basicconfig.com/software/burn-iso-image-using-k3b-burner-software-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>K3b is a CD/DVD burning software comes by default with KDE when you installed Slackware. It has everything a beginner needs to burn a data, audio, video and ISO image under Linux using the graphical user interface without learning the command line utilities such as cdrecord, cdrdao, and growisofs. This is an example on how to burn ISO image using k3b dvd burner program running in Slackware Linux.</p> <p>1) Insert dvd into the dvd writer. KDE will automatically detect the blank dvd that you insert and asked what you want to do with it. Choose to 'Create data dvd with k3b' and click OK. See the example k3b screenshot below:</p> <p><a href="http://www.basicconfig.com/files/imagepicker/2/burn-iso-image-linux01.png" title="Burn iso image in Linux" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/burn-iso-image-linux01.png" alt="Burn iso image in Linux" /></a><br /></p><div class="imgp_desc">k3b burner software main page.</div> <p>2) The k3b program opens. Navigate the source image that you want to burn in the left pane. Choose the iso image that you want to burn from the right pane. Click and drag the iso image to the bottom pane. See the step by step instructions in screenshot example below:</p> <div class="imgp_title">Burn iso image in Linux</div> <p><a href="http://www.basicconfig.com/files/imagepicker/2/burn-iso-image-linux02.png" title="Burn iso image in Linux" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/burn-iso-image-linux02.png" alt="Burn iso image in Linux" /></a><br /></p><div class="imgp_desc">k3b burner software instructions step by step.</div> <p>3) The k3b burner program automatically detect the data/source file is an iso image file and inform us that the iso image can be burn directly to a medium. So we can choose 'Burn the image directly' to burn the iso image to the dvd.</p> <div class="imgp_title">Burn iso image in Linux</div> <p><a href="http://www.basicconfig.com/files/imagepicker/2/burn-iso-image-linux03.png" title="Burn iso image in Linux" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/burn-iso-image-linux03.png" alt="Burn iso image in Linux" /></a><br /></p><div class="imgp_desc">k3b burner software burns the image directly.</div> <p>4) The md5sum program automatically run to check the file integrity.</p> <div class="imgp_title">Burn iso image in Linux</div> <p><a href="http://www.basicconfig.com/files/imagepicker/2/burn-iso-image-linux04.png" title="Burn iso image in Linux" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/burn-iso-image-linux04.png" alt="Burn iso image in Linux" /></a><br /></p><div class="imgp_desc">k3b burner software runs md5sum.</div> <p>5) Compare the md5sum and when you are done, change the burn speed to 4x to make sure the image will be burn properly (the slower is better). Set how many copies to burn and choose to verify the burned data or not. Click Start to begin burning the iso image. See the step by step instructions in the screenshot image below:</p> <div class="imgp_title">Burn iso image in Linux</div> <p><a href="http://www.basicconfig.com/files/imagepicker/2/burn-iso-image-linux05.png" title="Burn iso image in Linux" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/burn-iso-image-linux05.png" alt="Burn iso image in Linux" /></a><br /></p><div class="imgp_desc">k3b burner software step by step dvd burning customization.</div> <p>6) A new window pops up. This window shows the burning process in real time. See example screenshot below:</p> <div class="imgp_title">Burn iso image in Linux</div> <p><a href="http://www.basicconfig.com/files/imagepicker/2/burn-iso-image-linux06.png" title="Burn iso image in Linux" target="_blank"><img src="http://www.basicconfig.com/files/imagepicker/2/thumbs/burn-iso-image-linux06.png" alt="Burn iso image in Linux" /></a><br /></p><div class="imgp_desc">k3b burner software burning iso image in progress.</div> <p>Wait until the Overall process is at 100%. When k3b has finished the burning, click on Close to quit the program.</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/7" typeof="skos:Concept" property="rdfs:label skos:prefLabel" datatype="">linux tutorials</a></div></div></div> Sun, 27 Dec 2009 07:52:58 +0000 jinlusuh 86 at http://basicconfig.com http://basicconfig.com/software/burn-iso-image-using-k3b-burner-software-slackware-linux#comments 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