telnet, ftp, and ip address
-
- Posts: 1
- Joined: 2014/11/02 21:44:43
telnet, ftp, and ip address
I have to connect from the centos linux virtual machine to windows using telnet and ftp. how is this done? also, how do you set a fixed IP address in centos linux?
Re: telnet, ftp, and ip address
to set fix ip on centos 7
#systemctl stop NetworkManager
#systemctl disable NetworkManager
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 - the card interface
DEVICE="eth0"
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=no
IPADDR=192.168.X.X
NETMASK=255.255.255.0
GATEWAY=192.168.X.X - FROM YOUR ROUTER
save that!
then restart
#systemctl restart network.service
#systemctl enable network.service
then install ftp with #yum install ftp -y
and then just type ftp ipaddress of the client
you can also install putty and with putty you can telnet or ssh to client or server
#systemctl stop NetworkManager
#systemctl disable NetworkManager
# vi /etc/sysconfig/network-scripts/ifcfg-eth0 - the card interface
DEVICE="eth0"
ONBOOT=yes
BOOTPROTO=none
NM_CONTROLLED=no
IPADDR=192.168.X.X
NETMASK=255.255.255.0
GATEWAY=192.168.X.X - FROM YOUR ROUTER
save that!
then restart
#systemctl restart network.service
#systemctl enable network.service
then install ftp with #yum install ftp -y
and then just type ftp ipaddress of the client
you can also install putty and with putty you can telnet or ssh to client or server