Saturday, April 27, 2013

How do I turn my Ubuntu/Linux PC into a server for my Windows 7 PC?

Q. Is this a good idea? Will my Windows PC get extra protection since I will be going on the Internet using the Ubuntu as a server, as an intermediary? How difficult is it to do this?

A. This question is pretty poorly designed. There is no "Server for windows" in Linux. You can do several things with linux and connect/use them from windows though. You can make linux a firewall and router, connect it to your cable/dsl modem so you can have multiple computers use your internet connection at one time. You can run web, ftp, and other servers for files and web pages. You can also run Samba which allows you to access and store files on the linux hard driver over the network. linux also makes a GREAT extension to your windows environment using things like xdmcp, rdp, ssh, scp. if you do not know what any of these terms are, google is your buddy. You can also set up a web proxy using linux and this could definitely be used to increase your web browsing security in windows by blocking malicious web sites. Pretty much anything you want to do with Linux is limited by you and your willingness to learn.

Nothing is simple click and go in linux. You have to be willing to experiemnt, read, and learn.

How do you transfer files from the command line in Red Hat Linux?
Q. I'm trying to transfer files from a Fedora Core to the host server, which is a Red Hat v 8. How do I do it from the command line?

A. Well there are several ways to do this. They depend on what servers are running on the host machine. If you can ssh to the host server, then the best way is "scp <filename> <host machine>:<filename>". If this is not setup you can try ftp or one of the disk sharing protocols like Samba or NFS.

How do I copy files from a linux server to my local machine w command line?
Q. I have logged in using ssh and now want to copy several directories off the server to my local machine.

I attempted with "cp <destination file> <local machine>:<source file>" am I on the right track?

A. Yes, you're on the right track. "scp" is a combination of "ssh" and "cp". On your local machine, you can say

scp <remote machine>:<source file> <destination file>

to grab the file from the Linux server (or any other machine with an ssh server running).

Oops - here is more info:

You said you want to copy several directories. To copy an entire directory with scp, you can use the "-r" flag like this:

scp -r <remote machine>:<source directory> <destination directory>

That will copy the directory and all files and subdirectories under it to your local system.



Nec Projector Review

Plastic Shed Reviews

Ati Graphic Reviews

Nurse Uniforms Reviews

Cabochons Reviews

Inflatable Water Slides Reviews

Barcode Scanner Reviews

No comments:

Post a Comment