Koozali.org: home of the SME Server

setting up the server only option

ddd-denise

setting up the server only option
« on: December 10, 2004, 01:45:33 PM »
Hi everyone -- another newbie here, via the way of Lycoris.org. I need some help or direction.

I would like to setup a server in my home, using the server-only option. How difficult should that be? It is giving me some real pain.

I downloaded the software and burned it to disk and all went well, When I try to log into it from my other computers it doesn't go. I enter the server name and that did not help. I enter the assigned IP and that did not help either.

Comcast is who I am using as ISP. I have a D-Link router with 4 connections. The server is connected to one of those router connections.

I searched this site and there is no how-to for setting up using or setting up this server-only option. I also went to some of the other resources for this server and none there either.

Please help -- and thanks.:-)

mbachmann

setting up the server only option
« Reply #1 on: December 10, 2004, 01:52:42 PM »
Please choose "Documentation" on the left panel, scroll down a bit, choose "SME Server User Manual" and have a nice read over the weekend. That should help to get you started. To access server manager from other computers: https://yourlocalip/server-manager

ddd-denise

setting up the server only option
« Reply #2 on: December 10, 2004, 02:20:18 PM »
Been there. Done that.

This is the reason why I was looking for an how-to file. I have read that manual over serveral times and the info it gives on the server-only option is lacking.

It tells you how to install the os and I have no problem there. My problem comes when I try to configure the other computers.

I am a new server user, I however am able to do most of what is required after the installation completes and I log in and choose Configure server. I even setup the basic web site, for what it is worth. I have added users and the likes, but I cannot gain entrance via the web browser in Lycoris Desktop/LX, SUSE 9.1 or RH 9.0 that I have in my home.

I will narrow it down to one later, so don't mind that.

Thanks for your quick reply however. Much appreciated.

ddd-denise

setting up the server only option
« Reply #3 on: December 10, 2004, 02:48:19 PM »
OK...

The SME Admin guide offers the info I am looking for. It is not as specific as i would like, but it will do.

It would be nice if there was a server-only how-to though since all I want to know for now is how to setup a server that serves as a file server and does not access the internet.

Well_____________________thanks anyway.:-D


nice Denise.

Offline Boris

  • *
  • 783
  • +0/-0
setting up the server only option
« Reply #4 on: December 10, 2004, 08:19:59 PM »
It may help if you'd configured your workstations to use SME server as your DNS and WINS server.
...

Mumm-Ra

setting up the server only option
« Reply #5 on: December 10, 2004, 08:32:35 PM »
Sorry for the long post...
(these options may not be in the quite correct order but you should be able to work it out if you've got this far)
To setup a server only installation you need to run the install from the cd, when it re-boots enter your admin login password, enter your server name, enter your primary domain name, select server only, select the nic in your pc, enter the ip address of your server (in the same subnet of the router), set the default gateway to the ip address of your router, select dhcp to enabled (this will set the correct DNS & WINS settings to your clients) set your dhcp scope (usually fine set to the defaults aslong as no other network interfaces have an address within the scope), leave the proxy server blank unless you access the net through a proxy (although it sound like you only have a DSL router/modem).
Reboot the server.
Have a beer while the server is configuring itself :pint:

When the server has rebooted start a client on your network and as long as it picks up an ip address from your SME server you can then connect to the web interface by browsing to http://<servername>/server-manager entering admin as the username and the password you just created.
If you want to set the server up as a primary domain controller go to the workgroup setting under configuration and enter your domain name in the Windows workgroup text box and select yes for Workgroup and Domain Controller. Roaming profiles are up to you if you use them.

If you are using XP for your clients you'll need to run a registry fix to enable the xp clients to connect to the domain. The fix can be found for your server by browsing to http://<servername>/server-resources/regedit/winxplogon.reg
Run this and you should then be able to connect to the domain name that you just entered.

Create your users in the users section(funny that ;-)) Now when a user connects to your domain they should have a drive mapping of z: to their home directory.

The login script can be found in the /home/e-smith/files/samba/netlogon folder of your server. Edit this as you see fit although you would need to enable SSH access into your server (in the remote access section in Sceurity) and allow root access to the command line.  The login with your ssh client (putty, ssh etc) but login with username root but the same password that you created when you setup the server.
Note never change the root password at the command line, the root & admin passwords are linked. If you wish to change the root or admin password use the users panel in server-manager.

You can create i-bays, these are areas where most users put virtual domain websites but you can also put files into the files folder of the i-bay and as long as the user has correct permissions, can read/write & modify files.

The rest of the configuration is there for you to find out and have fun with.

I would play around with the server before going live as you will start installing more and more essential contribs and fine tuning your server.

