Server Questions............from a NEWBIE!

Hello,
I’m new to setting up servers and would like to have a home server as a domain setup. I would like to take classes for Linux admin, but thought of trying it at home to get a handle on it (or at least the best I can).

My questions are:

  1. If I have all computers hooked into a router, can i still use the server to assign IP’s? (am I safe to assume this is what setting up DNS server is for?)
  2. I installed the server with minimal X. I can only access yast2 from a command line with being root. I try to you su and sudo with my normal login, but always get “command not found”.
    I’m sure its something I’m not doing right, but I would rather not log in as the actual ROOT account to do server setup. How do I correct this.
  3. (Might be a really dumb question)…If the server is OpenSuse and 1 of my other systems is Opensuse, do you need to login as a domain and if so, how? I will have 2 XP systems that I want to setup to login also (I have done this once, but think it was luck)…so want to do it again.

And last but not least…could anyone advise me to really good books to buy, to start understanding Linux from an admin standpoint.

Thank you!

No, DNS Is for resolving domain names to addresses, not for assigning addresses. (And CIFS (Windows) filesharing has its own namespace.) But to answer your question, you can set up the servers with static IP addresses instead of getting info from the router with DHCP. Just make sure the address taken is outside the dynamic range that’s handed out by the router.

  1. I installed the server with minimal X. I can only access yast2 from a command line with being root. I try to you su and sudo with my normal login, but always get “command not found”.
    I’m sure its something I’m not doing right, but I would rather not log in as the actual ROOT account to do server setup. How do I correct this.

If running KDE, kdesu yast2, (something similar for GNOME, gtksu or someting like that, someone will correct me), or invoke YaST from the menu. If you are not running KDE or GNOME, it can be done with su -m -c /sbin/yast2 to preserve the HOME and DISPLAY so that you YaST can open a window.

  1. (Might be a really dumb question)…If the server is OpenSuse and 1 of my other systems is Opensuse, do you need to login as a domain and if so, how? I will have 2 XP systems that I want to setup to login also (I have done this once, but think it was luck)…so want to do it again.

Remember that domain controller is a Windows thing, although you can often leverage off it in Linux. You can set up Samba to be a Primary DC for the Windows machines, while for Linux you can try to use it or the LDAP part of it (takes a bit of doing), or just let each use it own password DB for the time being. Somebody who knows more than me on this will elaborate I’m sure.

Thank you for the reply.
The su command you mentioned worked. So if I may ask, what your saying is that if you have a linux server, and the workstations are linux, there is no type of domain usage? Its just samba as a file sharing type of system? How do corporations that use linux from server and desktop standpoint incorporate a domain style of system?

Unix/Linux has other protocols for remote file access such as NFS, sshfs, etc. Windows uses domain to mean their technology, but domain also has a meaning in IP networking. Half the battle is untangling the terminology.

Could I ask what are you trying to achieve ? I am sure a solution exists if you supply specifics.

Nis server
Samba server
NFS server
OpenLdap implementation

Just depends what you are after really

J

Is there a NIS server available for SUSE 11.1? I can not find it in yast.

Try installing yast2-nis-server either via software management or via the sudo zypper install yast2-nis-server command.

Don’t use it myself, but it’s bound to make something show up in YaST.

In gnome it’s gnomesu

/Geoff

LDAP is complicated. This page may be a good start.

just to let you guys know I use KDE4

Hi
The DE doesn’t matter, YaST is YaST and the command line interface is
the command line interface :wink: for KDE it’s konsole (or xterm)


Cheers Malcolm °¿° (Linux Counter #276890)
openSUSE 11.1 x86 Kernel 2.6.27.7-9-default
up 7:02, 1 user, load average: 0.25, 0.16, 0.19
GPU GeForce 6600 TE/6200 TE - Driver Version: 180.22