Archive for the ‘Linux’ Category

Repair Nvidia Permissions in Ubuntu 9.04

Thursday, June 4, 2009 18:49 2 Comments

Nvidia has some problems with non-root permissions in Ubuntu 9.04(Jaunty). My laptop is a Compaq Presario C700 and the permissions of the /dev/nvidia files cause some errors when processes are launched with non-root privileges on my 64-bit 9.04 desktop system.
But I found on UbuntuGeek.com a valid workaround.
First you need to edit /etc/rc.local file from your [...]

This was posted under category: Linux

Having your own mail server

Tuesday, April 14, 2009 6:00 No Comments

Everyone has a Yahoo or Gmail email address. But it is also very easy to have your own mail server especially if you have a small business and you don’t want to spend a lot of money of some enterprise solutions. I will present you a list of sites that present the process step by step and the finished product will be a fast and reliable mail server.

This was posted under category: Linux

How To get Dual Monitors in Ubuntu with NVidia

Friday, April 3, 2009 4:05 2 Comments

For me, Dual Monitors is an absolute necessity for a modern desktop environment. Not only does it provide you with more screens real-estate, it also extends the desktop metaphor to give you new techniques for managing multiple windows. For example, I am often opening multiple Firefox windows, or a browser and a PDF, or a [...]

This was posted under category: Linux

Roboform for Linux (Ubuntu)

Wednesday, April 1, 2009 8:51 No Comments

No, they haven’t released a Linux version of Roboform, nor they have any plans to port it to Linux (they might do it for Macs since there’s some money in there, but on Linux it would be free so no marketing reason).
Someone emailed me asking if there’s a Roboform for Linux version, so I thought [...]

This was posted under category: Linux

Another method to get Atheros wireless card work in Ubuntu Intrepid

Friday, March 27, 2009 8:02 2 Comments

Prepare your system:

sudo aptitude install build-essential

Get wireless drivers:

wget http://wireless.kernel.org/download/compat-wireless-2.6/compat-wireless-2.6.tar.bz2

Extract them:

sudo tar -jxvf compat-wireless-2.6.tar.bz2

Install them:

cd compat-2.0.6
sudo make
sudo make install
sudo make unload
sudo make load

Restart and it should work fine now…

This was posted under category: Linux

uTorrent under Ubuntu

Thursday, March 26, 2009 1:57 3 Comments

These days, BitTorrent is the most popular P2P (peer-to-peer) file distribution protocol. Whether you want to share some files or you just want to get your hands on the latest Linux distributions, then you must use a BitTorrent client.
There are many BitTorrent clients for Linux, starting with the old and classical BitTorrent (yes, just like [...]

This was posted under category: Linux

Shell script to backup directories & files from your home directory and email them as .tar.gz file

Wednesday, March 25, 2009 9:43 2 Comments

#!/bin/bash
# mybackup – Backup selected files & directories and email them as .tar.gz file to
# your email account.
# List of BACKUP files/dirs stored in file ~/.mybackup
#
# Usage : ./mybackup
#
# Notes : Very handy tool to take backup (nowdays we have 1 gig+ email a/c)
#
# Copyright (C) 2004 nixCraft project
# Email/Contact [...]

This was posted under category: Linux

Autorepeat linux command

Wednesday, March 25, 2009 6:08 3 Comments

A very usefull linux command is:

while x=0; do pkg_info | wc -l; sleep 2; clear; done

this runs command pkg_info | wc -l every 2 seconds, and clears the screen.
For example:

while x=0; do mysql –password=xxxxx –user=root asterisk -e "select count(callid) from cdr"; sleep 2; clear; done

This command queries the database every 5 seconds and counts the [...]

This was posted under category: Linux

MySQL Console Database Backup/Dump and Restore

Wednesday, March 25, 2009 5:51 No Comments

The backup/dump is performed using mysqldump, which takes the contents of the specified database and creates a set of “CREATE TABLE” and “INSERT INTO” SQL commands that can be used to re-create the database again.
In short, the mysqldump tool is called like this:

mysqldump –user [user] –password=[pass] [db] > [file]

You can also use the short versions [...]

This was posted under category: Linux

Atheros AR5007 wireless on Hardy heron

Wednesday, March 25, 2009 3:39 2 Comments

If you have Atheros AR5007 wireless network adapter follow this procedure to make it work in ubuntu 8.04
For i386 Users
First go to System–>Administration–>Hardware Drivers” and disable by un-ticking the following option
Atheros Hardware Access Layer (Hal)
Then Reboot your system.
Preparing your system
sudo apt-get install build-essential
Then open the terminal from Applications–>Accessories–>Terminal and copy the following command
wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
tar xfz [...]

This was posted under category: Linux