ubuntu server how to setup networking with windows xp and windows 7

Asked by Tonyt

have installed ubuntu server .

- need to set up files and media streaming for ubuntu and windows machines

- how set and configure use ubuntu 12.04 on two machines and windows xp and 7 ...

- plus how do switch down the server cannot find log off button

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu samba Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

You can use samba to setup a windows-like share which you can then stream the data from. I also recommend you install openssh-server. You can then SSH to the server using puuty (in Windows) or ssh in terminal from Linux and run:

sudo shutdown -h now

And it will turn off.

Revision history for this message
Tonyt (tonys666) said :
#2

Cheers for that is there any links that u can give showing step by step guide for the server and how i do what you suggest.plus setting up the drives in raid etc setup the sharing and streaming .a guide with screen shots would be good

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

If you install the samba package you can run:

sudo nano /etc/samba/smb.conf

and add lines like the ones below:

[Downloads]
path = /home/andy/Downloads
comment = Andy's stuff
browsable = yes
read only = no
writable = yes
valid users = leanne andy
invalid users = root bin daemon nobody

If you then save the new file and run:

sudo service smbd stop; sudo service smbd start

The share will be accessible. you can run:

sudo smbpasswd -a andy

(using my code as an example) you can then control which users have access to what shares. Adding a new share is as simple as adding a new block like the one above but with different paths and share name and restarting the samba service. Very simple.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

The RAIDetc is part of the installation process in the server install process. I believe there is also an option to enable the install ation of samba and openssh at install time so there will be no need to manually instal the services.

Revision history for this message
Tonyt (tonys666) said :
#5

tried what you sugguestted but unable to save the changes .well the system will not retain the changes to edited script

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#6

didyou run the editor with sudo? You cannot save the changes as your commands run as user, that's when sudo helps and makes it run as root.

Can you help with this problem?

Provide an answer of your own, or ask Tonyt for more information if necessary.

To post a message you must log in.