*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 ...
-
29th June 2006, 01:13 PM #1 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. :?
-
-
IDG Tech News
-
29th June 2006, 01:20 PM #2
- 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!
-
-
29th June 2006, 01:29 PM #3 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
-
-
29th June 2006, 01:31 PM #4 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
-
-
29th June 2006, 01:43 PM #5 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.
-
-
29th June 2006, 01:45 PM #6 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
-
-
29th June 2006, 02:43 PM #7 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.
-
-
29th June 2006, 03:08 PM #8 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.
-
-
29th June 2006, 06:39 PM #9 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.
-
-
29th June 2006, 07:49 PM #10 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.
-
-
29th June 2006, 08:03 PM #11 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.
-
-
29th June 2006, 08:11 PM #12 Re: Installing an ftp server on a Ubuntu LAMP server
so would headless descibe most techies' offices then?
-
-
29th June 2006, 08:21 PM #13 Re: Installing an ftp server on a Ubuntu LAMP server
-
-
29th June 2006, 09:13 PM #14
- 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.
-
-
7th July 2006, 03:05 PM #15 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:
Similar Threads
-
Replies: 9
Last Post: 26th November 2007, 08:16 PM
-
By Jenko22 in forum Virtual Learning Platforms
Replies: 4
Last Post: 13th July 2007, 10:33 AM
-
Replies: 2
Last Post: 23rd May 2007, 03:15 PM
-
Replies: 16
Last Post: 22nd May 2007, 04:03 PM
-
Replies: 28
Last Post: 20th November 2006, 04: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
-
Forum Rules