Lab #10: Using Linux with Microsoft Windows

Size: px
Start display at page:

Download "Lab #10: Using Linux with Microsoft Windows"

Transcription

1 CTEC1863/2017F Lab #10 Samba Page 1 of 11 Lab #10: Using Linux with Microsoft Windows In this lab, we turn Linux into a Microsoft Windows network server using Samba, "the free SMB and CIFS client and server for UNIX and other operating systems." Source: samba /readme For more information about Samba, read the online documentation: (official Samba web site) PART A: Installing the Samba Server on Linux 1. Start your CentOS VM. 2. Become root. Make sure that Samba is installed: yum install samba samba-client samba-common 3. Enable Samba in the firewall: firewall-cmd --permanent --zone=public --add-service=samba firewall-cmd --reload 4. The CentOS Samba configuration file is /etc/samba/smb.conf. Make a backup first: cd /etc/samba/ cp smb.conf smb.conf.old Using gedit (or another text editor, as root), search for the settings in the existing smb.conf file. Use your surname/last name/family name in all capital letters as the "netbios name". This will become the name of the Linux Samba server on a Microsoft Windows network. NOTE: Remove any leading semicolons (;) in configuration lines -- those are Samba comments.

2 CTEC1863/2017F Lab #10 Samba Page 2 of (continued) For example, a user named Goran Jankovic would use JANKOVIC as the netbios name. We will all use the workgroup COMPENG. [global]... workgroup = COMPENG... netbios name = YOURSERVERNAME... [homes]... writable = yes... [shared] comment = Shared Folder path = /home/shared public = yes writable = yes browseable = yes After making the necessary edits, save the file. 5. Create your shared folder. It is best to give it "shared" permissions (like /tmp). For example, mkdir -p /home/shared chmod 1777 /home/shared 6. SELinux ("Security Enhanced Linux") is a service that runs to allow fine-grained control of which files can be accessed, etc. You must allow Samba in SELinux: chcon -t samba_share_t /home/shared setsebool -P samba_enable_home_dirs 1 Also copy at least one file into the folder, so that you can properly test it.

3 CTEC1863/2017F Lab #10 Samba Page 3 of After making the necessary edits, save the file. Prepare to run Samba: testparm (validate the configuration) The testparm program should not produce any error messages. If so, you probably have one or more errors in your smb.conf file. 8. Continue to prepare to run Samba: smbpasswd -a yourusername (add yourself as a Samba user) systemctl enable nmb.service smb.service (start the servers) systemctl restart nmb.service smb.service ps -ef grep mbd (verify servers are running) OR systemctl status nmb.service systemctl status smb.service (get server status) Note: If you make a change to your smb.conf file, you must notify the Samba server processes by sending a "Hangup" signal with the kill command. For example, # ps -ef grep mbd root :58? 00:00:00 /usr/local/samba/sbin/nmbd -D root :58? 00:00:00 /usr/local/samba/sbin/smbd -D root :10 pts/1 00:00:00 grep mbd # kill -HUP You can also just restart the two services: systemctl restart nmb.service smb.service

4 CTEC1863/2017F Lab #10 Samba Page 4 of Add an entry to your /etc/hosts file for your Samba server name. (Make a backup first and then use a text editor.) For example: jankovic jankovic.compeng Get your CentOS static IP address using the ip a command. After you save the hosts file, test by ping-ing both hostnames. (Ctrl-C to stop ping.) 10. (a) Test your Samba server using a Linux client: smbclient -N -L //YOURSERVERNAME For example, smbclient -N -L //JANKOVIC Anonymous login successful Domain=[COMPENG] OS=[Unix] Server=[Samba 4.1.0] Sharename Type Comment IPC$ IPC IPC Service (Samba 4.1.0) homes Disk shared Disk Anonymous login successful Domain=[COMPENG] OS=[Unix] Server=[Samba 4.1.0] Server Comment JANKOVIC Samba Workgroup Master COMPENG JANKOVIC (b) You can also use your IP address. For example: smbclient -N -L // Anonymous login successful Domain=[COMPENG] OS=[Unix] Server=[Samba 4.1.0]... (c) Test Samba access to your home directory: smbclient -U yourusername //yourservername/yourusername...continued...

5 CTEC1863/2017F Lab #10 Samba Page 5 of continued... After connecting, if you run a dir command, you should see the files in your home directory. (d) In another window, as your non-root user, run the Samba client: smbclient //yourservername/yourusername You should see the same result as in step (c). (e) Test Samba access to your shared directory: smbclient //yourservername/shared For example, if the user Goran has a Linux username "goranj", then goranj would be his username for Samba and for Microsoft Networking. # smbpasswd -a goranj The system administrator would have New SMB password: run this command (once) on the server; Retype new SMB password: you don t have to do this on the client Added user goranj. $ smbclient //jankovic/goranj Run this command on the client or server Password: Domain=[COMPENG] OS=[Unix] Server=[Samba ] smb: \> ls. D 0 Tue Jul 20 11:21: D 0 Tue Jul 20 11:15: bash_profile H 191 Tue Feb 10 14:24: bashrc H 124 Tue Feb 10 14:24: lab10 D 0 Wed Jul 21 09:04: samba tar.gz Wed Jul 21 10:20: blocks of size blocks available smb: \> pwd Current directory is \\JANKOVIC\goranj\ smb: \> qui...continued...

