HowtoForge provides user-friendly Linux tutorials.

  • .htaccess Based Authentication On Subdirectories

    Author: nayyaresTags: , Comments: 5

    .htaccess Based Authentication On Subdirectories .htaccess is used to provide facility of changing configuration per directory basis, this file can contain one or more directives that are going to be forced on the directory that contains the.htaccess file. In this howto, I will take a dummy scenario of two parallel level subdirectories and will implement password authentication on both of them. This means only those users can access these directories that have the correct username and password.

    read more... | add comment | view as pdf | print

  • Install and Configure Auth Shadow on Debian/Ubuntu

    Author: ThanatosTags: , , , , Comments: 3

    Install and Configure Auth Shadow on Debian/Ubuntu Auth Shadow or mod-auth-shadow is a module for apache (and apache2, sort of) that enables authentication against /etc/shadow. The benefits being that any system user with a password can be authenticated for web_dav, subversion or simply an https server. The only other way to do this is with PAM. That method is dangerous because the apache user (www-data in my case) must be able to read /etc/shadow. Obviously, not a good idea. Auth Shadow accomplishes this safely by using a intermediate program called validate. This works because validate can be owned by root but executable by everyone. In the event that your server is compromised through apache, your password file will not be readable.

    read more... | add comment | view as pdf | print

  • How To Set Up An IRC Server And Anope IRC Services

    Author: zcworldTags: , , Comments: 1

    How To Set Up An IRC Server And Anope IRC Services This tutorial describes how to set up and run an UnrealIRCD server on OpenSuSE 10.2 and Fedora Core 6. It also shows how to install Anope IRC services. Anope is a set of Services for IRC networks that allows users to manage their nicks and channels in a secure and efficient way, and administrators to manage their network with powerful tools.

    read more... | add comment | view as pdf | print

  • Custom Monitoring MySQL and SNMP with BixData

    Author: JedTags: , Comments: 0

    Custom Monitoring MySQL and SNMP with BixData With BixData you can monitor your servers as well as VMware and Xen. BixData includes pre-built plugins for things like CPU, Memory, Disk, etc. but any good monitoring tool needs to be customizable. BixData includes the basic ability to run scripts and record their exit values, similar to Nagios Plugins. BixData 2.7 adds support for importing data in more complex formats. This allows you to monitor almost anything. I'll go through the steps showing you how to monitor MySQL locally where an agent is installed and then the steps to monitor a device remotely through SNMP. The advantage of BixData is that any data available through a BixAgent works with the standard tools such as the situation room, scoreboards, notifications and the reporting system. All data are stored in standard SQL tables and are easily accessible.

    read more... | add comment | view as pdf | print

  • Using A Sandisk MP3 Player On A Linux Desktop

    Author: tjhansonTags: , Comments: 18

    Using A Sandisk MP3 Player On A Linux Desktop This article shows how to use a Sandisk MP3 player (Sansa E250) on a Linux desktop. Now I can have all the tunes I want without dropping into Windows to manipulate them.

    read more... | add comment | view as pdf | print

  • Loops In PHP

    Author: haroonTags: Comments: 0

    Loops In PHP There are certain conditions in which you need to execute the same block of code again and again. Here we can use Loops to write few lines which will print more output depending on our loops condition.

    read more... | add comment | view as pdf | print

  • Back Up Linux And Windows Systems With BackupPC

    VMWare Image Download Author: falkoTags: Comments: 10

    Back Up Linux And Windows Systems With BackupPC This tutorial shows how you can back up Linux and Windows systems with BackupPC. BackupPC acts as a server and is installed on a Linux system, and from there it can connect to all Linux and Windows systems in your local network to back them up and restore them without interfering with the user's work on that system. On the clients minimal to no configuration is needed. BackupPC supports full and incremental backups, and it comes with a neat web frontend for the administrator and normal user so that backups and recoveries can be managed through a web browser. It should be noted, however, that BackupPC does file-based backups, not bit-wise backups like Ghost4Linux, for example, so it is not made for disk/partition imaging.

    read more... | add comment | view as pdf | print

  • Decision Making Using PHP Switch Statement

    Author: haroonTags: , Comments: 0

    Decision Making Using PHP Switch Statement Today I am going to discuss Switch Statement. The basic concept of Switch is similar to the IF-ELSE statement; it helps you to write decision making code just like IF-ELSE but it is a little more organized, elegant and handy when dealing with complex logics as compare to IF-ELSE.

    read more... | add comment | view as pdf | print

  • Setting Up A News-Voting Website With Pligg

    Author: falkoTags: , Comments: 2

    Setting Up A News-Voting Website With Pligg This article shows how to set up your own news-voting website with Pligg. Pligg is a content-management system published under the Affero General Public License, and it is written in PHP and uses a MySQL database for storing its data. With a little work you can create your own community and let users vote news to the front page.

    read more... | add comment | view as pdf | print

  • Decision Making Using IF-ELSE In PHP

    Author: haroonTags: Comments: 2

    Decision Making Using IF-ELSE In PHP Today we are going to study the tools that will help you to write Decision Making Codes in php. For example, when you sign in to orkut.com you see a message ‘hello username’ on the upper right of every page. Similarly when you login to gmail if you provide wrong username or password you see an error message and if you submit accurate information you are taken to the inbox. If you think deep on these events, this is what we call ‘decision making code’. your write intelligent code that can make decision on user’s input and can act accordingly to the input to produce required output.

    read more... | add comment | view as pdf | print