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


Reply
  Search this Thread
Old 07-15-2014, 08:48 AM   #1
T-Dub116
Member
 
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Rep: Reputation: Disabled
RedHat 5.10 -> RedHat 7


I am trying to test RedHat 7 before using it on my new servers for customers of mine.

1. /etc/xinetd.d
I am having some trouble with some differences, In Red Hat 5.10 everything in /etc/xinetd.d would already be installed and all I would have to do is edit the files "telnet" or "gssftp" in order to allow me to telnet/ftp out or in. But on RedHat 7 it is an empty directory. I try and use the yum command

yum ftp install or yum telnet install but the xinetd.d dir. is still empty.


I ran 'yum xinetd install' and got theses files:

[root@localhost xinetd.d]# ls -l
total 44
-rw-------. 1 root root 1157 Jan 27 17:14 chargen-dgram
-rw-------. 1 root root 1159 Jan 27 17:14 chargen-stream
-rw-------. 1 root root 1157 Jan 27 17:14 daytime-dgram
-rw-------. 1 root root 1159 Jan 27 17:14 daytime-stream
-rw-------. 1 root root 1157 Jan 27 17:14 discard-dgram
-rw-------. 1 root root 1159 Jan 27 17:14 discard-stream
-rw-------. 1 root root 1148 Jan 27 17:14 echo-dgram
-rw-------. 1 root root 1150 Jan 27 17:14 echo-stream
-rw-------. 1 root root 1212 Jan 27 17:14 tcpmux-server
-rw-------. 1 root root 1149 Jan 27 17:14 time-dgram
-rw-------. 1 root root 1150 Jan 27 17:14 time-stream




2. Service command
I can't seem to start or restart a service (IE SMB) with the service command,

# service smb status
Redirecting to /bin/systemctl status smb.service
smb.service - Samba SMB Daemon
Loaded: loaded (/usr/lib/systemd/system/smb.service; disabled)
Active: inactive (dead)

[root@localhost /]# service smb restart
Redirecting to /bin/systemctl restart smb.service


RedHat 5.10 Install I would customize and add:
Servers: FTP, Printing, Windows File, Legacy Network and Mail
Base: System Tools and Defaults (what was already selected)

RedHat 7:
Software
Software Selection
Infrastructure Server:
- DNS Name Server
- E-mail Server
- FTP Server
- File & Storage Server
- Hardware Monitoring Utilities
- Network File System Client
- Performance Tool
- Print Server

- Compatibility Libraries

I thought that I got everything that I used on 5.10 versions...

If anyone can help guiding me through the differences of 5.10 and 7 that we be extremely helpful.

Thank You!

Last edited by T-Dub116; 07-15-2014 at 08:49 AM.
 
Old 07-15-2014, 01:04 PM   #2
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,681
Blog Entries: 14

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
You really need to look at the release notes for RHEL7. Many things have changed since RHEL5 among them:

Subscriptions are done with Subscription Manager now not with RHN Classic. They moved a lot of stuff starting with RHEL6 into separate channels that you have to add to your base (e.g. Supplementary, Development) and many things are no longer in base.

SysV init got replaced with systemd:
https://access.redhat.com/documentat..._Services.html
 
Old 07-17-2014, 11:47 AM   #3
T-Dub116
Member
 
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
You really need to look at the release notes for RHEL7. Many things have changed since RHEL5 among them:

Subscriptions are done with Subscription Manager now not with RHN Classic. They moved a lot of stuff starting with RHEL6 into separate channels that you have to add to your base (e.g. Supplementary, Development) and many things are no longer in base.

SysV init got replaced with systemd:
https://access.redhat.com/documentat..._Services.html

What about xinetd.d I can't seem to get telnet to open up so I can telnet to the server from a PC. Even with running the yum install commands. (can't telnet or ftp localhost)
 
Old 07-17-2014, 02:45 PM   #4
MensaWater
LQ Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,681
Blog Entries: 14

Rep: Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022Reputation: 1022
Again I'd urge you to look at the release notes.

However, I'd also question why you want telnet instead of ssh. The telnet server is very insecure so has been turned of on most UNIX/Linux flavors by default for some time.
 
Old 07-23-2014, 04:10 PM   #5
T-Dub116
Member
 
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by MensaWater View Post
Again I'd urge you to look at the release notes.

However, I'd also question why you want telnet instead of ssh. The telnet server is very insecure so has been turned of on most UNIX/Linux flavors by default for some time.

I am not seeing in the release notes anything on xinetd.d and the differences with telnet and ftp services. I use telnet for in office use and ssh for external use.
 
Old 07-24-2014, 07:35 AM   #6
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
Well, the full set of RHEL7 docs are here: https://access.redhat.com/documentat...erprise_Linux/

If you're using RHEL7, you should have a support ctc, so try asking them.
Otherwise, you should be using Centos instead.

In any case, make it easy on yourself and forget telnet; you shouldn't be using the telnetd server for anything, use sshd.
(telnet client as a debug tool is a different qn)
 
Old 07-24-2014, 09:29 AM   #7
T-Dub116
Member
 
Registered: Aug 2013
Location: Dolyestown
Posts: 88

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by chrism01 View Post
Well, the full set of RHEL7 docs are here: https://access.redhat.com/documentat...erprise_Linux/

If you're using RHEL7, you should have a support ctc, so try asking them.
Otherwise, you should be using Centos instead.

In any case, make it easy on yourself and forget telnet; you shouldn't be using the telnetd server for anything, use sshd.
(telnet client as a debug tool is a different qn)


If I forget telnet, I am still unable to FTP into the server because I am unable to edit the file I would normally edit in /etc/xinetd.d which would be the same place I would edit the telnet file.
 
Old 07-25-2014, 08:13 AM   #8
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,260

Rep: Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328Reputation: 2328
To edit a remote file, just ssh in.
FTP has nothing to do with editing, although there are some editors that allow 'remote saving' of edits via ftp.

You can still run an FTP server WITHOUT telnet server.
If you do, I'd recommend vdftpd+SSL option, or better/simpler use scp/sftp instead, as these are part of the ssh pkg/toolset.

Last edited by chrism01; 07-25-2014 at 08:22 AM.
 
  


Reply

Tags
redhat


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
How to Upgrade Redhat 3 to Redhat 5 and preserve data and file system structure J_U_D_E Red Hat 10 03-15-2012 08:58 AM
LXer: RedHat's response to Novell - Interview with Mark Webbink (RedHat) LXer Syndicated Linux News 0 11-17-2006 11:21 AM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Enterprise 3 08-13-2005 01:28 PM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Software 3 08-12-2005 11:18 AM
display horizantly shifted for redhat 9.0, redhat enterprise and fedora core dudely Linux - Newbie 1 08-11-2005 05:11 PM


All times are GMT -5. The time now is 12:52 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration