|
Helping ordinary people create extraordinary websites! |
How to Install PHP 5 on Linux By Richard Laffers This tutorial explains the installation of Apache web server, bundled with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE 9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all Linux-like operating systems. Friday, 21st December 2007 How to Install Apache 2 on Linux By Richard Laffers This tutorial explains the installation of Apache web server, bundled with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE 9.2, 9.3, 10.0 & 10.1, but most of the steps ought to be valid for all Linux-like operating systems. Thursday, 20th December 2007 How to Install MySQL 5.0 on Linux By Richard Laffers This tutorial explains the installation of Apache web server, bundled with PHP and MySQL server on a Linux machine. The tutorial is primarily for SuSE 9.2, 9.3, 10.0 & 10.1 operating systems, but most of the steps ought to be valid for all Linux-like operating systems. Wednesday, 19th December 2007 SMB Caching By Tony Lawrence A customer had a particular shared folder setup so that only he had access to it. This happened to be a SCO Visionfs system, but you could run into similar problems with Samba. Thursday, 1st June 2006 Mound --Bind By Tony Lawrence Most Linux and Unix file systems don't allow hard links to directories (except for the . and .. entries that mkdir creates itself). The reasons are are pretty obvious: you could really confuse programs like ls (ls -R), find and of course fsck if you created links that recursed back to themselves. Saturday, 29th April 2006 Tar Wild Card Interpretation By Tony Lawrence I had this email earlier this week:I am trying to restore a file "\GL050". I can see it on the tape listing, but I can't get edge to find it. I have tried listing it the following ways: Sunday, 23rd April 2006 Lost Root Password - Linux By Tony Lawrence Have you ever forgotten your root password? I have a very good memory. I remember most of my client's passwords (there are a few I forget regularly for no reason that I can understand, but I really do know most), I remember telephone numbers, and of course I know my own passwords. Thursday, 13th April 2006 Enabling Linux Telnet By Tony Lawrence This has to be one of the more common support calls that I get. The telnet daemon is no longer usually installed by default, so people are surprised when their newly installed Linux system won't answer telnets. Wednesday, 8th March 2006 Undoing Bad Archives By Tony Lawrence Most zip or tar archives are made so that they unpack into a sub-directory. However, every now and then you run into one that wasn't done that way, and if you happen to unpack it in a directory that already has files, you end up with confusion: what was just unpacked and what was already here? Wednesday, 19th October 2005 Symlinks By Tony Lawrence Linux "symlinks" is a handy utility for managing symbolic links. It can clean up the sort of problems that come from carelesness when creating symbolic links. Wednesday, 19th October 2005 Bash 3.00 brace expansion By Tony Lawrence Ah, finally: no more of for i in 1 2 3 4 5 6 7 8 9 0 do .. whatever done Tuesday, 4th October 2005 ps sorting By Tony Lawrence In the beginning, when large creatures lumbered through damp tropical forests and furry mammals hid quivering in their burrows, "ps" had no built in abilty to change its sort order. You got what it gave, and if you wanted it otherwise, you ran it through "sort" yourself. That is the Unix Way: small tools, working together with pipelines. Friday, 2nd September 2005 Bash Aliases By Tony Lawrence Most shells have some provision for aliases. Aliases can assign default behavior to a command (for example "rm" is often aliased to "rm -i") or can be used to create new commands (a typical example is "ll" aliased to be "ls -l"). Friday, 2nd September 2005 How to Build Your Own Linux Distribution By Frank Pohlmann Linux® From Scratch (LFS) and its descendants represent a new way to teach users how the Linux operating systems work. LFS is based on the assumption that compiling a complete operating system piece by piece not only teaches how the operating system works but also allows an independent operator to build systems for speed, footprint, or security. Wednesday, 6th July 2005 Linux, Outside the (x86) Box By Peter Seebach It's obvious -- Linux has become an attractive option for non-x86 platforms. Why? In this article, the author examines the reasons for this, including the fact that Linux on non-x86 enables affordable, easy-to-do virtualization; provides for better reliability, power consumption, and extended memory support; covers the lower and upper ranges of machines, giving users options outside of the middle range; revitalizes older hardware; and drives innovation. Wednesday, 29th June 2005 Port Windows IPC Apps to Linux, Part 1: Processes and Threads By Srinivasan S. Muthuswamy, Kavitha Varadarajan The wave of migration to open source in business has the potential to cause a tremendous porting traffic jam as developers move the pervasive Windows® applications to the Linux platform™. In this three-part series, get a mapping guide, complete with examples, to ease your transition from Windows to Linux. Part 1 introduces processes and threads. Thursday, 16th June 2005 Build a Push Proxy Gateway on Linux By Manas Ranjan Behera Learn how to set up a PPG on your own, configure the settings to your own taste, develop push content, and test it with a mobile handset simulator over a TCP/IP network on a LAN. Wednesday, 15th June 2005 Monitor Linux File System Events with Inotify By Eli M. Dow Inotify is a file system event-monitoring mechanism slated for inclusion in upcoming Linux™ kernels that is designed to serve as an effective replacement for dnotify, which was the de facto file-monitoring mechanism supported in older kernels. Inotify is a powerful, fine-grained, asynchronous mechanism ideally suited for a variety of file-monitoring needs including, but not limited to, security and performance. Learn how to install inotify and how to build a sample user-space application to respond to file system events. Tuesday, 31st May 2005 Use Shared Objects on Linux By Sachin O. Agrawal Making the most of shared memory isn't always easy. In this article, IBM's Sachin Agrawal shares his expertise in C++, showing how the object-oriented among us can take key advantage of a uniquely useful interprocess communications channel. Friday, 27th May 2005 Build a WAP Gateway On Linux By Manas Ranjan Behera The hottest technology for implementing mobile services is the Wireless Application Protocol (WAP). This article discusses the advantages of working with the open source gateway for WAP, which performs the protocol conversion between a Web server and a mobile phone Friday, 27th May 2005 Secure Programmer: Minimizing Privileges By David A. Wheeler Secure programs must minimize privileges so that any bugs are less likely to be become security vulnerabilities. This article discusses how to minimize privileges by minimizing the privileged modules, the privileges granted, and the time the privileges are active. The article discusses not only some of the traditional UNIX-like mechanisms for privileges, but some of the newer mechanisms like the FreeBSD jail(), the Linux Security Modules (LSM) framework, and Security-Enhanced Linux (SELinux). Friday, 27th May 2005 Loadkeys, Dumpkeys By Tony Lawrence You can change the output of the console keyboard with loadkeys. It's an extremely powerful command, and the man page can be confusing, but for simple use (which is often all we need it for), it's very easy. Wednesday, 18th May 2005 PATH, Command By Tony Lawrence Your PATH (echo $PATH) is where your shell will search for executables. If a command you want to run isn't included in $PATH, you have to be specific: /somewhere/someprog. One confusion for Unix/Linux newcomers is that if PATH doesn't include "." (current directory), then trying to run a program you can see right in front of your nose with "ls" is going to generate a "command not found" message from your shell. Friday, 13th May 2005 Loglevel By Tony Lawrence Syslog is a wonderful thing. In theory, it lets an administrator fully control where and how messages get logged. Of course, the first requirement is that the program you wish to control uses syslog for logging, but even assuming that it does, it can still be difficult to get what you want. Friday, 13th May 2005 Higher Order Functions By Jonathan Bartlett Functions are the wonderful and powerful building blocks of computer programs. Functions allow you to break code down into simpler, more manageable steps. They also allow you to break programs into reusable parts -- parts that are both reusable within the program and in other programs as well. In this article, learn how to create new functions at runtime based on templates, how to create functions that are configurable at runtime using function parameters, and how the Scheme language can be a valuable tool with functions. Friday, 13th May 2005 |