SlideShare una empresa de Scribd logo
1 de 51
Descargar para leer sin conexión
SA108: The Ultimate IBM and Lotus on Linux
Workshop for Windows Admins

Bill Malchisky Jr.
Effective Software Solutions, LLC
bill@billmal.com
Twitter.com/billmalchisky




                                    1
Quick Background


  • Regulatory compliance expert in the field
  • Written multiple articles on compliance and
    eDiscovery
  • Speaker at 20+ Lotus® related conferences/LUGs
  • Co-authored two IBM® Redbooks on Linux®
  • Designed disclosure response solutions for
    Fortune® 100, medium-sized, and small established
    regulated firms
  • IBM Champion for Collaboration Solutions
  • Linux aficionado


                            2
Quick Survey




               What’s your Linux experience?




                             3
Setting Workshop Expectations


 • Course will cover as much information as possible in
 the time allotted
 • More demos and live code than static content
 • Attendees are encouraged to ask questions
 • Take copious notes
 • Although most will not be experts when finished...
    • You should have a significantly higher level of
     confidence
     • Be proficient in many aspects
     • Comfortable enough to try Linux in your work
     place, or at home

                                4
Your Moment of Zen...




                        5
Today's Topics of Interest


  •   Introduction
  •   Basic Theory and Installation
  •   Commands to Improve Your Life
  •   Editing Files with vi
  •   Scripting Primer
  •   Package Management Techniques
  •   Lotus Application Introduction
  •   Review
  •   Reference



                               6
Linux Directory Pieces


 ●
      Never need to worry about drive letters
 ●
      Can mount most every subdirectory anywhere
        - Path remains the same
 •    Common top-level directories
     • opt - option programs
     • var - variable files (e.g. log files)
     • home - user directories and writable space
     • tmp - temporary files written here
     • root - administrator’s (root’s) secure space
     • usr - “everything else”; user accessible files, exe
     • etc - configuration files
     • boot – boot loader     7
Additional Directories

 ●
     Bin - Essential command binaries
 ●
     Dev – Device files
 ●
     Lib - Essential shared libraries and kernel modules
 ●
     Media - Contains mount points for replaceable media
         ●
             Primarily on desktop systems
 ●
     Mnt - Mount point for mounting a file system
      temporarily
 ●
     Proc - Virtual directory for system information (2.4
      and 2.6+ kernels)
 ●
     Sbin - Essential system binaries
 ●
     Sys - Virtual directory for system information (2.6+
      kernels)
                                8
 ●
     Srv - Data for services provided by the system
To BASH Is Proper


 • Bourne Again SHell
 • Most common shell on servers and desktops
    • Easiest to use, with great additions
 • Learn some of the features to make things easy
    • Auto-fill; command and file completion
    • Configuration files
         - Store customized short cuts
         - Functions
         - Shell settings
     • File structure
         - Displaying hidden files -- “ls -a” | “ls -al”
         - Navigation -- view application specific configuration files
                                    9
Identifying Devices


 • Disk drives are stored differently than Windows
 • Structure is intuitive
         – SCSI - /dev/sda, /dev/sdb
         – IDE - /dev/hda, /dev/sdb
 • Partitions appended numerically
         – /dev/hda1, /dev/sda1, /dev/sda2
 • Commands
    • mount, df -h
    • less /etc/fstab
 • Tools: partman, cfdisk

                              10
Installation Tips


 • To setup multiple partitions on your desktop,
 acquire the Ubuntu alternate installer
 • Creating an LVM? Absolutely enter a value for label
    • Ensure it is descriptive, covering what the data
      will be there later
         - E.G. volgrp01-home, volgrp02-vmware
         - You will thank me for this one tip later
      • Red Hat’s Disk Druid is much better with LVMs
      • Adjust typical usage for each partition
          - Standard = one inode per 1kB block
          - news = one inode per 4kB block
          - largefile = one inode per 1MB block
          - largefile4 = one inode per 4MB block
                                   11
Partition Considerations


 • /boot = 200MB
 • Create an LVM or two for the rest
 • Use multiple swap partitions
 • Tip: Always keep the filesystems >=10% to avoid
 fragmentation, else drive performance will degrade




                           12
Networking


 • All NICs are mapped to a device, prefaced with type
    • e.g. eth0, wlan0
 • Main files
    •Ubuntu
        - /etc/network/interfaces
     • Red Hat
        - /etc/network/<x>
 • DNS is stored in the resolver
     • /etc/resolv.conf
 • /etc/hosts
 • Advanced Tool: route
     • RTFM before use              13
Today's Topics of Interest


  •   Introduction
  •   Basic Theory and Installation
  •   Commands to Improve Your Life
  •   Editing Files with vi
  •   Scripting Primer
  •   Package Management Techniques
  •   Lotus Application Introduction
  •   Review
  •   Reference



                              14
Many Useful Linux Tools Abound


 • Includes a plethora of free tools, many are useful
 • Administration privleges: sudo or su - and use root
 • What is my partition block size?
     • #tune2fs -l /dev/sda1 | grep -i 'block size’
 • Abridged list of my most frequently used commands
          less              top       tar
          ifconfig          rpm       ssh/scp
          cp                mv        man
          chmod             chown     rm

                                 15
Additional Packages to Consider



    Some additional applications that may be
      valuable, or assist with learning



                                      Package Names
         iostat                         vmstat        pmap
         (not installed by default)
         uptime                         mpstat        cal
         netstat                        iptraf        grep
         whatis                         which         gzip




                                             16
Miscellaneous Tool Notations


 • ImageMagick: converts any image file to any format
         – $man imagemagick to get list of tool names
 • Webmin is a great all-around administration portal
         – http://webmin.com
         – More challenging on Ubuntu 12, but not
            necessary for a desktop
         – Use primarily on servers
 • To convert text files that do not wrap properly
         – $sudo apt-get install dos2unix




                               17
Command Notations


 • Getting help
    • $man <command>
    • $whatis <command>
    • $which <command>
 • Tar is very unforgiving; be certain you type the
 syntax correctly
    • This is your only warning
    • First argument must be either: [a, c, t, x]
                        User Management Options
               Scope     Create     Remove    Profile Edits

              User     #useradd   #userdel   #usermod
              Group    #groupadd #groupdel   #groupmod

                                   18