6 CTEC1863/2017F Lab #10 Samba Page 6 of continued... The Linux client is similar to FTP, so you can transfer files. smb: \> help? altname archive blocksize cancel cd chmod chown del dir du exit get hardlink help history lcd link lowercase ls mask md mget mkdir more mput newer open print printmode prompt put pwd q queue quit rd recurse reget rename reput rm rmdir setmode symlink tar tarmode translate vuid logon! 11. Repeat procedures 9 and 10 on your Ubuntu VM. (You may need to install the Samba client first.) This uses Ubuntu as the client, connecting to your CentOS server over the network. (Samba can be used to transfer files between Linux and Linux, but the protocol is very inefficient! NFS [Lab 9] is better.) PART B: Test Samba using Microsoft Windows 12. From Windows, if you are logged in as Administrator, simply open a Command Prompt. If you are logged in as l17student, go to the Start menu, All Programs, Accessories. Right-click on Command Prompt and select Run as Adminstrator (and agree to the UAC prompt.) OR Boot another PC into the L17 Open Windows 7 partition and log on as Administrator. Verify that you are on the CIT network (as indicated by a or IP address.)...continued...

7 CTEC1863/2017F Lab #10 Samba Page 7 of continued... Use ping to contact your CentOS VM (using your IP address from Part A, Step 9.) Note: for these examples, assume that user Srdjan Matovina has a Samba server called MATOVINA on IP address and a Samba user name srdjan. 13. (a) Open the c:\windows\system32\drivers\etc\lmhosts.sam file using Notepad. The easiest way to do this is to cd into the directory first using the Tab key for assistance, and then run notepad lmhosts.sam from the Command Prompt (so that it is running as Administrator.) Add an entry for your Samba server (since we don't have a WINS server handy.) For example:...continued...

8 CTEC1863/2017F Lab #10 Samba Page 8 of continued... Save the file as c:\windows\system32\drivers\etc\lmhosts -- NO EXTENSION! Verify using the Command Prompt that the file has no extension and rename it if necessary. (b) Do the same with the c:\windows\system32\drivers\etc\hosts file (since we don't have control of the DNS server either.) Test your hosts file entry by ping-ing the hostname(s).

9 CTEC1863/2017F Lab #10 Samba Page 9 of From Windows Explorer window, enter the UNC name for your Samba server using your Samba username and password. For our example server, its UNC name is \\MATOVINA You can also enter the IP address instead in the UNC format, e.g., \\ Windows may also show your Samba server in the left pane of the Explorer window, under Network.

10 CTEC1863/2017F Lab #10 Samba Page 10 of Double-click on a share to view the contents of the share. Alternatively, you can right-click on a share and map a network drive to it. The UNC name for your home directory is in the form: \\ yourservername \yourusername For our example server, Srdjan's home directory, in UNC form, is: \\MATOVINA\srdjan...continued...

11 CTEC1863/2017F Lab #10 Samba Page 11 of continued... OR you can use NET USE commands to manage the drive. 16. Try to read and write files to and from the share using Windows programs. When You Are Done 1. Take a screen shot of your Windows 7 PC connected to your Samba server, using the Snipping Tool. 2. the screen shot and your Linux smb.conf file [hint: you can copy it to Windows via one of your Samba shares first] to your professor. (Or post on BB.)

Install and Configure Samba - CentOS 7

Install and Configure Samba - CentOS 7 CentOS 7 Samba Guide Page 1 of 11 Install and Configure Samba - CentOS 7 What is Samba and why should I use it? Samba is a service that allows Linux machines to access and share files, folders and printers

More information

CIS 192 Linux Lab Exercise

CIS 192 Linux Lab Exercise CIS 192 Linux Lab Exercise Lab 8: Samba Spring 2009 Lab 8: Samba The purpose of this lab is to share files among Windows and Linux hosts on a common network. The goal is to browse directories on the Linux

More information

Implementing a Primary Domain Controller for Windows 2000 Clients using Samba

Implementing a Primary Domain Controller for Windows 2000 Clients using Samba Operating Systems and Systems Integration Implementing a Primary Domain Controller for Windows 2000 Clients using Samba 1 Aim After completing this exercise, you will be able to install and perform basic

More information

CTEC1863/2018F Bonus Lab Page 1 of 5

CTEC1863/2018F Bonus Lab Page 1 of 5 CTEC1863/2018F Bonus Lab Page 1 of 5 Bonus Lab: OpenSUSE Linux Rescue In this lab, we will install an OpenSUSE virtual machine. However, both the non-root user and the root passwords are unknown. To fix

More information

Sharing files and printers with Microsoft Windows

Sharing files and printers with Microsoft Windows 1 Sharing files and printers with Microsoft Windows CIFS, Samba, SMB. Different words, same thing. Samba is mainly used as a share in a mixed environment, usually with Windows and Linux. Samba is also

