Friday, September 11, 2009

Quest2: Samba, server, networking, and SSH

>> Setting Ubuntu as a file/printer server


Install Samba from Synaptic Package Manager


Install Openssh-server

Instead of the way above, Samba and shh server can be installed on Ternimal window.

-Type the command : sudo apt-get install samba
Command : vi Samba.conf

-> It opens the samba setting file > Set the samba option as following screenshots.



Set up network usernames (the name of the computer which is accessing to this server)

Create a new folder > open "properties" > set up as the following
Then, setting up a shared forder



Setting as print server - choose "system>administration>printing"
Click "new>printer" then choose my own printer and set the printer as a server printer.



>> Setting up the main machine to connect the server machine

Start > My Network Places > Follow the wizard.



Put the IP address of the server.
This pop-up window is showed up. Then, insert the name and pw of the server.




After finishing the wizard, I could see the shared folder of my server on my main machine(Ubuntu server).



>>Install SSH and log in to my server from the main machine

I could connect and control my server on the other computer by SSH.

Download and install SSH software from the website.



Set up the remote host (information of the server)
Then, I could log in my server(sson-laptop) from my main machine(jun).

See the sever directory and folder by command "ls"
This is the SSH file transfer client which is similar to other FTP clients. I downloaded a file from my server to my main machine through just dragging and droppping.

No comments:

Post a Comment