Today's Topics of Interest


  •   Introduction
  •   Basic Theory and Installation
  •   Commands to Improve Your Life
  •   Editing Files with vi
  •   Scripting Primer
  •   Package Management Techniques
  •   Lotus Application Introduction
  •   Review
  •   Reference



                              19
The Most Awesome Editor is vi


 • Excellent for shell scripting, modifying INI files
    • Avoid updating your resume with it
 • Most distros map vi to vim (vi Improved)
 • Two modes: edit (insert) and navigate
 • Safe learning available $vimtutor
 • Leaving insert mode: depress Esc
 • Entering insert mode: depress i
 • When you leave insert mode, the same keys
 navigate
 • Useful features: ., <n>x, <n>Shift-G, dd, dw, :wq

                                20
vi Demo




          21
Today's Topics of Interest


  •   Introduction
  •   Basic Theory and Installation
  •   Commands to Improve Your Life
  •   Editing Files with vi
  •   Scripting Primer
  •   Package Management Techniques
  •   Lotus Application Introduction
  •   Review
  •   Reference



                              22
Scripting Introduction


 ●
     For BASH scripts, must include #! /bin/sh on first line
 ●
     Use vi (or your other favorite editor) to create
 ●
     Set to executable status with chmod when done
 ●
     Append “.sh” to easily identify the script
 ●
     Use # in first column to create comments after row
      one in the file




                                23
Scripting Introduction

 ●
     Example to make a quick backup of files

  #! /bin/sh
  # Create a tar file from home, dump to USB HD along with a TOC for the archive
  # --------------------------------------
  tar cvzf /media/WD_1.5TB_EXT4/t60p/backups/09.mar.2010.home.tgz /home/bill
  tar tvzf /media/WD_1.5TB_EXT4/t60p/backups/09.mar.2010.home.tgz >
  /media/WD_1.5TB_EXT4/t60p/backups/09.mar.2010.home.toc




                                              24
Scripting Introduction


 ●
     Examples to mount and unmount filesystems located
      on a second HD
     #! /bin/sh
     # Mount the pieces of SDB                   #! /bin/sh
     # sudo -i                                   # Umount the pieces of SDB
     mount /dev/LVM/home /home/sdb.home/         # sudo -i
     mount /dev/LVM/local /local                 umount /dev/mapper/LVM-home
     mount /dev/LVM/opt.ibm /opt/sdb.ibm/        umount /dev/mapper/LVM-local
     # mount -t ext3 /dev/sdb1 /sdb/boot/        umount /dev/mapper/LVM-opt.ibm
     # mount -t ext3 /dev/sdb1 boot/             umount /dev/sdb7
     # mount -r -n -t ext3 /dev/sdb1 boot        umount /dev/sdb6
     # mount -r -n -t ext3 /dev/sdb2 boot
     # mount -r -n -t ext3 /dev/sdb5 boot
     # mount -r -n -t ext3 /dev/sdb6 boot
     # mount -r -n -t ext3 /dev/sdb6 root
     # mount -r -n -t ext3 /dev/sdb7 boot
     mount -r -t ext3 /dev/sdb7 /sdb/boot
     mount -r -t ext3 /dev/sdb6 /sdb/root




                                            25
Combining Skills – Part I


 Scripting with scp is easy to do
         – Edit .bashrc or .bash_profile
         – Create an alias to save time accessing servers

    #alias la='ls -A'
    #alias l='ls -CF'
    alias ll='ls -l'
    alias sshess='ssh -p 12345
    FooGetsInNotYou@roma.testdomain.com'
    alias sshtest='ssh bill@server2.test.com'




                                26
Combining Skills – Part II: The Query




 Alias takes static commands, as it uses a literal
 How do you pass an argument to an alias in your
   .bashrc file?




                                        27
Combining Skills – Part II: The
Answer


 Use a function




    function scpess () { scp -P 12345 $1
    FooGetsInNotYou@roma.testdomain.com:/dl/dom
    ino85 ; }




                                  28
Today's Topics of Interest


 •   Introduction
 •   Basic Theory and Installation
 •   Commands to Improve Your Life
 •   Editing Files with vi
 •   Scripting Primer
 •   Package Management Techniques
 •   Lotus Application Introduction
 •   Review
 •   Reference



                              29
Ways to Install Packages – Red Hat


 ●
     Red Hat – RPM – The industry standard
         ●
             Installs local tools, helps manage them
         ●
             Red Hat Package Manager
         ●
             Rpm -q
         ●
             Rpm -qi
         ●
             Rpm -ivh <package_name>.rpm
         ●
             Use wildcards to precisely install multiple files
         ●
             Rpm – e <package_name>
 ●
     Remote Management
         ●
             Yum – Yellowdog
                 ●
                     Update applications, pull down from server
         ●
             RHN – Red Hat Network
                               30
Ways to Install Packages – Ubuntu


 ●
     Ubuntu – Debian based package management
         ●
             Dpkg
         ●
             Local packages
         ●
             $ sudo dpkg -i <package_file>
         ●
             $ dpkg-deb or dpkg -I <package_file>
 ●
     Remote management
         ●
             Apt-get
         ●
             $ sudo apt-get remove –purge 2.6.27-7-*
 ●
     If new, then the GUI for desktop can be beneficial
         ●
             Just point and click to install
         ●
             Use the Ubuntu Software Center to remove
                                    31
Ways to Install Packages – Red Hat


 ●
     Red Hat – RPM – The industry standard
         ●
             Red hat Package Manager
         ●
             Rpm -q
         ●
             Rpm -qi
         ●
             Rpm -ivh <package_name>.rpm
         ●
             Use wildcards to precisely install multiple files
         ●
             Rpm – e <package_name>




                                     32
Ways to Install Packages – Red Hat


 ●
     Red Hat – RPM – The industry standard
         ●
             Red hat Package Manager
         ●
             Rpm -q
         ●
             Rpm -qi
         ●
             Rpm -ivh <package_name>.rpm
         ●
             Use wildcards to precisely install multiple files
         ●
             Rpm – e <package_name>




                                     33
Today's Topics of Interest


 •   Introduction
 •   Basic Theory and Installation
 •   Commands to Improve Your Life
 •   Editing Files with vi
 •   Scripting Primer
 •   Package Management Techniques
 •   Lotus Application Introduction
 •   Review
 •   Reference



                              34