More information

Network-based File Sharing (1)

Network-based File Sharing (1) Samba Let s Dance! Network-based File Sharing (1) NFS (UNIX-based) mountd is responsible for mount request nfsd and nfsiod Based on RPC CIFS (Microsoft) Common Internet File System 網路芳鄰 SMB (Server Message

More information

Lab #9: Configuring A Linux File Server

Lab #9: Configuring A Linux File Server Lab #9 Page 1 of 6 Theory: Lab #9: Configuring A Linux File Server The Network File System (NFS) feature provides a means of sharing Linux file systems and directories with other Linux and UNIX computers

More information

Chapter 6: Connecting Windows Workstations

Chapter 6: Connecting Windows Workstations Chapter 6: Connecting Windows Workstations 153 Chapter 6 Connecting Windows Workstations Because this is a book about using Linux on a Microsoft Windows-based network, this chapter shows you how to connect

More information

SIEMENS UserAdmin Workshop TELEPERM XP Version 4 Chapter 1

SIEMENS UserAdmin Workshop TELEPERM XP Version 4 Chapter 1 1 UNIX... 1-2 1.1 USER-ENVIRONMENT... 1-2 1.1.1 User-environment... 1-3 1.1.2 Basic commands... 1-3 1.1.3 SCO Unix specific commands... 1-4 1.1.4 HP Unix specific commands... 1-4 1.2 FILE SYSTEM... 1-5

More information

CS Fundamentals of Programming II Fall Very Basic UNIX

CS Fundamentals of Programming II Fall Very Basic UNIX CS 215 - Fundamentals of Programming II Fall 2012 - Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the CS (Project) Lab (KC-265)

More information

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2

Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades Q2 Linux Operating System Environment Computadors Grau en Ciència i Enginyeria de Dades 2017-2018 Q2 Facultat d Informàtica de Barcelona This first lab session is focused on getting experience in working

More information

Hitchhiker s Guide to VLSI Design with Cadence & Synopsys

Hitchhiker s Guide to VLSI Design with Cadence & Synopsys Hitchhiker s Guide to VLSI Design with Cadence & Synopsys David Money Harris 17 January 2009 The VLSI design tools at Harvey Mudd College are hosted on a Linux server named chips. This document introduces

More information

Lab 1 Introduction to UNIX and C

Lab 1 Introduction to UNIX and C Name: Lab 1 Introduction to UNIX and C This first lab is meant to be an introduction to computer environments we will be using this term. You must have a Pitt username to complete this lab. NOTE: Text

More information

Perl and R Scripting for Biologists

Perl and R Scripting for Biologists Perl and R Scripting for Biologists Lukas Mueller PLBR 4092 Course overview Linux basics (today) Linux advanced (Aure, next week) Why Linux? Free open source operating system based on UNIX specifications

More information

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions

Welcome to getting started with Ubuntu Server. This System Administrator Manual. guide to be simple to follow, with step by step instructions Welcome to getting started with Ubuntu 12.04 Server. This System Administrator Manual guide to be simple to follow, with step by step instructions with screenshots INDEX 1.Installation of Ubuntu 12.04

More information

15. Creating a Samba Server in Knoppix v.3

15. Creating a Samba Server in Knoppix v.3 15. Creating a Samba Server in Knoppix v.3 Estimated Time: 60 minutes Objective In this lab, the student will start the samba service in Knoppix, allowing transfer of files to and from a indows XP computer

More information

Installing QuickBooks Enterprise Solutions Database Manager On Different Linux Servers

Installing QuickBooks Enterprise Solutions Database Manager On Different Linux Servers Installing QuickBooks Enterprise Solutions Database Manager On Different Linux Servers Contents QuickBooks Enterprise Solutions and Linux... 3 Audience of This Guide... 3 What is the Linux Database Manager

More information

WM_W60X_SDK_GCC Compiling Guide V1.1

WM_W60X_SDK_GCC Compiling Guide V1.1 WM_W60X_SDK_GCC Compiling Guide V1.1 Address: 18 th Floor, Yindu Building, No.67 Fucheng Road, Haidian District, Beijing, China Tel: +86-10-62161900 Website: www.winnermicro.com Document History Version

More information

Systems Programming and Computer Architecture ( ) Exercise Session 01 Data Lab

Systems Programming and Computer Architecture ( ) Exercise Session 01 Data Lab Systems Programming and Computer Architecture (252-0061-00) Exercise Session 01 Data Lab 1 Goal Get familiar with bit level representations, C and Linux Thursday, September 22, 2016 Systems Programming

More information

Setting Up SAMBA. And the response was: salmonberry samba sawtimber scramble. Thus, the name Samba was born.

Setting Up SAMBA. And the response was: salmonberry samba sawtimber scramble. Thus, the name Samba was born. Setting Up SAMBA Samba is the brainchild of Andrew Tridgell who currently heads the Samba development team from his home of Canberra, Australia. The project was born in 1991 when Andrew created a fileserver

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Introduction to UNIX Stephen Pauwels University of Antwerp October 2, 2015 Outline What is Unix? Getting started Streams Exercises UNIX Operating system Servers, desktops,

More information

Software Tips-1. Soma s Software Tips. Software Tips for the X-Ray Facility

Software Tips-1. Soma s Software Tips. Software Tips for the X-Ray Facility 414 Kasha Laboratory Institute of Molecular Biophysics Florida State University, Tallahassee, FL 32306-4380 (850) 644-6448 (Office) (850) 645-1333 (Lab) soma@sb.fsu.edu www.sb.fsu.edu/~soma Soma s Software

More information

RHCE BOOT CAMP. File Sharing Services. Wednesday, November 28, 12

RHCE BOOT CAMP. File Sharing Services. Wednesday, November 28, 12 RHCE BOOT CAMP File Sharing Services NFS The Network File Service, or NFS, is used to share data with other servers. For this service to work properly, portmap and nfs-utils rpms must be installed, and

More information

Introduction to Linux Environment. Yun-Wen Chen

Introduction to Linux Environment. Yun-Wen Chen Introduction to Linux Environment Yun-Wen Chen 1 The Text (Command) Mode in Linux Environment 2 The Main Operating Systems We May Meet 1. Windows 2. Mac 3. Linux (Unix) 3 Windows Command Mode and DOS Type

More information

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX

CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX CS 215 Fundamentals of Programming II Spring 2019 Very Basic UNIX This handout very briefly describes how to use Unix and how to use the Linux server and client machines in the EECS labs that dual boot

More information

Linux Exercise. pwd answer: We call this directory (into which you get when you log in) your home directory.

Linux Exercise. pwd answer: We call this directory (into which you get when you log in) your home directory. Linux Exercise The following steps will guide you through the most common Linux commands. If you are using windows (Library and any Windows lab on campus), then start with step 1. If you are using a linux

More information

Linux Essentials Objectives Topics:

Linux Essentials Objectives Topics: Linux Essentials Linux Essentials is a professional development certificate program that covers basic knowledge for those working and studying Open Source and various distributions of Linux. Exam Objectives

More information

Getting Started With UNIX Lab Exercises

Getting Started With UNIX Lab Exercises Getting Started With UNIX Lab Exercises This is the lab exercise handout for the Getting Started with UNIX tutorial. The exercises provide hands-on experience with the topics discussed in the tutorial.

More information

Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3.

Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3. Student Remote Login Procedure (see picture below): 1. Start SSH Secure Shell 2. Click the computer icon (4 th on the toolbar) 3. Enter stargate.ncc.edu in the text field labeled Host Name: 4. Enter the

More information

Step by Step Gluster Setup Table of Contents

Step by Step Gluster Setup Table of Contents Step by Step Gluster Setup Table of Contents Preflight... 2 Configuring your Network (Do on all Nodes)... 2 Install Required Packages (On all nodes)... 4 Configure Services... 4 NTP... 4 Password less

More information

MTU Computer Structure

MTU Computer Structure 1 MTU Computer Structure Home directory: h drive Same for Suns & PC s Location to store files Organize files by creating appropriate directories (folders) Subdirectory - any directory within in another

More information

LAB #7 Linux Tutorial

LAB #7 Linux Tutorial Gathering information: LAB #7 Linux Tutorial Find the password file on a Linux box Scenario You have access to a Linux computer. You must find the password file on the computer. Objective Get a listing

More information

Introduction to Linux

Introduction to Linux Introduction to Linux Mukesh Pund Principal Scientist, NISCAIR, New Delhi, India History In 1969, a team of developers developed a new operating system called Unix which was written using C Linus Torvalds,

More information

Introduction to remote command line Linux. Research Computing Team University of Birmingham

Introduction to remote command line Linux. Research Computing Team University of Birmingham Introduction to remote command line Linux Research Computing Team University of Birmingham Linux/UNIX/BSD/OSX/what? v All different v UNIX is the oldest, mostly now commercial only in large environments

More information

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers

Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Hands-on Keyboard: Cyber Experiments for Strategists and Policy Makers Review of the Linux File System and Linux Commands 1. Introduction Becoming adept at using the Linux OS requires gaining familiarity

More information

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r

Set 1 MCQ Which command is used to sort the lines of data in a file in reverse order A) sort B) sh C) st D) sort -r 1. Which symbol will be used with grep command to match the pattern pat at the beginning of a line? A) ^pat B) $pat C) pat$ D) pat^ 2. Which command is used to sort the lines of data in a file in reverse

