Compdigitec Labs

Linux

Correcting IP address of PHP behind a reverse proxy

Sunday, November 14th, 2010

As described in our previous post, normally the PHP REMOTE_HOST variable only appears as the address of the trusted proxy server. As was also described in the past, this messes up all of the PHP scripts not explicitly designed to work with REMOTE_HOST. But now we have a solution for this – the apache mod_rpaf. […]

Connecting to a network Samba PDF converter

Thursday, September 30th, 2010

The Samba team does not supply any existing PDF drivers for connecting Windows machines to networked PDF converters such as cups-pdf. As a result, the technique to print to the PDF “printer” involves using the drivers for the built-in Windows HP LaserJet. Here is a step-by-step method to print to PDF from your Windows computer. […]

Solving the infinite GRUB loop (GRUB GRUB GRUB GRUB GRUB) problem

Monday, August 30th, 2010

Sometimes, especially after changes to the hard drive or changes to partitioning, you will find that your Linux computer would no longer boot, but instead fill the screen up with GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB GRUB, etc infinitely without giving the boot menu, and the only way to exit out would have […]

Setting up a HTTP Gateway on Ubuntu 10.04

Wednesday, August 11th, 2010

An HTTP gateway is one of the ways that one can host multiple sites using only one external IP. The way that it works is that the user requests the page from the gateway and specifies which host was requested. The gateway server then forwards the request to the appropriate web server, which then returns […]

Setting up a Subversion server using Apache on Ubuntu

Monday, August 9th, 2010

Subversion is an excellent open-source solution for keeping track of the different versions while developing software. Here, we will see how to set up a subversion server on an Ubuntu 10.04 LTS Server to provide programmers with the ability to use Subversion. Prerequisities Apache 2 should have already been installed and configured with SSL – […]

Updated Roadsend PHP Compiler 2.9.8 packages

Wednesday, July 21st, 2010

Due to the vast interest in our previous binary package of Roadsend PHP, we have decided to compile a newer, updated version of the Roadsend PHP compiler (v2.9.8). However, due to previous flaws in the way that we compiled the previous PHP compile, many of our readers struggled or were entirely unable to get the […]

How to add entries by UUID to /etc/fstab

Wednesday, June 30th, 2010

Normally in Linux, one would be able to add entries to the /etc/fstab file by using the standard /dev/xdx notation. However, what happens when we add or remove some partitions and hard disks? In this case, it would completely throw off the entries resulting in you not being able to access your partition. As a […]

Fixing “Write Error – the file could not be written” error in OpenOffice.org on Ubuntu

Thursday, May 6th, 2010

In OpenOffice.org on Ubuntu by default, the package openoffice.org-java-common is not installed. As a result, when you try to save using some filters in OpenOffice.org that require the Java Runtime, you may experience the error as a result. To fix, this install the package openoffice.org-java-common: This should fix the error, however you must restart OpenOffice.org […]

How to enable symlink following in Samba

Tuesday, March 30th, 2010

After a recent samba update, it appears that the Samba team has decided to set their default for the “unix extensions” to yes after an update. Unfortunately, even though this means that Unix clients will now be able to create symlinks on smbfs-mounted file system, it still means that some Unix clients who wish to […]

How to force a CD/DVD drive to eject in Linux

Saturday, March 20th, 2010

Usually, the CD drive in Linux is pretty permissive just like in Windows, where one can eject and insert discs at any time. However, sometimes some random bugs in various application show up when you eject a disk while reading, and the operating system no longer honours any requests to eject (e.g. pressing the eject […]

« Previous Entries Next Entries »