Linux - NewbieThis 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
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
The older one is an Athalon 2600 and runs Windows XP. It has a 2nd disk drive (60Gb) that I am clearing to install Linux.
The newer one is a Quad Core running Vista. It has a 2nd disk drive that I have partitioned to have 200Gb free for Linux.
I need to find, download and install Red Hat 9 to be able to run and modify an application.
I have found some sites that have Red Hat 9 (sometimes called Fedora I believe) but I do not know which version of it to download (ppc, x86, i386 etc).
For want of a better choice I downloaded the two iso files for the x86 version
Fedora-9-x86_64-Live.iso and
Fedora-9-x86_64-Live-KDE.iso and
redhat-config-date-1.5.15-1.noarch.rpm and
SHA1SUM.mht
It said something about converting these iso files to disk images before trying to install and did not mention how to do that or what to do with the other two files (rpm and mht).
Once I have the correct disks I want to install Red Hat 9 onto the two PCs.
Presumably I will have to format the selected drives and hopefully it will do so automatically.
Then I can start doing some damage to the system itself.
So is there an easy way to find out what steps I have to take to download the correct files, set them up as install disks (assuming I have to do this) and install the system?
RH9 is an out of date distro that led to Fedora Core 1. We are now up to Fedora 10 (no longer referred to as core as of F7).
First thing would be to work out exactly what you need.
If you actually require RH9, you will find it on the downloads on this site. I doubt you want RH9. Go for i386 would be my suggestion.
If not, you can stick with what you have. The difference between the live-iso and live kde-iso is just the window manager - the former is gnome, the latter is kde. If you've got no idea what I mean, you can choose either, it's a preference thing, and perhaps look at both - you might love one and think the other sucks.
Once you have an iso, you need to burn it. I use nero from windows, and it has an option to burn a disk image to a disk. Whatever dick utility you use, you need to find an option to burn an image.
Once burnt, stick it back in the drive. If there's the fedora....iso there, you got it wrong and burnt the iso as a file. If there are a number of files there, you got it right.
Boot with the cd in the drive, and follow the instructions. End of story.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
Since Redhat 9 is very ancient, I doubt you will get it installed on any reasonably new hardware. It doesn't support common things such as SATA (meaning it likely won't recognise your hard drive).
My suggestion would be to install VMWare Server on the better machine. Then install Redhat 9 in a Virtual Machine, which is more likely to work.
If you want to play around with Linux (ie: for your own knowledge), then install a more recent distro.
I successfully downloaded the 3 shrike-i386 discs for the Red Hat 9 Linux and installed the on the old Athalon and it has worked. I very much appreciate your help and I am impressed at the speed of the replies.
I have not yet tried it on the Quad Core which incidentally has a two SATA drives so I guess that may cause a problem. I will research the VM Ware issue once I have mastered the basics on the older PC.
I am in the process of downloading the application to test it.
Not sure how to note a thanks against someone but I would do it if I knew how.
On a side note many of the links no longer work on http://iso.linuxquestions.org/red-ha...inux-9-shrike/
The Main CDs links failed as did the ones from France.
2 of the 3 Germany links worked but the Germany ISO 1 was corrupted so I picked up the HK disk 1.
By the way, I did send a message to the link on the forum to say I could not get them working, before I posted here. I should have mentioned that.
------------------------------------------------------------------------
Next steps
I have successfully downloaded the application in the form of packagename.tar.gz.
I can double click on it and the folder structure is
home
packagename
.dat
.obj
.save
.tmp
backup
cgi
logbackups
scripts
and a series of .c and .h files and a few others
Extract partially fails
When I extract using the Extract button from the Filer Roller windows everything gets extracted except the .dat .obj .save and .tmp folders. The folders and files are extracted under /home in the structure listed above.
It tried to extract it also on the command line using
gzip -d -c packagename.tar.gz | tar xf-
or
gzip -d -c packagename.tar.gz
and various combinations of this but the results was the same. The 4 folders are still missing.
I will need them to set up and run the system.
Compiling
I can successfully compile an individual .c file into a .o file using
gcc file.o -o file
but I can not compile multiple simultaneously. I get a message saying "too many files"
As there are over 100 files to compile it would be nice if I can do them all together or at least in groups.
I am assuming the .o file is a compiled and executable object.
Running
Assuming I am successful in compiling the .c files and moving them into the .obj folder and finding the missing folders, how do I run the system. I was expecting to see a main.o or packagename.o file for me to execute. Any tips would be appreciated.
So I have 3 questions
1) How to I extract the recalcitrant folders that are there but don't want to come out.
2) How do I compile the 100 odd .c programs and am I correct in assuming that .o files are the final executable state.
3) How do I identify which of the 100 executable files is the main one that starts the system?
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
Quote:
Originally Posted by Lordlava
So I have 3 questions
1) How to I extract the recalcitrant folders that are there but don't want to come out.
2) How do I compile the 100 odd .c programs and am I correct in assuming that .o files are the final executable state.
3) How do I identify which of the 100 executable files is the main one that starts the system?
1) Not sure. I normally use "tar -xzvf archiveName.tar.gz".
2) Normally, you can compile using (from within the directory that was created when you unzipped the archive):
Code:
./configure
make
make install
make install should be run as root. The .o files are object files. They are an intermediate step between code and being fully compiled and linked.
3) It will probably be the name of the system. Check the documentation for whatever program to find out what it is called.
1) Your manual method successfully extracted the missing folders and files. I do not understand why the window extract button did not work but I can now get past that step.
2) The ./configure command fails as does the Make command.
./configure gives no such file or directory
make gives nothing can be done for "all"
all: newserver password xxx happens to be the beginning of the first line in the Makefile
However you have set me on the right path and I am now exploring the GNU Make Manual to find out why the supplied Makefile causes me an error on line 1. I will also try to explore why the ./configure command fails (maybe they are related) but this will keep me busy on the webs for a few hours.
3) In the Makefile I discovered what I think is the name of the final executable code called "newserver". There is a 1.5Mb file in the folder with that name. Needless to say with my luck, I tried to type that in at the command prompt and it did not work either "command not found" but I shall power on regardless in my quest for knowledge in this new world.
Distribution: Ubuntu, Debian, Various using VMWare
Posts: 2,088
Rep:
If you want to run a command that is in the current directory, you need to begin it with a ./.
The ./configure command is saying "run the program called configure that lives in the current directory". Obviously there is no configure program in this directory. FYI - the configure program normally builds the make file by checking all the locations of libraries, etc on this system.
If there is a program called "newserver" that looks like it would be the final executable, try running it as ./newserver from within the directory. You may need to make it executable:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.