FreeAntivirus

  • Subscribe to our RSS feed.
  • Twitter
  • StumbleUpon
  • Reddit
  • Facebook
  • Digg

Sunday, June 6, 2010

How to prevent redirection to motive.bsnl.co.in while using BSNL BroadBand

Posted on 8:12 PM by Unknown
if you are a RedHat/Fedora user
---------------------------------------------

#chkconfig iptables on
#service iptables start
#iptables -F
#iptables -A INPUT -s 218.248.240.20 -j DROP
#Service iptables save

u r done !!


If you are using any other Linux or Windows
------------------------------------------------------------

install an addon called adblock (available for both fiefox and chrome)
Read More
Posted in | No comments

Thursday, May 13, 2010

Script to Login to a remote machine with a given password

Posted on 7:38 AM by Unknown

#!/bin/bash
HOST="localhost"
USER="myuname"
PASS="mypassword"

VAR=$(expect -c "
spawn ssh $USER@$HOST
expect \"password:\"
send \"$PASS\r\"
expect \"\\\\$\"
send \"ls\r\"
expect -re \"$USER.*\"
send \"logout\"
")

echo "==============="
echo "$VAR"


ref : http://ubuntuforums.org/showthread.php?t=192929
Read More
Posted in | No comments

Tuesday, May 4, 2010

How to fix intel video card freezing problem in Ubuntu 10.04

Posted on 7:10 AM by Unknown
If you have an intel video card of i845, i855 and other 8xx chips, most likely you're going to face a freezing problem when booting your computer as mentioned on here.

This issue was known by ubuntu team and they provided a few solutions for it, but the instructions are not quite easy to understand for new Linux users.

In order to apply any of those changes, you need to boot your computer using
Read More
Posted in | No comments

Monday, May 3, 2010

Downgrading GRUB [ Ubuntu 10.04 ]

Posted on 7:05 AM by Unknown
Open a terminal:

Make backup copies of the main GRUB 2 folders & files. (Optional)

sudo cp /etc/default/grub /etc/default/grub.old
sudo cp -R /etc/grub.d /etc/grub.d.old
sudo cp -R /boot/grub /boot/grub.old

Remove GRUB 2

sudo apt-get purge grub2 grub-pc


The system will be unbootable until another bootloader is installed.
Once the packages are removed, many files will still remain in ‘/boot/
Read More
Posted in | No comments

Saturday, May 1, 2010

Easter eggs in Firefox !!

Posted on 11:33 PM by Unknown

Visit these addresses in Firefox 3:
about:mozillaabout:robots
Also some other interesting things to find:
about:configabout:cacheabout:creditsabout:licenseabout:buildconfig


finaly try this too in your firefox's address bar
chrome://browser/content/browser.xul
Read More
Posted in | No comments

How to change Ubuntu 10.04 (Lucid) 's Plymouth ( boot splash ) theme

Posted on 11:13 AM by Unknown
You need to first go to synaptic and search for 'plymouth', and then add more themes. or do


sudo apt-get install plymouth-theme-*


after that execute in terminal


sudo update-alternatives --config default.plymouth




select the desired theme !!
Read More
Posted in | No comments

Expected features in Fedora 13 Goddard

Posted on 7:58 AM by Unknown
boot.fedoraproject.org

boot.fedoraproject.org (BFO) is one of the unique features in Fedora. This effort by Fedora community hopes to completely remove DVD installations in long term. It allows users to download a single, tiny image and install current and future versions of Fedora without having to download additional images.
This method is similar to Pxeboot, can also be considered as a Fedora
Read More
Posted in | No comments

Friday, April 30, 2010

How to Install Nvidia Video Drivers In 10.04 Lucid Lynx

Posted on 6:37 PM by Unknown
1. Open your favorite terminal (ie. Applications->Accessories->Terminal) and uninstall any and all nvidia components installed.

$ sudo apt-get purge nvidia*

2. Next we need to blacklist “nouveau”. Do so by adding the following into /etc/modprobe.d/blacklist.conf with your favorite text editor.

$ sudo blacklist nouvea

3. Install the latest official stable driver from the
Read More
Posted in | No comments

Thursday, April 29, 2010

How do I disable the ping response?

Posted on 6:53 PM by Unknown
Usually a ping is used to check if a machine is up and to check the network status.

It is a small network packet sent to the machine. If the machine is up, an answer will be sent. The time needed to get the answer is called ping time or round-trip time.

The ping response from an IP indicates the machine is up.

Unfortunately this can be used to quickly scan an IP-range for reachable hosts.

Read More
Posted in | No comments

Wednesday, April 28, 2010

How To create RPM from Source

Posted on 6:53 PM by Unknown
This is for the Redhat, SuSE and CentOS user out there. Sometimes when you try to search for rpm packages, the only thing that you find is the source file. You create rpm file using this source file:

1. save the source file(usually in tar.gz or tar.bz2 format)
2. extract the files-> tar -xvzf filename.tar.gz or tar -xvjf filename.tar.bz2
3. open the folder of the extracted file and find .spec
Read More
Posted in | No comments

Tuesday, April 27, 2010

How to Force fsck (Filesystem check) on next boot

Posted on 6:37 PM by Unknown
If you want to force fsck on the next boot, just create a file called /forcefsck . If this file is present, then during next boot - the fsck is forced.

# touch /forcefsck

Now reboot the machine and when it comes up, fsck will be forced.

# reboot
Read More
Posted in | No comments

Monday, April 26, 2010

HOWTO setup Squid Proxy & DansGuardian Internet Content Filter

Posted on 7:55 PM by Unknown
For Ubuntu
Installing Apache
$ sudo aptitude install apache2Setting a Static IP Address
Now make sure that you have a static IP address
$ sudo vi /etc/network/interfacesAnd change the following (bold) to match your network
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
Read More
Posted in | No comments

Saturday, April 24, 2010

Browse Internet faster in Linux with Ziproxy

Posted on 7:52 PM by Unknown
Ziproxy is forwarding, non-caching, compressing HTTP proxy server.
Basically it squeezes images by converting them to lower quality JPEGs or JPEG 2000 and compresses (gzip) HTML and other text-like data.
It also provides other features such as: HTML/JS/CSS optimization, preemptive hostname resolution, transparent proxying and more.

Ziproxy is an option when dealing with low-bandwidth cases like:
Read More
Posted in | No comments

Thursday, April 22, 2010

Check your unread messages in Gmail, from terminal

Posted on 7:44 PM by Unknown
$ curl -u username --silent "https://mail.google.com/mail/feed/atom" | perl -ne 'print "\t" if //; print "$2\n" if /<(title|name)>(.*)<\/\1>/;'


replace username with your gmail username.

This command will promt for your password, enter it and view your unread in your gmail account .
Read More
Posted in | No comments

Wednesday, April 21, 2010

How to make a terminal remember sudo passowrd for ever

Posted on 7:28 PM by Unknown
when you type sudo command for the first time in a terminal it will ask you the sudo password.
This password will be remembered by that terminal for 15 minutes by default.

If you want that terminal to remember your password for ever during its life time follow these steps.

1. Type at terminal



sudo visudo


2. Edit as shown below

Change

Defaults env_reset

to

Defaults env_reset,
Read More
Posted in | No comments

Monday, April 19, 2010

Change your xsplash Boot Screen with your desktop change in ubuntu 9.10 Karmic Koala

Posted on 11:22 PM by Unknown

Ubuntu has gained new splash screen software called xsplash, and is introduced in ubuntu 9.10 karmic Koala. Here a simple nice script for changing your xsplash screen with respect to your desktop wallpaper. Every time you change the desktop wallpaper, it will automaticaly change the xsplash screen.

Download this Script from here

1. Download and extract the file wallpaper_daemon.py
(use command
Read More
Posted in | No comments

Saturday, April 17, 2010

UNP a Universal File Unpacking Utility for Ubuntu / Debian

Posted on 11:20 PM by Unknown
Unp is a small perl script which makes extraction of any archive files in easy way. It support several compressors and archiver programs, chooses the right one(s) automatically and extracts one or more files using a single command. It supports rar, zip, tar.gz, deb, tar.gz2, rpm etc..

How to Install unp in ubuntu / Debian

$ sudo apt-get install unp

Usage Method 1 (unpack all archives in a
Read More
Posted in ubuntu | No comments

Friday, April 16, 2010

How to Change Sudo Password Remembering Time in Ubuntu

Posted on 11:18 PM by Unknown
When You use 'sudo' command it will ask for password in First time and will remember password for 15 minutes. It is a security hole for sensitive systems.

You can change sudo Password Remembering Time in Ubuntu .


Open a terminal and type



$ sudo visudo


In Ubuntu, visudo uses nano text editor, and what it does is edit the / etc / sudoers.tmp


Check for the line as shown below



Defaults
Read More
Posted in How to ... | No comments

Thursday, April 15, 2010

How to Hide Secret Data in image and audio files Ubuntu / Debian: Steghide

Posted on 11:17 PM by Unknown

steganography is the technique used for hiding various data in different type of image and audio files with out changing the basic characteristics of file. Steghide is a utility for steganography. The color- respectivly sample-frequencies are not changed thus making the embedding resistant against first-order statistical tests.

Features include:
* Compression of embedded data
* Encryption of
Read More
Posted in How to ... | No comments

Wednesday, April 14, 2010

Howto Convert Ext3 filesystem to Ext4 Filesystem without Reinstalling OS in Ubuntu

Posted on 11:15 PM by Unknown
You can convert your existing Ext3 filesystem to Ext4 with an easy procedure.

Things to remember

Unmount the filesystem before convert
Filesystem must be non-root
This way you can improve the performance, storage limits and features of your existing filesystem without reformatting and/or reinstalling your OS and softwares.

First, unmount the partition: umount /dev/sda2 (change sda2 with your
Read More
Posted in How to ... | No comments

Tuesday, April 13, 2010

How to Install GNOME 3 (GNOME-Shell) in ubuntu 9.10 Karmic Koala

Posted on 11:12 PM by Unknown
GNOME (GNU Network Object Model Environment) is a desktop environment created for the operating system GNU / Linux Desktop Environment is recognized as the official GNU project. With the announcement of version 3.0 was introduced GNOME-Shell, which integrates various functions into a 'single window.  The desktop area is divided into several parts depending on the activities and workspaces is
Read More
Posted in How to ..., ubuntu | No comments

Monday, April 12, 2010

How to Recover / Hack / Reset Windows NT / 2000 / XP / Vista Password Using Ubuntu Live CD

Posted on 11:08 PM by Unknown
You can easily hack Windows Password with Ubuntu. You may need to reset an admin password in windows (NT/2000/XT/Vista) for many reasons, such as you have  forgotten it or you  need to repair and don't have access to the admin password. You can Easily Reset Windows password with Ubuntu.

Requirements

A little knowledge in Command Line , An Ubuntu Live CD. And a Wonderful package called chntpw.
Read More
Posted in How to ... | No comments

Sunday, April 11, 2010

How to build debian package from source

Posted on 11:06 PM by Unknown
1. Edit your /etc/apt/sources.list file with an entry
"deb-src http://host/debian distribution section1 section2 section3" like this.

2. apt-get update

3. apt-get source

This will download three files: a .orig.tar.gz, a .dsc and a .diff.gz. In the case of packages made specifically for Debian, the last of these is not downloaded and the first usually won't have "orig" in the name.

The .dsc
Read More
Posted in How to ... | No comments

How To Create And Configure Multiple Virtual Network Interfaces In Ubuntu

Posted on 8:20 AM by Unknown
Create And Configure Multiple Virtual Network Interfaces In Ubuntu Linux with ease.



Configuring Virtual Networks:
Let's start, go to Applications, Accessories, Terminal and type:

$ sudo gedit /etc/network/interfaces


Duplicating the eth0 interface create virtual network cards and IP addresses. And adding a unique number starting from 1 to 9.



auto eth0:x allows that the network interface
Read More
Posted in | No comments

Saturday, April 10, 2010

How to Control the CPU Usage of a Process in Ubuntu / Debian Linux with cpulimit

Posted on 11:04 PM by Unknown
CPULIMIT is a very good utility, this can be utilized for limiting the cpu usage of a process.  Limits are expressed in percentage, not in cpu time. This  does not act on the nice value or other scheduling priority , but on the real cpu usage. System administrators can effectively use this for avoiding there headace. The % limit from 0-100 for single processor 0-200 for dual processor.
How to
Read More
Posted in How to ... | No comments

Thursday, April 8, 2010

8085 Microprocessor Simulator for Ubuntu / Debian /Fedora Linux:GNUSim8085

Posted on 11:00 PM by Unknown

GNUSim8085 is a graphical simulator, assembler, debugger  for Intel 8085 microprocessor.It is very helpful for Engineering and Polytechnic students with Microprocessor as a subject.
It is available in Ubuntu and Debian repository

$sudo apt-get install gnusim8085

Fedora

$ yum install gnusim8085
Read More
Posted in ubuntu | No comments

Wednesday, April 7, 2010

How to Change the position of the Restore / Max / Close buttons on windows in ubuntu 9.04 , 9.10 , 10.04

Posted on 10:51 PM by Unknown
Many you might have already seen that the position of the buttons on the window decorated had been left justified in ubuntu 10.04.
Actually it is very easy to change the justification.

1. Press Alt+F2 and type in

gconf-editor2. Navigate to
app->metacity->generaldouble click the "button_layout" option and change it to "menu:maximize,minimize,close"
rather than "minimize,maximize,close:menu
Read More
Posted in How to ... | No comments

How to Setup a transparent proxy with Squid in three easy steps

Posted on 10:50 PM by Unknown
Modify or add following squid directives to /etc/squid/squid.conf


httpd_accel_host virtual
httpd_accel_port 80
httpd_accel_with_proxy on
httpd_accel_uses_host_header on
acl lan src 192.168.1.1 192.168.2.0/24
http_access allow localhost
http_access allow lan


Where,

httpd_accel_host virtual: Squid as an httpd accelerator
httpd_accel_port 80: 80 is port you want to act as a proxy
Read More
Posted in How to ... | No comments

[ How to ] Improve NVidia Laptop Graphics Performance in Ubuntu

Posted on 8:15 AM by Unknown
NVidia laptop cards come with a feature called PowerMizer that dynamically underclocks the GPU when it's not being used much. This is great for battery power but horrible for performance when usingDesktop Effects (compiz). Unfortunately, NVidia does not provide a way to configure PowerMizer on Linux however, it's not difficult to create a script that will give you maximum speed while on AC power
Read More
Posted in How to ..., laptop | No comments

Monday, April 5, 2010

How to install 32bit deb applications in 64bit Ubuntu Linux system

Posted on 10:56 PM by Unknown
Here you can see a Tip for installing 32 Bit applications i 64 bit Ubuntu
Most of the 64 bit ubuntu users need to install their popular 32 applications.  Some times it will return an error you have to use ia32 libraries. .In ubuntu Linux you can easily install ia32 Libraries.




Open a terminal type:

$ sudo apt-get install ia32-libs

Now You can install your application

$sudo dpkg -i - -
Read More
Posted in How to ... | No comments

How to Backup using Rsync in Ubuntu

Posted on 8:07 AM by Unknown
rsync is a software application for Unix systems which synchronizes files and directories from one location to another while minimizing data transfer using delta encoding when appropriate. An important feature of rsync not found in most similar programs/protocols is that the mirroring takes place with only one transmission in each direction. rsync can copy or display directory contents and copy
Read More
Posted in How to ..., ubuntu | No comments

Sunday, April 4, 2010

[ How to ] Auto-mounting internal drives in Ubuntu

Posted on 8:10 AM by Unknown
sudo gedit /etc/hal/fdi/policy/preferences.fdi

To fix it so that internal drives will show up on your desktop when you boot up, change this line



Read More
Posted in How to ..., ubuntu | No comments

Saturday, April 3, 2010

How To hide Apache2 version Information from hackers

Posted on 11:12 PM by Unknown
Some times we need to hide apache banner information, because hackers check version details, before attacking a sever, If you close this door, it is more difficult for them to exploit any system holes and thus making vulnerability scanners work harder and in some cases impossible without knowing version information.


Do the following steps
Modify /etc/apache2/apache2.conf
Change the
Read More
Posted in How to ... | No comments

Control Your Children's Internet Access with Gnome Nanny in Ubuntu / Debian

Posted on 11:03 PM by Unknown
Gnome Nanny is a parental control system. By using Gnome Nanny you can easily  control what your kids are doing in the computer. You can limit how much time a day each one of them is browsing the web, chatting or doing email. You can also decide at which times of the day they can do this things. Gnome Nanny filters what web pages are seen by each user, so you can block all undesirable webs and
Read More
Posted in | No comments

HowTo Find out if Installed Linux is 32 bits or 64 bits

Posted on 9:35 AM by Unknown
To figure out  whether we have installed Linux is of 32 bits or 64 bits, you can run the following command in a Terminal:
uname -mThe possible outcomes and their meanings are:

    * i686       : Installed 32-bit version.
    * x86_64 : Installed 64-bit version.



or try 


[root@rhel55 basil]# file `which file`
/usr/bin/file: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/
Read More
Posted in How to ... | No comments

Wednesday, March 31, 2010

How To: Add the Computer, Trash, and Home icons to the Desktop

Posted on 7:39 AM by Unknown
This how-to will explain exactly how to add these icons to your desktop, in a completely graphical way.

1. You're going to follow this path in the Ubuntu panel:
Applications --> System Tools --> Configuration Editor.

2. If the above path existed, skip this step.

Sometimes System Tools isn't in the menu by default. It's simple to change by simply hovering your mouse over the taskbar, and
Read More
Posted in How to ... | No comments

Monday, March 29, 2010

How to Customize GDM2 in ubuntu 9.10 jaunty

Posted on 7:37 AM by Unknown
This is new GDM2 configuration gui tools you can use this tool to change GDM images,icons, GTK theme,enable/disable login sound and hide users list from login screen.This tool is useful for ubuntu 9.10 users.

1.) Download the Code from here or from here

2.) Copy it into /home/

3.) Open a console and make the file executable:

chmod a+x gdm-setup.py

4.) Start Script with