More information

Offloading NDO2DB To Remote Server

Offloading NDO2DB To Remote Server Purpose This document is meant to show a step-by-step guide for offloading the NDO2DB daemon from the central server to an external, remote server. NDO2DB is an acronym of "Nagios Data Output To Database"

More information

Lab #5 Guide: Installing Ubuntu as a Virtual Machine

Lab #5 Guide: Installing Ubuntu as a Virtual Machine Lab #5 Guide: Installing Ubuntu as a Virtual Machine CTEC1863/2018F Operating Systems Mike Boldin Tools, Materials and Equipment Oracle VirtualBox software official site: https://www.virtualbox.org/wiki/downloads

More information

Linux Command Line Primer. By: Scott Marshall

Linux Command Line Primer. By: Scott Marshall Linux Command Line Primer By: Scott Marshall Draft: 10/21/2007 Table of Contents Topic Page(s) Preface 1 General Filesystem Background Information 2 General Filesystem Commands 2 Working with Files and

More information

Configuring and Troubleshooting MS DFS links in an HP CIFS Server (Samba) Environment

Configuring and Troubleshooting MS DFS links in an HP CIFS Server (Samba) Environment Configuring and Troubleshooting MS DFS links in an HP CIFS Server (Samba) Environment Executive summary... 2 What IS MS DFS?... 2 Configuring MS DFS on HP CIFS Server... 2 Test environment... 2 Configuration

