LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   RedHat 5.10 -> RedHat 7 (https://www.linuxquestions.org/questions/linux-newbie-8/redhat-5-10-redhat-7-a-4175511152/)

T-Dub116 07-15-2014 07:48 AM

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!

MensaWater 07-15-2014 12:04 PM

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

T-Dub116 07-17-2014 10:47 AM

Quote:

Originally Posted by MensaWater (Post 5204279)
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)

MensaWater 07-17-2014 01:45 PM

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.

T-Dub116 07-23-2014 03:10 PM

Quote:

Originally Posted by MensaWater (Post 5205449)
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.

chrism01 07-24-2014 06:35 AM

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)

T-Dub116 07-24-2014 08:29 AM

Quote:

Originally Posted by chrism01 (Post 5208849)
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.

chrism01 07-25-2014 07:13 AM

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.


All times are GMT -5. The time now is 06:40 PM.