Friday, October 19, 2012

Installing APCUPSD in Debian 6 Squeeze

English: Logo of American Power Conversion
English: Logo of American Power Conversion (Photo credit: Wikipedia)









Sooner or later we all start thinking about a parachute for the server.

Personally I so as many other people prefer to use for this goal equipment from APC ompany because they produce hardware of high enough quality and an admin friendly daemon named apcupsd for managing UPS.

If our tastes here coinside then power up the server via UPS and connect with USB-Dara cable.

VNC Terminal Server on base of Debian Squeeze

Virtual Network Computing logo
Virtual Network Computing logo (Photo credit: Wikipedia)












I think many know what is Terminal Server and what it is needed for; and who doesn't know can visit the link and read Wiki.

Also I beg to suppose that many already used VNC for one-user connection but what can be done if multiple-users access is needed?

I tried several variants but decide in favour of starting vnc4server via openbsd-inetd.

BTW I want to mention at the very beginning: we will use port 5901 because the default port is occupied by built-in vino service in Gnome. Also it is necessary to remove network-manager and configure web interfaces via old kind /etc/network/interfaces.
And the last but not less important thing: we install GDM instead of current GDM3 because the last one absolutely is not impressed by options [xdmcp] Enable=true that are so necessary for multiple-users access.

Let's start.

VirtualBox - Restoring operability after updating kernel in Debian/Ubuntu

VirtualBox
VirtualBox (Photo credit: Wikipedia)














If you've suddenly found a message like that in dmesg:
dmesg | grep 'warning: `VirtualBox'
[  429.050250] warning: `VirtualBox' uses 32-bit capabilities (legacy support in use)
That most probably means that the kernel of your system has updated and you need new headers in kernel. To set it is quite easy.
apt-get install linux-headers-$(uname -r) -y --force-yes

Now you need to restart the service that is responsible for VirtualBox's drivers. If needed - it will recompile modules by itself.
/etc/init.d/vboxdrv restart
Stopping VirtualBox kernel modules:.
Starting VirtualBox kernel modules:.

Enhanced by Zemanta

Easy anonymization using combination Tor + Proxychains in Debian

English: Tor Logo
English: Tor Logo (Photo credit: Wikipedia)








Today governments of many countries are trying to limit maximally anonymous activity in Internet. Laws are made that strive for total control of everything under cover of good intensions.

Everything would be fine but you may agree that it is not very pleasant to know that someone can read everything you write, check which sites do you visit and so on just at any moment. 

The holywar might be very long but in this article I want to describe what can we oppose in such situation.

At the current moment there are 2 popular developing projects: I2P and TorProject.
  1. I2P - http://www.i2p2.de/ It is a distributed encrypted net that has its own resources and uses Internet as a transport for its needs.
  2. TorProject - https://www.torproject.org/ It is a distributed net that ensures anonimization of you traffic in the whole Internet.