LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-31-2004, 09:41 AM   #1
Abs2004
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
Trouble installing Apache, Openssl, Modssl, php4, imap, and aeromail.


Hi...I just registered here on the forums because I am about to kill myself. Only you can help stop me.

This is what I'm trying to do:
Quote:
linuxjournal.com/article.php?sid=6395
It seems that the order of installs have changed since this article is written. I've installed OpenSSL first, and that installed successfully (ie: with no errors). Then I moved onto IMAP. Everything seemed to have gone well until I came to this step on the document:

Quote:
Installing the new IMAP server also is quite easy; we simply drop it in place and it's almost ready to go:

# cd imapd
# cp imapd /usr/sbin/imapd
I did not have a file called 'imapd' in that directory. Instead, I had two symbolic links called 'imapd.c' and 'Makefile'. I thought that perhaps this was an oversight on the article author's part and copied both files to the directory anyway (I know, I shouldn't have done that...but what else could I do?). When I tried telnetting to localhost 110 and localhost 143, it killed my telnet sessions automatically.

I have made the appropriate changes to /etc/xinetd.conf, and restarted it.

I am running Red Hat 8.0

Does anyone have any idea what I can do to get that article to work? Maybe you can offer a newer, better method in it's place? Perhaps I'm making a big time newbie mistake? All I know is that starting from IMAP, my apache, and php installs were messing up.

Please let me know if any additional information could help out.

Thanks a lot.
Abs

Last edited by Abs2004; 10-31-2004 at 09:47 AM.
 
Old 10-31-2004, 04:54 PM   #2
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
The article on LinuxJournal is very old; you probably tried the current versions of the mentioned software.
You seem to use source tarballs instead of binary packages for your distribution. You will have to compile these before using them (this is why there is no imapd file). And you probably will run into problems doing so, as some development packages may be missing or only be available in wrong (too old) versions on your system.

In general, it is better to rely on the package management system of the distribution you use.
That means: better get the appropriate rpm files fo Red Hat 8 and install them.

Also, the article is about building a secure web server. This means that also your base system should have all the fixes installed, which is certainly not true for Red Hat 8 (support ran out about a year ago).
If you really intend to build a secure system, get a current distribution first, then use the packages delivered with it (the ones you mentioned above should be part of almost all distributions) and do an online update before starting to configure and deploy the system.

Regards
ric.
 
Old 10-31-2004, 08:47 PM   #3
Abs2004
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Original Poster
Rep: Reputation: 0
By compile, don't you mean 'make'? (My apologies, the only thing I know about Linux is what I've learned from school, and that's usually taught in a "do it this way" manner, not a "this is what you're doing" method.)

I'm going to try doing this on SuSE 9.1 instead...to be honest, it didn't even cross my mind that Red Hat had stopped support...I just used whatever box I had free.

Thanks for your thoughts, Ricstirato!

Abs
 
Old 11-01-2004, 12:26 PM   #4
ricstirato
Member
 
Registered: Jan 2004
Location: Gießen, Germany
Distribution: Xubuntu 12.04, Mythbuntu, Ubuntu Server 12.04
Posts: 174

Rep: Reputation: 24
Right, make does the whole horrible task of compiling for you, if you have a proper Makefile and the necessary development packages installed.
A very common way of compiling is the sequence

cd /path/to/source/code
./configure
make
make install

which will check your system for the necessary tools and libraries, actually compile the application and finally copy the binaries, configuration files, ... to the appropriate place.

There is no reason to apologize. "There are no stupid questions, only stupid answers".

However, I strongly suggest you rely on the distribution's package management tool, which is yast (or yast2) in case of SUSE.


Regards
ric.
 
  


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
modssl for apache 2? berrance Linux - Software 2 04-18-2005 08:15 AM
installing PHP4 and PHP5 on apache jerry_redhat Linux - Software 2 07-08-2003 10:27 PM
Apache Compile - 6.3. Building and installing PHP4 help llee Linux - Software 6 05-10-2003 02:30 AM
Trouble installing PHP4 on RHL Thinkgeekness Programming 5 03-19-2003 01:17 PM
Problem with Apache 1.3 & ModSSL robeb Linux - Software 1 12-30-2002 04:23 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 03:34 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
Open Source Consulting | Domain Registration