FN-GM Posted February 16, 2009 Posted February 16, 2009 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. Z
RabbieBurns Posted February 16, 2009 Posted February 16, 2009 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
HodgeHi Posted February 16, 2009 Posted February 16, 2009 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
RabbieBurns Posted February 16, 2009 Posted February 16, 2009 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
somabc Posted February 16, 2009 Posted February 16, 2009 You can use SAMBA, NFS or FTP. If you just want to upload files for a website ftp is probably easiest.
localzuk Posted February 17, 2009 Posted February 17, 2009 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 There's no GUI in Ubuntu Server by default.
somabc Posted February 17, 2009 Posted February 17, 2009 (edited) sudo apt-get update sudo apt-get install All about Linux: A Concise apt-get / dpkg primer for new Debian users Settingup an FTP Server on Ubuntu with ProFTPD -- Ubuntu Geek The Perfect Server - Ubuntu Intrepid Ibex (Ubuntu 8.10) | HowtoForge - Linux Howtos and Tutorials Edited February 17, 2009 by somabc
RabbieBurns Posted February 17, 2009 Posted February 17, 2009 oh aye, didnt clock it was server version.
powdarrmonkey Posted February 17, 2009 Posted February 17, 2009 With ssh/scp: scp /path/on/mac/file.html [i]serverip[/i]:/path/on/server/file.html
kesomir Posted February 17, 2009 Posted February 17, 2009 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).
FN-GM Posted February 17, 2009 Author Posted February 17, 2009 Ok thanks, as this is a test webserver i will go down the FTP route. I used the command sudo-get install proftp and sudo-get install proftp and i get this error Couldn't find package proftp How do i go about installing it? Thanks
FN-GM Posted February 17, 2009 Author Posted February 17, 2009 The package is proftpd not proftp i knew that
CyberNerd Posted February 17, 2009 Posted February 17, 2009 top tip: apt-cache search proftp 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. 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 sudo apt-get install openssh-server 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. ssh is a much better way, you can even use it with rsync.....
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now