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

Tutorial: Automatically add a disclaimer to emails with alterMIME (Postfix on Debian 6)

Up
vote
Down

This tutorial shows how to install and use alterMIME. alterMIME is a tool that can automatically add a disclaimer to emails. In this article I will explain how to install it as a Postfix filter on Debian Squeeze. read more...
permapage | score:9639 | -falko, January 18, 2013

Set up Oneiric PVHVM at Xen 4.1.2 Ubuntu 11.10 Dom0

Up
vote
Down

This post is sample of utilizing optimized paravirtualized PVHVM drivers (also called PV-on-HVM drivers) with Xen fully virtualized HVM guests running Ubuntu 3.1 kernels at Xen 4.1.2 Dom0. Xen PVHVM drivers completely bypass the Qemu emulation and provide much faster disk- and network IO performance. First thing I had to do it was rebuild the recent Ubuntu kernel for precise Ubuntu-3.1.0-3 with CONFIG_XEN_PLATFORM_PCI=y. As result following debian packages gets created. read more...
permapage | score:9609 | -Boris Derzhavets, November 3, 2011

Build a Mail Server on CentOS 6 with Postfix, Dovecot, PostgreSQL

Up
vote
Down

We're going to set up a free, full-featured mail server on CentOS 6.2, all mail service related components are free and open source, and you have control over your own data. The installation process is extremly easy and smooth. read more...
permapage | score:9609 | -falko, April 29, 2012

Tutorial: Running CS-Cart on Nginx on Debian 7/Ubuntu 13.04

Up
vote
Down

This tutorial shows how you can install and run CS-Cart on a Debian Wheezy or Ubuntu 13.04 system that has nginx installed instead of Apache (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). nginx is a HTTP server that uses much less resources than Apache and delivers pages a lot of faster, especially static files. read more...
permapage | score:9597 | -falko, August 21, 2013

Tutorial: Fedora 19 Samba server with tdbsam

Up
vote
Down

This tutorial explains the installation of a Samba fileserver on Fedora 19 and how to configure it to share files over the SMB protocol as well as how to add users. Samba is configured as a standalone server, not as a domain controller. In the resulting setup, every user has his own home directory accessible via the SMB protocol and all users have a shared directory with read-/write access. read more...
permapage | score:9597 | -falko, August 11, 2013

Installing Nginx, PHP5, PHP-FPM, MySQL on Debian 7

Up
vote
Down

Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on a Debian Wheezy server with PHP5 support (through PHP-FPM) and MySQL support (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). read more...
permapage | score:9588 | -falko, June 3, 2013

Lynis: Security and system auditing tool

Up
vote
Down

Lynis is an auditing tool for Unix (specialists). It scans the system and available software, to detect security issues. Beside security related information it will also scan for general system information, installed packages and configuration mistakes.This software aims in assisting automated auditing, software patch management, vulnerability and malware scanning of Unix based systems. It can be run without prior installation, so inclusion on read only storage is no problem (USB stick, cd/dvd). read more...
mail this link | permapage | score:9512 | -gg234, April 30, 2013

Tutorial: Ubuntu Jeos 12.04 LTS Spam Filter Gateway Server

Up
vote
Down

This tutorial shows how to set up an Ubuntu Jeos based server as a spamfilter in gateway mode. In the end, you will have a SpamSnake Gateway which will relay clean emails to your MTA. You will also be able to view your incoming queue, train your SpamSnake and carry out a few more advanced operations via Baruwa. read more...
permapage | score:9509 | -falko, December 23, 2012

LEMP Tutorial: Install Nginx, PHP5, MySQL on Ubuntu 12.04 LTS

Up
vote
Down

Nginx (pronounced "engine x") is a free, open-source, high-performance HTTP server. Nginx is known for its stability, rich feature set, simple configuration, and low resource consumption. This tutorial shows how you can install Nginx on an Ubuntu 12.04 LTS server with PHP5 support (through PHP-FPM) and MySQL support (LEMP = Linux + nginx (pronounced "engine x") + MySQL + PHP). read more...
permapage | score:9507 | -falko, May 25, 2012