gksu gdm-setup.py

Read More
Posted in How to ..., ubuntu | No comments

Saturday, March 27, 2010

How to Share Internet Connections in Ubuntu using bridge-utils

Posted on 7:55 AM by Unknown
Network Bridge comes in handy. Its essentially the same as ICS, only more flexible, albeit less secure. You might want to have a firewall remain on your system with it.

Normally, using a series of commands will work when bridge-utils is installed, but they're only for the current session. We want to make it permanent.


Procedure to follow

1. Get bridge-utils through Synaptic. This is the 
Read More
Posted in How to ..., ubuntu | No comments

[ How to fix ] Desktop Effects can't be enabled for intel integrated graphic in Jaunty

Posted on 7:30 AM by Unknown
First, download Forlong's compiz-check

You can use this command to download it to your home directory:


wget http://blogage.de/files/9124/download -O compiz-check

Afterwards, you have to make it executable:

chmod +x compiz-check

And finally run it like this:

./compiz-check

If they output shows that Your intel graphic card is in the blacklist, this is the perfect solution for you.

Edit the
Read More
Posted in How to ... | No comments

Tuesday, March 23, 2010

How to recover from corrupt rpm database on RHEL/CentOS/Fedora

Posted on 2:29 AM by Unknown
First and foremost thing take a backup of the existing rpm database( yes the corrupted one...you never know...).This is located in /var/lib/rpm ..depend on your distribution.

