Posts Categorized: linux

Tor and Privoxy in Ubuntu

Tor is a free implementation of anonymity network which protects your privacy over the internet. Tor enable this by providing virtual tunnels to internet application through SOCKS interface. This post will show you how to setup and use Tor to browse the web anonymously. First of all you need to install tor and privoxy package… Read more »

Determine Linux Operating System Version

To determine the Operating System/Distribution version from the command line / terminal interface. How to tell the Ubuntu version? # lsb_release -rRelease:        7.10  How to tell the Slackware version? # more /etc/slackware-versionSlackware 10.2.0 (x86_64)  How to tell Red Hat / CentOS version? #more /etc/redhat-releaseRed Hat Enterprise Linux AS release 4 (Nahant Update 5) How to… Read more »

Freecom Media Player with Samba

Instructions here for setting up Samba with the Freecom Network Media Player. http://www.lauracowen.co.uk/blog/2008/01/13/setting-up-a-freecom-media-player-with-ubuntu/

Sticky Bit

From Linux Format magazine. The Sticky Bit:“changes the rules about who can delete files. If the sticky bit is set on a directory, files within it can be deleted only by their owner, the directory’s owner or the superuser.”

Default Gateway Location

Centos and Red Hat:/etc/sysconfig/network NETWORKING=yesNETWORKING_IPV6=noHOSTNAME=myhostGATEWAY=123.123.123.1 Ubuntu/Debian:/etc/network/interfaces gateway 192.168.1.254 Command Line: route add default gw 192.168.1.254

Checking for Updates on Ubuntu

On Ubuntu/Debian servers install apticron with: apt-get install apticron This will run a daily job and send an email with available updates. The email address can be amended in /etc/apitcron/apticron.conf Quick, easy and useful!

Ubuntu Ibex (8.10), Opera and Flash

Opera is a great browser – magic wand, mouse gestures and less memory hungry than Firefox. It’s also pretty good on the Wii. Install the .deb from www.opera.com/download Then to get flash working: sudo ln -s /usr/lib/flashplugin-nonfree/libflashplayer.so /usr/lib/opera/plugins/libflashplayer.so

Sophie make problems

I had a few stumbles when setting up Sophie, so for future reference: v3.05 checking for DllGetClassObject in -lsavi… noHave you downloaded the correct version of Sophos? There are a few versions available (AMD64 etc) v3.0 checking for SAVIsweepFile in -lsavi… noHave you downloaded the latest version of Sophie Sophie will not make on AMD64I… Read more »

Sophie Sweep finds virus but Sophie does not

I found that the sweep command would show a file as a virus yet some of these files were still getting through our mail system past Sophie. There wasn’t much on the web describing this problem so I am posting here for future reference. In the sophie.savi configuration file change GrpSuper: 0 to GrpSuper: 1

Swap Space Labels

A few issues today with a machine that had been left to boot with its swap space on the SAN. So I wanted to tell the machine to use the swap space on the local disk so I could refer to it in /etc/fstab by its label. So I tried: e2label /dev/sdf3 SWAP-local which didn’t… Read more »