TurnKey Linux Virtual Appliance Library

FTP on TurnKey Linux appliances

Hi

I need some help. Can you publish a step-by-step instruction to get ftp on my wordpress-appliance up and running? Thanks you!

Best regards, hijacker

Liraz Siri's picture

You want SFTP not FTP

SFTP (secure FTP) is already supported by all appliances and most modern FTP clients. It's encrypted so your password won't be transmited over the Internet in the clear and the implementation is also much more secure and robust. You're better off with that.

Multi-tenancy and SFTP / Webdav?

How about multi-tenancy and SFTP or Webdav?  I am trying to set up a multi-tenant LAMP or Wordpress appliance in house for development, and some of the users require SFTP or WebDav access?  

No, I wanted FTP

Really - FTP. I hear you about the security, but the client I'm using here needs FTP. We could debate the why, but bottom line is that I really want FTP.

Jeremy's picture

Try vsftp

TKL uses the openssh package to provide SFTP connections so you could install vsftp to provide FTP. The File Server and Torrent Server appliances both already have vsftp installed it will need to be reconfigured though as it is bound to localhost as it is the FTP backend for eXtplorer (ie if you reconfigure it,m you will lose that functionality.

Have a read about configuring vsftp in the Ubuntu 10.04 Server Guide - FTP section

hosting multiple sites and SFTP?

I know this is a noob question, but it seems to be more advanced than basic site setup. 

Are either the turnkey LAMP or Wordpress appliance set up for multiple virtual hosts?  If not, how would I go about setting up private SFTP access for unique virtual hosts?  I am trying to set up a multi-tenant Wordpress or LAMP server for in-house development....  Some of the users require the ability to upload their web sites remotely..

 

Thanks in advance for opinions / assistance / suggestions!

 

- Tom

FTP and DB on TKL v12, Debian Squeeze/6.

Hi, I am new on Linux. I dont know anyting about linux, but I have to create another joomla web site on one already working. Stone by stone I have to build a second joomla web site on the same server Linux.  How?... Im lost on linux25 prompt, logged by key pem !!!! jeejejje... These are my issues: FTP, how enable it or working with it, able to upload zip files with ftp and unzip them... 2) Work with the database: enable  and tools.

Any tutorials?

Please, help !

Marco 

Some as basic as anon writable ftp -- does not work on TKL

It was quoted above: Have a read about configuring vsftp in the Ubuntu 10.04 Server Guide - FTP section

I have followed every single step in all HowTo's, inc the one above - anon writable ftp fails.  Sometimes, in the REAL WORLD, we don't have the choice of saying NO to this -- we sometimes need it (for better or worse.)

I just need to do a very simple task -- from the inside network, connect anonymously to a LAMP server and upload a file.  That's it.    FAIL!!

Anyone else been able to make this trivial thing work?    I'm guessing not, but prove me wrong?

What a joke..

Follow-up - Have it working..

Follow up to this issue--

For those that run ino the same issue of not being able to write via anonymous ftp (despite following the docs and howto's) -- I found that it's related to file/dir permissions.  Create a sub-dir under your ftp root (i.e. if your ftp root is /srv/ftp, then create /srv/ftp/anon) and chmod the appropriate permissions for your anonymous ftp user (in vsftpd's case, it's user 'ftp')

There's a bunch of other various tweaks I had to apply to vsftpd.conf, but the bulk of the problem was related to how the anon ftp folder is nested.  This should be very clearly documented with vsftp's man or other docs, but I never found it.

Hope this helps someone else..

Jeremy's picture

Good work Ryan :)

Pity that you had this issue and such a hard time resolving it. Thanks heaps for posting back with the solution, I'm sure others who come across this issue will really appreciate it.

I agree that it would be fantastic if there was better documentation for lots of stuff TKL related, but unfortunately pretty much everyone here are volunteers (other than the core devs, Alon & Liraz - and they are busy developing and rarely have time to post...). I spend as much time as I can afford trying to help people out when and where I can, but most other's are scratching their own itch (like you did).

If you have time it would be awesome if you wanted to document what you did to set this up and get it working. The TKL Docs (Help>>Documentation) are a community Wiki which you should be able to edit (if logged in).

simple

http://www.turnkeylinux.org/forum/support/20120512/unable-update-wordpre...

 

Login through SSH and run this command

chown -R www-data:www-data /var/www

Post new comment

The content of this field is kept private and will not be shown publicly. If you have a Gravatar account, used to display your avatar.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code> <cite> <strike> <caption>

More information about formatting options

Leave this field empty. It's part of a security mechanism.
(Dear spammers: moderators are notified of all new posts. Spam is deleted immediately)