Now go to that dir(/var/lib) and take a backup of entire rpm dir ..like this:

tar -cvzf rpm-date.tar.gz rpm

And finally start rebuilding the rpm database like this:

cd /var/lib/rpm

rm -f __db* # delete it if present

Read More
Posted in CentOS, How to ... | No comments

Saturday, March 20, 2010

[ How to ] disable the “Your battery may be old or broken” notification in Ubuntu 9.10

Posted on 2:13 AM by Unknown
Open gconf-editor, and setting the key /apps/gnome-power-manager/notify/low_capacity to false.
Read More
Posted in How to ... | No comments

Saturday, March 13, 2010

How to : Reset MySQL root password

Posted on 8:29 AM by Unknown
Step # 1: Stop MySQL
Type the following command to stop mysql server under RHEL / Fedora / CentOS Linux:
# /etc/init.d/mysqld stop

Use the following command if you are using FreeBSD:
# /usr/local/etc/rc.d/mysql-server stop

Use the following command if you are using Debian / Ubuntu Linux:
# /etc/init.d/mysql stop

Alternatively, you can stop the MySQL server by sending a kill to the mysqld
Read More
Posted in CentOS, How to ... | No comments

Wednesday, March 10, 2010

Sync your iPhone Music Libary With Rhythmbox in Ubuntu