What You Need To Know


 • Lotus application installation uses the tools we
    discussed in this session
        – Tar
        – Ssh
        – Gunzip
        – Rpm
        – Vi
 • The rest is easy... just tab and type
 • All the IBM software programs, when installed on
    Linux use most of these basic tools to get started
        – Even if the installation requires a browser

                                35
Let's Get Moving!




                    Demo Time

                       36
Today's Topics of Interest


 •   Introduction
 •   Basic Theory and Installation
 •   Commands to Improve Your Life
 •   Editing Files with vi
 •   Scripting Primer
 •   Package Management Techniques
 •   Lotus Application Introduction
 •   Review
 •   Reference



                              37
Team Exercise




                Quiz Time...




                      38
Today's Topics of Interest


 •   Introduction
 •   Basic Theory and Installation
 •   Commands to Improve Your Life
 •   Editing Files with vi
 •   Scripting Primer
 •   Package Management Techniques
 •   Lotus Application Introduction
 •   Review
 •   Reference



                              39
Light Reading




                40
Linux Resources


  • Bill Mal’s Linux Section --
  http://www.billmal.com/billmal/billmal.nsf/dx/linux-links.ht
  • IBM’s Linux Portal: http://ibm.com/linux
  • Linux: The Era of Open Innovation
      •
     http://www-03.ibm.com/ibm/history/ibm100/us/en/icon
  • TCO IBM/Linux versus Microsoft
     •ftp://ftp.software.ibm.com/pub/lotusweb/competiti
     ve/Linux-Windows_TCO_Presentation.pdf
  • Fun -- Tux in Kernel Code http://www.100mb.nl/


                                  41
Technical Notes of Interest


 • Red Hat Versus Free Linux Cost Analysis
 http://tinyurl.com/8le8ewo
 • Installing VMware Workstation 8.x on Ubuntu 12.04
 http://askubuntu.com/questions/116565/unable-to-install-v
 • Manually uninstalling VMware
 http://kb.vmware.com/selfservice/microsites/search.do?lan
 • Installing Lotus Notes on Ubuntu 12.04
 http://usablesoftware.wordpress.com/2012/05/04/install-lo
 • Problems launching VMware on Ubuntu, post reboot?
 http://raywoodcockslatest.blogspot.com/2010/05/resuming


                              42
Bonus Material


 Running Linux inside of Windows, natively




                           43
Cygwin Installation


 • Get the files: http://cygwin.net/
 • Install the base first,
         – Then go back to the same server and install
             additional files
         – Timeouts are tricky and you can waste time
             otherwise
 • Base install, then the following programs
 • Admin -> cron
 • Archive -> unzip, zip
 • Devel -> bashdb (optional, but select if you want to
    try BASH scripting at some point, as it can help with
    debugging)
                              44
Ubuntu Applications of Interest


 • GParted Partition Editor
 • Dropbox
 • Ubuntu restricted extras
 • GIMP Image Editor
 • Secure shell (SSH) server (if needed to put files
 locally from other areas)
 • The Network Mapper – utility for network exploration
 or security auditing




                                  45
Cygwin Installation – Part II


 •Editors -> vim, vim-common, xxd, and if you want to
 edit binary files, try bvi
 •Graphics -> GraphicsMagick, ImageMagick, bmp2png
 •System -> ping, util-linux
 •Text -> a2ps, enscript (one of my favorite programs)
 •Utils -> hdparm (only use in read mode, but provides
     useful info on your local HD), xtail




                                46
Cygwin Installation – Post-Install
Tips


 • If you encounter an installation program which
 requires an X Window environment,
          – Go back and install the X11 environment with
             Gnome or KDE
          – Otherwise, keep it simple.
 • The nice thing about the installation program, is that
 once you run the first install, if your selected options
 require additional files that you omitted, you will be
 prompted accordingly: <next slide>
 •Then it will install the newly selected files.



                                     47
Cygwin Installation – Post-Install
Tips




                                     48
Cygwin Installation – Post-Install
Tips


 And unlike Windows, the histograms are actually
   accurate.




                                     49
Cygwin Install – Post-Install Tips




                                     50
Questions


 • How can I help you?




                         51

Más contenido relacionado

La actualidad más candente

CollabSphere 2019 - Dirty Secrets of the Notes Client
CollabSphere 2019 - Dirty Secrets of the Notes ClientCollabSphere 2019 - Dirty Secrets of the Notes Client
CollabSphere 2019 - Dirty Secrets of the Notes ClientChristoph Adler
 
engage 2019 Workshop - Dirty Secrets of the Notes Client
engage 2019 Workshop - Dirty Secrets of the Notes Clientengage 2019 Workshop - Dirty Secrets of the Notes Client
engage 2019 Workshop - Dirty Secrets of the Notes ClientChristoph Adler
 
Linux power management: are you doing it right?
Linux power management: are you doing it right?Linux power management: are you doing it right?
Linux power management: are you doing it right?Chris Simmonds
 
BP103 - Got Problems? Let's Do a Health Check
BP103 - Got Problems? Let's Do a Health CheckBP103 - Got Problems? Let's Do a Health Check
BP103 - Got Problems? Let's Do a Health CheckLuis Guirigay
 
When Tools Attack: IT Infrastructure at Playground Games
When Tools Attack: IT Infrastructure at Playground GamesWhen Tools Attack: IT Infrastructure at Playground Games
When Tools Attack: IT Infrastructure at Playground GamesPerforce
 
Read-only rootfs: theory and practice
Read-only rootfs: theory and practiceRead-only rootfs: theory and practice
Read-only rootfs: theory and practiceChris Simmonds
 
Technical track-afterimaging Progress Database
Technical track-afterimaging Progress DatabaseTechnical track-afterimaging Progress Database
Technical track-afterimaging Progress DatabaseVinh Nguyen
 
Midwest php 2013 deploying php on paas- why & how
Midwest php 2013   deploying php on paas- why & howMidwest php 2013   deploying php on paas- why & how
Midwest php 2013 deploying php on paas- why & howdotCloud
 
Engage 2018: IBM Notes and Domino Performance Boost - Reloaded
Engage 2018: IBM Notes and Domino Performance Boost - Reloaded Engage 2018: IBM Notes and Domino Performance Boost - Reloaded
Engage 2018: IBM Notes and Domino Performance Boost - Reloaded Christoph Adler
 
