Librenix
Headlines | Linux | Apps | Coding | BSD | Admin | News
Information for Linux System Administration 

HowTo: HTTP Status: 206 Partial Content and Range Requests Using Curl

Up
vote
Down

The HTTP 2xx class of status codes indicates the action requested by the client was received, and processed successfully. HTTP/1.1 200 OK is the standard response for successful HTTP requests. When you type www.cyberciti.biz in the browser you will get this status code. The HTTP/1.1 206 status code allows the client to grab only part of the resource by sending a range header. This is useful for:

* Understanding http headers and protocol.
* Troubleshooting network problems.
* Troubleshooting large download problems.
* Troubleshooting CDN and origin HTTP server problems.
* Test resuming interrupted downloads using tools like lftp or wget or telnet.
* Test and split a large file size into multiple simultaneous streams i.e. download a large file in parts. read more...
mail this link | permapage | score:9361 | -nixcraft, November 21, 2012

Howto: Unity with Dodge Windows behavior in Ubuntu 12.04

Up
vote
Down

If you are running ubuntu 12.04(precise) and one thing you might have noticed from your unity is missing Dodge Windows behavior. Another feature users really like is the ability to be able to click a program’s icon on the Launcher and minimize/unminimize that window. Jonathan French (ojno), the developer behind this patch, has not only made this a reality, but also got this to work in conjunction with the ‘Spread Windows’ functionality. He’s even set up a PPA which contains the latest Unity and his patch to make it easier for end-users to get it. read more...
mail this link | permapage | score:9345 | -gg234, April 30, 2012

HowTo: Connect two Wireless Routers

Up
vote
Down

You can setup a wireless connection between two routers only so that it will link a wireless network to a wired network allowing you to bridge two networks with different infrastructure. You can find wireless access points products that offer either a "bridge" mode or a "repeater" mode. In this post I'm going to explain three popular open source choices that can be used for setting up a wireless bridge. read more...
permapage | score:9262 | -nixcraft, September 4, 2012

Howto: Openfiler 2.99 NAS/SAN with Corosync, Pacemaker, DRBD

Up
vote
Down

Openfiler is a Linux based NAS/SAN Application which can deliver storage over nfs/smb/iscsi and ftp. It has a web interface over that you can control these services. This howto is based on the latest version of openfiler at this date, you can download it from the official homepage www.openfiler.com. read more...
permapage | score:9057 | -falko, April 29, 2011

PDNSD HowTo: A DNS Caching Personal Server

Up
vote
Down

PDNSD is a non authoritative caching DNS server. It maintains a disk cache of the queries that your system performs and subsequent queries will be faster from the cache. It is safe enough to be used on a personal Unix/Linux system as a home Desktop or a Laptop. read more...
permapage | score:8949 | -falko, December 16, 2011

Squid Proxy HowTo: Listen Pandora to In Europe

Up
vote
Down

I have Pandora Internet Radio One subscription, and recently I moved to Europe for a few months as part of my work schedule. The service fully available only in the United States. How do I access Pandora one service in Europe? Can I get around it by using a proxy server installed on my own server located in USA at home or ISP data center? read more...
permapage | score:8713 | -nixcraft, November 22, 2012

Howto: Squid reverse proxy

Up
vote
Down

This article explains how you can set up a caching reverse proxy with Squid 2.6 in front of your web server on Debian Etch. If you have a high-traffic dynamic web site that generates lots of database queries on each request, you can decrease the server load dramatically by caching your content for a few minutes or more (that depends on how often you update your content).

