LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Linux + how to install vsftp if no network access (https://www.linuxquestions.org/questions/linux-newbie-8/linux-how-to-install-vsftp-if-no-network-access-4175552315/)

sumncguy 09-01-2015 08:02 AM

Linux + how to install vsftp if no network access
 
Im currently taking a Red Hat class. As a side note, Im not thrilled. I wanted to stay on the LPI track so that I could be non vendor specific... but hard to find in person classroom traning...

Anyway .. I was given a lab that shows how to setup a ftp server. Easy enough.

I went to work after the class and a colleague needed help setting up a VM and vsftp on a system that was behind a proxy / firewall. A lab environment ...

I was able to get the OS up and running because I have copies on my external drive and on DVD. The problem - I couldn't figure out was how the heck to load vsftp without network access .. or more correctly filtered network access.

Appreciate any help or even pointing me to a doc will do ..

Thanks Regards
Sum

Ihatewindows522 09-01-2015 02:36 PM

On the system install disk you used to install the VM, there should be a folder called "pool" which contains a significant amount of software, sorted alphabetically. On RedHat I would be surprised if it's not there.

sumncguy 09-01-2015 03:44 PM

Yes. Thank you. I went back to class today and told the professor about my problem. He also said look on the installation DVD for the rpm or deb.

Two potential problems
1 if you load via iso.
2 dependancies

Thanks so much for all the help 2hile this rookie tries too make the next leap.

chrism01 09-01-2015 09:15 PM

Not sure about RHEL7, but for 6 (& 5 ?), if you look in /etc/yum.repos.d there should be a Media repo file eg
Code:

cat CentOS-Media.repo

# CentOS-Media.repo
#
#  This repo can be used with mounted DVD media, verify the mount point for
#  CentOS-6.  You can use this repo and yum to install items directly off the
#  DVD ISO that we release.
#
# To use this repo, put in your DVD and use it with the other repos too:
#  yum --enablerepo=c6-media [command]

# or for ONLY the media repo, do this:
#
#  yum --disablerepo=\* --enablerepo=c6-media [command]
 
[c6-media]
name=CentOS-$releasever - Media
baseurl=file:///media/CentOS/
        file:///media/cdrom/
        file:///media/cdrecorder/
gpgcheck=1
enabled=0

Try enabling that and you should be able to yum install vsftpd (& anything else you need)

Ihatewindows522 09-02-2015 09:07 AM

Quote:

Originally Posted by sumncguy (Post 5414398)
Yes. Thank you. I went back to class today and told the professor about my problem. He also said look on the installation DVD for the rpm or deb.

Two potential problems
1 if you load via iso.
2 dependancies

Thanks so much for all the help 2hile this rookie tries too make the next leap.

Well, those are pretty petty issues considering
  1. You can mount the ISO image in Linux (usually as simple as double-clicking)
  2. For the software on the DVD, the dependencies kind of have to be included. Just find out what they are, and install them as needed.


All times are GMT -5. The time now is 05:20 AM.