CollabSphere 2020 Live - HCL Notes 11.0.1 FP1 - Performance Boost Re-Reloaded
CollabSphere 2020 Live - HCL Notes 11.0.1 FP1 - Performance Boost Re-ReloadedCollabSphere 2020 Live - HCL Notes 11.0.1 FP1 - Performance Boost Re-Reloaded
CollabSphere 2020 Live - HCL Notes 11.0.1 FP1 - Performance Boost Re-ReloadedChristoph Adler
 
Engage 2020 - HCL Notes V11 Performance Boost
Engage 2020 - HCL Notes V11 Performance BoostEngage 2020 - HCL Notes V11 Performance Boost
Engage 2020 - HCL Notes V11 Performance BoostChristoph Adler
 
You don't want to do it like that
You don't want to do it like thatYou don't want to do it like that
You don't want to do it like thatSharon James
 
CollapSphere 2019 - SUPERCHARGED HCL Notes V11 Upgrades
CollapSphere 2019 - SUPERCHARGED HCL Notes V11 UpgradesCollapSphere 2019 - SUPERCHARGED HCL Notes V11 Upgrades
CollapSphere 2019 - SUPERCHARGED HCL Notes V11 UpgradesChristoph Adler
 
Engage 2020 - Kubernetes for HCL Connections Component Pack - Build or Buy?
Engage 2020 - Kubernetes for HCL Connections Component Pack - Build or Buy?Engage 2020 - Kubernetes for HCL Connections Component Pack - Build or Buy?
Engage 2020 - Kubernetes for HCL Connections Component Pack - Build or Buy?panagenda
 
Domino Security - not knowing is not an option - MWLUG 2015
Domino Security - not knowing is not an option - MWLUG 2015Domino Security - not knowing is not an option - MWLUG 2015
Domino Security - not knowing is not an option - MWLUG 2015Darren Duke
 
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan BaljevicHP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan BaljevicCircling Cycle
 

La actualidad más candente (20)

Sitaram_Chalasani_CV
Sitaram_Chalasani_CVSitaram_Chalasani_CV
Sitaram_Chalasani_CV
 
CollabSphere 2019 - Dirty Secrets of the Notes Client
CollabSphere 2019 - Dirty Secrets of the Notes ClientCollabSphere 2019 - Dirty Secrets of the Notes Client
CollabSphere 2019 - Dirty Secrets of the Notes Client
 
engage 2019 Workshop - Dirty Secrets of the Notes Client
engage 2019 Workshop - Dirty Secrets of the Notes Clientengage 2019 Workshop - Dirty Secrets of the Notes Client
engage 2019 Workshop - Dirty Secrets of the Notes Client
 
Linux power management: are you doing it right?
Linux power management: are you doing it right?Linux power management: are you doing it right?
Linux power management: are you doing it right?
 
BP103 - Got Problems? Let's Do a Health Check
BP103 - Got Problems? Let's Do a Health CheckBP103 - Got Problems? Let's Do a Health Check
BP103 - Got Problems? Let's Do a Health Check
 
Xen Summit 2009 Shanghai Ras
Xen Summit 2009 Shanghai RasXen Summit 2009 Shanghai Ras
Xen Summit 2009 Shanghai Ras
 
When Tools Attack: IT Infrastructure at Playground Games
When Tools Attack: IT Infrastructure at Playground GamesWhen Tools Attack: IT Infrastructure at Playground Games
When Tools Attack: IT Infrastructure at Playground Games
 
Read-only rootfs: theory and practice
Read-only rootfs: theory and practiceRead-only rootfs: theory and practice
Read-only rootfs: theory and practice
 
Technical track-afterimaging Progress Database
Technical track-afterimaging Progress DatabaseTechnical track-afterimaging Progress Database
Technical track-afterimaging Progress Database
 
Midwest php 2013 deploying php on paas- why & how
Midwest php 2013   deploying php on paas- why & howMidwest php 2013   deploying php on paas- why & how
Midwest php 2013 deploying php on paas- why & how
 
Engage 2018: IBM Notes and Domino Performance Boost - Reloaded
Engage 2018: IBM Notes and Domino Performance Boost - Reloaded Engage 2018: IBM Notes and Domino Performance Boost - Reloaded
Engage 2018: IBM Notes and Domino Performance Boost - Reloaded
 
Polstra 44con2012
Polstra 44con2012Polstra 44con2012
Polstra 44con2012
 
CollabSphere 2020 Live - HCL Notes 11.0.1 FP1 - Performance Boost Re-Reloaded
CollabSphere 2020 Live - HCL Notes 11.0.1 FP1 - Performance Boost Re-ReloadedCollabSphere 2020 Live - HCL Notes 11.0.1 FP1 - Performance Boost Re-Reloaded
CollabSphere 2020 Live - HCL Notes 11.0.1 FP1 - Performance Boost Re-Reloaded
 
Engage 2020 - HCL Notes V11 Performance Boost
Engage 2020 - HCL Notes V11 Performance BoostEngage 2020 - HCL Notes V11 Performance Boost
Engage 2020 - HCL Notes V11 Performance Boost
 
You don't want to do it like that
You don't want to do it like thatYou don't want to do it like that
You don't want to do it like that
 
CollapSphere 2019 - SUPERCHARGED HCL Notes V11 Upgrades
CollapSphere 2019 - SUPERCHARGED HCL Notes V11 UpgradesCollapSphere 2019 - SUPERCHARGED HCL Notes V11 Upgrades
CollapSphere 2019 - SUPERCHARGED HCL Notes V11 Upgrades
 
Engage 2020 - Kubernetes for HCL Connections Component Pack - Build or Buy?
Engage 2020 - Kubernetes for HCL Connections Component Pack - Build or Buy?Engage 2020 - Kubernetes for HCL Connections Component Pack - Build or Buy?
Engage 2020 - Kubernetes for HCL Connections Component Pack - Build or Buy?
 
Xen Roadmap 11 09
Xen Roadmap 11 09Xen Roadmap 11 09
Xen Roadmap 11 09
 
Domino Security - not knowing is not an option - MWLUG 2015
Domino Security - not knowing is not an option - MWLUG 2015Domino Security - not knowing is not an option - MWLUG 2015
Domino Security - not knowing is not an option - MWLUG 2015
 
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan BaljevicHP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
 

