+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 19
*nix Thread, Installing an ftp server on a Ubuntu LAMP server in Technical; I've decided to take the plunge into the murky world of Linux by giving myself a project. I'm going to ...
  1. #1
    OverWorked's Avatar
    Join Date
    Jul 2005
    Location
    N. Yorks
    Posts
    1,013
    Thank Post
    198
    Thanked 42 Times in 34 Posts
    Rep Power
    30

    Installing an ftp server on a Ubuntu LAMP server

    I've decided to take the plunge into the murky world of Linux by giving myself a project. I'm going to set up a Linux Intranet server and run a CMS on it.

    Ubuntu 6.06 Dapper Drake seems to be popular so I've gone with that. I've tried the LAMP server installation, and also the generic server, working through Perfect Setup.

    Apache is working, as I can browse to the machine and get the default Apache page.

    Now, how do I get my web site onto the server? Ubuntu doesn't seem to have a ftp server installed, and I'm having real dificulty installing one.

    I've added more repositories, like this.

    I keep getting :-

    Code:
    root@web1:~# apt-get install proftpd proftpd-common ucf
    Reading package lists... Done
    Building dependency tree... Done
    E: Couldn't find package proftpd
    root@web1:~#
    I've tried accessing the repositories via a browser. The only one I can see is freecontrib.org. Is this normal?

    [Whilst typing this I've tried apt-get update. It seems to be getting security.ubuntu.com, but not archive... I did this yesterday and it took 3 hours to complete - is there any way to stop it?]

    Thanks. I've learnt a lot in the last couple of days doing this, but have hit a wall now. :?

  2. #2

    Join Date
    Nov 2005
    Location
    Middlesbrough
    Posts
    402
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Installing an ftp server on a Ubuntu LAMP server

    Do this:

    sudo cp /etc/apt/sources.list /etc/apt/sources.bak

    sudo nano -w /etc/apt/sources.list

    Delete any entries from the sources file and add the following, watch out for linewraps!:

    deb http://us.archive.ubuntu.com/ubuntu dapper main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu dapper main restricted
    deb http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
    deb-src http://us.archive.ubuntu.com/ubuntu dapper-updates main restricted
    deb http://us.archive.ubuntu.com/ubuntu dapper universe
    deb-src http://us.archive.ubuntu.com/ubuntu dapper universe
    deb http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
    deb-src http://us.archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse
    deb http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb-src http://security.ubuntu.com/ubuntu dapper-security main restricted
    deb http://security.ubuntu.com/ubuntu dapper-security universe
    deb-src http://security.ubuntu.com/ubuntu dapper-security universe
    deb http://archive.ubuntu.com/ubuntu dapper multiverse
    deb-src http://archive.ubuntu.com/ubuntu dapper multiverse
    deb http://archive.ubuntu.com/ubuntu dapper-backports main restricted universe multiverse

    Then do:

    sudo apt-get update
    sudo apt-get install proftpd

    You might want to omit sudo if you're already logged in as root though!

  3. #3


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Installing an ftp server on a Ubuntu LAMP server

    ubuntu does have a ssh server, ssh can transfer files using sftp over port 22 (secure ftp)
    enable ssh
    Code:
    apt-get install openssh-server
    go get winscp http://winscp.net/eng/index.php and try

  4. #4


    Join Date
    Jan 2006
    Posts
    8,202
    Thank Post
    442
    Thanked 1,032 Times in 812 Posts
    Rep Power
    339

    Re: Installing an ftp server on a Ubuntu LAMP server

    also
    Code:
     apt-cache search searchstrig
    is a good trick if you don't know the exact name of the package your trying to install

  5. #5

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: Installing an ftp server on a Ubuntu LAMP server

    @Overworked: you might want to view this thread from the second page onwards. you're possibly a bit farther on than I am but you might find some useful stuff there.

  6. #6

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Installing an ftp server on a Ubuntu LAMP server

    CyberNerds approach is what we use here.

    Also grab putty for remote management.

    www.putty.nl

  7. #7
    OverWorked's Avatar
    Join Date
    Jul 2005
    Location
    N. Yorks
    Posts
    1,013
    Thank Post
    198
    Thanked 42 Times in 34 Posts
    Rep Power
    30

    Re: Installing an ftp server on a Ubuntu LAMP server

    @beeswax - I think you're slightly ahead, it's just that I haven't tried the GUI. I've just downloaded the Desktop version of Ubuntu, in case the server (non-GUI) is too much for me to start with.

    @Geoff - I'm already using putty, it's great. It has several advantages over directly using the console, like copy & paste with the mouse.

  8. #8

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: Installing an ftp server on a Ubuntu LAMP server

    I couldn't get things (setting up a new mysql database for a start) to work with the gui, so re-installed the LAMP server again, did it command line, and voila! There's a database somewhere in there and I've got to access it. the LAMP server's not on any network at the moment (another reason for using the gui) so I'm wondering about just connecting peer to peer and learning how to do things remotely for the time being. I'm assuming that it all works similarly to any webhost which provides a database in that you log in to a control panel (would that be ipconfig?) and go on from there. another problem, of sorts, is that the server sits on the desk, just to the right of me, and it's just so easy to go over to it and work on it.

  9. #9

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Installing an ftp server on a Ubuntu LAMP server

    If you have a headless LAMP server (like ours) you might find installing phpmyadmin (apt-get install phpmyadmin) useful for doing database admin stuff.

  10. #10

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: Installing an ftp server on a Ubuntu LAMP server

    by headless do you mean without a gui? I'll try to fit that in tomorrow tho' it's busy (half) day with an audit coming up.

  11. #11

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Installing an ftp server on a Ubuntu LAMP server

    Headless means minus a monitor and keyboard. Basically shoved in a cupboard with power and net connection.

  12. #12

    beeswax's Avatar
    Join Date
    Jul 2005
    Location
    England
    Posts
    2,285
    Thank Post
    285
    Thanked 225 Times in 153 Posts
    Rep Power
    131

    Re: Installing an ftp server on a Ubuntu LAMP server

    so would headless descibe most techies' offices then?

  13. #13

    Geoff's Avatar
    Join Date
    Jun 2005
    Location
    Fylde, Lancs, UK.
    Posts
    11,803
    Thank Post
    110
    Thanked 583 Times in 504 Posts
    Blog Entries
    1
    Rep Power
    224

    Re: Installing an ftp server on a Ubuntu LAMP server

    Indeed

  14. #14

    Join Date
    May 2006
    Posts
    66
    Thank Post
    0
    Thanked 0 Times in 0 Posts
    Rep Power
    0

    Re: Installing an ftp server on a Ubuntu LAMP server

    Personally I find vsftpd the easiest ftp daemon to configure, I would guess it is in ubuntu.

  15. #15
    OverWorked's Avatar
    Join Date
    Jul 2005
    Location
    N. Yorks
    Posts
    1,013
    Thank Post
    198
    Thanked 42 Times in 34 Posts
    Rep Power
    30

    Re: Installing an ftp server on a Ubuntu LAMP server

    After a few days doing less interesting stuff, I've just got back to this and installed the Ubuntu LAMP server, just like beeswax.

    http://security.ubuntu.com is easily accessible, and I can update from this no problem.

    I still can't access anything on http://archive.ubuntu.com, or any of the sub domains, so I've commented out these entries from /etc/apt/sources.list

    Is the server down at the moment? I've been having this trouble for over a week now.

SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. LAMP - Ubuntu 7.10 Standard Edition
    By Nij.UK in forum *nix
    Replies: 9
    Last Post: 26th November 2007, 07:16 PM
  2. Downloading moodle to a LAMP server
    By Jenko22 in forum Virtual Learning Platforms
    Replies: 4
    Last Post: 13th July 2007, 10:33 AM
  3. LAMP Server
    By wesleyw in forum *nix
    Replies: 2
    Last Post: 23rd May 2007, 03:15 PM
  4. Ubuntu LAMP Server Install
    By ICTNUT in forum *nix
    Replies: 16
    Last Post: 22nd May 2007, 04:03 PM
  5. Replies: 28
    Last Post: 20th November 2006, 03:44 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •