Moving On In Linux
I have Mandrake 9.0 up & running to where I can play a game, listen to a CD or "surf the 'net". BUT, I can't seem to get any further to where I can install new programs or even customize my KDE desktop. [I don't remember Windows being this "hard"]
I think what I'm looking for is a manual or tutorial that shows [step-by-step] how to "do everyday/practical things". Examples: 1) Copy or move a file from a floppy into the "correct" folder. For that matter, know what the "correct" folder is ! Using Win98 I have downloaded several programs/files on to floppies or CD-Rs but don't know how to get them into Mandrake. 2) Replace my current version [it came with Mandrake] of Mozilla with the latest [1.3.1] version, I got it into /home/oldbob/ and don't know what to do next. I could go on, but I think you get the point. |
ok, I nearly always strongly recommend people:
1) search this site for information about software installation 2) search google.com/linux for info 3) look at a guide like the Rute guide in my signature but what have you actaully downloaded? on mandrake you will typically use rpm files, best place to get them for mandrake is http://fr2.rpmfind.net and install them with the mandrake installer, or directly on a command line using the urpmi or rpm commands directly (try urpmi first, it's quite good and automated). you can install from a number of different ways but i'd advise to stick to rpm's for now. |
acid_kewpie,
Thanks for response. My basic problem is I bought Mdk 9.0 for 99 cents/CD with NO documentation. http://www.edmunds-enterprises.com/linux/ I have just enough computer/Windows knowledge to get Mandrake loaded and running, BUT that's it ! I don't know if you are familiar with books that Que published for Windows. There is one operation on each page [ex. copy folders, sort files, etc...] with LOTS of pictures. The couple of Linux books I bought [Linux by Michael Bellomo & Linux For Windows Addicts by Michael Miller] are so "broad" I can't seem to get anything out of them. I guess what I'm looking for is a step-by-step outline. I open the Terminal Window and can't remember from the last time the steps I tried to learn. |
learn linux in 24 hours is a good one to start with. it will go through the basics of linux in a step by step way. each chapter focuses on a new section of your system.
as for mandrake documentation, you should be able to find it on their site. good luck. |
I have found Sam's Teach Yourself Linux in 10 Minutes and Sam's Teach Yourself Linux in 24 Hours [as mentioned above] to be very helpful. For learning the command-line, A Student's Guide to Unix by Harley Hahn is excellent. My used copy was published in 1993 so may not be available now. If you can find a used one, buy it! Although I am very much a newbie, Que's Special Edition Using Linux for intermediate-advanced Linux users is also good. I have the Fifth Edition but a friend bought the Sixth Edition last year.
|
|
Download these immediately and install Midnight Commander.
Linux Newbie Administrator Guide Rute User's Tutorial and Exposition # Mandrake links Mandrake home page Mandrake Users website Easy urpmi config for Mandrake urpmi mini-HOWTO Easy software management: Red Carpet Maximum RPM rpmfind You didn't install the developmental packages? As root, command: urpmi gcc Install Midnight Commander by commanding: urpmi mc |
Hey people,
Thanks for all the responses, especially fancypiper for all the links. Which I have carefully bookmarked in Mozilla. fancypiper to answer your question. With only Mdk 9.0 on a 10 gig HD I installed ALMOST all the packages [except network]. Didn't know if I MIGHT need them ! I am still overwhelmed by the number of sub-directories [/bin /dev /home /lib /sbin /usr "and so on"] I have no idea what's in them or where I should look for a particular file. Just the prompt [oldbob@localhost oldbob]$ intimidates me ! When I use "SU" and the "$" changes to "#" I barely know what that means. I use things like "tcsh" and "bash" and see the changes, BUT I don't really know what I just did. I open a Terminal window and try all these things and they "work" BUT the next time I boot up Mandrake most of them are forgotten. I would like to replace the original copy of Mozilla [ver 1.1 which came with MDK 9.0] with the ver. 1.3.1 that I downloaded BUT I'm afraid I'll "wipe out" Mozilla and have no browser at all. This is starting to "ramble" so I'll close. |
How to learn Linux:
1. Break it. 2. Fix it. Bash is most commonly used, so learn that first. It is a real nice shell. Install a couple more browsers like opera or firebird and you got browsers. You might even have lynx, links and/or w3m command line browsers as well. Use the command line browser links and mc and lose the fear of the command line. There is more power there that is easier to use and it is common to all distributions than the particular combination of window/desktop environment that a user choses to use. # System administration The best ways I have found to administer my computer is with basic bash commands in a virtual terminal or an xterminal, or with another powerful shell, the well kept secret of mc (Midnight Commander), with a file manager, editor, and lots more handy tools. If you use the gui log in, you will be on virtual terminal 1 (most installs default to 6 of these terminals) and your x session will be running in virtual terminal 7. You have mouse support in the command line with gpm unless it has been disabled, so copy and paste is just as easy in virtual terminals as it is in x. From a virtual terminal, you can switch from one terminal to another by holding down the alt key and pressing one of the function keys F1 - F6. If you are in x, hold down the control key as well as the alt and F<N> key and you will go that terminal. The terminal that was first used to login will be busy and if x was run from that terminal, the error messages generated by x will be shown. The others will display the login prompt until it is used to log in to an account. To return to x from a virtual terminal, press alt and F7 and you are back to your x session. To change to the root account, use these commands from your user account. Note the change in the prompt. Code:
[phil@uilleann phil]$ su - Type Code:
mc Code:
man mc You can do the normal linux copy/paste with the mouse from one virtual terminal to another by left clicking and swiping text in one, alt-FN to switch to the virtual terminal you wish to paste into, and middle click will paste the text that was swiped in the first virtual terminal into the file at the blinking cursor position. To surf the internet from the command line, I recommend installing links as it displays most pages reasonably. Also, you can use it to post your questions about Linux here using it. Remember to refresh the posting page after login. There should be no fear of the command line as it is actually easier to use than the gui. All that is necessary is to know the commands. If you have zgv installed, you can even view images from the console command line. :cool: |
More hints
# Linux filesystem structure
Directory Navigation Help File Filesystems, Directories, and Devices Help File To remember stuff, use a file. I have a text file called "newbie" that I use to paste most of my answers to questions and it has the handiest commands and things that I learned by lurking on boards like this. All I ever learned is in that file, but I did also install the html howtos for the stuff I haven't learned or messed around with. Some of my handy stuff: Handy bash commands for finding out stuff in Linux: # Find CPU specifications cat /proc/cpuinfo # What pci cards are installed and what irq/port is used cat /proc/pci # Memory and swap information free An article: Tips for Optimizing Linux Memory # How is the hard drive partitioned fdisk /dev/hd<X> -l # How much free drive space df -h # Show disk usage by current directory and all subdirectories du | less # Find running kernel version uname -r # Find X server version X -showconfig # What is the distribution cat /etc/.product cat /etc/.issue cat /etc/issue cat /etc/issue.net sysinfo # For finding or locating files find locate which whereis # Use dmesg to view the kernel ring buffer (error messages) dmesg | less # Watch error messages as they happen (sysklog needed) as root, tail -f /var/log/messages (shows last 10 lines, use a number in front of f for more lines) # What processes are running ps -A # Find a process by name ps -ef | grep -i <plain text> For example, XCDroast ps -ef | grep -i xcdroast # See current environment list, or pipe to file env | more env > environmentvariablelist.txt # Show current userid and assigned groups id # See all command aliases for the current user alias # See rpms installed on current system rpmquery --all | more rpmquery --all > <filename> rpmquery --all | grep -i <plaintext> # What directory am I using pwd # What takes up so much space on your box # Run from the directory in question and the largest chunk shows up last find $1 -type d | xargs du -sm | sort -g Look at man <command> or info <command> for the flags I used and for other options you can use for bash commands. |
Thanks again, fancypiper,
You have given me a LOT to think about. I will have to gather the answers to your questions and get back. I have several Linux manuals and "dozens & dozens" of web site printouts BUT I can't seem to get this "info" organized and find a "starting point". To where I have a "break-through". P.S. "OldBob" = 72 years old |
You got me by 10. I am 62 (but feel like 82 :( )
|
Here are some links to websites that have really helped me:
http://www.mandrakeusers.org/index.php (The FAQ section on this one is great) http://mandrakeuser.cjb.net/ http://members.rogers.com/ctmlinux/index.html (this one's about Red Hat but most of it still pertains) http://dsl.org/cookbook/ |
computergirl,
The Mandrake Users board is exactly the kind of info I'm looking for. Thanks |
OldBob, I have to second fancypiper's philosophy about learning Linux: 1. break it, 2. fix it. Except you may not need to break something to find something to fix.
For example, you mentioned that the prompt [oldbob@localhost oldbob]$ intimidates you. Did you know that by editing a simple text file you can change what the prompt displays, including date, time, current directory, etc? e.g. 5:20PM /home/oldbob/documents $ Where to start? Pick a simple task like that and figure out how to solve it. You'll be surprised at the things you pick up along the way. By doing this task you're going to learn about environment variables, the .bashrc file, how to edit a file and save it, the ls command and some of its options, etc. After you've figured this one out, pick one more task and learn something new. If you want to play mp3s, see if you can figure out how to install xmms and play them. Maybe keep a notebook of your problems/tasks and how you solved them. You will probably find that within a month you are comfortable in your surroundings. Don't be overwhelmed by the enormity of Linux as a whole. You don't need to know everything about it to use it and enjoy it. Figure out how to tweak the things that you use from day-to-day so that they're exactly how you want them. By doing that you will make your "breakthrough". |
I would have to agree, I don't think anyone learned Windows in a week. Most anyone who feels comfortable with Windows probably learned it over a period of many months or possibly years. Looking back a few years, if someone had dropped Windows XP on my desk back in 1996, I would have been feeling about like you are now. A little overwhelmed. But I was introduced to Windows a little bit at a time, or one upgrade at a time and became familiar with it.
The same holds true for Linux, if you just take it one step at a time, starting out with the simple stuff first, then eventually you will be doing it without even realizing it. |
So many points to respond to,
jdc2048 - I did not learn Windows in a week, BUT the Que "soft-cover" manuals had one operation on each page and looking up a specific procedure was easy. The Linux manuals I have bought have such a "broad approach" that I do the examples one time but can't retain them. Example: There was an op using the Up & Down cursor arrows that worked great ! But I have already forgotten what it was for or how to do it ! [I think it changed the prompt]. Right now, there are some many new Linux terms "samba" "bash" "alias" etc... I read them but can't retain them. "bash" has something to do with a shell. BUT, what is a shell ?? My latest "stumbling block" is the floppy drive. I'm trying to copy something onto a floppy or take bookmarks off of a floppy and bring them into Mozilla. And I can't even locate the floppy drive. I suspect the problem is in this "mounting devices". Why is mounting devices even necessary ? It appears to me that devices can become "unmounted" between boot-ups. There is a floppy icon on the KDE desktop that does "nothing". I'm rambling again, more later. |
Have you ever used a dos shell in Windows? Essentially it is a command line intepreter, just as is dos, but with tons more power and ease of use to boot.
From bash Introduction to BASH Bash is the shell, or command language interpreter, that will appear in the GNU operating system. Bash is an sh-compatible shell that incorporates useful features from the Korn shell (ksh) and C shell (csh). It is intended to conform to the IEEE POSIX P1003.2/ISO 9945.2 Shell and Tools standard. It offers functional improvements over sh for both programming and interactive use. In addition, most sh scripts can be run by Bash without modification. The improvements offered by BASH include: * Command line editing * Unlimited size command history * Job Control * Shell Functions and Aliases * Indexed arrays of unlimited size * Integer arithmetic in any base from two to sixty-four Online Manual is available at www.gnu.org/manual/bash/index.html LNAG: Accessing my drives Rute: Device Mounting It isn't a good idea for the drives to be mounted/dismounted randomly by users on networked computers. Another user on another machine may be using it and that would tend to tee that person off. |
Quote:
Devices do not really "become unmounted between bootups". Whatever is configured as default mounts is how your system boots unless you change it. You normally do not want floppy or CD drives to default to mounted at boot as they need to be mounted or unmounted with media changes. Thus you would first insert the media (floppy or CD) then mount it. You would unmount it before you removed the media. Have you tried right clicking on your desktop floppy icon? There is often a mount or unmount choice you can click. |
All times are GMT -5. The time now is 07:01 PM. |