LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Blogs
User Name
Password

Notices


Old

installing ns2.29 in fedora 13 successfully..

Posted 11-21-2011 at 06:31 AM by 02amol

i used ns-allinone-2.29.tar.gz and fedora 13 as the os:
here are the steps for successfull installation:

1. You need to edit two of your repository files: (1) /etc/yum.repos.d/fedora.repo and (2)
/etc/yum.repos.d/fedora-updates.repo. While editing comment (put #) all the lines that start with
'mirrorlist' and un-comment (delete #) all the lines that start with 'baseurl'. Save both the files and
close them.

2. Once the step given above...
LQ Newbie
Posted in Uncategorized
Views 6384 Comments 2 02amol is offline
Old

What is: Abstract base class, and Pure Virtual function - C++

Posted 11-21-2011 at 04:42 AM by TheIndependentAquarius
Updated 01-10-2012 at 08:17 AM by TheIndependentAquarius

  • In the cases where the derived classes may share the common functionality
    but with altogether "different" definitions, it makes sense to force the
    developers to create their own definitions for those common functions in
    concerned derived classes.
    This can be achieved by making the class "abstract".
  • A class is called an "abstract" class when it contains at least one "pure
    virtual
    " function.
  • A "pure virtual
...
Senior Member
Views 1105 Comments 0 TheIndependentAquarius is offline
Old

Stress testing a new hard drive...

Posted 11-20-2011 at 10:38 PM by sag47
Updated 11-20-2011 at 10:40 PM by sag47
Tags hardware

You should always stress test a new harddrive when you buy it.

Some people say, "Just hook it up for a few months and keep unimportant data on it. If it breaks in that 1-3 month time then it will be good for 3 or 4 years."

While that metric is okay at best I prefer to take a more systematic approach to it. I want to fill the whole hard drive with random 1 and 0 over a constant and long period of time. I do that because you are stressing the hard drive out...
Senior Member
Posted in Uncategorized
Views 8050 Comments 0 sag47 is offline
Old

removing extra console terminals

Posted 11-20-2011 at 06:12 PM by neonsignal

Many Linux distros are installed to have multiple consoles, selected using ctrl-alt-f1 through to ctrl-alt-f6. Where memory is extremely tight, this can be reduced to save some space, by commenting out the relevant [i/]/sbin/getty[/i] lines in /etc/inittab. This will also mean that X will be invoked from a different ctrl-alt-f sequence.

Note that this will only save around half a meg of resident memory per console, so for conventional desktop/laptop systems it is not worth changing....
Senior Member
Posted in Uncategorized
Views 317 Comments 0 neonsignal is offline
Old

virus scanning

Posted 11-20-2011 at 06:02 PM by neonsignal
Updated 11-20-2011 at 06:03 PM by neonsignal

Although malware has not been the same problem to the same degree on Linux as on other operating systems, it is still possible to run a virus scanner.

A straightforward one is clamav, which is in the repositories of many distros. Typically the install will set up a cron job to grab daily virus signature list updates (this can be disabled by removing /etc/cron.d/clamav-freshclam). The signature list can also be updated manually:
Code:
freshclam
To scan...
Senior Member
Posted in Uncategorized
Views 260 Comments 0 neonsignal is offline

  



All times are GMT -5. The time now is 12:45 PM.

Main Menu
Advertisement
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration