*nix Thread, Upload files to my Ubuntu Web Server in Technical; And for my second (and last) Linux question of the night.....
I have just installed Ubuntu server and installed LAMP ...
16th February 2009, 11:25 PM #1
Upload files to my Ubuntu Web Server
And for my second (and last) Linux question of the night.....
I have just installed Ubuntu server and installed LAMP during the setup. I can go to the default Apache page by typing http://ipaddress into a web browser.
How would i upload a simple html file there from a Windows or Mac machine on the same network?
Sorry sounds a basic question but im a Linux newbie.
16th February 2009, 11:32 PM #2
I use proftpd as a ftp server
It integrates its userbase with that of the system users.
So when you log in via ftp, your ftp home folder is your system home folder.
Once you have uploaded the file, you can use the command line to copy the file to the document root of apache
Or you can use the GUI
16th February 2009, 11:32 PM #3
If you have it installed in parallels on a mac then you should be able to install the parallel tools. Now i can't remember if it allows for shared folders between the two machines.
Probably not the way you wanted to do it though.
Now i have no experience of Linux but i would assume to you create a shared folder somewhere on your Linux machine using SAMBA or FTP and access the share through Finder's connect to server option.
That's as much help as i can be
16th February 2009, 11:33 PM #4
To install proftpd, you would use the package manager, Synaptic, in the adminsitrator menu and just search for it, mark it do be downloaded, and then click apply
16th February 2009, 11:40 PM #5
You can use SAMBA, NFS or FTP. If you just want to upload files for a website ftp is probably easiest.
17th February 2009, 12:07 AM #6
There's no GUI in Ubuntu Server by default.
Originally Posted by RabbieBurns
17th February 2009, 12:14 AM #7
Last edited by somabc; 17th February 2009 at 12:22 AM.
17th February 2009, 01:08 AM #8
oh aye, didnt clock it was server version.
17th February 2009, 07:45 AM #9
scp /path/on/mac/file.html serverip:/path/on/server/file.html
17th February 2009, 08:27 AM #10
You don't need to install ftp - and I would recommend not doing so as you can just use ssh (sftp = more secure).
For windows download the following two tools:
putty - allows you ssh shell access
winscp - allows you sftp ssh access which looks and works like an ftp client would (as it is an ftp client).
17th February 2009, 04:55 PM #11
Ok thanks, as this is a test webserver i will go down the FTP route. I used the command
sudo-get install proftp
and i get this error
sudo-get install proftp
How do i go about installing it?
Couldn't find package proftp
17th February 2009, 04:58 PM #12
The package is proftpd not proftp
Thanks to localzuk from:
FN-GM (17th February 2009)
17th February 2009, 06:02 PM #13
i knew that
Originally Posted by localzuk
17th February 2009, 06:04 PM #14
You only really want FTP if you need your users to be able to upload things (because ftp clients are historically more common than sftp). It's a legacy application IMO.
apt-cache search proftp
On a webserver it is most likely that you will want to ssh onto it at some point to fix things - so you'll already have one port open. Others have mentioned SFTP. All you need to do is
and you can remote into it and copy your files securely sftp doesn't transmit plaintext passwords like ftp, infact you don't even need passwords if you use (more secure) certificates.
sudo apt-get install openssh-server
ssh is a much better way, you can even use it with rsync.....
By Hightower in forum Virtual Learning Platforms
Last Post: 26th January 2009, 09:56 AM
By Hightower in forum How do you do....it?
Last Post: 18th June 2008, 10:51 AM
By tosca925 in forum How do you do....it?
Last Post: 28th April 2007, 07:31 AM
By OverWorked in forum *nix
Last Post: 8th July 2006, 12:13 AM
By Kyle in forum How do you do....it?
Last Post: 9th February 2006, 08:28 PM
Users Browsing this Thread
There are currently 1 users browsing this thread. (0 members and 1 guests)