Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
 Post subject: how to setup ftp
PostPosted: Mon Nov 17, 2008 9:20 pm 
Offline
Senior Newbie

Joined: Mon Nov 17, 2008 9:04 pm
Posts: 11
I'm trying to setup ftp and I think I got it right but I'm unable to
access through filezilla and I'm not sure if it worked or not I'm using vsftp and it is started butI don't know what I'm doing wrong does anyone have a guide or anything.


Top
   
 Post subject: FTP == bad
PostPosted: Mon Nov 17, 2008 10:28 pm 
Offline
Junior Member
User avatar

Joined: Sun Oct 02, 2005 11:54 am
Posts: 43
Website: http://www.garyscott.net
Location: Goleta, CA
Noooo. FTP is cleartext. If you use it then your usernames and passwords will be snooped and people will own your box!

Just setup SSH, then use SCP to upload files.

I have FTP setup, but It has TLS/SSL setup (FSP over SSL) when it will not prompt you for login unless the connection is encrypted, but I alos have it running normally on localhost so I can FTP over SSH.

It all depends on your OS and the FTP server you are using. You also need to open a hole in your firewall. Post your OS and FTP server (Ubuntu/ProFTP for example). Also just google your FTP server to see how others set it up.


Top
   
 Post subject:
PostPosted: Mon Nov 17, 2008 10:35 pm 
Offline
Senior Newbie

Joined: Mon Nov 17, 2008 9:04 pm
Posts: 11
I'm using centos and vsftp. I'm in the process of setting up scp but how do I assign a directory to a domain name though. I can't figure that out.


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 3:59 am 
Offline
Senior Member

Joined: Fri Sep 12, 2008 3:17 am
Posts: 166
Website: http://independentchaos.com
That would be under Virtual Hosting, if you hosting more than one domain from a server.


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 4:40 pm 
Offline
Senior Newbie

Joined: Mon Nov 17, 2008 9:04 pm
Posts: 11
Nevermind I figured it out just how do I install phpmyadmin because I can't figure that out.


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 5:39 pm 
Offline
Senior Member

Joined: Fri May 02, 2008 8:44 pm
Posts: 1121
Are you sure you aren't confusing FTP/SCP with Virtual Hosting?

FTP/SCP = how to transfer files from your home computer to the server = use something like vsftpd (for FTP) or openssh (for SCP).

Virtual Hosting = how to make the files on your server visible through the web browser = use something like Apache.

FTP/SCP doesn't care about domain names. All it cares about is the IP address of the server. You can make vsftpd restrict users to their respective home directories (e.g. /home/username) by uncommenting the line that says "DefaultRoot ~" in the configuration file; but this still has nothing to do with domain names.

Do you have a web server (e.g. Apache) installed?


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 7:28 pm 
Offline
Junior Member

Joined: Sat Jan 05, 2008 2:40 am
Posts: 43
ftp://vsftpd.beasts.org/users/cevans/un ... STS/README

Quote:
This example shows how you might set up virtual hosts. Virtual hosting is where different clients access your machine on different IP addresses (virtual IPs) and get redirected to different ftp sites.


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 8:03 pm 
Offline
Senior Newbie

Joined: Mon Nov 17, 2008 9:04 pm
Posts: 11
I figured everything out except how to get phpmyadmin installed.


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 8:07 pm 
Offline
Junior Member

Joined: Sat Jan 05, 2008 2:40 am
Posts: 43
Mmarzex wrote:
I figured everything out except how to get phpmyadmin installed.


Well, you didn't really give any details about your system or your setup.

apt-get install phpmyadmin?

yum install phpmyadmin?

Go to phpmyadmin.net and download the tarball?


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 9:03 pm 
Offline
Senior Newbie

Joined: Mon Nov 17, 2008 9:04 pm
Posts: 11
phpmyadmin is not listed in yum.


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 9:06 pm 
Offline
Junior Member

Joined: Sat Jan 05, 2008 2:40 am
Posts: 43
Mmarzex wrote:
phpmyadmin is not listed in yum.


So what operating system is it?

https://admin.fedoraproject.org/pkgdb/p ... phpMyAdmin


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 10:03 pm 
Offline
Senior Member

Joined: Mon Jun 16, 2008 6:33 pm
Posts: 151
CybrMatt wrote:
So what operating system is it?


Centos methinks, from post the third :)

More rpm's here http://dag.wieers.com/rpm/packages/phpmyadmin, but honestly it'd be just as simple to extract the .tgz from www.phpmyadmin.net to somewhere on your webserver, and point a virtualhost directive at it.


Top
   
 Post subject:
PostPosted: Tue Nov 18, 2008 10:25 pm 
Offline
Senior Newbie

Joined: Mon Nov 17, 2008 9:04 pm
Posts: 11
I finished it. thanks everyone for what you did.


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group