Similar a The Ultimate IBM and Lotus on Linux Workshop for Windows Admins

Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-serviceRohit Sansiya
 
001 linux revision
001 linux revision001 linux revision
001 linux revisionSherif Mousa
 
Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01Chander Pandey
 
Deployment of WebObjects applications on CentOS Linux
Deployment of WebObjects applications on CentOS LinuxDeployment of WebObjects applications on CentOS Linux
Deployment of WebObjects applications on CentOS LinuxWO Community
 
The Forefront of the Development for NVDIMM on Linux Kernel
The Forefront of the Development for NVDIMM on Linux KernelThe Forefront of the Development for NVDIMM on Linux Kernel
The Forefront of the Development for NVDIMM on Linux KernelYasunori Goto
 
Linux Administrator - The Linux Course on Eduonix
Linux Administrator - The Linux Course on EduonixLinux Administrator - The Linux Course on Eduonix
Linux Administrator - The Linux Course on EduonixPaddy Lock
 
linux minimal os tutorial - by shatrix
linux minimal os tutorial - by shatrixlinux minimal os tutorial - by shatrix
linux minimal os tutorial - by shatrixSherif Mousa
 
File system discovery
File system discovery File system discovery
File system discovery DevMix
 
Building Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMBuilding Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMSherif Mousa
 
Gentoo Linux, or Why in the World You Should Compile Everything
Gentoo Linux, or Why in the World You Should Compile EverythingGentoo Linux, or Why in the World You Should Compile Everything
Gentoo Linux, or Why in the World You Should Compile EverythingDonnie Berkholz
 
Surviving OS X as a Windows Admin
Surviving OS X as a Windows AdminSurviving OS X as a Windows Admin
Surviving OS X as a Windows AdminDell World
 
Docking postgres
Docking postgresDocking postgres
Docking postgresrycamor
 
The end of embedded Linux (as we know it)
The end of embedded Linux (as we know it)The end of embedded Linux (as we know it)
The end of embedded Linux (as we know it)Chris Simmonds
 
ITCP PRACTICAL-1.pptx
ITCP PRACTICAL-1.pptxITCP PRACTICAL-1.pptx
ITCP PRACTICAL-1.pptxHemantJadhao3
 

Similar a The Ultimate IBM and Lotus on Linux Workshop for Windows Admins (20)

Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-service
 
001 linux revision
001 linux revision001 linux revision
001 linux revision
 
Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01Linuxtraining 130710022121-phpapp01
Linuxtraining 130710022121-phpapp01
 
3. introduction of centos
3. introduction of centos3. introduction of centos
3. introduction of centos
 
UNIX/Linux training
UNIX/Linux trainingUNIX/Linux training
UNIX/Linux training
 
3 technical-dns-workshop-day2
3 technical-dns-workshop-day23 technical-dns-workshop-day2
3 technical-dns-workshop-day2
 
Deployment of WebObjects applications on CentOS Linux
Deployment of WebObjects applications on CentOS LinuxDeployment of WebObjects applications on CentOS Linux
Deployment of WebObjects applications on CentOS Linux
 
The Forefront of the Development for NVDIMM on Linux Kernel
The Forefront of the Development for NVDIMM on Linux KernelThe Forefront of the Development for NVDIMM on Linux Kernel
The Forefront of the Development for NVDIMM on Linux Kernel
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Linux
LinuxLinux
Linux
 
Linux Administrator - The Linux Course on Eduonix
Linux Administrator - The Linux Course on EduonixLinux Administrator - The Linux Course on Eduonix
Linux Administrator - The Linux Course on Eduonix
 
linux minimal os tutorial - by shatrix
linux minimal os tutorial - by shatrixlinux minimal os tutorial - by shatrix
linux minimal os tutorial - by shatrix
 
File system discovery
File system discovery File system discovery
File system discovery
 
Building Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARMBuilding Embedded Linux Full Tutorial for ARM
Building Embedded Linux Full Tutorial for ARM
 
redhat_by_Cbitss.ppt
redhat_by_Cbitss.pptredhat_by_Cbitss.ppt
redhat_by_Cbitss.ppt
 
Gentoo Linux, or Why in the World You Should Compile Everything
Gentoo Linux, or Why in the World You Should Compile EverythingGentoo Linux, or Why in the World You Should Compile Everything
Gentoo Linux, or Why in the World You Should Compile Everything
 
Surviving OS X as a Windows Admin
Surviving OS X as a Windows AdminSurviving OS X as a Windows Admin
Surviving OS X as a Windows Admin
 
Docking postgres
Docking postgresDocking postgres
Docking postgres
 
The end of embedded Linux (as we know it)
The end of embedded Linux (as we know it)The end of embedded Linux (as we know it)
The end of embedded Linux (as we know it)
 
ITCP PRACTICAL-1.pptx
ITCP PRACTICAL-1.pptxITCP PRACTICAL-1.pptx
ITCP PRACTICAL-1.pptx
 

Más de Bill Malchisky Jr.

Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good Server
Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good ServerEngage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good Server
Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good ServerBill Malchisky Jr.
 
Infrastructure Fitness and Design Simplicity for IBM Mobile Connect
Infrastructure Fitness and Design Simplicity for IBM Mobile ConnectInfrastructure Fitness and Design Simplicity for IBM Mobile Connect
Infrastructure Fitness and Design Simplicity for IBM Mobile ConnectBill Malchisky Jr.
 
Considering The Cloud? Thinking Beyond The Readme File
Considering The Cloud? Thinking Beyond The Readme FileConsidering The Cloud? Thinking Beyond The Readme File
Considering The Cloud? Thinking Beyond The Readme FileBill Malchisky Jr.
 
The eDiscovery Primer for Lotus Domino Admins
The eDiscovery Primer for Lotus Domino AdminsThe eDiscovery Primer for Lotus Domino Admins
The eDiscovery Primer for Lotus Domino AdminsBill Malchisky Jr.
 
Raising the ROI of IT with IBM Client for Smart Work
Raising the ROI of IT with IBM Client for Smart WorkRaising the ROI of IT with IBM Client for Smart Work
Raising the ROI of IT with IBM Client for Smart WorkBill Malchisky Jr.
 
Lowering Costs: Should We Consider Lotus On Linux?
Lowering Costs: Should We Consider Lotus On Linux?Lowering Costs: Should We Consider Lotus On Linux?
Lowering Costs: Should We Consider Lotus On Linux?Bill Malchisky Jr.
 