Tutorial: Replace Windows with Ubuntu 13.04

Up
vote
Down

This tutorial shows how you can set up an Ubuntu 13.04 desktop that is a full-fledged replacement for a Windows desktop, i.e. that has all the software that people need to do the things they do on their Windows desktops. The advantages are clear: you get a secure system without DRM restrictions that works even on old hardware, and the best thing is: all software comes free of charge. read more...
permapage | score:9493 | -falko, May 5, 2013

Debian 6, Squid, Kerberos/LDAP authentication, Active Directory integration, Cyfin Reporter

Up
vote
Down

This document covers setup of a Squid Proxy which will seamlessly integrate with Active Directory for authentication using Kerberos with LDAP as a backup for users not authenticated via Kerberos. Authorisation is managed by Groups in Active Directory. This is especially useful for Windows 7 clients which no longer support NTLMv2 without changing the local computer policy. It is capable of using white lists and black lists for site access and restrictions. read more...
permapage | score:9479 | -falko, June 17, 2011

How to install ajenti (like Webmin) on ubuntu 13.04 server

Up
vote
Down

Ajenti is a simple open source web based administration tool for managing ubuntu servers and this is similar to webmin.This is having nealy 35 plugins to monitor different servers (Including HTTP,DNS etc). read more...
permapage | score:9457 | -gg234, July 5, 2013

Using OpenVZ on Debian 7 (AMD64)

Up
vote
Down

In this HowTo I will describe how to prepare a Debian Wheezy server for OpenVZ. 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 kernel patch is licensed under the GPL license, and the user-level tools are under the QPL license. read more...
permapage | score:9448 | -falko, June 7, 2013

Tutorial: Install a Streaming Audio Server with Icecast 2.3.3 on CentOS 6.3 x86_64 Linux

Up
vote
Down

This tutorial explains creating your own streaming audio server with Icecast (OGG/MP3). Icecast was designed to stream any audio file if a appropiate streaming client is available. For OGG/Vorbis you can use ices and for MP3 icegenerator. Here is a small tutorial how to set up Icecast for streaming OGG/Vorbis and MP3. read more...
permapage | score:9440 | -falko, January 16, 2013

Install ASSP on Ubuntu / Debian

Up
vote
Down

This How-To document guides you through installing ASSP (Anti-Spam SMTP Proxy) on an Ubuntu 10.04 (LTS) Server or Debian 5.0 in the simplest way possible. It *may* work on later versions but I have no way of knowing how these instructions will work for you. Installing Ubuntu/Debian is beyond the scope of this document and it is assumed you already have the core Ubuntu/Debian OS with no predefined software collections installed. read more...
permapage | score:9433 | -falko, April 1, 2011

ATA over Ethernet (AoE) (Ubuntu 12.04)

Up
vote
Down

This guide explains how you can set up an AoE target and an AoE initiator (client), both running Ubuntu 12.04. AoE stands for "ATA over Ethernet" and is a storage area network (SAN) protocol which allows AoE initiators to use storage devices on the (remote) AoE target using normal ethernet cabling. "Remote" in this case means "inside the same LAN" because AoE is not routable outside a LAN (this is a major difference compared to iSCSI). To the AoE initiator, the remote storage looks like a normal, locally-attached hard drive. read more...
mail this link | permapage | score:9420 | -falko, October 19, 2012

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:9417 | -nixcraft, November 21, 2012

Apple DIY Repair

Up
vote
Down

I won't be buying any more Apple products. Here's why:

I'm generally capable of repairing my own equipment and can recognize when self-repair has been deliberately undermined. I recently had to replace a hard drive in an early generation white Intel iMac. Innocently, I believed the interior was accessible and serviceable in the manner of the externally identical white PowerPC iMacs.

No such luck. Not only do you have to remove the LCD to get to the hard drive, but you must also remove shielding around the LCD -- mostly by tearing it to bits. No doubt it is attached this way so that an authorized Apple technician will be able to confidently void your warranty if you've ever worked on the system yourself.

