LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-25-2010, 02:06 PM   #1
Bearussr
LQ Newbie
 
Registered: May 2010
Posts: 5

Rep: Reputation: 0
Ubuntu question


I have xubuntu installed can I make it in to a server? Can I keep the GUI? And how can I make the sever back up files from windows 7 my documents?
Thinks
 
Old 05-25-2010, 02:13 PM   #2
AlucardZero
Senior Member
 
Registered: May 2006
Location: USA
Distribution: Debian
Posts: 4,820

Rep: Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610Reputation: 610
Quote:
can I make it in to a server?
Feel free!
Quote:
Can I keep the GUI?
Feel free!
Quote:
how can I make the sever back up files from windows 7
Well, one way is an rsync daemon on the server and some rsync client on the client, but I don't really do this.
 
Old 05-25-2010, 02:19 PM   #3
Undermind
Member
 
Registered: Sep 2009
Location: Denmark
Distribution: Arch Linux
Posts: 37

Rep: Reputation: 15
Well, for the backup part, you could use Samba to make a shared folder that your Windows machine can connect to, and back up your files that way. A little scripting magic and you could automate the process too, but that would depend on having the knowledge to do so, of course. Samba can run off any linux distro, without having to disable the GUI, as the GUI is not unresonably connected with the OS.
 
Old 05-25-2010, 02:22 PM   #4
Bearussr
LQ Newbie
 
Registered: May 2010
Posts: 5

Original Poster
Rep: Reputation: 0
What is Samba? and how do i install it?
 
Old 05-25-2010, 02:26 PM   #5
Undermind
Member
 
Registered: Sep 2009
Location: Denmark
Distribution: Arch Linux
Posts: 37

Rep: Reputation: 15
Samba is a program that replicates the windows SMB filesharing protocol. In plain english, it allows you to share folders in a way that windows connects to easily. On how to install it, you can find it in the Ubuntu package manager.

here's a link to get you started. It's not as complicated as it might seem

http://ubuntuforums.org/showthread.php?t=202605

*EDIT* Here's a trimmed version of the howto. this one dos'nt cover the domain controller parts. to set the share to writeable, change the line "read only = yes" to "read only = no"

http://www.debuntu.org/guest-file-sharing-with-samba

Last edited by Undermind; 05-25-2010 at 02:31 PM.
 
Old 05-25-2010, 02:30 PM   #6
Bearussr
LQ Newbie
 
Registered: May 2010
Posts: 5

Original Poster
Rep: Reputation: 0
thinks ill look in to it!
 
Old 05-25-2010, 02:36 PM   #7
MTK358
LQ 5k Club
 
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
To make it a server, just install Apache! You could also add PHP/Perl/Python and database software if you like.

And nothing says you can't have a GUI while running the server. They are just separate programs doing their own thing.
 
Old 05-25-2010, 03:56 PM   #8
b0uncer
LQ Guru
 
Registered: Aug 2003
Distribution: CentOS, OS X
Posts: 5,131

