Go back to fronty page View most popular entries View latest additions Submit tutorials to UnixTutorials.info
UnixTutorials logo

Search results for Benchmarking BSD and Linux

Debian Building A Virtual Server (VPS) With Debian 3.1 (Sarge) And OpenVZ
Post date: March 20, 2006, 15:03 Category: System Views: 36
Tutorial quote: In this HowTo I will describe the steps to be taken to prepare a server for OpenVZ virtual machines on Debian 3.1 (Sarge) 32Bit Linux. With OpenVZ you can create multiple Virtual Private Servers (VPS) on the same hardware, similar to Xen and the Linux Vserver project. OpenVZ is the open-source branch of Virtuozzo, a commercial virtualization solution used by many providers that offer virtual servers. The OpenVZ kernal patch is licensed under the GPL license, and the user-level tools are under the QPL license.
Linux Building a Linux virtual server
Post date: June 9, 2005, 10:06 Category: Software Views: 118
Tutorial quote: With the explosive growth of the Internet, the workload on servers providing Web, email, and media services has increased greatly. More and more sites are being challenged to keep up with the growing demands and are employing several techniques to avoid overloading their servers. Building a scalable server on a cluster of computers is one of the solutions that is being effectively put to use. With such a cluster, the increasing requests can be easily managed by simply adding one or more new servers to the existing cluster as required. In this article we will look at setting up one such scalable, network load-balancing server cluster using a virtual server via the Linux Virtual Server Project.
Unix+clones Easy Automated Snapshot-Style Backups with Linux and Rsync
Post date: January 31, 2006, 19:01 Category: Software Views: 27
Tutorial quote: This document describes a method for generating automatic rotating "snapshot"-style backups on a Unix-based system, with specific examples drawn from the author's GNU/Linux experience. Snapshot backups are a feature of some high-end industrial file servers; they create the illusion of multiple, full backups per day without the space or processing overhead. All of the snapshots are read-only, and are accessible directly by users as special system directories. It is often possible to store several hours, days, and even weeks' worth of snapshots with slightly more than 2x storage. This method, while not as space-efficient as some of the proprietary technologies (which, using special copy-on-write filesystems, can operate on slightly more than 1x storage), makes use of only standard file utilities and the common rsync program, which is installed by default on most Linux distributions. Properly configured, the method can also protect against hard disk failure, root compromises, or even back up a network of heterogeneous desktops automatically.
Linux The PartImage Handbook
Post date: May 21, 2005, 11:05 Category: Software Views: 43
Tutorial quote: - Partition Image is a Linux/UNIX partition imaging utility: it saves partitions formatted using the Ext2FS (the linux standard), ReiserFS (a new journaled and powerful file system), JFS IBM journaled file systems from AIX, NTFS (Windows NT File System), FAT16/32 (DOS & Windows file systems), or HPFS (OS/2 file system) file system formats to an image file. Only used blocks are copied. The image file can be compressed in the GZIP/BZIP2 formats to save disk space, and split into multiple files to be copied on removable media (ZIP for example), or burned on a CD-R ...

- This allows the user to save a full Linux/Windows system, with a single operation. When problems occur (viruses, crash, error, ...), you just have to restore, and after several minutes, all your system is restored (boot, files, ...), and fully working.