You'll also need a #10 torx magnetic screwdriver. And, no, #10 torx bits just won't do due to the narrow and deeply recessed screw holes. Also, since most torx screwdrivers aren't magnetic, you'll probably need to tape the screws to the screwdriver to reattach the LCD. Good thing there's a hardware store near you.

Oh, and don't forget to pick up some rubber cement to 'properly' reattach the hard drive temperature sensor while you're out looking for magnetic torx screwdrivers.

Considering the logical design of its predecessor and the tamper-evident shielding, I'm certain that this machine has been deliberately designed to prevent the owner from performing DIY upgrades and repairs.

While that is all quite annoying, at least working on the system is possible for someone with experience and determination.

Now, Apple has improved their anti-customer techniques with the 'Pentalobe' screw. It doesn't solve any problem but one: it'll keep customers from even being able to open the case.

If you're curious about Apple's evil new invention, you can read its rap sheet and view its mug shot here.
mail this link | permapage | score:9411 | -Ray, January 25, 2011

Tutorial: Install Tomcat 7 on Ubuntu 11.04

Up
vote
Down

A step-by-step tutorial outlining how to install Tomcat 7 on the Ubuntu 11.04 server.
Apache Tomcat uses the Java Servlet and JavaServer Pages technologies. Java Servlet uses Java to extend the functionality of a web server. JavaServer Pages (JSP) provides a fast way to create a dynamic website.Tomcat 7

Because tomcat is written in Java you will need to have an up to date Java runtime installed before you can actually run tomcat.
read more...
permapage | score:9408 | -aweber, August 5, 2011

VPS: Xen vs. OpenVZ

Up
vote
Down

This is a short overview of the key differences between OpenVZ and Xen that you might consider when choosing a VPS. Note that this article is based on my opinions and that you must do your own research to determine which, if either, technology is best for you and your application.

First, some terminology. OpenVZ isn't fully virtualized and could be more properly referred to as a 'container', not a VPS. That shouldn't affect your choice. It's the technical differences that matter.

Cheap VPS offers are everywhere lately, it seems. However, upon closer inspection I saw that almost all of the low-priced offers were for OpenVZ. While both Xen and OpenVZ offer their advantages, I chose Xen. So, there's my first bias, right up front. :)

OpenVZ advantages:

  • Efficient (fast)
OpenVZ disadvantages:
  • Shared kernel (no custom kernel)
  • Shared memory with other users
  • Vendor can easily oversell, killing performance
Xen advantages:
  • Dedicated memory
  • fully virtualized (can run other kernels or even OS's)
  • vendor more limited in overselling
Xen disadvantages
  • Less efficient (more overhead due to a kernel-per-VPS)

You'll notice I left price out of the above comparison. In theory, there should be a small price advantage for OpenVZ. I don't know how big it should be but it pertains to two things: 1) Xen uses more memory due to each VPS having its own kernel, and 2) Xen uses more CPU, also due to the additional software layer required to virtualize the kernel.

In practice, however, the price gap appears larger than the above technical differences suggest it should be. I think the remainder of OpenVZ's price advantage is based on 1) the ability for a vendor to easily oversell OpenVZ, and 2) The price competition that results from some vendors overselling OpenVZ.

OpenVZ doesn't encapsulate its containers into a fixed amount of memory, so it runs processes in the host environment to monitor memory usage and kill processes as a container allocates more than its assigned amount.

As a result of this difference, loading down an OpenVZ container is problematic. To partially offset this disadvantage, most OpenVZ vendors offer 'burst' memory in addition to 'dedicated' memory. That is, the monitor process is set to allow the container to use more than its allocated memory -- for a short period of time. This messy situation results in a potentially unreliable environment as some of your processes may be arbitrarily killed -- at the busiest times.

Xen, on the other hand, allows the use of a swap space and excess memory allocation results in (hopefully) idle segments being rolled out to the swap area. While this is good for the memory-hungry VPS user, it can consume significant I/O capacity when memory is overallocated to the point of busy segments getting swapped out. This is bad for everyone sharing the underlying hardware.