More information

Linux Administration

Linux Administration Linux Administration This course will cover all aspects of Linux Certification. At the end of the course delegates will have the skills required to administer a Linux System. It is designed for professionals

More information

Network Monitoring & Management. A few Linux basics

Network Monitoring & Management. A few Linux basics Network Monitoring & Management A few Linux basics Our chosen platform Ubuntu Linux 14.04.3 LTS 64-bit LTS = Long Term Support no GUI, we administer using ssh Ubuntu is Debian underneath There are other

More information

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one]

This lab exercise is to be submitted at the end of the lab session! passwd [That is the command to change your current password to a new one] Data and Computer Security (CMPD414) Lab II Topics: secure login, moving into HOME-directory, navigation on Unix, basic commands for vi, Message Digest This lab exercise is to be submitted at the end of

More information

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories

Chapter Two. Lesson A. Objectives. Exploring the UNIX File System and File Security. Understanding Files and Directories Chapter Two Exploring the UNIX File System and File Security Lesson A Understanding Files and Directories 2 Objectives Discuss and explain the UNIX file system Define a UNIX file system partition Use the

More information

mkdir Phys338 s2017 Draw the tree of the directories and files for this step and all the following cd Phys338 s2017

mkdir Phys338 s2017 Draw the tree of the directories and files for this step and all the following cd Phys338 s2017 Linux Exercise The following steps will guide you through the most common Linux commands. If you are using windows (Library and any Windows lab on campus), then start with step 1. If you are using a linux

More information

CENG 334 Computer Networks. Laboratory I Linux Tutorial

CENG 334 Computer Networks. Laboratory I Linux Tutorial CENG 334 Computer Networks Laboratory I Linux Tutorial Contents 1. Logging In and Starting Session 2. Using Commands 1. Basic Commands 2. Working With Files and Directories 3. Permission Bits 3. Introduction

More information

Orchid Core VMS Installation Guide

Orchid Core VMS Installation Guide Orchid Core VMS Installation Guide Version 2.2.2 Orchid Core VMS Installation Guide v2.2.2 1 C O N T E N T S About the Orchid Core VMS Installation Guide 2 Installation 3 Working in Windows 3 Working in

More information

Linux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala

Linux Training. for New Users of Cluster. Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala Linux Training for New Users of Cluster Georgia Advanced Computing Resource Center University of Georgia Suchitra Pakala pakala@uga.edu 1 Overview GACRC Linux Operating System Shell, Filesystem, and Common

More information

Common UNIX Commands. Unix. User Interfaces. Unix Commands Winter COMP 1270 Computer Usage II 9-1. Using UNIX. Unix has a command line interface

Common UNIX Commands. Unix. User Interfaces. Unix Commands Winter COMP 1270 Computer Usage II 9-1. Using UNIX. Unix has a command line interface Common UNIX Commands Using UNIX Unix Unix has a command line interface Unix commands must be typed Similar to the DOS operating system for PC s Compare to the Graphical User Interface (GUI) used by Windows,

More information

Brief Linux Presentation. July 10th, 2006 Elan Borenstein

Brief Linux Presentation. July 10th, 2006 Elan Borenstein Brief Linux Presentation July 10th, 2006 Elan Borenstein History 1965 - Bell Labs (AT&T), GE and MIT Project to develop a new (multiuser, multitasking) operating system - MULTICS. (not successful) History

More information

Obtaining and Installing the Updated TSBroadcaster Scripts

