Jump to content

Recommended Posts

Posted

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

Posted

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

Posted

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 :D

Posted
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.

Posted

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).

Posted

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

Posted

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.....

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...