Jump to content


Photo
* * * * * 3 votes

Getting Started With Linux


  • Please log in to reply
71 replies to this topic

#21 cerealkiller76

cerealkiller76

    Mack Daddy 31337

  • Members
  • 246 posts
  • Location:5-3-0

Posted 27 April 2004 - 03:46 PM

Thats the thing. On dialup, you can't download anything.

#22 kobs

kobs

    DDP Fan club member

  • Members
  • 50 posts
  • Location:westside (3rd and derb)

Posted 27 April 2004 - 04:58 PM

dont give me that line...im still on dial up...and lets see my count of ISOs =D

slackware2
redhat(dont ask)3
knoppix1
freebsd1
college linux1
(doesnt count but windows2kpro 4-in-1)

#23 Grifter

Grifter

    I broke 10 posts and all I got was this lousy title!

  • Members
  • 13 posts

Posted 06 June 2004 - 07:14 AM

learn command line utilities definitely. The more that you use the GUI, the more you will hurt yourself. The commands are basically the same for every distro, w/ some distros having different commands, but all of the distros have different gui's to perform the same task, so any attempt to remember how to do this on several different distros is just dumb. I guess they're not THAT different, seeing as how most of the gui's are on KDE or gnome, but those should only be used for convenience.

Start by downloading some packages that you want to install on your system and untarring them. Compiling source is something that you'll do often in Linux, and this very routine procedure can get you comfortable w/ linux. Besides, if you happen to have a few dependencies to resolve, you'll get LOTS of practice :lol:

Edited by Grifter, 06 June 2004 - 07:15 AM.


#24 bankrupt

bankrupt

    SCRiPT KiDDie

  • Members
  • 24 posts

Posted 19 July 2004 - 02:42 AM

I recomed this c.c.l. book for anyone interested in experimenting with varity of linux distros. Such as Arch, Debian 3.0, Gentoo 2004, Knoppix 3.4, Mandrake 10, MEPIS 2004, PCLinuxOS 2004, Slackware 10 SuSE 9, and more.

#25 Juv3nil3 Ph15h

Juv3nil3 Ph15h

    Gibson Hacker

  • Members
  • 97 posts

Posted 21 July 2004 - 11:32 PM

Here is a howto on compiling a linux kernel:
Every Linux user reaches the point in their life where they need to upgrade to a newer kernel. There is no way to circumvent this rite of passage, and in my opinion should be mastered by all linux users.

To begin, let's make a backup of out current config:
cd /boot
cp vmlinuz vmlinuz.old
cp System.map System.map.old
pico /etc/lilo.conf
add a new entry for the .old files that you created (just copy your original linux entry but use the .old part and give it a different name)
after this you must run lilo again:
lilo
Now it is safe to begin the actual process of compiling the new kernel

Now, get the source code for the kernel you want:
http://kerenl.org

Once you get the source code unzip it into /usr/src (it will create a directory which will hold all its files)

to do this use tar -xvzf kernel.tar.gz

-or-

tar -xvzf kernel.tar.bz2

now, cd to /usr/src and remove the link called linux

rm -rf linux

Create a new link called linux, and link it to the new directory with the latest kernel source:

ln -s linux-2.(rest of directory) linux

now, cd into linux and from there type:

make mrproper

Now, it is time to configure what will be compiled into our kernel

type one of the following:

make menuconfig (menu configuration)
make xconfig (x configuration)
make oldconfig (asks you if you want to add options, I personally dislike this one)

Now, after you make your choices you need to actually compile the kernel:
if you use slackware the make file needs to be modified so that
export install path = /boot
is uncommented.
Now type in the following:
make all && make modules_install && make install && lilo && reboot
this should work for almost all distros

Now, if you are experiencing video issues, try this:
In the kernel config, make sure you are using a framebuffer kernel, and make sure you select the right video driver, or the svga video driver

#26 jedibebop

jedibebop

    Dangerous free thinker

  • Members
  • 1,935 posts

Posted 22 July 2004 - 12:01 AM

