Lab 04A OS Services - Part 2

Lab 04A OS Services - Part 2 - Operating System Services...

Info iconThis preview shows pages 1–4. Sign up to view the full content.

View Full Document Right Arrow Icon
Information Technology Experiential Learning Lab (ITELL) ©Copyright 2011 School of Information Studies Syracuse University Last Updated on 10/2/2011 Used in course IST 346 Operating System Services
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Operating System Services L04 O PERATING SYSTEMS SERVICES R EQUIREMENTS You will need the following in order to perform your lab: 1. Win2008 (Windows Server 2008), logon as the Administrator with password SU44orange! 2. Centos5 (Centos Linux 5), logon as root with password SU44orange! 3. Win7 (Windows 7), logon as User346 with password SU22oranage! P ART 1 C HANGING Y OUR L INUX F ILE S ERVER In this section you will enable your Linux server with a NETBIOS name for file sharing, so that you don’t have to use IP address for simple file sharing when trying to map a drive to the file share on Linux server. Power on your CentOS 5 (Linux) server, login as root and open the terminal window: 1. Open the /etc/samba/smb.conf file for editing by typing the following command: nano /etc/samba/smb.conf 2. Scroll down using the page down key to the section that looks like this: 3. Edit the line for netbios name by removing the leading semi-colon and changing the name to centos5 , as you see in the previous screenshot: 4. Once you have done editing this line then type ctrl-x to exit: Type Y to save changes: Hit enter to write the file:
Background image of page 2
Operating System Services Page 3 5. Restart Samba services: service smb start service nmb start Power on your Win7 machine, login as User346 and open a command prompt window: 6. Remove the mapped L:drive first: net use I:/del Now remap L: to \\centos5\linshare : net use I: \\centos5\linshare NOTE: IF YOU CAN’T MAP L:, VERIFY YOUR FIREWALL IS OFF ON THE LINUX SERVER. FOR INSTRUCTIONS ON HOW TO DO THIS, PLEASE REVIEW LAST WEEKS LAB. P ART 2 L INUX S ERVICES In this section we will demonstrate service management on the Linux operating system C HECKING , S TARTING AND S TOPPING S ERVICES From the Centos5 terminal window: 1. Check to see if the samba service is still running. To see if any service is running under linux, type service [name] status. For example, to see if the (smb) portion of the Samba service si running, type: [[email protected]]# service smb status If the service is running you should see: smbd (pid …) is running… If the service is NOT running, you will see : smbd is stopped 2. If your Samba service is not running, you can start it by typing: service smb start 3. As the service starts, you will see a status message usually it will be [OK] Try the remaining service commands: To stop the smb service, type: service smb stop To start the smb service, type: service smb start To restart (stop and then start) the service, type: service smb restart 4. The samba service consists of TWO network services, these are: Smb – implements the file and printer sharing service for samba Nmb – implements the name resolution service for samba 5. Make sure to start the nmb service too, type: [[email protected]]# service nmb start C ONFIGURING THE S ERVICE TO RUN AT S TARTUP ( WHEN THE COMPUTER BOOTS )
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 4
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 12/13/2011 for the course IST 346 taught by Professor Rieks during the Fall '11 term at Syracuse.

Page1 / 12

Lab 04A OS Services - Part 2 - Operating System Services...

This preview shows document pages 1 - 4. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online