I see Xen as clearly the superior technology. A Xen VPS feels and behaves more like a dedicated server. However, I still would have purchased OpenVZ at some price difference. After a bit of research, however, I located Xen VPS's at practically the same price as the cheapest OpenVZ containers. That made my decision easy.

With that said, keep in mind that a bad hosting vendor can ruin either technology through various means. Both technologies share the disk drives and I/O paths as well as the processor cores. Hardware can be poorly configured and managed in any case. A reputable vendor is probably the single most important consideration in choosing a virtual server.

Lastly, carefully check the 'allowed use' policy. Make sure your application is allowed on the server you intend to purchase. Note that due to their different characteristics, the allowed use policy may differ between OpenVZ and Xen for the same host. Also, it's good to understand the memory usage characteristics of your applications. If you know how much memory/swap they require on a physical system, it'll probably work with that same amount of memory/swap on Xen.

[I'll post a review shortly of my current VPS vendor and I will then add a link to that article here.]

mail this link | permapage | score:9388 | -Ray, June 13, 2011
More admin articles...
Tallahassee Abstract Art

admin headlines

Server monitoring with Icinga (Debian 6)

Tutorial: Build an OpenSUSE 12.2 x86_64 Server

Migrate Mailboxes between IMAP Servers with imapcopy

Server Monitoring With munin And monit On Debian Wheezy

Installing FreeIPA with Replication

Install attempt: Xen-Unstable Dom0 via 2.6.29-rc3 pv_ops kernel on Intel SATA(AHCI)

Linux Hard Disk Encryption Tutorial

How to install Ubuntu Linux on the decTOP SFF computer

Install Alfresco 3.4.d, Tomcat, PostgreSQL on Fedora 15

Tutorial: An NFS-like GlusterFS storage server on CentOS 6.3

Howto: Unity with Dodge Windows behavior in Ubuntu 12.04

Mass Enrolling of Yubikey with LinOTP

Set up a PostgreSQL cluster with Pacemaker, Corosync, DRBD (CentOS 5.5)

Tutorial: Install Honeyd 1.5c, Arpd 0.2 (CentOS 5)

QEMU-KVM 1.0 patching for USB Redirection on Ubuntu 12.04

GlusterFS 3.2.x Tutorial: High-Availability Replicated Storage on Ubuntu 11.10

Openfiler 2.3 cluster with offsite replication

System monitoring: Icinga, Nagios, and Opsview

Install Apache2, PHP5, MySQL on CentOS 5.6

HowTo: Connect two Wireless Routers

Tutorial: Install Cherokee, PHP5, MySQL on Ubuntu 12.04

Debian / Ubuntu: Block unwanted sites with SquidGuard Web Filter

Pygrub and loading Ubuntu 8.10 PV DomU via serial console at Xen 3.3 CentOS 5.2 Dom0

Using RoundCube Webmail on Debian 7

Tutorial: Install Lighttpd, PHP5, MySQL on CentOS 6.4

Tutorial: Install SugarCRM CE on Fedora 10

Virtual Hosting with PureFTPd, MySQL on CentOS 6.4

Tutorial: Build a CentOS 6.4 x86_64 Server

Tutorial: btrfs RAID1 with Ubuntu 12.10 on a Hetzner Server

Alternative operating systems

VirtualBox 4.2.10 released and ubuntu installation instructions included

Tutorial: Run Joomla 1.7 on Nginx on Debian 6, Ubuntu 11.10

Tutorial: PHP5-FPM with Apache2 on CentOS 6.3

Setup a chroot environment on Ubuntu with debootstrap

Tutorial: Build an Ubuntu 13.04 Server (Apache2, BIND, Dovecot)

MultiSystem: Live USB MultiBoot

Rsnapshot: Archive, Snapshot, Backup MySQL Databases on Debian

Tutorial: Build an Ubuntu 13.04 server

install GLPI (IT / asset Managemet Software) on Ubuntu 12.04 Server

Linux trickle: Bandwidth Throttling for Bash Shell

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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