something to note, that is for 2.4 kernels, also some systems, /boot is not mounted, you have to mount it first, before you go backup stuff (you'd probably notice) and before you copy the image over to it.

#27 bovinefeces

bovinefeces

    Gibson Hacker

  • Members
  • 94 posts
  • Location:Earth

Posted 16 August 2004 - 04:14 AM

Thanks for posting this Zapperlink. And thanks for pinning it. Very newb friendly.

#28 I-baLL

I-baLL

    T0tal n00b

  • Agents of the Revolution
  • 1,373 posts
  • Country:
  • Gender:Male
  • Location:New york

Posted 06 September 2004 - 02:13 AM

k, I'm a total linux n00b. My only excuse is that I've never had a linux machine till now. I'm running Damn Small Linux off a live cd on my Toshiba Satellite Pro 465cdx. I'm planning to do an hd install asap.

Here are a few questions: Can anybody give a run down of fdisk? It's quite straight forward to use but I see all these file system options and stuff. Which one do you think I should use? Also how do I make 2 separate partitions into one partition?

Also, can anybody explain how to change permissions?

#29 Juv3nil3 Ph15h

Juv3nil3 Ph15h

    Gibson Hacker

  • Members
  • 97 posts

Posted 15 September 2004 - 05:23 PM

1) Use cfdisk if your a linux n00b, that should work well for you.
2) chmod lets you change permissions, this link will explain it:

http://catcode.com/teachmod/

#30 Scheda

Scheda

    Hakker addict

  • Members
  • 553 posts
  • Location:863

Posted 09 November 2004 - 03:27 PM

Well, I'm having compiling problems... I thought this would be a good place to post it for others to read... Ok, so apparently I have no compiler, so I took the liberty of downloading Intel's c++ compiler. Ok, so I've got it installed and whatnot, here is where I'm having trouble.

Before you can use the icc command and the icc(1) manpage, execute
the following source command to set the appropriate environment
variables (such as PATH):

  prompt>source /opt/intel_cc_80/bin/iccvars.sh

When using the C shell, use iccvars.csh in place of iccvars.sh with
the source command.



I do that, and my icc command doesn't work... For those that don't know, with the Intel compiler I believe icc will be the command to compile something from what I understand. Correct me if I'm wrong because I'd rather not have people read that and get all confused because I'm stupid.

Help por favor.

#31 zraith

zraith

    SUP3R 31337

  • Members
  • 198 posts
  • Location:Southern Indiana

Posted 19 December 2004 - 04:54 PM

what if you add hardware, such as a Ethernet NIC card.... and you want to set up your connection... Can anyone explain how to do this?

#32 specter

specter

    SUP3R 31337

  • Members
  • 184 posts
  • Location:your root directory

Posted 19 December 2004 - 05:12 PM

first mke sure the device exist
ifconfig eth1
this is assuming that its your second nic. if not replace the number with the aproperate interger.

if it says

eth1: error fetching interface information: Device not found

then your kernel is not compiled to support that card

but if it says something like

eth1    Link encap:Ethernet  HWaddr 00:10:5A:03:93:57
          inet addr:192.168.2.5  Bcast:192.168.2.127  Mask:255.255.255.128
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:256404 errors:0 dropped:0 overruns:0 frame:0
          TX packets:176028 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:272216332 (259.6 Mb)  TX bytes:16662825 (15.8 Mb)
          Interrupt:11 Base address:0x1000


then your device is installed properly

