Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
I am trying to install apache server on linux. The problem is I need a C compiler to install apace but I can't seem to find it in my system. Probably it wasn't installed. I query man gcc and man cc to find out and there is no such command. So how can I install the C compiler? Is the installation files available in the cd? I am using redhat 9.
What Linux distribution are you currently running?
You can probably install gcc from your Linux CDs using whatever software installer your distribution comes with, in fact, apache is probably in an easy to install package as well, on the CD.
Without knowing which distro you are running, I can't say much more than that.
Running a webserver on an OS that is no longer supported with updates is a bad idea. Use CentOS as it is compatable with RHEL (it is just a rebuild of the source code, so it is infact almost identical), is much faster than RH9 and the updates are still coming out. They come out within 24 hours of Red Hat releasing them for RHEL.
I search the cd and found files below with gcc in its name
compat-gcc-7.3-2.96.118.i386.rpm
compat-gcc-c++-7.3-2.96.118.i386.rpm
libgcc-3.2.2-5.i386.rpm
Is any one of this files is for gcc installation? If it is, is there any site that can guide me in performing the installation step by step. I never install this before.
He must have misread your post. Red Hat 9 is the distro you are running. And like I said, you are asking (more like begging) for problems by running a webserver on an OS that is no longer receiving security updates. Red Hat 9 has been discontinued. See my earlier post about Centos and WhiteBox linux, they are rebuilds of Red Hat Enterprise Linux, and as such still receive security updates regularily (normally within 24 hours of Red Hat releasing them for Red Hat Enterprise Linux). Much faster than Red Hat 9 and better for Server use. I would recommend checking it out, espescially if the server is going to be visible online (I'm assuming it is an internet server and not an intranet server, am i right?). If hackers see a vulnerable Red Hat 9 box, it will be hacked.
Actually its not up to me which linux distro to use. Red Hat 9 was purchased not so long ago so we continued using it. But if Centos of Whitebox is a free OS then might consider it. By the way if red hat is discontinued how come i can still access the www.redhat.com site ?
Red Hat is still a company. They discontinued their Red Hat Linux line, replacing it with Red Hat Enterprise Linux. Red Hat Linux used to cost between $30 and $150 depending on the version. Red Hat Enterprise can cost up to $2000 or more depending. CentOS (I recommend it over WhiteBox) is a free download, and much more server oriented than Red Hat 9. All it is, is Red Hat Enterprise minus any Red Hat trademarks and without the phone support. But trust me, official support for Red Hat 9 ended over half a year ago, I remember because I had to migrate to another distro.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.