IamLUG -- Lotus On Linux Report
IamLUG -- Lotus On Linux ReportIamLUG -- Lotus On Linux Report
IamLUG -- Lotus On Linux ReportBill Malchisky Jr.
 

Más de Bill Malchisky Jr. (9)

The Domino 10 RHEL 7 Primer
The Domino 10 RHEL 7 PrimerThe Domino 10 RHEL 7 Primer
The Domino 10 RHEL 7 Primer
 
Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good Server
Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good ServerEngage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good Server
Engage 2016 - Adm01 - Back from the Dead: When Bad Code Kills a Good Server
 
Infrastructure Fitness and Design Simplicity for IBM Mobile Connect
Infrastructure Fitness and Design Simplicity for IBM Mobile ConnectInfrastructure Fitness and Design Simplicity for IBM Mobile Connect
Infrastructure Fitness and Design Simplicity for IBM Mobile Connect
 
Considering The Cloud? Thinking Beyond The Readme File
Considering The Cloud? Thinking Beyond The Readme FileConsidering The Cloud? Thinking Beyond The Readme File
Considering The Cloud? Thinking Beyond The Readme File
 
Lotus on Linux Report 2010
Lotus on Linux Report 2010Lotus on Linux Report 2010
Lotus on Linux Report 2010
 
The eDiscovery Primer for Lotus Domino Admins
The eDiscovery Primer for Lotus Domino AdminsThe eDiscovery Primer for Lotus Domino Admins
The eDiscovery Primer for Lotus Domino Admins
 
Raising the ROI of IT with IBM Client for Smart Work
Raising the ROI of IT with IBM Client for Smart WorkRaising the ROI of IT with IBM Client for Smart Work
Raising the ROI of IT with IBM Client for Smart Work
 
Lowering Costs: Should We Consider Lotus On Linux?
Lowering Costs: Should We Consider Lotus On Linux?Lowering Costs: Should We Consider Lotus On Linux?
Lowering Costs: Should We Consider Lotus On Linux?
 
IamLUG -- Lotus On Linux Report
IamLUG -- Lotus On Linux ReportIamLUG -- Lotus On Linux Report
IamLUG -- Lotus On Linux Report
 

Último

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Igalia
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Enterprise Knowledge
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonetsnaman860154
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processorsdebabhi2
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonAnna Loughnan Colquhoun
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...gurkirankumar98700
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsMaria Levchenko
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsRoshan Dwivedi
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationRadu Cotescu
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationSafe Software
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slidespraypatel2
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking MenDelhi Call girls
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...apidays
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountPuma Security, LLC
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...Martijn de Jong
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Drew Madelung
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘RTylerCroy
 

Último (20)

Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
Raspberry Pi 5: Challenges and Solutions in Bringing up an OpenGL/Vulkan Driv...
 
Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...Driving Behavioral Change for Information Management through Data-Driven Gree...
Driving Behavioral Change for Information Management through Data-Driven Gree...
 
How to convert PDF to text with Nanonets
How to convert PDF to text with NanonetsHow to convert PDF to text with Nanonets
How to convert PDF to text with Nanonets
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
Kalyanpur ) Call Girls in Lucknow Finest Escorts Service 🍸 8923113531 🎰 Avail...
 
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Handwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed textsHandwritten Text Recognition for manuscripts and early printed texts
Handwritten Text Recognition for manuscripts and early printed texts
 
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live StreamsTop 5 Benefits OF Using Muvi Live Paywall For Live Streams
Top 5 Benefits OF Using Muvi Live Paywall For Live Streams
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time AutomationFrom Event to Action: Accelerate Your Decision Making with Real-Time Automation
From Event to Action: Accelerate Your Decision Making with Real-Time Automation
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Slack Application Development 101 Slides
Slack Application Development 101 SlidesSlack Application Development 101 Slides
Slack Application Development 101 Slides
 
08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men08448380779 Call Girls In Friends Colony Women Seeking Men
08448380779 Call Girls In Friends Colony Women Seeking Men
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 
Breaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path MountBreaking the Kubernetes Kill Chain: Host Path Mount
Breaking the Kubernetes Kill Chain: Host Path Mount
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
Strategies for Unlocking Knowledge Management in Microsoft 365 in the Copilot...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 