Obtaining and Installing the Updated TSBroadcaster Scripts [ Obtaining and Installing the Updated TSBroadcaster 1.0.0.10 Scripts Overview Background An issue with the tomcat process on the TSBroadcaster server causes the process to sometimes run out of memory.

More information

Linux Systems Administration Getting Started with Linux

Linux Systems Administration Getting Started with Linux Linux Systems Administration Getting Started with Linux Network Startup Resource Center www.nsrc.org These materials are licensed under the Creative Commons Attribution-NonCommercial 4.0 International

More information

CIFS ON OPENVMS. Tips and Hints. Paul Bakker, Hans Hosang. Platform Integration Competency Center.

CIFS ON OPENVMS. Tips and Hints. Paul Bakker, Hans Hosang. Platform Integration Competency Center. CIFS ON OPENVMS Tips and Hints Paul Bakker, Hans Hosang. Platform Integration Competency Center. 2011 Hewlett-Packard Development Company, L.P. The information contained herein is subject to change without

More information

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University

Unix/Linux Basics. Cpt S 223, Fall 2007 Copyright: Washington State University Unix/Linux Basics 1 Some basics to remember Everything is case sensitive Eg., you can have two different files of the same name but different case in the same folder Console-driven (same as terminal )

More information

Working with Basic Linux. Daniel Balagué

Working with Basic Linux. Daniel Balagué Working with Basic Linux Daniel Balagué How Linux Works? Everything in Linux is either a file or a process. A process is an executing program identified with a PID number. It runs in short or long duration

More information

IBM Iseries linux technical solutions v5r.

IBM Iseries linux technical solutions v5r. IBM 000-856 Iseries linux technical solutions v5r. http://killexams.com/exam-detail/000-856 QUESTION: 72 When using an image catalog to install a Linux partition on iseries, where does the image catalog

More information

ITEC451 Network Design & Analysis Laboratory Guide: Appendix

ITEC451 Network Design & Analysis Laboratory Guide: Appendix Linux Guide Accessing the command prompt Before you can access the command prompt, you must login to the system. The administrative user on Linux machines is named root. On most Linux distributions, you

More information

Using UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program

Using UNIX. -rwxr--r-- 1 root sys Sep 5 14:15 good_program Using UNIX. UNIX is mainly a command line interface. This means that you write the commands you want executed. In the beginning that will seem inferior to windows point-and-click, but in the long run the

More information

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14

Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Introduction to Linux (Part I) BUPT/QMUL 2018/03/14 Contents 1. Background on Linux 2. Starting / Finishing 3. Typing Linux Commands 4. Commands to Use Right Away 5. Linux help continued 2 Contents 6.

More information

Samba. Alain Knaff. Linuxdays, Samba. Alain Knaff. Installing. Basic config PDC. Printing. Misc gimmicks. Conclusion

Samba. Alain Knaff. Linuxdays, Samba. Alain Knaff. Installing. Basic config PDC. Printing. Misc gimmicks. Conclusion config Linuxdays, 2006 Summary config config (defining shares,...) Operating as a Misc items and printing config 3.0.14a: apt-get install samba apt-get install smbclient Overview config Sections, introduced

More information

Network-based File Sharing

Network-based File Sharing Samba weicc Network-based File Sharing FTP (File Transfer Protocol) NFS (UNIX-based) mountd is responsible for mount request nfsd and nfsiod Based on RPC CIFS (Microsoft) Common Internet File System 網路芳鄰

More information

Virtual Data Center (vdc) Manual

Virtual Data Center (vdc) Manual Virtual Data Center (vdc) Manual English Version 1.0 Page 1 of 43 Content 1 HOW TO USE CLOUD PORTAL (VMWARE VIRTUAL DATA CENTER)... 3 2 VMWARE SYSTEM DETAILS... 5 3 HOW TO MANAGE VIRTUAL MACHINE... 6 Edit

More information

Computer Systems and Architecture

Computer Systems and Architecture Computer Systems and Architecture Stephen Pauwels Computer Systems Academic Year 2018-2019 Overview of the Semester UNIX Introductie Regular Expressions Scripting Data Representation Integers, Fixed point,

More information

Applied Biosystems SQL*LIMS Technical Support Technical Note

Applied Biosystems SQL*LIMS Technical Support Technical Note Applied Biosystems SQL*LIMS Technical Support Technical Note Document Number: LIMS013 Last Revised: 7/22/2003 Software Versions: SQL*LIMS v4.0.16 and v4.1 Platform: Sun Solaris and HP-UX Author: Deborah

More information

ClearCase and Samba. A Supported Configuration. Lonnie Roscillo and Sue Meany. December 12, ClearCase Support Whitepaper

ClearCase and Samba. A Supported Configuration. Lonnie Roscillo and Sue Meany. December 12, ClearCase Support Whitepaper ClearCase and Samba A Supported Configuration Lonnie Roscillo and Sue Meany December 12, 2007 Page 1 of 21 INTRODUCTION... 3 WHAT IS SAMBA?... 3 GETTING STARTED... 4 GENERAL SUPPORT REQUIREMENTS... 4 INSTALLATION

More information

Assignment 1: Build Environment

Assignment 1: Build Environment Read the entire assignment before beginning! Submit deliverables to CourSys: https://courses.cs.sfu.ca/ Late penalty is 10% per calendar day (each 0 to 24 hour period past due, max 2 days). This assignment

More information

Data Management at ARSC

Data Management at ARSC Data Management at ARSC David Newman (From slides by Tom Logan) (from Slides from Don Bahls) Presentation Overview 1. ARSC storage 2. Data Management within ARSC 3. Additional Notes on Long Term Storage

More information

SIOS Protection Suite for Linux v9.0. Samba Recovery Kit Administration Guide

SIOS Protection Suite for Linux v9.0. Samba Recovery Kit Administration Guide SIOS Protection Suite for Linux v9.0 Samba Recovery Kit Administration Guide Sep 2015 This document and the information herein is the property of SIOS Technology Corp. (previously known as SteelEye Technology,

More information

Lab #9: Basic Linux Networking

Lab #9: Basic Linux Networking CTEC1767 Data Communications & Networking 2017 Lab #9: Basic Linux Networking Understanding Linux networks starts with understanding Linux network commands and the information they provide. We will use

More information

EE516: Embedded Software Project 1. Setting Up Environment for Projects

EE516: Embedded Software Project 1. Setting Up Environment for Projects EE516: Embedded Software Project 1. Setting Up Environment for Projects By Dong Jae Shin 2015. 09. 01. Contents Introduction to Projects of EE516 Tasks Setting Up Environment Virtual Machine Environment

More information

Part I. Introduction to Linux

Part I. Introduction to Linux Part I Introduction to Linux 7 Chapter 1 Linux operating system Goal-of-the-Day Familiarisation with basic Linux commands and creation of data plots. 1.1 What is Linux? All astronomical data processing

More information

Lab 2A> ADDING USERS in Linux

Lab 2A> ADDING USERS in Linux Lab 2A> ADDING USERS in Linux Objective In this lab, student will learn how to create user accounts using the Linux operating system. Scenario The XYZ Company has just installed a server running Linux.

More information

Chapter-3. Introduction to Unix: Fundamental Commands

Chapter-3. Introduction to Unix: Fundamental Commands Chapter-3 Introduction to Unix: Fundamental Commands What You Will Learn The fundamental commands of the Unix operating system. Everything told for Unix here is applicable to the Linux operating system

More information

Introduction of Linux

Introduction of Linux Introduction of Linux 阳 oslab2018_class1@163.com 寅 oslab2018_class2@163.com PART I Brief Introduction Basic Conceptions & Environment Install & Configure a Virtual Machine Basic Commands PART II Shell

More information

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2

CSE Linux VM. For Microsoft Windows. Based on opensuse Leap 42.2 CSE Linux VM For Microsoft Windows Based on opensuse Leap 42.2 Dr. K. M. Flurchick February 2, 2017 Contents 1 Introduction 1 2 Requirements 1 3 Procedure 1 4 Usage 3 4.1 Start/Stop.................................................

More information

CS CS Tutorial 2 2 Winter 2018

CS CS Tutorial 2 2 Winter 2018 CS CS 230 - Tutorial 2 2 Winter 2018 Sections 1. Unix Basics and connecting to CS environment 2. MIPS Introduction & CS230 Interface 3. Connecting Remotely If you haven t set up a CS environment password,

More information

Exercise 1: Basic Tools

Exercise 1: Basic Tools Exercise 1: Basic Tools This exercise is created so everybody can learn the basic tools we will use during this course. It is really more like a tutorial than an exercise and, you are not required to submit

More information

1. Open VirtualBox and start your linux VM. Boot the machine and log in with the user account you created in Lab #1. Open the Terminal application.

1. Open VirtualBox and start your linux VM. Boot the machine and log in with the user account you created in Lab #1. Open the Terminal application. CIT 210L Name: Lab #2 1. Open VirtualBox and start your linux VM. Boot the machine and log in with the user account you created in Lab #1. Open the Terminal application. 2. Listing installed packages -

More information

Unix Introduction to UNIX

Unix Introduction to UNIX Unix Introduction to UNIX Get Started Introduction The UNIX operating system Set of programs that act as a link between the computer and the user. Developed in 1969 by a group of AT&T employees Various

More information

Networks Lab Pod Diagram

Networks Lab Pod Diagram (Console cable) Networks Lab Pod Diagram (x = pod number) 190.111.50.x 190.111.x.254 PodxLinux Addr: 190.111.x.3 Mask: 255.255.255.0 GW: 190.111.x.254 DNS: 190.111.x.1 PodxServer Addr: 190.111.x.1 Mask:

More information

Introduction to UNIX/Linux

Introduction to UNIX/Linux Introduction to UNIX/Linux Biochemistry Boot Camp 2018 Session #3 Nick Fitzkee nfitzkee@chemistry.msstate.edu Operating system (OS) Some terms Command-line interface (CLI) Graphical user interface (GUI)

More information

Unix Basics. Systems Programming Concepts

Unix Basics. Systems Programming Concepts Concepts Unix directories Important Unix file commands man, pwd, ls, mkdir, cd, cp, mv File and directory access rights through permission settings Using chmod to change permissions Other important Unix

More information

Lab Working with Linux Command Line

Lab Working with Linux Command Line Introduction In this lab, you will use the Linux command line to manage files and folders and perform some basic administrative tasks. Recommended Equipment A computer with a Linux OS, either installed

More information

INSE Lab 1 Introduction to UNIX Fall 2017

INSE Lab 1 Introduction to UNIX Fall 2017 INSE 6130 - Lab 1 Introduction to UNIX Fall 2017 Updated by: Paria Shirani Overview In this lab session, students will learn the basics of UNIX /Linux commands. They will be able to perform the basic operations:

More information

CS370 Operating Systems

CS370 Operating Systems CS370 Operating Systems Colorado State University Yashwant K Malaiya Fall 2016 Lecture 5 Slides based on Text by Silberschatz, Galvin, Gagne Various sources 1 1 User Operating System Interface - CLI CLI

More information

Linux Kung Fu. Stephen James UBNetDef, Spring 2017

Linux Kung Fu. Stephen James UBNetDef, Spring 2017 Linux Kung Fu Stephen James UBNetDef, Spring 2017 Introduction What is Linux? What is the difference between a client and a server? What is Linux? Linux generally refers to a group of Unix-like free and

More information

Stop all processes and then reboot - same as above startx. Log in as superuser from current login exit

Stop all processes and then reboot - same as above startx. Log in as superuser from current login exit Starting & Stopping shutdown -h now Shutdown the system now and do not reboot shutdown -r 5 Shutdown the system in 5 minutes and reboot shutdown -r now Shutdown the system now and reboot reboot Stop all

More information

Introduction to Linux. Fundamentals of Computer Science

Introduction to Linux. Fundamentals of Computer Science Introduction to Linux Fundamentals of Computer Science Outline Operating Systems Linux History Linux Architecture Logging in to Linux Command Format Linux Filesystem Directory and File Commands Wildcard

More information

Linux at the Command Line Don Johnson of BU IS&T

Linux at the Command Line Don Johnson of BU IS&T Linux at the Command Line Don Johnson of BU IS&T We ll start with a sign in sheet. We ll end with a class evaluation. We ll cover as much as we can in the time allowed; if we don t cover everything, you

More information

configure samba for some basic file service tasks

configure samba for some basic file service tasks 1 Samba by Alain Knaff Samba (named after Microsoft s Server Message Block protocol) is an Open Source/Free Software suite that provides seamless file and print services to Windows clients. It can act

More information

Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1

Copyright Heraflux Technologies. Do not redistribute or copy as your own. 1 @kleegeek davidklee.net heraflux.com in/davidaklee Specialties / Focus Areas / Passions: Performance Tuning Business Continuity Virtualization & Cloud Infrastructure Architecture Health & Efficiency Capacity

More information

Introduction to Linux

Introduction to Linux Introduction to Linux University of Bristol - Advance Computing Research Centre 1 / 47 Operating Systems Program running all the time Interfaces between other programs and hardware Provides abstractions

More information

Introduction to Unix and Linux. Workshop 1: Directories and Files

Introduction to Unix and Linux. Workshop 1: Directories and Files Introduction to Unix and Linux Workshop 1: Directories and Files Genomics Core Lab TEXAS A&M UNIVERSITY CORPUS CHRISTI Anvesh Paidipala, Evan Krell, Kelly Pennoyer, Chris Bird Genomics Core Lab Informatics

More information

SIOS Protection Suite for Linux Samba Recovery Kit v9.2. Administration Guide

SIOS Protection Suite for Linux Samba Recovery Kit v9.2. Administration Guide SIOS Protection Suite for Linux Samba Recovery Kit v9.2 Administration Guide October 2017 This document and the information herein is the property of SIOS Technology Corp. (previously known as SteelEye

More information

Getting your department account

Getting your department account 02/11/2013 11:35 AM Getting your department account The instructions are at Creating a CS account 02/11/2013 11:36 AM Getting help Vijay Adusumalli will be in the CS majors lab in the basement of the Love

More information

SIOS Protection Suite for Linux Samba Recovery Kit v Administration Guide

SIOS Protection Suite for Linux Samba Recovery Kit v Administration Guide SIOS Protection Suite for Linux Samba Recovery Kit v9.0.2 Administration Guide Mar 2016 This document and the information herein is the property of SIOS Technology Corp. (previously known as SteelEye Technology,

More information

SQL Server Administration on Linux 2017

SQL Server Administration on Linux 2017 @kleegeek davidklee.net heraflux.com davidaklee Specialties / Focus Areas / Passions: Performance Tuning Business Continuity Virtualization & Cloud Infrastructure Architecture Health & Efficiency Capacity

More information

Introduction to the UNIX command line

Introduction to the UNIX command line Introduction to the UNIX command line Steven Abreu Introduction to Computer Science (ICS) Tutorial Jacobs University s.abreu@jacobs-university.de September 19, 2017 Overview What is UNIX? UNIX Shell Commands

More information

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech

Unix File System. Class Meeting 2. * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System Class Meeting 2 * Notes adapted by Joy Mukherjee from previous work by other members of the CS faculty at Virginia Tech Unix File System The file system is your interface to: physical

More information

Parts of this tutorial has been adapted from M. Stonebank s UNIX Tutorial for Beginners (http://www.ee.surrey.ac.uk/teaching/unix/).

Parts of this tutorial has been adapted from M. Stonebank s UNIX Tutorial for Beginners (http://www.ee.surrey.ac.uk/teaching/unix/). Ubuntu tutorial Parts of this tutorial has been adapted from M. Stonebank s UNIX Tutorial for Beginners (http://www.ee.surrey.ac.uk/teaching/unix/). 1 Installing Ubuntu About Ubuntu For our lab sessions

More information