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

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:9625 | -falko, May 5, 2013

Virtual Users/Domains with Postfix/Courier/MySQL/SquirrelMail (Debian 7)

Up
vote
Down

This document describes how to install a Postfix mail server that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I'll also demonstrate the installation and configuration of Courier, so that Courier can authenticate against the same MySQL database Postfix uses. The resulting Postfix server is capable of SMTP-AUTH and TLS and quota. Passwords are stored in encrypted form in the database. In addition to that, this tutorial covers the installation of Amavisd, SpamAssassin, ClamAV, and SquirrelMail. read more...
mail this link | permapage | score:9617 | -falko, July 8, 2013

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:9606 | -falko, January 18, 2013

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:9589 | -falko, October 19, 2012

Using Multiple PHP Versions (PHP-FPM FastCGI) With ISPConfig 3 (Ubuntu 12.04)

Up
vote
Down

Since ISPConfig 3.0.5, it is possible to use multiple PHP versions on one server and select the optimal PHP version for a website. This feature works with PHP-FPM (starting with PHP 5.3) and FastCGI (all PHP 5.x versions). This tutorial shows how to build PHP 5.3 and PHP 5.4 as a PHP-FPM and a FastCGI version on an Ubuntu 12.04 server. These PHP versions can be used together with the default PHP (installed through apt) in ISPConfig. read more...
permapage | score:9575 | -falko, March 30, 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:9557 | -falko, June 7, 2013

LAMP Tutorial: Apache2, PHP5, MySQL on Ubuntu 12.04 LTS

Up
vote
Down

LAMP is short for Linux, Apache, MySQL, PHP. This tutorial shows how you can install an Apache2 webserver on an Ubuntu 12.04 LTS server with PHP5 support (mod_php) and MySQL support. read more...
permapage | score:9553 | -falko, May 14, 2012

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:9540 | -falko, December 23, 2012

Server Monitoring With munin And monit On Debian Wheezy

Up
vote
Down

In this article I will describe how you can monitor your Debian Wheezy server with munin and monit. munin produces nifty little graphics about nearly every aspect of your server without much configuration, whereas monit checks the availability of services like Apache, MySQL, Postfix and takes the appropriate action such as a restart if it finds a service is not behaving as expected. The combination of the two gives you full monitoring: graphics that lets you recognize current or upcoming problems, and a watchdog that ensures the availability of the monitored services. read more...
mail this link | permapage | score:9532 | -falko, June 27, 2013

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

Up
vote
Down

This tutorial shows how you can install and run a Joomla 1.7 web site on a Debian Squeeze or Ubuntu 11.10 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:9503 | -falko, December 15, 2011

Server monitoring with Icinga (Debian 6)

Up
vote
Down

Icinga is an enterprise grade open source monitoring system which keeps watch over networks and any conceivable network resource, notifies the user of errors and recoveries and generates performance data for reporting. It is a fork of Nagios. This tutorial explains how to install Icinga on a Debian Squeeze server to monitor this server and another Debian Squeeze server. read more...
permapage | score:9500 | -falko, August 25, 2011

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:9493 | -falko, August 11, 2013

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:9493 | -falko, April 29, 2012

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:9478 | -Ray, June 13, 2011

Install MySQL 5.6, memcached on Ubuntu 12.10

Up
vote
Down

According to What's New in MySQL 5.6, MySQL 5.6 will bring some performance improvements over MySQL 5.5. If you want to test out MySQL 5.6, you have to install one of the development releases from the MySQL downloads page because there is no stable release yet. This tutorial explains how to install the MySQL 5.6.8rc1 (Linux Generic) development release on an Ubuntu 12.10 server. read more...
permapage | score:9453 | -falko, 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:9444 | -Ray, January 25, 2011

VirtualBox 4.2.10 released and ubuntu installation instructions included

Up
vote
Down

