Install Tight VNC Server on Ubuntu 9.04 Jaunty Jackalope
Previously I installed TightVNC server on Ubuntu 8.10 which I posted the tutorial here. Today I setup a new Virtual Private Server (VPS) with Ubuntu 9.04 installed (still haven’t got Ubuntu9.10 Xen template, so I didn’t install the latest version).
(Note: before you install TightVNC you have to install a window manager first, I use GNOME and the tutorial I wrote before is still working on Ubuntu 9.04, you can read it here)
Installing TinyProxy as Squid Proxy Server Alternative
Tinyproxy is a light-weight HTTP proxy daemon for POSIX operating systems. It is distributed using the GNU GPL license version 2 or above, so we can download it and install it on our Linux server freely.
Tinyproxy is a light-weight alternative for the well known Squid proxy server. It’s really memory efficient so it will run perfectly fine in small VPS (Virtual Private Server) and being used for several users. Several features of Tinyproxy are:
- Small footprint: Tinyproxy requires very little in the way of system resources. The memory footprint tends to be around 2 MB with glibc, and the CPU load increases linearly with the number of simultaneous connections (depending on the speed of the connection). Thus, Tinyproxy can be run on an older machine, or on a network appliance such as a Linux-based broadband router, without any noticeable impact on performance.
- Minimal requirements: Tinyproxy doesn't require anything more than a POSIX environment to build and operate. It can use additional libraries to add functionality though.
- Easily modified: If you're looking to build a custom web proxy, Tinyproxy is very easy to modify to your custom needs. The source is straightforward, adhering to the KISS principle. As such, it can be used as a foundation for anything you may need a web proxy to do.
- Anonymous mode: Allows you to specify which HTTP headers should be allowed through, and which should be blocked. This allows you to restrict both what data comes to your web browser from the HTTP server (eg., cookies), and to restrict what data is allowed through from your web browser to the HTTP server (eg., version information).
- Remote monitoring: Using the remote monitoring feature, you can access proxy statistics from afar, letting you know exactly how busy the proxy is.
- Load average monitoring: Tinyproxy can be configured to watch the load average on most platforms, and start refusing requests when the load reaches a certain point. You may recognize this feature from Sendmail.
- Access control: You can configure Tinyproxy to only allow requests from a certain subnet, or from a certain interface, thus allowing you to ensure that random, unauthorized people will not be using your proxy.
- Secure: With a bit of configuration (specifically, making the log file owned by nobody and running it on a port > 1024), Tinyproxy can be made to run without any special privileges, thus minimizing the chance of system compromise. Furthermore, it was designed with an eye towards preventing buffer overflows. The simplicity of the code ensures it remains easy to spot such bugs.
ClamAV 95.2 error while loading shared libraries
I installed ClamAV 95.2 on a server today, the installation went OK and no error is shown but when I tried to run virus scanning I got this error message:
clamscan: error while loading shared libraries: libclamav.so.6: cannot open shared object file: No such file or directory
to fix this problem I run this command:
ldconfig
and clamscan can work fine.
KillSwitch .Net Software Protection
As software developers we want to make sure our client do pay our works. Most of the time the payment for a project is split into several phases, in the beginning, in middle or testing phase and on end of the project or delivery, with the big percentage of payment is received on the end of the project.
Sometimes client are late on payment or even worst they doesn’t pay at all. What you can do if you already deliver the software and they have it working fine? Buying encryption software might be not a solution for a freelancer or small developer as they cost thousands of dollars.
HTC Touch HD Freezes and Crashed
Just experienced for the first time, my HTC Touch HD is crashed. The screen showing checkered boxes (black and white) and the phone is not responding when I tried to hard shutdown by press and holding the power button for several seconds.
I end up taking out the battery, wait a couple of seconds and then put it back and turn on the PDA phone. Touch HD works fine after the reboot, although it’s very strange that the phone is crashing right after I ended a phone call.
Installing Gnome and VNC Remote Desktop on Centos VPS
After writing a how-to on installing Gnome and VNC server on Ubuntu Linux, this time I blog on the same tutorial but now I use Centos 5.3 Linux.
It’s almost similar with Ubuntu, but on Centos we use YUM instead of apt-get command. Both package managers have its own fans, nevertheless both yum and apt-get deliver an easy to use package installer.
To read the how-to please go to: http://www.talk.web.id/2009/08/installing-vnc-remote-desktop-on-centos-vps/ as I write it for Talk Web ID. If you like the tutorial or have questions, please write on the comment box.
Squid NT on Windows 7
I wrote an tutorial article for Talk Web Id on how to install Squid Web Cache on Windows 7. It have step-by-step tutorial beginning with downloading the Squid zip package until setting the browser to use the proxy server. You can read the article here: http://www.talk.web.id/2009/08/installing-squid-web-proxy-server-on-windows-7/
Upgrade Path to Windows 7 Based on Upgrade Chart
After Microsoft announced the release schedule of Windows 7, a lot of tech site and bloggers post about the Windows 7 upgrade chart to be ridiculous and confusing like one here and here.
If you see the chart below, the question that rise is “why Windows Vista Basic/Home Premium users can upgrade to Windows 7 Ultimate but not Windows 7 Professional?” others perhaps will ask “why Windows XP can’t be upgraded to Windows 7?” but in the case of Windows XP, I think the answer is because XP and 7 have a very big gap of architecture hence you can’t upgrade it.