Mar 092012
 

I’m glad to have another post of Tcat Houser editor-in-chief of TRCBNews.com.

With the World Mobile Congress in Barcelona for year 2012 behind us, we now see what Apple has in store with Mountain Lion and Microsoft with Windows 8.

It seems very clear Microsoft is trying to catch up to Apple with the concept of the App Store. Now wait a minute, could not one also say that Apple is trying to play catch-up to Amazon.com? Even during the Great Recession, Amazon.com revenue and sales grew while many of the big box retailers stumbled and mom-and-pop stores dried up and blew away in the pessimistic mood.

All the indicators would suggest an App Store is where it is it.

Wait a minute. Have not I seen this somewhere before? Err…. yes I have! It is called:

Synaptic Package Management
Continue reading »

Flattr this!

Mar 062012
 

Article by http://itechmasters.blogspot.com

Here are some free, open-source, and useful network tools for Linux:

1) tcpdump is a common packet analyzer that runs under the command line. It allows the user to intercept and display TCP/IP and other packets being transmitted or received over a network to which the computer is attached. Distributed under the BSD license. The tcpdump command has a lot of advanced features, most of which revolve around filtering and finding a needle in a haystack of packets. If you run tcpdump on a remote machine, your screen will be flooded with all the ssh traffic between your client and the remote machine. To get started without having to learn too much about how tcpdump filtering works, run the following command:

sudo tcpdump | grep -v ssh
Continue reading »

Flattr this!

Feb 292012
 

A bit old, but still really useful, i used this method on a server. Article by Tom, first posted on Tombuntu

Wouldn’t it be useful if your computer could email you? I’d like to be notified by email when my server is in trouble, but I don’t want to run my own mail server. sSMTP is perfect for this; it’s a simple way to send email from your system to an SMTP mail server, like Gmail’s.

Here’s how I set up sSMTP on Ubuntu to send mail through my Gmail account.
Continue reading »

Flattr this!

Feb 222012
 

It’s funny how through small daily tasks sometimes it happen to find new features or commands that you do not knew not, and today this thing happened to me.
In particular, I had to do something trivial on the shell of a server, run : command1 | tail-n 2 i use tail to keep, from a significant long output, only the last 2 lines which then i use in another function, but beyond this, I needed to understand if command1 was terminated with an exit code of 0 or if the code was not 0 which number it was.

A simple:

....
comando1 | tail -n 2 
if [ $? -ne 0 ]
	then
		echo "comando1 fallito."
		EXIT_CODE=1
	fi
....

Does not work because the exit code comes from the command tail, which in my case is always 0.
So I Googled a bit and found more than a solution for this simple problem.
Continue reading »

Flattr this!

Feb 152012
 

Today I want to just give you a pill, but I’m sure that even if is short this article will save a lot of time to someone who, like me, has this requirement.
Having a machine with Linux and various IP (which can be IPv4 and / or ipv6) and a Squid Proxy Server configure your browser to use that proxy on one of these IP and go out from that server with the same IP and not with the default ip .

This can be useful if you have services that require 1 specific IP to be allowed, or if you want to give the proxy server to different people and still be able to trace what they do.
To achieve this we’ll use the ACL, Squid has very good ACL’s (Access Control Lists) built into the squid.conf file, allowing you to lock down or control the access by names, IP’s, networks, time of day, actual day. Remember however that like every firewall the more complicated an ACL is, the slower Squid will be to respond to requests. Continue reading »

Flattr this!