Posted on 3:43 AM by Unknown


The following tutorial only works in Ubuntu Karmic (and other karmic-derivative distro) andiPhone firmware 3.0 and above.Remove all iFuse related filesIf you have previously installed ifuse in your system, you need to remove it and its related files. If you did not install ifuse before, you can ignore this part and skip to the next section.sudo apt-get remove gvfs-backends ifuse
Read More
Posted in | No comments

Monday, March 8, 2010

How to upgrade Ubuntu 9.10 (Karmic) to Ubuntu 10.04 (Lucid Lynx)

Posted on 3:34 AM by Unknown
Add the below line to Software Sources list

deb http://us.archive.ubuntu.com/ubuntu lucid multiverse

on terminal execute the below command

sudo apt-get install update-manager-core



sudo do-release-upgrade -d
Read More
Posted in How to ..., ubuntu | No comments

Saturday, March 6, 2010

Bluetooth 4.0 to reach devices in fourth quarter

Posted on 8:14 AM by Unknown

The Bluetooth 4.0 wireless specification could start to appear in devices such as headsets, smartphones and PCs by the fourth quarter, the Bluetooth Special Interest Group said on Wednesday.The new specification will be able to be used in lower-power devices than previous versions of the technology, including watches, pedometers, smart meters and other gadgets that run on coin-cell batteries,
Read More
Posted in | No comments