Essential contribs are anti-virus, spam-control, user-manager although all the most popular contribs can be found on the unofficial version 3 update script (modify this as you see fit for the apps that you want to install.

The beauty of this distro is that it's learning curve is very quick.  I only picked it up 1 year ago.  If you already have linux experience you'll be fine.  The only thing to note would be that most configuration files are not modified in situ.  You have to modify templates which when expanded re-create the config file.

Honest, it doesn't take to long to get the hand of it.
And there's plenty of help in the community and in past posts in the forums.

jeeze that took awhile, hope it answers your questions.

Have fun

Howard

ddd-denise

thank you soooooooooo very much
« Reply #6 on: December 11, 2004, 02:22:39 PM »
I really appreciate your time. It must have taken you a while to do this. Thanks very much.

So far so good, but something is still baffling me.

This is where I am at now:
Quote
When the server has rebooted start a client on your network and as long as it picks up an ip address from your SME server you can then connect to the web interface by browsing to http://<servername>/server-manager entering admin as the username and the password you just created.
If you want to set the server up as a primary domain controller go to the workgroup setting under configuration and enter your domain name in the Windows workgroup text box and select yes for Workgroup and Domain Controller. Roaming profiles are up to you if you use them.


When I type this address: http://<servername>/server-manager, it takes me to my internet search site and says the name is invalid or it cannot be found.

When I type it in and replace the servername with the server's IP address, I get the dialog box asking for the name and password and I get in fine. That is from the RH box, which I will replace as soon as I can find something that will install on this computer.

Oh well, what is the remedy for that.

I am thinking to setup the system to search my box first and then the Internet when I enter an address in the browser's address bar. There is one drawback to that though and it is that it slows my access to the internet since it has to send a query to the in-house server then wait for it to respond and then send it to the other server in the network settings.

Sorry for the long post but I have one more thing.

I should know in a minute if it will work or not. The place where I am installing/setting up the server is not where I want to keep it. The place where I am moving it to does not have a monitor so I cannot tell how it boots up or if there are any errors. I just did a boot and the mouse was not connected and it would not boot as a result of that.

When I move the server, I plan to just connect the keyboard and turn on the computer and then unplug the keyboard after I have successfully logged into it.

That sounds fine, right?

thanks again....Mumm-Ra, especially for not forgetting you were a newbie too. 8-)

Mumm-Ra

setting up the server only option
« Reply #7 on: December 11, 2004, 05:43:03 PM »
okey dokey

Are you using DCHP or static IP for your clients.

If you are using DHCP you must make sure that the SME server is your only DHCP server so that you will be passed all the correct setting (DNS, WINS) - unless you have a proper server that can pass out DHCP settings (most DSL routers have a very basic DHCP server and passthrough DNS settings from your ISP).

If you are using Static IP you must set the SME sever to be your DNS and WINS server in your client settings.  Is it a Red Hat client? then only the DNS settings, put the wins setting into samba if you're using that.

The SME DNS server should forward any request that it doesn't know out onto the net as should any good DNS server so you shouldn't be seeing and delay in requests.
That should solve you name resolution problems.

As for setting the system up with just a keyboard then removing it; That should be fine, it's how I've mine setup.  Getting an error when booting without a mouse may be a BIOS problem. The BIOS might not understand that you don't want a mouse connected.  Check you BIOS for a setting about not having a mouse connected.
My BIOS isn't bothered about not having a mouse so boots fine.

Have a root around and don't give up, you won't be sorry :-D

evansgo

Try this
« Reply #8 on: December 11, 2004, 05:56:09 PM »
Hmm. I had a similar problem, whilst I'm no expert at all I did get this bit working. I've called my box "server" (original I know) and it's IP is 192.168.1.20. I could ping it no problem but just could not connect to it. By using //server/server-manager, however I did eventually try //192.168.1.20/server-manager and it worked!  :lol:

Mumm-Ra

setting up the server only option
« Reply #9 on: December 11, 2004, 05:58:03 PM »
what about your DNS/WINS settings.
Name resolution will never work unless your client pc has some way to resolve a name to an IP address either b using DNS/WINS or a hosts file

evansgo

setting up the server only option
« Reply #10 on: December 11, 2004, 06:04:05 PM »
:oops:  Oops, sorry, I didn't read all of the message.... and you replied before I could delete my post.

As for me I have a seperate DHCP (my router) so I had DHCP disabled on the SME box. Odd thing is that I can now connect to it using server, rather than the ip and I don't THINK I've changed any settings in the meantime.

Mumm-Ra

setting up the server only option
« Reply #11 on: December 11, 2004, 08:40:32 PM »
Strange...

If you ever have any problems don't forget that you could always use the host file on your client.

mbachmann

setting up the server only option
« Reply #12 on: December 13, 2004, 11:20:55 AM »
I misunderstood your first posting, ddd-denise. You really should use https, mind the "s" to log into server manager.

Regarding your  "does not boot with no mouse": check the bios like Mumm-Ra suggested, for "halt on all/no/all but keyboard error" option, choose "no". It will boot without mouse/kb then.

ddd-denise

setting up the server only option
« Reply #13 on: December 14, 2004, 04:35:22 PM »
Well, I have success, if even halfway.

Thanks again.

I can log into the server from Win XP and from Red Hat 9.0 with no issues, but SUSE 9.1 is another story all together.

That setup is different though, since it comes from a switch as opposed to coming directly from the router. Yeah, an hack job I know. That will change though.

If this is something I need to learn as far as this part goes, having a switch or an hub connected to a router and the server connected to the router then I will submit to the learning. :-) If not then I will do the re-wiring work from the router to those computers -- might need a 5 port router instead but that is another issue.

Oh well -- thanks again. It is sweet having this file server setup and functioning like it should.

Did I say thanks? :-D