LinuxQuestions.org
Support LQ: Use code LQ3 and save $3 on Domain Registration
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2011, 06:28 PM   #1
hpcatfish
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Rep: Reputation: Disabled
Cool Fedora 15 newbie has a couple of questions.


Hello everyone! I'm a recent convert to Fedora 15 after years of being a diehard Windows user, and this is my first time using any kind of Linux distro. After 2 days of using it I'm getting the hang of command lines and gnome shell customizations, but there are a couple of things nagging me. I downloaded ClamAV and from what I understand, it needs to be configured before it will become active. How the heck do I do that?

Also, and this is entirely unrelated, is there a way to dual boot with another program like Bodhi or Puppy? I've installed both of them, and it just says "mounted to system." I have them burned onto CD, but the computer doesn't recognize them even after rebooting, so I'm not sure where to go from here. I read a little about mounting, but much of it still eludes me. However,I plan on reading some good tutorials about Fedora and Linux in general.


Overall, I'm having a blast learning Linux and am very happy I made the switch. Thank you in advance for your help, and if a similar question has been posted and this is redundant then my apologies.
 
Old 07-23-2011, 06:34 PM   #2
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
Do all of this as root


I am assuing you already installed clamav? If not then ( yum install clamav ) then install clamtk, it is a gui for clamav ( yum install clamtk ) Then update clamav database with the command "freshclam" without the quotes of course.

But before you use freshclam you need to edit two things in /etc/freshclam.conf (type this at the command line: nano /etc/freshclam.conf ) To save with nano use crtl+o and to exit crtl+x

Change this

Quote:
# Comment or remove the line below.
Example
To this by adding # infront of Example.

Quote:
# Comment or remove the line below.
# Example
Change this

Quote:
# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# You can use db.XY.ipv6.clamav.net for IPv6 connections.
DatabaseMirror db.XY.clamav.net
To this by adding your country code, for example United States would be US, where XY is


Quote:
# Uncomment the following line and replace XY with your country
# code. See http://www.iana.org/cctld/cctld-whois.htm for the full list.
# You can use db.XY.ipv6.clamav.net for IPv6 connections.
DatabaseMirror db.US.clamav.net
Then crtl+o and enter (this saves it,) then crtl+x and enter (this exits from nano back to command line.) Then type in freshclam, this will update the database. You can run clamtk from the menu or type in clamtk at the command line.

Edit: Don't forget to check out http://rpmfusion.org/

Last edited by Amdx2_x64; 07-23-2011 at 07:07 PM.
 
1 members found this post helpful.
Old 07-23-2011, 07:11 PM   #3
hpcatfish
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
OK, I got as far as downloading clamtk, but after that I'm totally lost. The terminal doesn't recognize the command "nano", and there's no such file as /etc/freshclam. Thanks for helping me work through this.
 
Old 07-23-2011, 07:20 PM   #4
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
Ok. Then nano is probably not installed. I couldn't remember if it was installed by default or not. I am not using Gnome3. Try gedit instead of nano or yum install nano if you would rather use that. Remember you must be logged in as root in the terminal. su (then enter root password.)

Also freshclam gets installed with clamtk, so yum install clamtk then freshclam will be there. Clamav and clamtk are in the Fedora repos, you won't need to download them separately.

Last edited by Amdx2_x64; 07-23-2011 at 07:25 PM.
 
Old 07-23-2011, 07:24 PM   #5
hpcatfish
LQ Newbie
 
Registered: Jul 2011
Posts: 3

Original Poster
Rep: Reputation: Disabled
Aha! I installed the nano command and inserted the # before "example." Freshclam is currently updating. Keeping my fingers crossed! Thanks again for your help. This is like learning a foreign language.

Edit: it now works perfectly. You are a genius!

Last edited by hpcatfish; 07-23-2011 at 07:32 PM. Reason: clarification
 
Old 07-23-2011, 07:26 PM   #6
Amdx2_x64
Member
 
Registered: Jun 2008
Distribution: Left LQ. Mods are too Rude!
Posts: 598

Rep: Reputation: 50
Excellent. Good job for a newbie

Edit: Also you are very welcome. It really is fun to learn all of this. There is a learning curve going from MS Windows to Linux. I love to see new people try Linux and appreciate the fun it can be and having a willingness to learn something new.

Last edited by Amdx2_x64; 07-23-2011 at 07:52 PM.
 
Old 07-24-2011, 03:44 AM   #7
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 16,825

Rep: Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408Reputation: 2408
odd fedora removed nano in the default install
what are you supposed to use on a busted new install
vi was never a default

i would not worry about using Clam
there are no Linux viruses that it looks for , only MS WINDOWS ones
also with SELinux set to enforcing none of the 6 or so Linux ones can install if you are running as a normal user.


rootkits are to be watched for on fedora but there again in 6+ years i have never seen one installed on any of my computers .

Quote:
Also, and this is entirely unrelated, is there a way to dual boot with another program like Bodhi or Puppy? I've installed both of them, and it just says "mounted to system." I have them burned onto CD, but the computer doesn't recognize them even after rebooting, so I'm not sure where to go from here. I read a little about mounting, but much of it still eludes me. However,I plan on reading some good tutorials about Fedora and Linux in general.
for dual/tipple booting you do NOT mount the dvd / cd
you free up space is install the second OS .Just like Fedora .