VirtualBox is a powerful x86 and AMD64/Intel64 virtualization product for enterprise as well as home use. Not only is VirtualBox an extremely feature rich, high performance product for enterprise customers, it is also the only professional solution that is freely available as Open Source Software under the terms of the GNU General Public License (GPL) version 2. read more...
permapage | score:9442 | -gg234, April 4, 2013

Tutorial: PrestaShop 1.5.x on Nginx (Debian 7/Ubuntu 12.10

Up
vote
Down

This tutorial shows how you can install and run a PrestaShop 1.5.x web site on a Debian Wheezy or Ubuntu 12.10 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:9430 | -falko, April 8, 2013

Tutorial: Install Postfix, Courier, MySQL, SquirrelMail on CentOS 6.2

Up
vote
Down

This document describes how to install a Postfix mail server that is based on virtual users and domains, i.e. users and domains that are in a MySQL database. I'll also demonstrate the installation and configuration of Courier, so that Courier can authenticate against the same MySQL database Postfix uses. The resulting Postfix server is capable of SMTP-AUTH and TLS and quota. Passwords are stored in encrypted form in the database. In addition to that, this tutorial covers the installation of Amavisd, SpamAssassin, ClamAV and SquirrelMail. read more...
mail this link | permapage | score:9413 | -falko, February 2, 2012

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:9396 | -gg234, July 5, 2013
More admin articles...
Abstract Art on stretched canvas

admin headlines

Installing OpenVZ on CentOS 5.7

Set up Qemu-Spice-Libvirt 0.9.6 USB Redirection on Ubuntu 11.10

Tutorial: Build an Ubuntu 13.04 server

Migrate Mailboxes between IMAP Servers with imapcopy

Setup a chroot environment on Ubuntu with debootstrap

QEMU-KVM 1.0 patching for USB Redirection on Ubuntu 12.04

Remote MySQL Monitoring

Tutorial: Set up a multi-distro PXE install server on Debian

Alternative operating systems

ssh: Use Linux as a SOCKS5 proxy

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

System monitoring: Icinga, Nagios, and Opsview

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

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

Tutorial: Installing Lighttpd, PHP5, PHP-FPM, MySQL on Debian 7

Web Filtering on Squid 3 with QuintoLabs Content Security 1.4 and Windows Active Directory Integration

Set up spice on Ubuntu 11.10 KVM Server

Linux Iptables Examples

Tutorial: Build an OpenSUSE 12.2 x86_64 Server

Tutorial: mod_spdy with Apache2 on OpenSUSE 12.2

Virtual Hosting with PureFTPd, MySQL on CentOS 6.4

Guide to SIEVE Language for Mail Filtering

Tutorial: Install Lighttpd, PHP5, and MySQL on Ubuntu 13.04

Tutorial: Build a CentOS 6.4 x86_64 Server

Configure DNSSEC on BIND9 on Debian 6, Ubuntu 11.10

ftp accounts in MySQL (Ubuntu 10.10)

Set up Oneiric PVHVM at Xen 4.1.2 Ubuntu 11.10 Dom0

Install Hyper-V Linux Integration Components on CentOS 5

Set up NFS on CentOS 6.3

VirtualBox 3.2 vs. VMWare Workstation 7.1

Debian / Ubuntu: Block unwanted sites with SquidGuard Web Filter

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

Broadcom 63xx support in OpenWrt, Linux-mips

Tutorial: Run Ubuntu 11.04 Unity 3D on virtualbox 4

iRedMail: Quickly configure a Mail Server with LDAP, Postfix, RoundCube / SquirrelMail on Ubuntu 8.04

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

Set up Ubuntu PV DomU via xen-image-create at Xen 3.3 Ubuntu Dom0 with Novell kernel 2.6.27

KVM Virtualization on CentOS 6.4

pfSense - Squid + Squidguard / Traffic Shaping Tutorial

Set up Qemu and Spice USB Redirection on Ubuntu 11.10

 

Firefox sidebar

Site map

Site info

News feed

Features

Login
(to post)

Search

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