Thursday, March 4, 2010

How to automatically open mailto (email) links in a gmail compose mail tab in Google Chrome

Posted on 3:00 AM by Unknown
The following perl script will automatically open mailto (email) links in a gmail compose mail tab in Google Chrome on Ubuntu. You'll need to install perl in order for this to work, 'sudo apt-get install perl' in the terminal (Applications > Accessories > Terminal). You set the script up under System > Preferences > Preferred Applications > under Mail Reader choose Custom and enter this in the
Read More
Posted in How to ... | No comments

Tuesday, February 23, 2010

HOW TO INSTALL ANGRY IP SCANNER ON UBUNTU

Posted on 6:53 AM by Unknown
Currently there are many security software available for Linux and Windows. The Angry IP Scanner is one of the popular open source software in network security category. Here, I will guide you how to install the Angry IP Scanner on Ubuntu. Based on its website, the Angry IP Scanner is is fast and friendly network scanner for Windows, Linux, and Mac. It is very extensible, allowing it to be used
Read More
Posted in How to ..., ubuntu | No comments

How to fix corrupted Windows registry from Ubuntu

Posted on 6:46 AM by Unknown

The registry is one of the most important part of the Windows Operating System. Any problem with the registry can have far reaching consequences. A corrupted registry can prevent Windows from even starting up.In this article, we will show you how you can fix a corrupted Windows registry from an Ubuntu partition.So, if there is some problem with your Windows registry and you cannot start Windows,
Read More
Posted in How to ..., ubuntu | No comments

