Red Hat 7.1 has changed alot from 6.0

Posted on 2001-06-04
Medium Priority
Last Modified: 2010-03-18
Alot has changed in redhat 7.1.

1) There's no more inetd.conf file to disable services.  What's the new way to do it?  is it xinetd.conf?  And if so, what should I modify?

2) How do I turn on/off ftpd?  I tried to ftp to my eth0 interface in Linux and it says 'connection refused'.  I found the KDE utility to change ftpd options, but it doesn't seem to be enabling the ftp service.

3) Does Linuxconf exist anymore?  (I didn't use it in 6.0 anyway).

4) How do I change the directory for httpd?  The new place 7.1 puts it is in '/var/(can't remember the rest)'.  I created a huge '/home' partition so that I could put all my web stuff there, but 7.1 does't put it there like 6.0 did.  I don't feel like repartitioning and making '/var' bigger, so I like to change the httpd directory to '/home/httpd/'.  I can't do it using the GNOME utility.

I'll have more questions later, but this should be enough for this question.
Question by:GorGor2

Accepted Solution

vsamtani earned 400 total points
ID: 6153267
1. Yes and no. It's the various files inside /etc/xinetd. For each line in inetd.conf, RH7.1 now has a file in /etc/xinetd. The format of the file should be pretty much self-explanatory. Modify files just as you would have modified lines in inetd.conf. Make sure you look at the disable = yes | no line at the end of each file.

2. You may find that ftp is by default disabled in /etc/xinetd. Just a guess though - I haven't used ftpd in RH7.1

3. Linuxconf is still there - v1.19, I believe. I don't know if it's improved at all, though...

4. You can change all Apache options by looking in the config files httpd.conf and srm.conf.  ServerRoot <pathname> tells Apache where its own modules, conf and log files are, DocumentRoot (perhaps within a VirtualHost directive) tells it where to find documents to serve, and CacheRoot tells it where to store the cache if you're proxying through Apache.

LVL 17

Expert Comment

ID: 6153677
Easiest way I found to manage the xinetd services ( if you installed them in the first place) is by just typing setup and then making a tick infront of the service you want to start in the System Services section.
If you install wu-ftp for instance as an rpm, you will notice that RedHat automatically adds wu-ftpd to the list of system services, allowing you to manage it via setup.
telnet and friends ( if installed) will also be in the list .
Concerning your Apache problems.
I personally NEVER let RedHAt install apache for me. The reason is as follow. RedHAt does a very basic install of apache and it spreads the apache files throughout the system to adhere to the standard redhat file locations. I always opt to install apache manually by downloading the tar.gz file from apache.org and then build it manually, this way I have full controll ver the location of the files and what gets built into it.
This way, if you install to say /opt/apache, you know all the apache files are in that folder and you can easily tell apache that you want your document root to be /home/httpd by editing the /opt/apache/conf/httpd.conf file.

Expert Comment

ID: 6159323
I am new to Linux and am using RH7.1. This question caught my attention and cleared up some points. Thanks. I am attempting to use webmin for administration. Is there a problem doing that as most of the comments are command line oriented. I get called `DOSasaurus' as even under W9x and NT I tend to use DOS where it works better so I understand the command line orientation. At the same time a graphic interface is easier to learn and helps if I don't know where Linux puts what conf files.

Author Comment

ID: 6159804
2)  I'm still having problems with FTP.  I ran 'setup' and checked wu-ftpd as a service and rebooted the system.  Now when I try to ftp to my IP, it connects and just sits there forever.  It does the same thing from my windows machine.  I have some experience editing the /etc/ftpaccess file, but I'm not very good at it.  I can't run the KDE utility in xwindows because there's some kind of error that crashes the program everytime.  Should I try to reinstall Linux and see if things improve?  (In fact, almost every KDE utility I run crashes or doesn't run at all).

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

I have seen several blogs and forum entries elsewhere state that because NTFS volumes do not support linux ownership or permissions, they cannot be used for anonymous ftp upload through the vsftpd program.   IT can be done and here's how to get i…
Note: for this to work properly you need to use a Cross-Over network cable. 1. Connect both servers S1 and S2 on the second network slots respectively. Note that you can use the 1st slots but usually these would be occupied by the Service Provide…
If you're a developer or IT admin, you’re probably tasked with managing multiple websites, servers, applications, and levels of security on a daily basis. While this can be extremely time consuming, it can also be frustrating when systems aren't wor…
This video tutorial shows you the steps to go through to set up what I believe to be the best email app on the android platform to read Exchange mail.  Get the app on your phone: The first step is to make sure you have the Samsung Email app on your …

624 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question