LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Ubuntu question (https://www.linuxquestions.org/questions/linux-newbie-8/ubuntu-question-810056/)

Bearussr 05-25-2010 02:06 PM

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

AlucardZero 05-25-2010 02:13 PM

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.

Undermind 05-25-2010 02:19 PM

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.

Bearussr 05-25-2010 02:22 PM

What is Samba? and how do i install it?

Undermind 05-25-2010 02:26 PM

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

Bearussr 05-25-2010 02:30 PM

thinks ill look in to it!

MTK358 05-25-2010 02:36 PM

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.

b0uncer 05-25-2010 03:56 PM

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.

johnsfine 05-25-2010 04:13 PM

Quote:

Originally Posted by Undermind (Post 3980986)
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 (Post 3980999)
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.

Bearussr 05-25-2010 04:54 PM

Quote:

Originally Posted by johnsfine (Post 3981097)
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?

chrism01 05-25-2010 06:52 PM

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.

fbsduser 05-25-2010 08:54 PM

You could get ubuntu server, CentOS, or a BSD like FreeBSD or if you want maximun security OpenBSD.

Bearussr 05-26-2010 12:54 PM

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!


All times are GMT -5. The time now is 01:29 PM.