Thursday, February 11, 2010

Decorate Grub 2 boot loader using BURG

Posted on 2:56 AM by Unknown

BURG is a program based-on Grub 2,BURG uses new menu list,screen layout and shortcut keys that all easily customized.Following is tested in Ubuntu Karmic.
1.Install BURG
Edit source.list file(Open terminal from Applications/Accessories/Terminal):sudo gedit /etc/apt/sources.listadd following into the file and save it.deb http://ppa.launchpad.net/bean123ch/burg/ubuntu karmic main
deb-src http://
Read More
Posted in | No comments

Tuesday, February 9, 2010

How to install Gyachi in ubuntu 9.10 (Karmic)

Posted on 2:52 AM by Unknown

This yahoo client for Linux operating system supports almost all of the features you would expect to find on the official Windows Yahoo! client: Voice chat, webcams, faders, ‘nicknames’, audibles, avatars, display images, and more. Yet, it remains very light-weight and memory-friendly. GyachE Improved uses Gtk-2 for its user interfaces (Gtk-2 2.0.6 or better required).Install gyachi in Ubuntu
Read More
Posted in How to ..., ubuntu | No comments

Sunday, February 7, 2010

How to install Windows 7 from Ubuntu without burnning a disc

Posted on 2:51 AM by Unknown

If you’re running on ubuntu and want to install Windows 7 without burning a disc,you can try following steps to install Windows 7 with the iso file.Step1:Download grub4dos from:http://download.gna.org/grub4dos/grub4dos-0.4.4-2009-06-20.zip Decompress the grub.exe and put this file into root directory of Ubuntu partition (”/”).Step2:Create a 4GB ntfs partition and paste all files from Windows7
Read More
Posted in How to ..., ubuntu | No comments

Saturday, January 23, 2010

How to benchmark a C++ code

Posted on 12:07 AM by Unknown
As the last step of software development you should test the performance of your code. This is a simple example how to benchmark the time consumption of different procedures in a C or C++ code. We will compare two procedures: calculating sinus and exponential values for 5e7 numbers. Let write a code with name test.cpp