all you have to do is use ifconfig to set up the connection and/or edit /etc/conf.d/net.eth1 assuming your using gentoo. (I'm not sure what file it is in other distros)


hope I helped and didn't confuse you
Note this took me 2 minutes and is in no way detailed

ph34r my interface skillz :ninja:

#33 djmollusk

djmollusk

    resident chix0r magnet

  • Agents of the Revolution
  • 813 posts

Posted 30 January 2005 - 10:41 AM

The table of equivalents / replacements / analogs of Windows software in Linux.

http://linuxshop.ru/...in-lin-soft-en/

#34 Rightcoast

Rightcoast

    mmm ... donuts

  • Agents of the Revolution
  • 2,074 posts
  • Gender:Male
  • Location:321

Posted 17 August 2005 - 02:34 PM

I have written this as a short helpful guide for people who want to use a Linux distro, but aren't sure which one to choose. It is neither all encompassing, or completely unbiased. I have taken pains to show a few distros strengths and weaknesses, not just my recommended newb distro. this way, you can choose, and no one shouts "Rightcoast is a walking Debian billboard".

I think there are probably a dozen distros I can think of that would work well for a new user. I am going to stick with the few I think would best serve noobs though. What distro you want, even with all the advice in the world, comes down to what you need it for, and personal taste. I have ranked these in order from lowest to highest, using my judgement and weighing things like ease of use vs. power vs. long term benefits like general *nix education.

5. Mandriva: Formerly known as Mandrake, this is one of the first distros that stressed ease of use. It is one of the top two or three in ease of use. That's also it's biggest drawback. You can't learn shit when you are clicking a button to administer every aspect of the machine. Believe it or not, when you get used to a couple commands, it is faster than a lot of GUI tools anyway. It's package management tool is urpmi. It uses rpm's, being based on Red-Hat and all.
New users will find it easier to configure urpmi with easy urpmi:
http://easyurpmi.zarb.org/

Mandriva homepage
http://www.mandrivalinux.com/

Mandriva forums
http://mandrivausers.org/

Mandriva community wiki
http://mandriva.vmli...ew/Main/WebHome

Main Wiki
http://en.wikipedia..../Mandriva_Linux

4. Debian: It has a graphical installer that is easy to use now, and apt-get, it's package manager. While ease of package management is this distro's primary strength IMO, it also makes an excellent server OS as well. Debian is not entirely suited to the new user, so Ubuntu gets the #1 spot.

The Debian homepage
http://www.debian.org/

Offical Documentation:
http://www.debian.or...e/installmanual
http://www.debian.or...ference.en.html

This is a site with extensive Debian guides, install walkthroughs, and how-to's. You can use this page alone and get up and running with any type of machine you want, from plain regular desktop, to networked fileserver or webserver.
http://www.aboutdebian.com/
A more technical, but essential page for some more intermediate/advanced Debian topics:
http://qref.sourceforge.net/

"News for Debian, Stuff that Matters" :)
http://www.debianplanet.org/

Wiki page
http://en.wikipedia.org/wiki/Debian

3. Slackware: A very powerful Linux distro. Many experienced users will even call it the *most* powerful. Combine that with the fact a new user can actually pull off an install, unlike other very powerful distros like Gentoo and Linux From Scratch (which isn't really a distro at all, just some docs, but that's another discussion), and you see the main reasons Slackware gets a number three on my list.

It will require you read documentation, and have previous computer experience. At least be able to read and understand technical documentation and you will be fine.
http://www.slackware.com/

2. Knoppix: Awesome hardware detection. What this means for you is that in almost every case, you put the disk in, and everything runs. Ubuntu has worked better for some Wi-Fi equipment for me in the past, but knoppix is at least it's equal in hardware detection anyway. It's good, it's powerful, and if it weren't for Ubuntu, it's waht you would want. :)

http://www.knoppix.net/
http://www.knoppix.net/forum

The main issue I see new Linux users have with knoppix is some slight confusion about the root password. This thread will clear everything up.

http://www.knoppix.n...pic.php?t=11500