how did you "burn" them ? as a data cd or as " burn image"

fedora 15 auto mounts drives a bit DIFFERENT now so ONLY use "how to's " for fedora 15 ( NOT 14 or 13 BUT 15 ONLY )
now you can MANUALLY mount with /etc/fstab that did not change


Just remember that Fedora is a VERY fast R&D distro it changes SO FAST. With a new and sometimes VERY different version EVERY 6 MONTHS
Fedora also uses VERY VERY new code ( and versions of programs) that sometimes even 1 year old programs WILL NOT BUILD OR RUN OR INSTALL
an example would be gcc 4.6
that compiler is SO NEW that some new programs will need hacking to build on fedora
fedora is an early adopter of NEW tech and gcc is one that is the newest of the new .
 
Old 07-24-2011, 07:10 PM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,240

Rep: Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324Reputation: 2324
Quote:
vi was never a default
Hmmm, it's been in the default install for every version of *nix I've come across, unless you go waaay back and then it was ex iirc.
Its usually what you get on rescue disks as well.
 
Old 07-25-2011, 04:50 AM   #9
salasi
Senior Member
 
Registered: Jul 2007
Location: Directly above centre of the earth, UK
Distribution: SuSE, plus some hopping
Posts: 4,053

Rep: Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881Reputation: 881
Quote:
Originally Posted by hpcatfish View Post
... I downloaded ClamAV and from what I understand, it needs to be configured before it will become active. How the heck do I do that?
Just to abstract the answers to this and make it a little more general:
  • To install programs, use the package manager for your distro. You don't have to do this, but it will make your life easier in a couple of ways (it is unclear if this is what you did, but the 'scour the net, find a random site that claims to have it, download it, build/install the app' algorithm that you may have come to by adapting what you would do under some other Operating Systems is just wrong.)
  • If using a version of a program supplied by your distro supplier, there may not be much configuration to do, depending on the app, but, in general, a look through the conf file before running is a sensible thing to do.
  • If you are running locate and the updatedb process has been run since installing the app, 'locate whatever.conf' will probably reveal the configuration file's location. Otherwise, there is probably a 99% chance that its in /etc (although some apps keep a 'maaster version' (unmodified/reference version) plus a version in /etc that actually does the business.
  • .conf files are plain text files; you can read through them, and often that gives you all that you need to understand what is needed to be configured; sometimes you may additionally need to read a tutorial or how-to in order to understand some of the terms used and the implications of some of the options
  • as this is a text file, even if you mess up the configuration, you can sort it out by correcting the file and you don't have to re-install
  • you can use your favourite text editor for this...assuming that you have a favourite text editor; otherwise, you are probably stuck using someone else's favourite text editor
  • for, eg, a GUI app, that might be the end of the story, but...
  • for a 'server' app (anything that acts as a server, for you, in the background) you'll have to arrange that the app starts at an appropriate time; your distro will have an arrangement by which server processes are started and stopped, and you'll have to use that to ensure thast the process runs when you want it to; this could commonly be 'any time that the computer boots', or something (eg, when the computer gets to the run level for the GUI to run)

As mentioned before, ClamAV is unlikely to do you much good, unless you are hosting/staging files for Windows users (or receiving files from Windows users), in which case, it could be a really sensible additional security measure. That said, it is unlikely to you much harm, either. And, as a learning exercise, it has clearly been beneficial, if nothing else.

Notes on editors:
  • My favourite text editor is KDE's Kate (Gedit is a gnome-based alternative, but there are certainly others, too); this relies on having a GUI (not necessarily KDE), so there are cases in which a fallback option is required.
  • As far as command-line editors are concerned, I use Joe, but that's because the commands are wordstar-like and that is something I used heavily ~30 years ago. For other use cases, nano, vi also work, but I wouldn't advise emacs, unless you are really prepared to put work into learning it, and that's really only worth it if you are going to use it a lot. (That is: learning curve alert!) In effect, I re-learn the command line option every six months, or so, so I want something that I can re-learn easily, and Joe does it for me.
  • YMMV. No, your mileage will vary.


Quote:
Originally Posted by hpcatfish View Post
Overall, I'm having a blast learning Linux and am very happy I made the switch. Thank you in advance for your help, and if a similar question has been posted and this is redundant then my apologies.
Good to hear! Don't let anyone tell that there isn't a learning curve, but, having got over the learning curve, it does make a lot of sense and it does get easier to work with. In some ways, its actually easier if you are not coming at this from an 'I know Windows, let's try to use this like Windows' point of view. See Linux-is-not-windows.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Couple newbie questions gorilla man Linux - Newbie 8 09-21-2009 11:30 PM
Couple of questions from a newbie ltjmax Linux - Newbie 4 07-04-2006 06:03 PM
a couple of newbie questions... tjb Fedora 1 12-23-2004 10:59 PM
Couple of newbie questions acidblue Slackware 3 07-22-2004 01:42 AM
A couple of Newbie Questions! saturdaysk8ter Linux - Newbie 1 11-29-2003 10:15 PM


All times are GMT -5. The time now is 10:30 PM.

Main Menu
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