(here's a bit of dramatic digital art) read more...
mail this link | permapage | score:8473 | -falko, December 28, 2008 (Updated: April 24, 2012)

Tutorial: Linux XDMCP HOWTO

Up
vote
Down

This step-by-step guide to XDMCP should help with your remote graphical applications.
This HOWTO describes how you can use the combination of X Display Manager (xdm, kdm and gdm) and XDMCP (X Display Manager Control Protocol) to provide the mechanism for an X-Terminal and a platform of cheap Remote X Apps solution. This document will be focusing on how to setup connection using XDMCP.
read more...
permapage | score:8266 | -Ray, April 9, 2001 (Updated: June 7, 2003)

Dual-Boot tutorial: Linux/Win98/Win95 Grub HOWTO

Up
vote
Down

Linux and mega gaming.
This HOWTO will tell you how to use the GRUB bootloader to turn your computer into a Windows + Linux dual boot machine, without affecting your current Linux installation.

[ . . . ]

Unfortunately, because Loadlin runs from under DOS, the Loadlin method of making your system dual boot requires that you have Windows installed on the first partition of your first hard drive, due to the fact that Windows believes it is the center of the universe and all your other operating systems should revolve around it. This is a problem if you already have Linux on that partition and you don't want to wipe out your system to install Windows.

This is where GNU GRUB, the GRand Unified Bootloader comes in.
read more...
mail this link | permapage | score:7967 | -Ray, January 15, 2001 (Updated: June 5, 2005)

Tutorial: Linux Security HOWTO

Up
vote
Down

Linux security information from file permissions to network scanners, all nicely organized...
This document is a general overview of security issues that face the administrator of Linux systems. It covers general security philosophy and a number of specific examples of how to better secure your Linux system from intruders. Also included are pointers to security-related material and programs. Improvements, constructive criticism, additions and corrections are gratefully accepted.
read more...
mail this link | permapage | score:7967 | -Ray, December 10, 2004

Tutorial: User Mode Linux Mini Howto

Up
vote
Down

Remember when only IBM mainframes could run many concurrent operating systems concurrently? Those days are long, long gone...
UML instances ("User Mode Linux") allow you to run multiple Linux servers on one physical machine. This can be handy for many different purposes. For example, you might want to give different people root rights, but prevent them from interfering with one another. Or, you might want to have several identically configured servers, one for production, one for development, and one for testing, but without investing in multiple physical machines.

Once you have prepared your machine for running UML instances as described in the following section, adding new instances will take less than five minutes.
read more...
mail this link | permapage | score:7928 | -Ray, January 19, 2005

Tutorial: Linux Plug-and-Play HOWTO

Up
vote
Down

Help in understanding plug-and-play under Linux.
While the Linux kernel has no centralized plug-and-play system, it does provide programs which various device drivers can use to do their own plug-and-play. Many drivers take advantage of this and find your PnP devices OK. The BIOS hardware of your PC likely may also do some plug-and-play work. Thus if everything works OK PnP-wise, you can use your computer without needing to know anything about plug-and-play. But if some devices which are supported by Linux don't work (because they not discovered or configured correctly by PnP) then you may need to read some of this HOWTO. You'll learn not only about PnP but also something about how communication takes place inside the computer.
read more...
mail this link | permapage | score:7701 | -Ray, April 30, 2001 (Updated: November 15, 2003)

Tutorial: Linux Partition HOWTO

Up
vote
Down

This step-by-step guide will have you slicing and dicing your disk drive.
This Linux Mini-HOWTO teaches you how to plan and create partitions on IDE and SCSI hard drives. It discusses partitioning terminology and considers size and location issues. Use of the fdisk partitioning utility for creating and recovering of partition tables is covered.
read more...
permapage | score:7677 | -Ray, April 16, 2001 (Updated: June 8, 2003)

Tutorial: GRUB in Debian HOWTO, Version 1.0

Up
vote
Down

A little lesson in bootloaders.
Why use GRUB instead of LILO? Well, if you're reading this HOWTO, you're likely to already have your reasons for switching. But to give a couple quick reasons, you only install GRUB in your MBR once, it doesn't need to be reinstalled each kernel change like LILO, and you can also edit the boot entries, etc. from GRUB itself without having to boot first and change the config file. These are just some of my reasons, you can find more for yourself - but how do you set it up the Debian way? This HOWTO will show you how to install the GRUB bootloader, configure it, create GRUB boot floppies and keep your GRUB configuration up to date with your latest installed kernels easily.
read more...
mail this link | permapage | score:7651 | -Ray, October 24, 2002 (Updated: October 19, 2004)

Tutorial: Howto blindly install Linux for PS2

Up
vote
Down

When I was a kid we had to toggle Linux into memory with two sticks... And we liked it!
This document describes how to install Linux (for PlayStation 2) when for a reason or another you can't setup the kit to work with your monitor. In most cases, the problem is that your monitor does not support Sync On Green and you want to set up your kit to work on a TV. Unfortunatly, it means that you will have install Linux (for PlayStation 2) /blindly/, and hope that everything went alright.

This document can also help you if your monitor supports Sync On Green but you need directions to install Linux (for PlayStation 2).
read more...
mail this link | permapage | score:7566 | -Ray, December 5, 2001 (Updated: June 14, 2003)

Tutorial: Chkrootkit Portsentry Howto

Up
vote
Down

A little help in scanning your system for rootkits...
This document describes how to install chkrootkit and portsentry. It should work (maybe with slight changes concerning paths etc.) on all *nix operating systems.

Chkrootkit "is a tool to locally check for signs of a rootkit" (from http://www.chkrootkit.org).

"The Sentry tools provide host-level security services for the Unix platform. PortSentry, Logcheck/LogSentry, and HostSentry protect against portscans, automate log file auditing, and detect suspicious login activity on a continuous basis"...
read more...
mail this link | permapage | score:7557 | -Ray, March 19, 2004

Tutorial: The Linux virus writing and detection HOWTO

Up
vote
Down

An interesting tutorial and explanation of virus writing, techniques, and detection.
This document describes how to write parasitic file viruses infecting ELF executables on Linux/i386. Though it contains a lot of source code, no actual virus is included.

[ . . . ]

Writing a program that inserts code into another program file is one thing. Writing that program so that it can be injected itself is a very different art. Although this document shows a lot of code and technique, it is far from being a "Construction Kit For Dummies". Instead I'll try to show how things work. Translation of infecting code to assembly is left as a (non-trivial) exercise to the reader.

An astonishing number of people think that viruses require secret black magic. Here you will find simple code that patches other executables. But since regular users can't overwrite system files (we are talking about serious operating systems here) that is not even half the journey.
read more...
mail this link | permapage | score:7543 | -Ray, March 16, 2002 (Updated: February 11, 2004)

Howto: Bluetooth PAND (Personal Area Network) on Debian Linux

Up
vote
Down

I wanted to access the internet over bluetooth instead of GPRS/3G network from my mobile phone (SE K800i). After a lot of searching I couldn't find a clear explanation as how to accomplish this. I did manage to set it up with Windows XP, using the "Personal Area Network" in the bluetooth utility and doing internet connection sharing. After another fruitless search, I managed to figure out how to make a bluetooth internet profile instead of GPRS or 3G on the phone. Since I work in Linux most of the time, I decided to have a go and do it with Debian, my workstation's main OS. After spending a few hours, I had it working using the steps below. read more...
mail this link | permapage | score:7539 | -falko, March 27, 2007

Tutorial: PC/104 Linux Minicluster HowTo

Up
vote
Down

A tower of Linux power.
"PC/104 (IEEE P996.1) was developed to fill the need for an embedded platform, which was compliant with standardized hardware and software of the PC architecture. Mechanically quite different from the PC form factor, PC/104 modules are 3.6 X 3.8 inches in size. A self-stacking bus is implemented with pin-and-socket connectors composed of 64- and 40-contact male/female headers, which replace the card edge connectors used in standard PC hardware. Virtually anything that is available for a standard PC is available in the PC/104 form factor. PC/104 components are designed to be stacked together to create a complete embedded solution. Normally there will be a single CPU board and several peripheral boards connected by the PC/104 (ISA) system bus."
read more...
mail this link | permapage | score:7470 | -Ray, May 7, 2002

Tutorial: Apache Virtual Hosting HOWTO

Up
vote
Down

One IP address and many domains to serve?
Apache has their own support for virtual domains. This is the only program I recommend using the internal virtual domain mechanism. When you run something through inetd there is a cost, the program has to start up each time you run it. This results in slower response time, which is perfectly fine for most services but is completely unacceptable for web service. Apache also has a mechanism for stopping connections when too many come in, which can be critical for even medium volume sites.
read more...
mail this link | permapage | score:7349 | -Ray, November 17, 2002 (Updated: October 9, 2004)
More articles...
Buy Art Online with Satisfaction Guaranteed

Selected articles

VPS: Xen vs. OpenVZ

Why Programmers are not Software Engineers

Programming Language Tradeoffs: 3GL vs 4GL

Shadow.sh: A simple directory shadowing script for Linux

Microsoft to push unlicensed users to Linux

Why software sucks

Apple DIY Repair

Closed Source Linux Distribution Launched

Space Tyrant: A threaded game server project in C

Download: Linux 3D Client for Starship Traders

Space Tyrant: A threaded C game project: First Code

Missing the point of the Mac Mini

Tutorial: Introduction to Linux files

The life cycle of a programmer

How to install Ubuntu Linux on the decTOP SFF computer

Scripting: A parallel Linux backup script

Graffiti Server Download Page

The Real Microsoft Monopoly

The Network Computer: An opportunity for Linux

Apple to Intel move no threat to Linux

Beneficial Computer Viruses

The Supreme Court is wrong on Copyright Case

Linux dominates Windows

Testing the Digital Ocean $5 Cloud Servers with an MMORPG

Librenix T-Shirts and Coffee Mugs!

Space Tyrant: Multithreading lessons learned on SMP hardware

No, RMS, Linux is not GNU/Linux

Linux vs. Windows: Why Linux will win

The short life and hard times of a Linux virus

MiniLesson: An introduction to Linux in ten commands

Hacker Haiku

Mono-culture and the .NETwork effect

Space Tyrant: A multiplayer network game for Linux

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

 
Articles are owned by their authors.   © 2000-2012 Ray Yeargin