Rep: Reputation: Disabled
To turn it into a server, install the appropriate server software (httpd, mysqld, sshd, ftpd, whatever you want to serve...) Just remember, if it's for others than you only, they'll probably want to have it working most of the time (and you'll want your private data kept private), so consider what personal things you do on the server and how they affect you and the other users. The reason for "servers" and "desktops" being separate today is not so much technical as that that way the server is isolated from the problems that are due to things that have nothing to do with the serving purposes, and the horse power of the server is used for the serving work, not for running a 3d effects enabled desktop with HD wideos and games running along.

The graphical user interface thing is related to that: it consumes resources (that the server would otherwise be able to use for serving the clients) and since it means extra processes running, it means higher probability for software-related problems (due to bugs, for example) and security holes. But it's not like you're forced to use command line on a Unix-like server.
 
Old 05-25-2010, 04:13 PM   #9
johnsfine
LQ Guru
 
Registered: Dec 2007
Distribution: Centos
Posts: 5,286

Rep: Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181Reputation: 1181
Quote:
Originally Posted by Undermind View Post
Samba is a program that replicates the windows SMB filesharing protocol.
Bearussr should understand the difference between an SMB client and an SMB server.

An SMB client lets you mount a Windows share in Linux so that you can read and write (subject to permissions) files from/to that Windows share. I think SMB client software is included by default in xubuntu.

One way to do the backup you want is to make the directories on the Windows system that you want backed up shared, then have a program running on Linux read from those shares and write wherever you want the backup stored.

I believe "Samba" refers to the SMB server. An SMB server lets you set up directories on a Linux system to act like Windows shares, so you can read or write those directories from Windows systems.

Another way to do backup is running a Windows program (maybe a scheduled task) that copies the files you want backed up over to a share on the Linux system.

Quote:
Originally Posted by MTK358 View Post
To make it a server, just install Apache!
Only if that is the service you want.

Do you want a file server? An HTTP server? A database server?

Saying "make it in to a server" (original post) actually meant very little. What you want to do is install whatever services you want it to have. For example, if you wanted a "file server" for a home network of Windows computers, maybe Samba is the only server software you need.

Last edited by johnsfine; 05-25-2010 at 04:19 PM.
 
Old 05-25-2010, 04:54 PM   #10
Bearussr
LQ Newbie
 
Registered: May 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by johnsfine View Post
Bearussr should understand the difference between an SMB client and an SMB server.

An SMB client lets you mount a Windows share in Linux so that you can read and write (subject to permissions) files from/to that Windows share. I think SMB client software is included by default in xubuntu.

One way to do the backup you want is to make the directories on the Windows system that you want backed up shared, then have a program running on Linux read from those shares and write wherever you want the backup stored.

I believe "Samba" refers to the SMB server. An SMB server lets you set up directories on a Linux system to act like Windows shares, so you can read or write those directories from Windows systems.

Another way to do backup is running a Windows program (maybe a scheduled task) that copies the files you want backed up over to a share on the Linux system.



Only if that is the service you want.

Do you want a file server? An HTTP server? A database server?

Saying "make it in to a server" (original post) actually meant very little. What you want to do is install whatever services you want it to have. For example, if you wanted a "file server" for a home network of Windows computers, maybe Samba is the only server software you need.
The server I was looking at was a database but the file server looks interesting. What dose the file sever do any way? what is the difference between file and data server?
 
Old 05-25-2010, 06:52 PM   #11
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 6.8, Centos 5.10
Posts: 17,326

Rep: Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364Reputation: 2364
file server = flat files eg text/docs/xls/cfg/mail etc
DB = database is on the server system; Linux is usually MySQL but others are available.

For a 'server' system you should get the Ubuntu LTS (Long Term Stable) edition.
 
Old 05-25-2010, 08:54 PM   #12
fbsduser
Member
 
Registered: Oct 2009
Distribution: Hackintosh, SlackWare
Posts: 267

Rep: Reputation: 30
You could get ubuntu server, CentOS, or a BSD like FreeBSD or if you want maximun security OpenBSD.
 
Old 05-26-2010, 12:54 PM   #13
Bearussr
LQ Newbie
 
Registered: May 2010
Posts: 5

Original Poster
Rep: Reputation: 0
Ok mabe I should explain what I want it to do!
1. It well be hook up to 6 computers
2. It need to Simultaneously back up files and folders from my docs
I don't know ubuntu server Ed. But If some one would walk me though on how to use it and set it up be much Appreciated!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
A question about su in Ubuntu taylorkh Linux - Newbie 8 04-18-2011 06:54 PM
Ubuntu question jbob0124 Linux - Newbie 22 03-22-2008 12:09 PM
Question about Ubuntu 7.04 depam Linux - Software 6 10-08-2007 06:40 AM
Question about Ubuntu v.5.04 Night Hawk One Linux - Newbie 2 11-15-2005 12:32 AM
ubuntu question chash Linux - Software 2 04-05-2005 12:26 AM


All times are GMT -5. The time now is 12:02 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration