Friday, August 31, 2007

Unix network programming: a practical approach.

In this article we'll have a look at some conversion functions, write a small library of reusable code for network programs, and revisit the TCP echo client and server from the previous installment before we progress to bigger and better programs.

Install and configure NIS+.

Ease your system administration tasks and use Network Information Service plus (NIS+) to quickly handle maintenance and security issues for information. NIS+ is a network-wide naming and administration service that works on a client-server model. The server maintains all the details of the users and clients in a central database. In this article, get step-by-step instructions on how to install, configure, and administer NIS+.

Unix programming : tutorials.

The following set of tutorials reflects an effort to give Unix programmers and programmers wanna-be a chance to get familiar with various aspects of programming on Unix-like systems, without the need to buy an expensive set of books and spending a lot of time in understanding lots of technical material. The one assumption common to all tutorials (unless stated otherwise) is that you already know C programming on any system.

Thursday, August 30, 2007

Wireless LAN resources for Linux.

The Linux Wireless LAN Howto is an Open Source project sponsored by Hewlett Packard since 1996, and built with the contribution of many Linux users all over the world.

Force iptables to log messages to a different log file.

According to man page: Iptables is used to set up, maintain, and inspect the tables of IP packet filter rules in the Linux kernel. Several different tables may be defined. Each table contains a number of built-in chains and may also contain user defined chains.read more.

Wednesday, August 29, 2007

The ways, means of Linux on the iPod.

Imagine recording studio-quality audio using your iPod and a regular-old microphone. Or sitting on the commuter train, playing Othello, Pong, Tetris or Asteroids. All this and more is possible when you install Linux on your 3rd generation or earlier iPod. Best of all, one soft-reset and you're back in Apple Computer's iPod operating system. read more.

Making Perl Reusable with Modules.

Perl software development can occur at several levels. When first developing the idea for an application, a Perl developer may start with a short program to flesh out the necessary algorithms. After that, the next step might be to create a package to support object-oriented development. The final work is often to create a Perl module for the package to make the logic available to all parts of the application. Andy Sylvester explores this topic with a simple mathematical function. read more.

Sunday, August 26, 2007

Unix Shell Tips & Tricks.

Tips and tricks for the Unix shell environment. Shell examples assume a non-csh-based shell, such as bash or zsh. Consult the manual for the commands in question if you see errors, as tools vary depending on the flavor of Unix.

PAO stands for nomads.

PAO is a comprehensive package for mobile-computing users of FreeBSD.
PAO contains FreeBSD PC Card drivers, enhancements to the FreeBSD APM
driver, and other miscellaneous utilities and daemons.read more

Saturday, August 25, 2007

Linux links wirelessly.

You say you prefer to work in Linux? All the better -- and it doesn't mean you have to be left out of the freedom wireless computing brings you. Systems administrator and book author Tom Syroid teaches you how to configure a wireless network card under Linux. Upon completion of this tutorial, you'll know how to set up a Linux laptop for wireless transmission using Gentoo distribution as an example.

Speaking UNIX, Part 12: Do-it-yourself projects.

If your UNIX® system lacks a tool you need, chances are you can find an apt solution in the enormous inventory of software available online. This month, learn how to build software from source code.

Thursday, August 23, 2007

Gentoo Linux Bluetooth Guide.

Bluetooth is an industrial specification that provides users a way to connect and exchange information between devices like personal computers, PDAs or mobile phones. Using the Bluetooth technology, users can achieve wireless voice and data transmission between devices at a low cost. Bluetooth also offers the possibility to create small wireless LANs and to synchronize devices. read more.

Monday, August 20, 2007

Emacs editing environment, Part 5: Shape your Emacs view.

This tutorial, the fifth in a series, shows you how to manage and manipulate the shape your Emacs session—examine how to partition the Emacs screen, create multiple X client windows for a single Emacs session, and display multiple buffers in each window, dividing the screen with horizontal and vertical divisions. You also learn about mouse window control and characteristics so that by the time you're through, you can make your Emacs session look and work the way you want it to.

Sunday, August 19, 2007

Learning GNU C.

The aim of this book is to teach GNU users how to write software in C. It is written primarily as a tutorial for beginners but should be thorough enough to be used as a reference by experience programmers. The basics are layed down in full in the first few chapters, beginners will read these chapters carefully while those with prior experience can skim through them. All the information is there, no prior knowledge of programming is assumed.

Saturday, August 18, 2007

Linux tip: Controlling the duration of scheduled jobs.

Say you need to debug a pesky problem by running some traces for 30 minutes at midnight, or you would just like to use your Linux system as an alarm clock. This tip helps you stop jobs, such as those started with the cron and at capabilities, after the jobs have run for a certain time, or when some other criteria are met. This tip now includes information on the timeout command in the AppleTalk networking package (Netatalk). -Ed.