The Ultimate IBM and Lotus on Linux Workshop for Windows Admins

  • 1. SA108: The Ultimate IBM and Lotus on Linux Workshop for Windows Admins Bill Malchisky Jr. Effective Software Solutions, LLC bill@billmal.com Twitter.com/billmalchisky 1
  • 2. Quick Background • Regulatory compliance expert in the field • Written multiple articles on compliance and eDiscovery • Speaker at 20+ Lotus® related conferences/LUGs • Co-authored two IBM® Redbooks on Linux® • Designed disclosure response solutions for Fortune® 100, medium-sized, and small established regulated firms • IBM Champion for Collaboration Solutions • Linux aficionado 2
  • 3. Quick Survey What’s your Linux experience? 3
  • 4. Setting Workshop Expectations • Course will cover as much information as possible in the time allotted • More demos and live code than static content • Attendees are encouraged to ask questions • Take copious notes • Although most will not be experts when finished... • You should have a significantly higher level of confidence • Be proficient in many aspects • Comfortable enough to try Linux in your work place, or at home 4
  • 5. Your Moment of Zen... 5
  • 6. Today's Topics of Interest • Introduction • Basic Theory and Installation • Commands to Improve Your Life • Editing Files with vi • Scripting Primer • Package Management Techniques • Lotus Application Introduction • Review • Reference 6
  • 7. Linux Directory Pieces ● Never need to worry about drive letters ● Can mount most every subdirectory anywhere - Path remains the same • Common top-level directories • opt - option programs • var - variable files (e.g. log files) • home - user directories and writable space • tmp - temporary files written here • root - administrator’s (root’s) secure space • usr - “everything else”; user accessible files, exe • etc - configuration files • boot – boot loader 7
  • 8. Additional Directories ● Bin - Essential command binaries ● Dev – Device files ● Lib - Essential shared libraries and kernel modules ● Media - Contains mount points for replaceable media ● Primarily on desktop systems ● Mnt - Mount point for mounting a file system temporarily ● Proc - Virtual directory for system information (2.4 and 2.6+ kernels) ● Sbin - Essential system binaries ● Sys - Virtual directory for system information (2.6+ kernels) 8 ● Srv - Data for services provided by the system
  • 9. To BASH Is Proper • Bourne Again SHell • Most common shell on servers and desktops • Easiest to use, with great additions • Learn some of the features to make things easy • Auto-fill; command and file completion • Configuration files - Store customized short cuts - Functions - Shell settings • File structure - Displaying hidden files -- “ls -a” | “ls -al” - Navigation -- view application specific configuration files 9
  • 10. Identifying Devices • Disk drives are stored differently than Windows • Structure is intuitive – SCSI - /dev/sda, /dev/sdb – IDE - /dev/hda, /dev/sdb • Partitions appended numerically – /dev/hda1, /dev/sda1, /dev/sda2 • Commands • mount, df -h • less /etc/fstab • Tools: partman, cfdisk 10
  • 11. Installation Tips • To setup multiple partitions on your desktop, acquire the Ubuntu alternate installer • Creating an LVM? Absolutely enter a value for label • Ensure it is descriptive, covering what the data will be there later - E.G. volgrp01-home, volgrp02-vmware - You will thank me for this one tip later • Red Hat’s Disk Druid is much better with LVMs • Adjust typical usage for each partition - Standard = one inode per 1kB block - news = one inode per 4kB block - largefile = one inode per 1MB block - largefile4 = one inode per 4MB block 11
  • 12. Partition Considerations • /boot = 200MB • Create an LVM or two for the rest • Use multiple swap partitions • Tip: Always keep the filesystems >=10% to avoid fragmentation, else drive performance will degrade 12
  • 13. Networking • All NICs are mapped to a device, prefaced with type • e.g. eth0, wlan0 • Main files •Ubuntu - /etc/network/interfaces • Red Hat - /etc/network/<x> • DNS is stored in the resolver • /etc/resolv.conf • /etc/hosts • Advanced Tool: route • RTFM before use 13
  • 14. Today's Topics of Interest • Introduction • Basic Theory and Installation • Commands to Improve Your Life • Editing Files with vi • Scripting Primer • Package Management Techniques • Lotus Application Introduction • Review • Reference 14
  • 15. Many Useful Linux Tools Abound • Includes a plethora of free tools, many are useful • Administration privleges: sudo or su - and use root • What is my partition block size? • #tune2fs -l /dev/sda1 | grep -i 'block size’ • Abridged list of my most frequently used commands less top tar ifconfig rpm ssh/scp cp mv man chmod chown rm 15
  • 16. Additional Packages to Consider Some additional applications that may be valuable, or assist with learning Package Names iostat vmstat pmap (not installed by default) uptime mpstat cal netstat iptraf grep whatis which gzip 16
  • 17. Miscellaneous Tool Notations • ImageMagick: converts any image file to any format – $man imagemagick to get list of tool names • Webmin is a great all-around administration portal – http://webmin.com – More challenging on Ubuntu 12, but not necessary for a desktop – Use primarily on servers • To convert text files that do not wrap properly – $sudo apt-get install dos2unix 17
  • 18. Command Notations • Getting help • $man <command> • $whatis <command> • $which <command> • Tar is very unforgiving; be certain you type the syntax correctly • This is your only warning • First argument must be either: [a, c, t, x] User Management Options Scope Create Remove Profile Edits User #useradd #userdel #usermod Group #groupadd #groupdel #groupmod 18
  • 19. Today's Topics of Interest • Introduction • Basic Theory and Installation • Commands to Improve Your Life • Editing Files with vi • Scripting Primer • Package Management Techniques • Lotus Application Introduction • Review • Reference 19
  • 20. The Most Awesome Editor is vi • Excellent for shell scripting, modifying INI files • Avoid updating your resume with it • Most distros map vi to vim (vi Improved) • Two modes: edit (insert) and navigate • Safe learning available $vimtutor • Leaving insert mode: depress Esc • Entering insert mode: depress i • When you leave insert mode, the same keys navigate • Useful features: ., <n>x, <n>Shift-G, dd, dw, :wq 20
  • 21. vi Demo 21
  • 22. Today's Topics of Interest • Introduction • Basic Theory and Installation • Commands to Improve Your Life • Editing Files with vi • Scripting Primer • Package Management Techniques • Lotus Application Introduction • Review • Reference 22
  • 23. Scripting Introduction ● For BASH scripts, must include #! /bin/sh on first line ● Use vi (or your other favorite editor) to create ● Set to executable status with chmod when done ● Append “.sh” to easily identify the script ● Use # in first column to create comments after row one in the file 23
  • 24. Scripting Introduction ● Example to make a quick backup of files #! /bin/sh # Create a tar file from home, dump to USB HD along with a TOC for the archive # -------------------------------------- tar cvzf /media/WD_1.5TB_EXT4/t60p/backups/09.mar.2010.home.tgz /home/bill tar tvzf /media/WD_1.5TB_EXT4/t60p/backups/09.mar.2010.home.tgz > /media/WD_1.5TB_EXT4/t60p/backups/09.mar.2010.home.toc 24
  • 25. Scripting Introduction ● Examples to mount and unmount filesystems located on a second HD #! /bin/sh # Mount the pieces of SDB #! /bin/sh # sudo -i # Umount the pieces of SDB mount /dev/LVM/home /home/sdb.home/ # sudo -i mount /dev/LVM/local /local umount /dev/mapper/LVM-home mount /dev/LVM/opt.ibm /opt/sdb.ibm/ umount /dev/mapper/LVM-local # mount -t ext3 /dev/sdb1 /sdb/boot/ umount /dev/mapper/LVM-opt.ibm # mount -t ext3 /dev/sdb1 boot/ umount /dev/sdb7 # mount -r -n -t ext3 /dev/sdb1 boot umount /dev/sdb6 # mount -r -n -t ext3 /dev/sdb2 boot # mount -r -n -t ext3 /dev/sdb5 boot # mount -r -n -t ext3 /dev/sdb6 boot # mount -r -n -t ext3 /dev/sdb6 root # mount -r -n -t ext3 /dev/sdb7 boot mount -r -t ext3 /dev/sdb7 /sdb/boot mount -r -t ext3 /dev/sdb6 /sdb/root 25
  • 26. Combining Skills – Part I Scripting with scp is easy to do – Edit .bashrc or .bash_profile – Create an alias to save time accessing servers #alias la='ls -A' #alias l='ls -CF' alias ll='ls -l' alias sshess='ssh -p 12345 FooGetsInNotYou@roma.testdomain.com' alias sshtest='ssh bill@server2.test.com' 26
  • 27. Combining Skills – Part II: The Query Alias takes static commands, as it uses a literal How do you pass an argument to an alias in your .bashrc file? 27
  • 28. Combining Skills – Part II: The Answer Use a function function scpess () { scp -P 12345 $1 FooGetsInNotYou@roma.testdomain.com:/dl/dom ino85 ; } 28
  • 29. Today's Topics of Interest • Introduction • Basic Theory and Installation • Commands to Improve Your Life • Editing Files with vi • Scripting Primer • Package Management Techniques • Lotus Application Introduction • Review • Reference 29
  • 30. Ways to Install Packages – Red Hat ● Red Hat – RPM – The industry standard ● Installs local tools, helps manage them ● Red Hat Package Manager ● Rpm -q ● Rpm -qi ● Rpm -ivh <package_name>.rpm ● Use wildcards to precisely install multiple files ● Rpm – e <package_name> ● Remote Management ● Yum – Yellowdog ● Update applications, pull down from server ● RHN – Red Hat Network 30
  • 31. Ways to Install Packages – Ubuntu ● Ubuntu – Debian based package management ● Dpkg ● Local packages ● $ sudo dpkg -i <package_file> ● $ dpkg-deb or dpkg -I <package_file> ● Remote management ● Apt-get ● $ sudo apt-get remove –purge 2.6.27-7-* ● If new, then the GUI for desktop can be beneficial ● Just point and click to install ● Use the Ubuntu Software Center to remove 31
  • 32. Ways to Install Packages – Red Hat ● Red Hat – RPM – The industry standard ● Red hat Package Manager ● Rpm -q ● Rpm -qi ● Rpm -ivh <package_name>.rpm ● Use wildcards to precisely install multiple files ● Rpm – e <package_name> 32
  • 33. Ways to Install Packages – Red Hat ● Red Hat – RPM – The industry standard ● Red hat Package Manager ● Rpm -q ● Rpm -qi ● Rpm -ivh <package_name>.rpm ● Use wildcards to precisely install multiple files ● Rpm – e <package_name> 33
  • 34. Today's Topics of Interest • Introduction • Basic Theory and Installation • Commands to Improve Your Life • Editing Files with vi • Scripting Primer • Package Management Techniques • Lotus Application Introduction • Review • Reference 34
  • 35. What You Need To Know • Lotus application installation uses the tools we discussed in this session – Tar – Ssh – Gunzip – Rpm – Vi • The rest is easy... just tab and type • All the IBM software programs, when installed on Linux use most of these basic tools to get started – Even if the installation requires a browser 35
  • 36. Let's Get Moving! Demo Time 36
  • 37. Today's Topics of Interest • Introduction • Basic Theory and Installation • Commands to Improve Your Life • Editing Files with vi • Scripting Primer • Package Management Techniques • Lotus Application Introduction • Review • Reference 37
  • 38. Team Exercise Quiz Time... 38
  • 39. Today's Topics of Interest • Introduction • Basic Theory and Installation • Commands to Improve Your Life • Editing Files with vi • Scripting Primer • Package Management Techniques • Lotus Application Introduction • Review • Reference 39
  • 41. Linux Resources • Bill Mal’s Linux Section -- http://www.billmal.com/billmal/billmal.nsf/dx/linux-links.ht • IBM’s Linux Portal: http://ibm.com/linux • Linux: The Era of Open Innovation • http://www-03.ibm.com/ibm/history/ibm100/us/en/icon • TCO IBM/Linux versus Microsoft •ftp://ftp.software.ibm.com/pub/lotusweb/competiti ve/Linux-Windows_TCO_Presentation.pdf • Fun -- Tux in Kernel Code http://www.100mb.nl/ 41
  • 42. Technical Notes of Interest • Red Hat Versus Free Linux Cost Analysis http://tinyurl.com/8le8ewo • Installing VMware Workstation 8.x on Ubuntu 12.04 http://askubuntu.com/questions/116565/unable-to-install-v • Manually uninstalling VMware http://kb.vmware.com/selfservice/microsites/search.do?lan • Installing Lotus Notes on Ubuntu 12.04 http://usablesoftware.wordpress.com/2012/05/04/install-lo • Problems launching VMware on Ubuntu, post reboot? http://raywoodcockslatest.blogspot.com/2010/05/resuming 42
  • 43. Bonus Material Running Linux inside of Windows, natively 43
  • 44. Cygwin Installation • Get the files: http://cygwin.net/ • Install the base first, – Then go back to the same server and install additional files – Timeouts are tricky and you can waste time otherwise • Base install, then the following programs • Admin -> cron • Archive -> unzip, zip • Devel -> bashdb (optional, but select if you want to try BASH scripting at some point, as it can help with debugging) 44
  • 45. Ubuntu Applications of Interest • GParted Partition Editor • Dropbox • Ubuntu restricted extras • GIMP Image Editor • Secure shell (SSH) server (if needed to put files locally from other areas) • The Network Mapper – utility for network exploration or security auditing 45
  • 46. Cygwin Installation – Part II •Editors -> vim, vim-common, xxd, and if you want to edit binary files, try bvi •Graphics -> GraphicsMagick, ImageMagick, bmp2png •System -> ping, util-linux •Text -> a2ps, enscript (one of my favorite programs) •Utils -> hdparm (only use in read mode, but provides useful info on your local HD), xtail 46
  • 47. Cygwin Installation – Post-Install Tips • If you encounter an installation program which requires an X Window environment, – Go back and install the X11 environment with Gnome or KDE – Otherwise, keep it simple. • The nice thing about the installation program, is that once you run the first install, if your selected options require additional files that you omitted, you will be prompted accordingly: <next slide> •Then it will install the newly selected files. 47
  • 48. Cygwin Installation – Post-Install Tips 48
  • 49. Cygwin Installation – Post-Install Tips And unlike Windows, the histograms are actually accurate. 49
  • 50. Cygwin Install – Post-Install Tips 50
  • 51. Questions • How can I help you? 51