1. Ubuntu: It is as powerful as any other distro, it's fast and it's clean. It is also nearly idiot proof (not saying anything bad at all, it's just made to be idiot proof). Easy hardware detection and configuration (#1 on any newbs list), and a top notch support community. This is the ultimate balanced distro.

http://ubuntulinux.org/

http://ubuntuforums.org/

And... for a new user, this guide is a very easy to navigate guide to using your new ubuntu system. All you old pros, if you haven't seen this, read it. Hopefully learn from it, and carry it's greatness over your distro's docs. This is what gives it the one up on any distro for a new user. Chua Wen Kiat is an open source hero...this guide is assisting the transfer to a Linux OS for many, many, many, many^ users. Kudos!

http://ubuntuguide.org/

On a final note, I think that Ubuntu is the only distro that will mail you free CD's via USPS. This makes Ubuntu Linux free-as-in-beer for dial up users as well.

Of course, when at all possible try to test a distro out with a LiveCD version. You can run these directly from the CD drive and not have to install a single thing on your hard drive. This means you can try different Linux versions at no risk to your computer.

Here's a complete comparison of distros you can look at as well.
http://en.wikipedia....x_distributions

Bring your questions on linux over to the guys and girls at Linux Questions. This should be in every new users bookmarks. You can get help with pretty much anything there. Just find your distro's form, and ask away!
http://www.linuxquestions.org

Edit: Hopefully this one can help some people out, add your thoughts too.

Edited by droops, 18 August 2005 - 07:43 AM.


#35 hacnslash

hacnslash

    Banisher of n00bs

  • Agents of the Revolution
  • 2,454 posts

Posted 11 September 2005 - 07:21 PM

And now your guide is nicely edited and formatted up on docdroppers, i was thinking abou making a different sticky for this, but this should be good enough i think.

http://www.docdroppe...stros_for_Noobs

#36 doomtroll

doomtroll

    SUPR3M3 31337 Mack Daddy P1MP

  • Members
  • 313 posts
  • Location:785

Posted 19 January 2006 - 06:45 AM

these books have been very helpful in learning the guts of linux...I had been using linux for a few years before I read these...but I feel I got better after reading these

Posted Image

Posted Image

Edited by doomtroll, 19 January 2006 - 06:46 AM.


#37 Alk3

Alk3

    "I Hack, therefore, I am"

  • Binrev Financier
  • 1,003 posts
  • Gender:Not Telling
  • Location:312 Chi-town

Posted 02 June 2006 - 03:45 AM

I used to be a Win XP fan until I was told about the power of the command line. I was trying to get by with only cmd.exe in Windoze and found it to be very limited. I didnt want to jump straight into a fresh Linux install so I looked for alternatives. Here is what I found:

http://colinux.org/

Cooperative Linux is a great way to get used to the command line and help decide which distro you want. It just requires a lot of reading and patience. I found it very helpful and worth the while as I didn't want to get stuck with an OS install I didnt peticularily care for. You just have to understand a little bit about networking and ask questions to get coLinux running.

Once you decide you really DO like Linux figure out your distribution. Personally I found the best beginner distribution to be Debian. It has great support and a large userbase. With the apt command you can get A LOT of the programs you need. It is a fairly straightforward distro.

Here is the coLinux Wiki that has almost all of the help you will need:
http://wiki.colinux....x.php/Main_Page

Alk3

#38 epoise

epoise

    DDP Fan club member

  • Members
  • 50 posts

Posted 16 June 2006 - 03:20 PM

Well, I'm having compiling problems... I thought this would be a good place to post it for others to read... Ok, so apparently I have no compiler, so I took the liberty of downloading Intel's c++ compiler. Ok, so I've got it installed and whatnot, here is where I'm having trouble.

Before you can use the icc command and the icc(1) manpage, execute
the following source command to set the appropriate environment
variables (such as PATH):

prompt>source /opt/intel_cc_80/bin/iccvars.sh

When using the C shell, use iccvars.csh in place of iccvars.sh with
the source command.



I do that, and my icc command doesn't work... For those that don't know, with the Intel compiler I believe icc will be the command to compile something from what I understand. Correct me if I'm wrong because I'd rather not have people read that and get all confused because I'm stupid.

Help por favor.


Oh dear. Using icc as a newbie might not quite be what you want...What's wrong with gcc? There's a package for it on every distro on the planet and you don't have to worry about making the shell aware of any special features/linking libraries etc., which is something that Intel's compiler AFAIK still has trouble with. It's a very special, optimized compiler, but not absolutely compatible with a lot a *nix programs/libs.

Anyway, I assume you typed in "source /opt/intel_cc_80/bin/iccvars.sh". What happened? Do you have "/opt/intel_cc_80/bin" in your PATH? What does iccvars.sh do exactly?

#39 Octal

Octal

    Dangerous free thinker

  • Members
  • 886 posts

Posted 06 August 2006 - 09:09 PM

Hmm, the slackware site gives you the source and what not of slackware, but how would you go about uploading it to a computer? So, the operating system would be slackware?

#40 arewhyainn

arewhyainn

    Cryin' Ryan

  • Banned
  • 401 posts
  • Location:Pasadena, TX

Posted 06 August 2006 - 10:04 PM

Hmm, the slackware site gives you the source and what not of slackware, but how would you go about uploading it to a computer? So, the operating system would be slackware?


You need to look a bit harder. All/most distros will have the scr and the bin disk. the bin is what you want (PPC. x86 x86_64) those are precomiled src code.




BinRev is hosted by the great people at Lunarpages!