#include
#define LIMIT 50000000
void exponential(){
double a;
for(int i=1;
Read More
Posted in How to ... | No comments

Friday, January 22, 2010

How to Periodically remove temporary files in Linux

Posted on 12:05 AM by Unknown
To remove periodically some files from a specific directory you can easily setup a cron entry. Execute in shell

crontab -e

and add

*/60 * * * * find /home/my_home/some_dir/ -name '*.dat' -mmin +60 -exec rm {} \;

where .dat is the suffix of the files and "-mmin +60 -exec rm {}" is the option telling to remove the files with data modified more than 60 minutes ago.

If your crontab uses Vim
Read More
Posted in How to ... | No comments

Wednesday, January 20, 2010

How to Encrypt directories using EncFS

Posted on 12:03 AM by Unknown
Install EncFS:

sudo apt-get install encfs


EncFS uses the fuse kernel extension, which we need to load into the kernel

sudo sh -c "echo fuse >> /etc/modules"
sudo modprobe fuse


Add yourself into the fuse group

sudo addgroup my_login_name fuse


Log out and log in.
Create your encrypted directory:

cd ~
mkdir .encrypt
mkdir encrypt
encfs $HOME/.encrypt $HOME/encrypt

Press enter few times,
Read More
Posted in How to ... | No comments

Monday, January 18, 2010

How to change MAC address of your WIFI or Ethernet card

Posted on 11:54 PM by Unknown
Open a terminal window and type the following command



sudo ifconfig eth0 hw ether xx:xx:xx:xx:xx:xx


replace xx:xx:xx:xx:xx:xx with the MAC address that you want to change to
Read More
Posted in How to ... | No comments

Sunday, January 17, 2010

How to Setup Transparent Squid Proxy Server in Ubuntu

Posted on 11:59 PM by Unknown
This is a short guide how to set up a transparent cache proxy on Ubuntu Server. Basically, there are two reasons why you may be interested setting up a Squid proxy: speed up your web access and save your bandwidth. Let assume that you already set up a Linux gateway using iptables. It is possible to run squid also on Windows but unfortunately it is extremely hard to find a hardware on which
Read More
Posted in How to ... | No comments

Saturday, January 16, 2010

How to convert CHM to PDF in LInux

Posted on 11:45 PM by Unknown
1. Install dependencies by running in the Terminal:
sudo apt-get install htmldoc libchm-bin python-chm


2. Download chm2pdf by clicking this.
3. Now extract the downloaded file.
4. Open your Terminal and browse to the folder you extracted and run: sudo python setup.py install


5. You’re done!

Now to use it is very simple:
In Terminal, type:
chm2pdf --book filename.chm
# (Where filename is
Read More
Posted in How to ... | No comments

Google To Switch To EXT4

Posted on 11:36 PM by Unknown
Google is in the process of migrating their EXT2 file-systems over to the modern EXT4 file-system. This was brought up in a JFS benchmarking discussion. Google's Michael Rubin shared that they chose EXT4 after benchmarking it as well as XFS and JFS. Their results showed EXT4 and XFS performing close to one another, but with it being easier to upgrade from EXT2 to EXT4 rather than EXT2 to XFS,
Read More
Posted in | No comments

Monday, January 11, 2010

How to disable KVM in running kernel to solve errors while running VirtualBox

Posted on 12:17 AM by Unknown
Issue this following commands as root or with sudo permission

rmmod kvm_intel
rmmod kvm


after that run VirtualBox

To solve the problem permenantly add these commands to scripts that will be executed when system starts like /etc/rc.local
Read More
Posted in How to ..., Kernel | No comments

Saturday, January 9, 2010

40,000 processors and 104 TB of RAM Assembled to Render Avatar

Posted on 8:58 AM by Unknown
As the special-effects-driven blockbuster AVATAR stuns audiences with its lush computer-animated fantasy scenes, a data center in Wellington, New Zealand, has played a backstage, but vitally crucial role.

New Zealand-based visual effects company Weta Digital (www.wetafx.co.nz) was able to manage the intense streams of data required to render the cutting-edge 3D animation used in movies like I,
Read More
Posted in | No comments

Tuesday, January 5, 2010

[ ubuntu ] Quick and Dirty method to remove a corruted partially installed package

Posted on 9:42 PM by Unknown
This method can be used when  commands related to aptitude or dpkg is not able to solve the problem


If you have tried everything else, a last resort is this.

1. Backup your /var/lib/dpkg/status file NB You MUST do this first, becuase if you lose this file, your system is hosed.

2. In a terminal, type in the following command: sudo gedit /var/lib/dpkg/status

3. The errant package seems to
Read More
Posted in ubuntu | No comments

Friday, January 1, 2010

How to enable file and folder listing in apache

Posted on 9:48 AM by Unknown
Option # 1: Using Apache config file

Add directory option to Apache configuration file /etc/httpd/httpd.conf or /etc/apache2/apache2.conf:
# vi /etc/apache2/apache2.conf

Add following code:

Options Indexes FollowSymLinks

Save and close the file. Restart Apache:
# /etc/init.d/httpd restart

OR
# /etc/init.d/apache2 restart

Option #2: Using .htaccess Files with Apache

You can place config
Read More
Posted in How to ... | No comments
Newer Posts Older Posts Home
Subscribe to: Comments (Atom)

Popular Posts

  • Google introduced new Voice and Video Chat !!
    Google today launched Gmail voice and video chat, making it simple for people around the world to chat in high-quality video for free right ...
  • Reducing load on web server by using reverse proxy - squid
    Many large organizations use caching proxy servers to save on network bandwidth utilization (and costs) and improve browsing response times...
  • UNP a Universal File Unpacking Utility for Ubuntu / Debian
    Unp is a small perl script which makes extraction of any archive files in easy way. It support several compressors and archiver programs, ch...
  • File Access Permissions on Linux
    File protection with chmod chmod 400 file    To protect a file against accidental overwriting.chmod 500 dir     To protect yourself from acc...
  • Convert text files to MP3 under Linux
    First we would need to install festival. We can install festival with the following command :sudo apt-get install festivalNow we need to ins...
  • Linux for Kids
    LinuxKidX was, until recently, a Brazilian-only Linux distribution, but, as of March 20th 2009, it is also available in English, so a lot mo...
  • How to allow access to the mail server by individual domains - Sendmail
    The access database (normally in /etc/mail/access) allows a mail administrator to administratively allow access to the mail server by indiv...
  • Visual Browser for Wikipedia
    No matter what you think about the quality and nature of Wikipedia articles, there is no denying that the encyclopedia provides an immense ...
  • How to recover/repair lost/damage partitions
    TestDisk is a powerful free data recovery software ! It was primarily designed to help recover lost partitions and/or make non-booting disks...
  • HOW TO INSTALL ANGRY IP SCANNER ON UBUNTU
    Currently there are many security software available for Linux and Windows. The Angry IP Scanner is one of the popular open source software ...

Categories

  • administration
  • Antivirus
  • Apache
  • Apple
  • AppZ
  • Blog
  • boot
  • CentOS
  • Communication
  • Database
  • disc
  • Download
  • Drivers
  • Editor
  • encryption
  • Fedora
  • File management
  • Filesystem
  • Font
  • Fun
  • gaming
  • Gnome
  • Google
  • Gossips
  • How to ...
  • internet
  • KDE
  • Kernel
  • Kidz
  • laptop
  • Linux
  • Linux embedded Devices
  • Mail
  • Media centre
  • Memory
  • mobile
  • MS
  • multimedia
  • network
  • News
  • Oracle
  • PDF
  • pendrive
  • Perl
  • processor
  • Programming
  • proxy
  • Reviews
  • script
  • security
  • sql
  • Squid
  • ssh
  • Supercomputer
  • SuSe
  • Themes
  • trickz n tipz
  • TweakZ
  • ubuntu
  • Video
  • Video editing
  • Virus
  • zip

Blog Archive

  • ▼  2010 (62)
    • ▼  June (1)
      • How to prevent redirection to motive.bsnl.co.in wh...
    • ►  May (6)
      • Script to Login to a remote machine with a given p...
      • How to fix intel video card freezing problem in Ub...
      • Downgrading GRUB [ Ubuntu 10.04 ]
      • Easter eggs in Firefox !!
      • How to change Ubuntu 10.04 (Lucid) 's Plymouth ( b...
      • Expected features in Fedora 13 Goddard
    • ►  April (28)
      • How to Install Nvidia Video Drivers In 10.04 Lucid...
      • How do I disable the ping response?
      • How To create RPM from Source
      • How to Force fsck (Filesystem check) on next boot
      • HOWTO setup Squid Proxy & DansGuardian Internet Co...
      • Browse Internet faster in Linux with Ziproxy
      • Check your unread messages in Gmail, from terminal
      • How to make a terminal remember sudo passowrd for ...
      • Change your xsplash Boot Screen with your desktop ...
      • UNP a Universal File Unpacking Utility for Ubuntu ...
      • How to Change Sudo Password Remembering Time in Ub...
      • How to Hide Secret Data in image and audio files U...
      • Howto Convert Ext3 filesystem to Ext4 Filesystem w...
      • How to Install GNOME 3 (GNOME-Shell) in ubuntu 9.1...
      • How to Recover / Hack / Reset Windows NT / 2000 / ...
      • How to build debian package from source
      • How To Create And Configure Multiple Virtual Netwo...
      • How to Control the CPU Usage of a Process in Ubunt...
      • 8085 Microprocessor Simulator for Ubuntu / Debian ...
      • How to Change the position of the Restore / Max / ...
      • How to Setup a transparent proxy with Squid in thr...
      • [ How to ] Improve NVidia Laptop Graphics Performa...
      • How to install 32bit deb applications in 64bit Ubu...
      • How to Backup using Rsync in Ubuntu
      • [ How to ] Auto-mounting internal drives in Ubuntu
      • How To hide Apache2 version Information from hackers
      • Control Your Children's Internet Access with Gnome...
      • HowTo Find out if Installed Linux is 32 bits or 64...
    • ►  March (11)
      • How To: Add the Computer, Trash, and Home icons to...
      • How to Customize GDM2 in ubuntu 9.10 jaunty
      • How to Share Internet Connections in Ubuntu using ...
      • [ How to fix ] Desktop Effects can't be enabled fo...
      • How to recover from corrupt rpm database on RHEL/C...
      • [ How to ] disable the “Your battery may be old or...
      • How to : Reset MySQL root password
      • Sync your iPhone Music Libary With Rhythmbox in Ub...
      • How to upgrade Ubuntu 9.10 (Karmic) to Ubuntu 10.0...
      • Bluetooth 4.0 to reach devices in fourth quarter
      • How to automatically open mailto (email) links in ...
    • ►  February (5)
      • HOW TO INSTALL ANGRY IP SCANNER ON UBUNTU
      • How to fix corrupted Windows registry from Ubuntu
      • Decorate Grub 2 boot loader using BURG
      • How to install Gyachi in ubuntu 9.10 (Karmic)
      • How to install Windows 7 from Ubuntu without burnn...
    • ►  January (11)
      • How to benchmark a C++ code
      • How to Periodically remove temporary files in Linux
      • How to Encrypt directories using EncFS
      • How to change MAC address of your WIFI or Etherne...
      • How to Setup Transparent Squid Proxy Server in Ubuntu
      • How to convert CHM to PDF in LInux
      • Google To Switch To EXT4
      • How to disable KVM in running kernel to solve erro...
      • 40,000 processors and 104 TB of RAM Assembled to R...
      • [ ubuntu ] Quick and Dirty method to remove a corr...
      • How to enable file and folder listing in apache
  • ►  2009 (367)
    • ►  December (16)
    • ►  November (23)
    • ►  October (45)
    • ►  September (44)
    • ►  August (35)
    • ►  July (1)
    • ►  June (20)
    • ►  April (6)
    • ►  March (8)
    • ►  February (18)
    • ►  January (151)
  • ►  2008 (69)
    • ►  December (31)
    • ►  November (38)
Powered by Blogger.

About Me

Unknown
View my complete profile