Posted by myatu

Quick Debian/Ubuntu networking tips

on October 20, 2009 in Linux with 5 comments by

Like anyone else, at times I forget how to do certain things when it comes to networking.

Here are a few reminders / tips specific to Debian and Ubuntu.

read more →

A little silence doesn’t hurt

on September 16, 2009 in Personal with 2 comments by

Well, I haven’t posted in about a week and that’s because I’ve been spending a lot of time on a little project.

Someone on the OVH forums made mention of using Amazon’s S3 services for external storage and he’s using  s3fs for this purpose.

Interested, I took a peek at this project and was immediately taken back by the lack of >5 GB file support. I have files that cover 10x that size. So what do you do in this case? Fix it! read more →

Compiling NginX on Debian / Ubuntu

on September 7, 2009 in Linux with 3 comments by

I really like the efficiency and simplicity of the NginX web server (pron.: “Engine X”). In one of my previous blurbs, “NginX and Apache, but no memcached”, I gave some numbers on how well it performed on a no-frills server.

For Debian and Ubuntu users installing NginX couldn’t be easier. Simply issue the command  apt-get install nginx command and do some basic configuration.

However, the version availble in the Debian and Ubuntu’s package repositories has not been compiled with IPv6 support. If you need this, or if you prefer to use bleeding-edge technology, then compiling NginX is the solution. read more →

NginX and Apache, but no memcached

on August 31, 2009 in Linux with 7 comments by

I’ve been reading a few other blogs about how some people have implemented NginX as an accelerator for their Apache-based websites.

NginX outperforms Apache on small- to mid-range servers when it comes to static file handling, particularly because it is event driven.

The downside of NginX is that PHP can only be used with FastCGI. In general, most how-to’s explain how to implement PHP FastCGI with NginX using TCP. This is adding extra overhead and slows PHP to a crawl. A better solution is to use the UNIX sockets instead, which is explained well in Till’s blog.

But even using UNIX sockets, the PHP FastCGI and NginX combination is not as fast as Apache can handle PHP requests. For this reason, NginX can act as a great accelerator for static files while Apache deals with all the PHP requests. Even with the extra TCP overhead between NginX and Apache, this makes for quite a speedy combination.

Thinking logically, some people figured that loading static files from RAM memory instead of the harddrive must make things even faster. But that really depends… read more →

Guide: Firewall and router with Proxmox

on August 31, 2009 in Linux with 48 comments by

Firewall and router with ProxmoxBy default Proxmox does not come with a firewall, which may leave it and your virtual servers exposed to the elements of the Internet.

An additional issue arises when a hosting provider blocks servers if unauthorized MAC addresses are detected. As Proxmox’s bridged network creates and exposes MAC addresses for its virtual network interfaces, this may cause your server to be blocked from the hosting provider’s network.

To combat both this article will describe how to create your own virtual network with firewall protection using Shorewall, a popular and effective firewall / router software package.

read more →

X server with sound inside an OpenVZ / Proxmox container

on August 24, 2009 in Linux with 3 comments by

Generally when using X-based applications inside an OpenVZ or Proxmox container, the host node will run the X server and the container will use X forwarding through SSH to run the application. An article at the Open VZ Wiki explains this in more detail.

However, I wanted to have an X server inside the container itself. Moreover, it should also have support for sound (ALSA). The reason behind this is to have a container capable of running FreeSWITCH (a high performance VoIP switch similar to Asterisk) with the Skypiax trunk (for Skype connectivity) fully independent.

There are various methods of implementing the X server inside an OpenVZ or Proxmox container, especially if no direct video output is required. However, there is very little information available on how to enable sound inside an OpenVZ or Proxmox container. This article will explain how to do this. read more →

Guide: Installing OpenSolaris on a remote dedicated server

on August 24, 2009 in Linux with 6 comments by

There was an article at the OVH Wiki that outlined how to install OpenSolaris on a dedicated server with the help of Linux and Xen. This article is of special interest to those who have a dedicated server at a hosting company, but do not have the option to install anything but a Linux distribution.

Unfortunately, that particular article attracted a number of Wiki spammers and it disappeared in a sea of links to unscrupulous websites. I am reviving that article here, for those interested.

read more →

Finally up and running!

on August 23, 2009 in Personal with 2 comments by

Well, I’ve finally managed to get my personal website back up and running. I really haven’t had the time to do this until recently, and I wanted to do it right.

It’s based off WordPress this time, instead of my previous Joomla. An entire CMS was a bit too heavy for the occasional articles I write, but it certainly was a good experience!

The “monochrome” used has been created by mono-lab. Being the usual me, I have modified it quite a lot to fit my personal taste and the added widgets and other gadgetry hidden inside this website.

For instance, take a look at your right. In fact, why not click the “Translate this” link right now and see what happens. This nifty little trick will translate a web pages in-situ. Obviously, it is not done by a human translator so you will certainly encounter some quirky translations. Nevertheless, it can still help those who do not read English very well (and that’s not to be offensive!).

I’ll provide some more details on how I implemented this plugin from Transposh in a non-widget style with WordPress in another article. For now, I just want to get this first post out of the… yeah, what really? Door?

For those who know the inside joke: “Champagne?”

Page 6 of 6« First...«23456