LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
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 03-08-2013, 08:12 PM   #1
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Rep: Reputation: Disabled
Red face Can't install/build vsftpd on CentOS


I'm a new user to CentOS (migrated from Ubuntu, I still use Ubuntu and prefer it but I am on an old PC and CentOS works the best performance wise). So I used yum install vsftpd to get vsftpd and it works fine and stuff.

The problem though is the vsftpd version from the package is too old for my personal needs (some important commands don't work). I want to update vsftpd to its latest version which is 3.0.2. I downloaded the .tar.gz file and I extracted it but I just got the same files as when I mounted it. I tried following the instructions but right on the second step I got lost.

Can anyone tell me how to build it or other alternatives to update vsftpd?
 
Old 03-08-2013, 08:34 PM   #2
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
26 views and no replies? Any feedback, even negative I would appreciate.
 
Old 03-08-2013, 10:32 PM   #3
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,290

Rep: Reputation: 378Reputation: 378Reputation: 378Reputation: 378
Gee ... it's been all of 22 minutes, give us some time :-).

You need to give a little more detail, what do you mean that "I judt got the same files as when I mounted it" -- mounted what? When you extract the tar.gz there should be a README that tell what you should do, but generally it will involve something like:

Code:
./configure
make
sudo make install
Can you provide some more details as to where you got stuck? What were you trying to do? What happened?
 
Old 03-09-2013, 02:28 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
CentOS : # yum install vsftpd


Building version 3.0.2 from vsftpd-3.0.2-1.fc18.src.rpm
ftp://ftp.sunet.se/pub/Linux/distrib...1.fc18.src.rpm

$ rpmbuild -bb vsftpd.spec
.. and within 30 seconds the packages vsftpd-3.0.2-1.el6.<arch>.rpm,
vsftpd-sysvinit-3.0.2-1.el6.<arch>.rpm are created.

-

Last edited by knudfl; 03-09-2013 at 02:43 AM.
 
Old 03-09-2013, 02:32 PM   #5
Altiris
Member
 
Registered: Mar 2013
Posts: 556

Original Poster
Rep: Reputation: Disabled
Thanks, I actually got it working just by double clicking on the .rpm file. However, for future needs I do still want to know how to install/create vsftpd from the .tar.gz file.

@btmiller
I tried to follow this guide here http://www.thegeekstuff.com/2010/11/vsftpd-setup/ (the first step has 2.3.2 to download and I just renamed it to 3.0.2 and it worked). I did all of the steps but afterwards I could not run vsftpd in the terminal, it would say the service is not recognized (meaning I installed it wrong).

Then I tried following the steps (there was a file called INSTAL) from the vsftp-3.0.2.tar.gz file and I got lost where it says "edit "builddefs.h" to handle compile-time settings (tcp_wrappers build,
etc)." However, right after that step it tells me to type the "make" command which is what I did before when following the guide and vsftpd didn't even work.

Should I just rely on finding .rpm packages or actually learn to set this up?
 
Old 03-09-2013, 06:49 PM   #6
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
vsftpd-3.0.2-1.fc18.src.rpm
you are aware that that is a fedora 18 SRC rpm
and CentOS 6.3 is not the same as fedora 18

rpmbuild will be looking for the fedora 18 versions of installed dependencies
 
  


Reply



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
VSFTPD on Centos 5.6. ghandizzle8 Linux - Newbie 1 10-07-2011 04:57 PM
[SOLVED] vsftpd on CentOS 5.5 jonaskellens Linux - Newbie 2 09-16-2010 03:23 AM
vsftpd in CentOS RedLay Linux - Server 2 03-18-2010 08:01 AM
LXer: Pygrub & install Solaris (build >75) DomU at CentOS 5.1 Dom0 (64-bit) LXer Syndicated Linux News 0 02-24-2008 06:00 PM
vsftpd build script 0.o Slackware 4 06-06-2005 11:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:29 PM.

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
Open Source Consulting | Domain Registration