- This is very useful when installing the same software on many machines: just install one of them, create an image, and then restore the image on all other machines. After the first one, each subsequent installation can be made automaticaly, and only requires a few minutes.
Linux Three tools to help you configure iptables
Post date: May 25, 2005, 10:05 Category: Network Views: 90
Tutorial quote: Every user whose client connects to the Internet should configure his firewall immediately after installation. Some Linux distributions include firewall configuration as a part of installation, often offering a set of defaults configurations to choose from. However, to ensure that your machine presents the minimum "attack surface" (a measure of the number of vulnerable ports, user accounts, and sockets exposed to attack) to the predatory inhabitants of the Internet, you may need to do some manual configuration of your firewall. Here are three tools that can help.
The Linux kernel (version 2.4 onwards) contains a framework for packet filtering and firewalling using netfilter and iptables. Netfilter is a set of hooks inside the Linux kernel that allows kernel modules to register callback functions with the network stack. Iptables is a generic table structure for the definition of rulesets. Each rule within an IP table consists of a number of classifiers (iptables matches) and one connected action (iptables target). Iptables has extensive documentation that can be accessed online or by typing man iptables at the command line. Yet despite the depth of the documentation available for iptables, its complexity can be baffling.
SuSe Setting up yum on SUSE LINUX 10.0
Post date: October 16, 2005, 12:10 Category: System Views: 219
Tutorial quote: Why should I use yum and not yast? Well, yast is nice, but has some disadvantages: It can#t check for gpg keys, you have to trust the mirrors you add. And, speaking about mirrors, yast has no real mirror management for one source. Especially in these times the most and best known SUSE mirrors are very slow or just closed down, so you have to add other sources in yast. But yast needs your clicks when a mirror is not reachable, and if you enter several sources just as mirrors, it checks every single source - that takes quite a long time!
A last reason (which is not important know because SUSE LINUX has a ugly workaround) is that yast is not able to handle packages for different architectures - it can only install packages for one architecture.
Linux NFS over CIPE-VPN tunnels
Post date: May 23, 2005, 12:05 Category: Network Views: 60
Tutorial quote: The Network File System (NFS) is a standard protocol for sharing file services with Linux and Unix computers. It is a distributed file system that enables local access to remote disks and file systems and is based on the client\server architecture. Although easy to configure, it is typically used only to transfer data over an intranet or LAN because of its transparency and security potholes when exposed to the risks of the Internet. However, it still can be employed -- without compromising security -- to share files over the Internet by configuring it to run on a Virtual Private Network (VPN) connection. This article will show you how to set up NFS to run over a CIPE-VPN connection between two Linux systems.
Debian Boot Debian from an external firewire drive on PowerPc Mac
Post date: December 14, 2005, 14:12 Category: Installing Views: 83
Tutorial quote: Messing with a boot process is a delicate matter even on a Mac. Note that the Debian installer will fail at some point during the procedure.
I offer no warranty and assume no responsibility for whatever loss or damage might be caused to your hardware, software or data.
There are other ways to boot Linux from an external firewire drive documented elsewhere on the net. See the Resources section.

Adding or removing peripherals like usb keys, digital cameras, other external HDs, cdroms etc, or installing/removing devfs, udev, and similar stuff might alter the way Linux sees the firewire drive, i suggest becoming familiar with supplying boot options to yaboot during the boot process. See Man pages of yaboot and yaboot.conf.
Unix+clones Execute Commands on Multiple Linux or UNIX Servers part II
Post date: December 28, 2005, 05:12 Category: System Views: 51
Tutorial quote: I have already covered how to execute commands on multiple Linux or UNIX servers via shell script. The disadvantage of script is commands do not run in parallel on all servers. However, several tools exist to automate this procedure in parallel. With the help of tool called tentakel, you run distributed command execution. It is a program for executing the same command on many hosts in parallel using ssh (it supports other methods too). Main advantage is you can create several sets of servers according requirements. For example webserver group, mail server group, home servers group etc. The command is executed in parallel on all servers in this group (time saving). By default, every result is printed to stdout (screen). The output format can be defined for each group.
Linux Sawing Linux Logs with Simple Tools
Post date: April 14, 2005, 08:04 Category: Security Views: 37
Tutorial quote: So there you are with all of your Linux servers humming along happily. You have tested, tweaked, and configured until they are performing at their peak of perfection. Users are hardly whining at all. Life is good. You may relax and indulge in some nice, relaxing rounds of TuxKart. After all, you earned it.

Except for one little remaining chore: monitoring your log files. [insert horrible alarming music of your choice here.] You're conscientious, so you know you can't just ignore the logs until there's a problem, especially for public services like Web and mail. Somewhere up in the pointy-haired suites, they may even be plotting to require you to track and analyze all sorts of server statistics.

Not to worry, for there are many ways to implement data reduction, which is what log parsing is all about. You want to slice and dice your logs to present only the data you're interested in viewing. Unless you wish to devote your entire life to manually analyzing log files. Even if you only pay attention to logfiles when you're debugging a problem, having some tools to weed out the noise is helpful.