Thursday, August 16, 2007

System Administration Toolkit: Distributed administration using SSH.

Use Secure Shell (SSH) to run commands on remote UNIX® systems and, with some simple scripts, put together a system that enables you to manage many systems simultaneously from one machine without having to log in directly to the machines themselves. Also examine the basics of a distributed management system and some scripts and solutions using the technique.more...

Wednesday, August 15, 2007

UnixSocket Class Reference.

Unix domain sockets are used for stream based connected sessions between processes on the same machine. bound server for Unix domain streams and sessions.read more

Monday, August 13, 2007

Linux vs Solaris comparison of "CDS Silver" performance.

The question has often been asked, "Which is the best operating system on which to run OpenLDAP?" This report is one of a series that look at OpenLDAP performance on different operating systems and hardware. read more.

Sunday, August 12, 2007

Exporting and mounting file systems on HP-UX and Linux systems.

To export a file system on HP-UX and Linux® systems:

1- Add the file system that you want to export to the file /etc/exports.
2- Export all entries in the file /etc/exports by entering the command: read more.

Saturday, August 11, 2007

Status of Apache 2.0 on AIX.

This is not part of the Apache 2.0 documentation. This is no replacement for the httpd-2.0 STATUS file. This is not a statement of Apache Software Foundation or Apache HTTP Server Project or even anybody really important. read more.

Thursday, August 09, 2007

PC-BSD

PC-BSD has been designed with the "casual" computer user in mind. Installing the system is simply a matter of a few clicks and a few minutes for the installation process to finish. Hardware such as video, sound, network and other devices will be auto-detected and available at the first system startup. Home users will immediately feel comfortable with PC-BSD's desktop interface, with KDE 3.5 running under the hood. Software installation has also been designed to be as painless as possible, simply double-click and software will be installed.

Perl version 5.8.8 documentation.

perldoc.perl.org contains the core documentation for Perl version 5.8.8, in HTML and PDF formats.

If you are new to the Perl language, good places to start reading are the introduction and overview at perlintro, and the extensive FAQ section, which provides answers to over 300 common questions.

FreeBSD 6.2 Server Deployment Guide.

This document will show the steps to take to deploy a FreeBSD server. This server will have the latest stable from the Apache 2.2 tree, PHP 5, MySQL 5.0, Sendmail with SMTP-AUTH, Webmail, Bind DNS, SNMP, synchronized local time, and Webmin. I have also included steps to take to build a network graphing solution with Rrdtool/Cacti, and this part can be considered optional

Wednesday, August 08, 2007

WWWsmith: Installation and Configuration of FreeBSD.

Here's how to set up a web server using another freely available operating system, FreeBSD, a high performance, mature, UNIX-like system.
FreeBSD is a popular (and free) Unix-like operating system, available from the Internet and on CD-ROM (chiefly from Walnut Creek CD-ROM). In this respect, it shares much with Linux, which is admittedly more popular and better documented.read more.

Tuesday, August 07, 2007

CUPS (Common UNIX Printing System) - installation and configuration. -- by Gerard Samuel

Well I am no article writer, but I decided to write down the steps I took to setup up a usb printer (HP DeskJet 640C) to a FreeBSD Server, and to be able to print from another FreeBSD workstation running KDE or Windows 2k/XP workstation from within my LAN. At first I tried an apsfilter/LPRng combo, but couldn't get past the test page. So I turned to CUPS. Their online manual, seemed pretty complete, so if you run into any problems, check out the manual first. I am going to assume Samba is installed and working. read more

Monday, August 06, 2007

How System Calls Work on Linux/i86.

This section covers first the mechanisms provided by the 386 for handling system calls, and then shows how Linux uses those mechanisms. This is not a reference to the individual system calls: There are very many of them, new ones are added occasionally, and they are documented in man pages that should be on your Linux system.

Saturday, August 04, 2007

Virtual tunnel

VTun - or Virtual tunnel is the easiest way to create Virtual Tunnels over TCP/IP networks. It support various tunnel types and provides many useful features:
Encryption , Compressio, Traffic shaping read more

Thursday, August 02, 2007

Running a High-Performance Web Server for HPUX.

Install the latest cumulative ARPA Transport Patch. This will allow you to configure the size of the TCP connection lookup hash table. The default is 256 buckets and must be set to a power of two. This is accomplished with adb against the *disc* image of the kernel. The variable name is tcp_hash_size. read more.

Wednesday, August 01, 2007

Cultured Perl: Automating UNIX system administration with Perl.

UNIX system administration, always a thorny problem, is easier with the right tools. In this installment, Teodor presents ideas on the use of Perl to streamline and foolproof system administration. The system configuration engine, cfengine, is an extremely important tool in this context.

uptime