SlideShare a Scribd company logo
Linux School:
Advanced Administration
for IBM Software
William Malchisky Jr.
Effective Software Solutions, LLC
3/14/14 @EngageUG
#engageug
2
What We’ll Cover …
The Linux Growth Paradigm
Accelerated Partitioning Primer
Time-saving Command Exploits
IBM Domino and Traveler — Better on Linux
Research Wrap-up
Appendix —
●
Cygwin Tips
●
Linux Growth Analysis
3/14/14 @EngageUG
#engageug
3
Why Linux Matters in Business: Then...
In 1999, Bill Gates famously opined that Linux
was, “a threat to Windows only in the relatively
tiny ‘student and hobbyist market.’”
3/14/14 @EngageUG
#engageug
4
Why Linux Matters in Business: And Now
Then in 2012, Microsoft became a Top 20
corporate Linux kernel contributor
“...a sign of just how thoroughly Linux has
conquered the enterprise.”
Source: “How Linux Conquered the Fortune 500”,
Fortune Magazine, 2013;
http://money.cnn.com/2013/05/06/technology/linux-500.pr
@FortuneMagazine
3/14/14 @EngageUG
#engageug
5
Microsoft’s Linux Kernel Contributions — 2013 Update
• Microsoft contributions are now non-existent
• Same is true for Nokia, whereas Google and
Samsung along with Nvidia climbed quickly
• To contrast - Red Hat, Intel, Suse, and IBM
contributed 25.6% of all kernel code in 2013
• Get the full report here, via Linux Foundation
http://www.linuxfoundation.org/publications/linux-foundatio
3/14/14 @EngageUG
#engageug
6
Ubiquity of the Linux Kernel — [Attribution: Shmuel Csaba Otto Traian]
3/14/14 @EngageUG
#engageug
IBM Connections Install Base Trending
“Linux is the market. You end up paying for
too many licenses with Windows.”
– Susan Bulloch, IBM Connections Level 2
Support Engineer; @notesgoddess
3/14/14 @EngageUG
#engageug
8
What We’ll Cover …
The Linux Growth Paradigm
Accelerated Partitioning Primer
Time-saving Command Exploits
IBM Domino and Traveler — Better on Linux
Research Wrap-up
Appendix —
●
Cygwin Tips
●
Linux Growth Analysis
3/14/14 @EngageUG
#engageug
Mind This Section...
Or you are building your server applications on here
3/14/14 @EngageUG
#engageug
10
Partition Considerations
• Plan your usage before dissecting the drives
• /boot = 250MB
• Create an LVM or two for the rest
• Use multiple swap partitions
• Tip: Always keep the filesystems >=10% free
space to avoid fragmentation, else drive
performance degrades
3/14/14 @EngageUG
#engageug
11
Partition Considerations – Real World Example
3/14/14 @EngageUG
#engageug
12
Partition Considerations – Keeping Filesystem Utilization Optimal
3/14/14 @EngageUG
#engageug
13
Partition Considerations – Descriptive LVM Logical Volumes Names Are Critical
3/14/14 @EngageUG
#engageug
14
Use Bl(oc)kID to Learn Filesystem Attributes
What filesystem is each mount point using?
Provides ext3 labels as well
3/14/14 @EngageUG
#engageug
15
What We’ll Cover …
The Linux Growth Paradigm
Accelerated Partitioning Primer
Time-saving Command Exploits
IBM Domino and Traveler — Better on Linux
Research Wrap-up
Appendix —
●
Cygwin Tips
●
Linux Growth Analysis
3/14/14 @EngageUG
#engageug
16
Quick Discussion on Securing Your Edge Servers
A few points on what I do to secure my public
facing boxes
3/14/14 @EngageUG
#engageug
17
Time-saving Command Exploits
Network Analysis and
Troubleshooting
3/14/14 @EngageUG
#engageug
18
Network Tools
●
#iptraf → real-time network statistics
●
Installation command options:
●
1. $sudo apt-get install iptraf -or-
●
2. $yum install iptraf
●
Many options, colorful TUI program
●
#nagios → LAN monitoring application
●
#cacti → GUI LAN monitoring
N.B.: Make certain you choose the correct web
server during install
47
3/14/14 @EngageUG
#engageug
3/14/14 @EngageUG
#engageug
19
Key Troubleshooting Tools
Scanning ports
-$ lsof for seeing who/what has a file open
-# netstat |grep 10000
• Does not appear if in listen mode
-# netstat -ln
• Display listen only ports
-$ ss -ln
3/14/14 @EngageUG
#engageug
3/14/14 @EngageUG
#engageug
20
SS -ln Output Example
[bill@localhost Desktop]$ ss -ln
State Recv-Q Send-Q Local Address:Port Peer
Address:Port
LISTEN 0 128 *:10000 *:*
LISTEN 0 128 :::22 :::*
LISTEN 0 128 *:22 *:*
LISTEN 0 128 127.0.0.1:631 *:*
LISTEN 0 128 ::1:631 :::*
LISTEN 0 100 ::1:25 :::*
LISTEN 0 100 127.0.0.1:25 *:*
3/14/14 @EngageUG
#engageug
3/14/14 @EngageUG
#engageug
21
Key Troubleshooting Tools
•Dump LAN traffic
-$ tcpdump -i eth0 ‘udp port 53’ -v
•Measuring CPU Load
-$ mpstat -P ALL
3/14/14 @EngageUG
#engageug
DNS Tools – Dig is heavily preferred for its powerful capabilities
●
Batch mode – reads from input file
• $ {home}/.digrc – stores user specific
defaults
●
Basic syntax: $dig <domain> <type>
●
Uses /etc/resolv.conf for NS, unless supplied:
●
$dig @<server> <domain> <type>
●
Reverse lookup
• $dig +short -x <ip address>
3/14/14 @EngageUG
#engageug
23
Tools to Troubleshoot Domino
• What library files Notes or Domino are missing
#strace -ff -o /tmp/strace
/opt/ibm/lotus/notes/notes
• $pstree – prints process tree
• $vmstat – display memory, paging, block IO, cpu
activity
• $iostat – display CPU stats; process bottleneck
N.B.: put the last two in cron jobs for frequent
updates dumped to disk
48
3/14/14 @EngageUG
#engageug
24
Time-saving Command Exploits
General Usage
3/14/14 @EngageUG
#engageug
25
Manually Forcing an NTP Update in a VM
Come out of hibernation/suspend mode with
your VM, or extended network outage and you
observe the time is incorrect.
How do you fix it fast?
3/14/14 @EngageUG
#engageug
26
Command Line Parsing with Surgical Precision
Wildcards work in Linux and are very powerful,
particularly when moving or removing files within
a terminal window
3/14/14 @EngageUG
#engageug
3/14/14 @EngageUG
#engageug
27
Linux Service Manager Debate
•Init.d, Upstart, and systemd
•Use Init.d for now (except on Ubuntu)
•Next major release of non-Ubuntu Linux distros
will utilize systemd over Init.d
-e.g. RHEL 7
-Further details:
http://www.freedesktop.org/wiki/Software/systemd/
See also:
http://www.billmal.com/billmal/billmal.nsf/dx/vmware-tools-part-I.htm
3/14/14 @EngageUG
#engageug
3/14/14 @EngageUG
#engageug
28
After OS Installed
• Download and install Webmin
- http://webmin.com
- Use to lockdown SSH, setup virtual NICs,
adjust firewall if needed, plus verify NTP,
DHCP, DNS setup
• Remove afterwards if disallowed in production
Try it live: http://webmin-demo.virtualmin.com/
3/14/14 @EngageUG
#engageug
3/14/14 @EngageUG
#engageug
29
RHEL 6 – Setup Firewall Rule to Open Port 10000 to Run Webmin
Two options to work with this security barrier:
•Desktop firewall admin tool
•Command line – run this sequence
•# iptables -I INPUT 4 -m state
--state NEW -m tcp -p tcp --dport
10000 -j ACCEPT
•# service iptables save
•# service iptables restart
•# iptables -S
N.B. last command lists all rules for all chains in the firewall table
3/14/14 @EngageUG
#engageug
3/14/14 @EngageUG
#engageug
30
Remote Access Tools
• SSH X redirect – needs local X server
- Xming, Cygwin/X (freeware examples)
- SSH Clients available on key systems
•Linux desktop native
•Mac OS X native
•Windows via third-party: Cygwin, Putty
• Remmina
- Handles: SSH, SFTP, VNC, RDP
- Highly recommended!
• VNC
3/14/14 @EngageUG
#engageug
31
X Redirect Through Two Linux Accounts
●
There are several ways to accomplish this task...
●
Method below simplifies it for 80+% of use cases
●
On SSH Server
●
# vi /etc/ssh/sshd_config
-> X11Forwarding yes
●
Local machine
●
ssh -XYC <user1>@<IP_Address> [-p port]
●
$ssh -XYC foo@192.168.90.123
●
Remote Machine
●
ssh -XYC <user2>@localhost
●
$ssh -XYC root@localhost --OR--
●
$ssh -XYC john_walker@localhost
N.B. The “-C” parameter is optional on fast LANs
3/14/14 @EngageUG
#engageug
34
• Linux reads, writes NTFS, FAT32, and FAT16
• ntfs-3g driver, invoke natively or as a mount type
• Basic Usage Examples:
• ntfs-3g /dev/sda1 /mnt/windows
• mount -t ntfs-3g /dev/sda1 /mnt/windows
NTFS Support Is Available in Linux – 1 of 2
3/14/14 @EngageUG
#engageug
35
• Mount while mapping ownership to all files on target
• ntfs-3g /dev/sda5 /home/user/mnt -o ro,uid=1000
• Modify /etc/fstab to mount at boot
• eg /dev/sda5 /home/user/mnt ntfs-3g ro,uid=1000 0 0
• Set last two values to zero, or boot-up system check
• When set, dump and fsck will then ignore this filesystem
NTFS Support Is Available in Linux – 2 of 2
3/14/14 @EngageUG
#engageug
36
• Linux filenames can contain many characters – even ones
that Windows dislikes
51
• If you have them, you
can not open the file in
Windows 7
...and you can not rename/delete
them in Windows 7, as it will tell
you the original filename is invalid
NTFS Support Tip – Moving Files From Linux to Windows
3/14/14 @EngageUG
#engageug
NTFS Support Tip – Moving Files From Linux to Windows
Additionally, Cygwin can not read them as the
Windows file system does not know how to store them
Solution: save time and frustration by ensuring
Windows friendly filenames before moving files
3/14/14 @EngageUG
#engageug
38
What We’ll Cover …
The Linux Growth Paradigm
Accelerated Partitioning Primer
Time-saving Command Exploits
IBM Domino and Traveler — Better on Linux
Research Wrap-up
Appendix —
●
Cygwin Tips
●
Linux Growth Analysis
3/14/14 @EngageUG
#engageug
39
Why I Use and Recommend Linux For IBM Software
Stability
3/14/14 @EngageUG
#engageug
40
What about the underlying Linux Operating System?
Verified just before I left for Engage…
3/14/14 @EngageUG
#engageug
System Requirements – Domino: Faster Than Aggregating From The Wiki
What Linux flavors are you allowed
to run with Domino 9 and still
receive support?
NOTE: Solaris is unsupported with Domino 9 Technote #7037859 -
http://www-01.ibm.com/support/docview.wss?uid=swg27037859
Intel System z
x64 i386 x64
RHEL 6 - Update 3 & 4+
SLES 11 - SP1 & SP2+
Notations:
1. Notes Traveler Linux server support -- Intel; System z remains unsupported
2. XGL and SELinux must be disabled for all Domino and related installs
3/14/14 @EngageUG
#engageug
Hypervisor Requirements - Domino
Domino works with hypervisors, but matching
your OS is important to receive support
Product Guest OS
IBM PR/SM (all versions)1
z/VM 6.11
RHEL 6 Update 3 System z
SLES 11 SP1 System z
KVM3
RHEL 6 default version, plus RHEV
SLES 11 installed default
Microsoft Hyper-V Server 20122,3
RHEL 6 Update 3; SLES 11 SP2
VMware ESXi 4, 5 RHEL 6 Update 3 i386, x64
SLES 11 SP1 i386, x64
Notations:
1. IBM PR/SM and z/VM are for System Z
2. Microsoft Hyper-V Server 2012 Linux Integration Services -
3. Windows is supported as a guest OS on KVM and Hyper-V
3/14/14 @EngageUG
#engageug
System Requirements - Traveler HA
Want support with Traveler HA? Mind the chart.
Getting Your Supported RDBMS Fit
Product DB2 Enterprise
Server Edition
DB2 Workgroup
Server Edition
Microsoft SQL
Server Enterprise
Edition
Version 9.7, 10.1 9.7, 10.1 2008, 2008 R2
Fix Packs 9.7.0.5 to 9.7.0.8+
10.1: Any
9.7.0.5 to 9.7.0.8+
10.1: Any
2008 SP1+
2008 R2: Any
Notations:
1. ND9 provides a limited use IBM DB2 10.1 Workgroup Server Edition
license specifically for IBM Notes Traveler HA use ONLY
2. If utilized, DB2 must be the chosen Traveler HA RDBMS solution
3. Notes Traveler is supported on RHEL and SLES; System z remains an
unsupported platform
3/14/14 @EngageUG
#engageug
Unsupported Options - Domino
Just in-case... Avoid these Linux installation
permutations
- 128 bit installations
- Notes Traveler (server) on mobile devices
- RHEL 6: Base to Update 2
- SLES 11: Base
- Ubuntu Server
3/14/14 @EngageUG
#engageug
Be Certain To Register Your Server
•After installing your new Red Hat server, run
-# rhn_register
•Then utilizing yum on your new server works
-# yum update
-Always initiate after installing your server;
before Domino
-# yum install libXtst.i686
3/14/14 @EngageUG
#engageug
46
Prerequisites are Critical to Success
• Each application has specific Linux setup
requirements
• Domino has three key components for Red Hat
– Install non-standard issue library files
– Disable SELinux and XGL (SUSE too)
– Set ulimits to unlimited
3/14/14 @EngageUG
#engageug
47
Prerequisites are Critical to Success
• Always RTFM
– Know you may need to go back a few
versions to get the full story
• Bonus
– Install gdb before you need it
• Critical tool for any server crashes
3/14/14 @EngageUG
#engageug
48
Stay Informed
Each report contains the latest on IBM Domino 9
OS requirements, patch levels, and support
notations
●
9.0 - http://tinyurl.com/d73zoqs
●
9.0.1 - http://tinyurl.com/p7sc758
3/14/14 @EngageUG
#engageug
49
Installing Missing Files – checkOS
Domino 9 provides an excellent OS check tool
– Indicates which library files you need
– Prevents Domino from installing until
satisfied
– Can run manually too
– # perl checkos.pl -f checkos.dat
3/14/14 @EngageUG
#engageug
50
Installing Missing Files – checkOS
3/14/14 @EngageUG
#engageug
51
Installing Missing Files – checkOS
Results of a manual checkOS operation
3/14/14 @EngageUG
#engageug
52
Installing Missing Files – Tools
• Utilizing package management software
• Yum on Red Hat makes it simple
• Powerful command sequence
• #yum install libXtst.i686
• #yum install libXmu.i686
• #yum install libXft.i686
• #yum install libXi.i686
• #yum install libstdc++.i686
• #yum install libXp-1.0.0-15.1.el6.i686
3/14/14 @EngageUG
#engageug
53
Verifying SELinux
3/14/14 @EngageUG
#engageug
Resetting SELinux – The Docs Tell You To Disable IT, But Omit How
•Easy to do in three simple steps
- #vi /etc/sysconfig/selinux
- Edit SELINUX= line to “disabled”
- #init 6
3/14/14 @EngageUG
#engageug
Verifying SELinux Again
3/14/14 @EngageUG
#engageug
Setting ulimits for Domino – Part I
•Edit this file
• # vi /etc/security/limits.conf
•Syntax: <notes_OS_user_name> [soft|hard]
nofile <value>
- usenotesmail soft nofile 60000
- usenotesmail hard nofile 80000
•Repeat for each server's Linux user account
Note: IBM updated Technote (2)1221870 to
indicate higher nolim value recommendations
3/14/14 @EngageUG
#engageug
Setting ulimits for Domino – Part II
Memory Address Space Value
i386 Session required /lib/security/pam_limits.so
x64 Session required pam_limits.so
Note: If you put “/lib/security/pam_limits.so” into the pam.d file on an x64
system, you will lock yourself out – all accounts
To use the ulimits values when you login next
# vi /etc/pam.d/sshd
N.B. Writing a start/stop init.d script? Ensure that you
include “ulimit -n 60000” in the “start” area
3/14/14 @EngageUG
#engageug
Traveler Installation Error Trapping
●
Errors written in local execution directory via
InstallError.Log
●
Warnings and Success are strategically located
DOMINO_DATA_DIRECTORY_1/IBM_TECHNICAL_SUPPO
RT/traveler/logs/TravelerInstall.log
●
If file has old timestamp or non-existent
Unrecoverable error occurred
3/14/14 @EngageUG
#engageug
59
What We’ll Cover …
The Linux Growth Paradigm
Accelerated Partitioning Primer
Time-saving Command Exploits
IBM Domino and Traveler — Better on Linux
Research Wrap-up
Appendix —
●
Cygwin Tips
●
Linux Growth Analysis
3/14/14 @EngageUG
#engageug
60
Resources
39
• Barrett, Daniel J.; Linux Pocket Guide – Essential
Commands; O'Reilly & Associates
• Linux Foundation – Free Linux Training Online
•http://training.linuxfoundation.org/free-linux-training
• IBM's Linux portal – http://ibm.com/linux
• “Linux is certified on all IBM Systems. Choose the architecture
that makes sense.”
3/14/14 @EngageUG
#engageug
61
Resources
39
●
How Linux Is Built–Linux Foundation's
YouTube channel
●
http://www.youtube.com/user/TheLinuxFoundation
●
The Open Virtualization Alliance
●
http://www.openvirtualizationalliance.org/
●
Consortium founded by IBM, HP, Intel, Red Hat;
100's members
3/14/14 @EngageUG
#engageug
62
Resources
39
My Blog – http://www.billmal.com
- BillMal's Linux Sites & Domino 9 Install Tips
•http://www.billmal.com/billmal/billmal.nsf/dx/linux-links.html
•http://www.billmal.com/billmal/billmal.nsf/dx/domino9x64.ht
- Linux Service Manager Insight
•http://www.billmal.com/billmal/billmal.nsf/dx/vmware-tools-p
3/14/14 @EngageUG
#engageug
63
Quick Background
• Co-founder of Linuxfest at Lotusphere/Connect
• Speaker at 20+ Lotus® related events/LUGs
• Co-authored two IBM® Redbooks on Linux®
• IBM Champion for Collaboration Solutions
• 2011, 2012, 2013, 2014
• Linux aficionado
3/14/14 @EngageUG
#engageug
64
42
Follow Up – Contact Information
How to contact me:
Bill Malchisky Jr.
william.malchisky@effectivesoftware.com
@billmalchisky
Skype: FairTaxBill
3/14/14 @EngageUG
#engageug
65
What We’ll Cover …
The Linux Growth Paradigm
Accelerated Partitioning Primer
Time-saving Command Exploits
IBM Domino and Traveler — Better on Linux
Research Wrap-up
Appendix —
●
Cygwin Tips
●
Linux Growth Analysis
3/14/14 @EngageUG
#engageug
66
Appendix A – Linux Emulation on Windows
Installation of Cygwin
3/14/14 @EngageUG
#engageug
67
Cygwin Installation
• Get the files: http://cygwin.net/
• Two-step installation process saves time:
– 1. Base packages first
– 2. Then go back to the same install server
and select additional files
– Timeouts are tricky; waste time otherwise
• Next, add these useful programs:
• Admin -> cron
• Archive -> unzip, zip
• Devel -> bashdb (optional; select to try
BASH scripting, it helps with debugging)
3/14/14 @EngageUG
#engageug
68
Cygwin Installation – Additional Applications, Continued
• 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
3/14/14 @EngageUG
#engageug
69
Cygwin Installation – Installation Process 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.
• Installation program tip
• Resolves program selection dependencies
• Prompts you accordingly <see next slide>
• Cygwin only installs newly selected files, with
each successive installation iteration
3/14/14 @EngageUG
#engageug
Cygwin Installation – Dependency Resolution Warning Screen
3/14/14 @EngageUG
#engageug
71
Cygwin Installation Progress Progresses
Unlike Windows, these histograms are accurate
3/14/14 @EngageUG
#engageug
Cygwin Install – Final Steps
3/14/14 @EngageUG
#engageug
73
Appendix B – Linux Growth Paradigm
Trending Analysis
3/14/14 @EngageUG
#engageug
74
Digging Deeper Into the Report, We Find A Compelling Justification — In Two Slides
http://www.linuxfoundation.org/publications/linux-f
Source: 2013 Enterprise End User Report.
Linux Adoption: Third Annual Survey of
World’s Largest Enterprise Linux Uses
3/14/14 @EngageUG
#engageug
75
Digging Deeper Into the Report, We Find A Compelling Justification — Three Slides
3/14/14 @EngageUG
#engageug
76
Digging Deeper Into the Report, We Find A Compelling Justification — Three Slides
3/14/14 @EngageUG
#engageug
77
2013 Serverwatch Report is Damning For Windows Servers
The following three slides contain key quotes
from the 2013 report on Linux growth and
utilization over Windows, plus server adoption
insight on the concluding slide
Article:
http://www.serverwatch.com/server-news/linux-adoption-c
Cited Report:
http://www.linuxfoundation.org/publications/linux-foundati
3/14/14 @EngageUG
#engageug
2013 Serverwatch Report Quotes: 1-3
“Some 39 percent of the survey
respondents indicated that in response to
Windows 8, they will now use more
Linux.”
3/14/14 @EngageUG
#engageug
2013 Serverwatch Report Quotes: 2-3
“In 2010, the same report found that 31 percent
of respondents were migrating to Linux from
Windows. In 2013 that number has increased to
nearly 40 percent.”
3/14/14 @EngageUG
#engageug
Linux Server Usage Keeps Growing
●
73% of respondents use Linux for
mission-critical work
●
76% of enterprise cloud solutions too
“This has been increasing year-over-
year.”
– Amanda McPherson, VP Marketing
and Developer Services, Linux
Foundation

More Related Content

PDF
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
PPT
linux minimal os tutorial - by shatrix
DOC
Sitaram_Chalasani_CV
PPTX
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
PDF
Linux power management: are you doing it right?
PDF
005 skyeye
PPTX
Introduction to operating system, system calls and interrupts
PPT
Unix and Linux Common Boot Disk Disaster Recovery Tools by Dusan Baljevic
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
linux minimal os tutorial - by shatrix
Sitaram_Chalasani_CV
HP-UX 11iv3 Ignite-UX with NFSv4 and SSH Tunnel by Dusan Baljevic
Linux power management: are you doing it right?
005 skyeye
Introduction to operating system, system calls and interrupts
Unix and Linux Common Boot Disk Disaster Recovery Tools by Dusan Baljevic

What's hot (20)

PDF
Ilf2013
PDF
Firebird on Linux
PDF
Texas 2013
PDF
The end of embedded Linux (as we know it)
PDF
Read-only rootfs: theory and practice
PDF
Still All on One Server: Perforce at Scale
PDF
Polstra 44con2012
PDF
Asiabsdcon2013
PDF
Tuning Android for low RAM
PDF
Embedded Linux Quick Start Guide v1.5
PDF
eurobsd2013
PDF
Life Preserver - AsiaBSDCon2014
PPT
HP-UX Dynamic Root Disk vs Solaris Live Upgrade vs AIX Multibos by Dusan Balj...
PDF
vbsd2013
PDF
BP103 - Got Problems? Let's Do a Health Check
PDF
Lpreservereurobsd2014
PDF
CollabSphere 2019 - Dirty Secrets of the Notes Client
PDF
Engage 2018: IBM Notes and Domino Performance Boost - Reloaded
PDF
Got Problems? Let's Do a Health Check
PDF
Reducing the boot time of Linux devices
Ilf2013
Firebird on Linux
Texas 2013
The end of embedded Linux (as we know it)
Read-only rootfs: theory and practice
Still All on One Server: Perforce at Scale
Polstra 44con2012
Asiabsdcon2013
Tuning Android for low RAM
Embedded Linux Quick Start Guide v1.5
eurobsd2013
Life Preserver - AsiaBSDCon2014
HP-UX Dynamic Root Disk vs Solaris Live Upgrade vs AIX Multibos by Dusan Balj...
vbsd2013
BP103 - Got Problems? Let's Do a Health Check
Lpreservereurobsd2014
CollabSphere 2019 - Dirty Secrets of the Notes Client
Engage 2018: IBM Notes and Domino Performance Boost - Reloaded
Got Problems? Let's Do a Health Check
Reducing the boot time of Linux devices
Ad

Viewers also liked (20)

ODP
Linux & Open Source
PPT
linux+ learnkey DVD 2
PDF
Ibm lotus connections 3.0 lab excercises workbook 2011
PDF
Information System Security
PDF
Virtual hacking Modul
PDF
E-commerce
PDF
How to use Big Data
PDF
Hacking lab
PDF
Red hat enterprise_linux-5.5-technical_notes-en-us
DOC
Notes for LX0-101 Linux
PDF
Hacking Challenges
KEY
HTML5 Hacking - Yahoo! Open Hack Day
PDF
Ibm big dataandanalytics_28433_archposter_wht_mar_2014_v4
DOCX
Ccna notes
PPT
sharepoint 2007 presentation in crcis
PPT
What Is Tcp Ip
PDF
RED HAT CERTIFIED SYSTEM ADMINISTRATOR__EX210
PDF
Hacking education
PDF
RHEL6 - Rh135
PDF
Microsoft SQL Licensing Workshop - Software ONE
Linux & Open Source
linux+ learnkey DVD 2
Ibm lotus connections 3.0 lab excercises workbook 2011
Information System Security
Virtual hacking Modul
E-commerce
How to use Big Data
Hacking lab
Red hat enterprise_linux-5.5-technical_notes-en-us
Notes for LX0-101 Linux
Hacking Challenges
HTML5 Hacking - Yahoo! Open Hack Day
Ibm big dataandanalytics_28433_archposter_wht_mar_2014_v4
Ccna notes
sharepoint 2007 presentation in crcis
What Is Tcp Ip
RED HAT CERTIFIED SYSTEM ADMINISTRATOR__EX210
Hacking education
RHEL6 - Rh135
Microsoft SQL Licensing Workshop - Software ONE
Ad

Similar to Linux School: Advanced Administration for IBM Software (20)

PDF
linux installation.pdf
PPT
Linux Operating System Vulnerabilities
PPT
Linux Vulnerabilities
PPT
Rhce ppt
PDF
Linux Unveiled: From Novice to Guru Kameron Hussain
PPTX
LinuxTraining_3.pptx
PPTX
Presentation linux on power
PPTX
Practical Introduction To Linux
KEY
Linux beginner's Workshop
PPTX
Linux Survival Kit for Proof of Concept & Proof of Technology
PPSX
Linux: An Unbeaten Empire
PDF
Linux Administration: A Beginner's Guide 8th Edition Wale Soyinka
PPTX
Saeed al ali 10 bb
PPTX
Linux workshop
PDF
Linux Administration: A Beginner's Guide 8th Edition Wale Soyinka
PDF
Linux Administration: A Beginner's Guide 8th Edition Wale Soyinka
PPT
Red Hat Certified engineer course
PDF
Get Started with Linux Management Command line Basic Knowledge
PDF
Linux Administration: A Beginner's Guide 8th Edition Wale Soyinka
linux installation.pdf
Linux Operating System Vulnerabilities
Linux Vulnerabilities
Rhce ppt
Linux Unveiled: From Novice to Guru Kameron Hussain
LinuxTraining_3.pptx
Presentation linux on power
Practical Introduction To Linux
Linux beginner's Workshop
Linux Survival Kit for Proof of Concept & Proof of Technology
Linux: An Unbeaten Empire
Linux Administration: A Beginner's Guide 8th Edition Wale Soyinka
Saeed al ali 10 bb
Linux workshop
Linux Administration: A Beginner's Guide 8th Edition Wale Soyinka
Linux Administration: A Beginner's Guide 8th Edition Wale Soyinka
Red Hat Certified engineer course
Get Started with Linux Management Command line Basic Knowledge
Linux Administration: A Beginner's Guide 8th Edition Wale Soyinka

More from Bill Malchisky Jr. (9)

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

Recently uploaded (20)

PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
Approach and Philosophy of On baking technology
PDF
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
PDF
Empathic Computing: Creating Shared Understanding
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
PDF
Machine learning based COVID-19 study performance prediction
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPTX
Understanding_Digital_Forensics_Presentation.pptx
DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PDF
KodekX | Application Modernization Development
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PPTX
Big Data Technologies - Introduction.pptx
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
Approach and Philosophy of On baking technology
Profit Center Accounting in SAP S/4HANA, S4F28 Col11
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Advanced methodologies resolving dimensionality complications for autism neur...
How UI/UX Design Impacts User Retention in Mobile Apps.pdf
Empathic Computing: Creating Shared Understanding
Building Integrated photovoltaic BIPV_UPV.pdf
Machine learning based COVID-19 study performance prediction
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Unlocking AI with Model Context Protocol (MCP)
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Understanding_Digital_Forensics_Presentation.pptx
The AUB Centre for AI in Media Proposal.docx
Encapsulation_ Review paper, used for researhc scholars
Chapter 3 Spatial Domain Image Processing.pdf
KodekX | Application Modernization Development
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
Big Data Technologies - Introduction.pptx

Linux School: Advanced Administration for IBM Software

  • 1. Linux School: Advanced Administration for IBM Software William Malchisky Jr. Effective Software Solutions, LLC
  • 2. 3/14/14 @EngageUG #engageug 2 What We’ll Cover … The Linux Growth Paradigm Accelerated Partitioning Primer Time-saving Command Exploits IBM Domino and Traveler — Better on Linux Research Wrap-up Appendix — ● Cygwin Tips ● Linux Growth Analysis
  • 3. 3/14/14 @EngageUG #engageug 3 Why Linux Matters in Business: Then... In 1999, Bill Gates famously opined that Linux was, “a threat to Windows only in the relatively tiny ‘student and hobbyist market.’”
  • 4. 3/14/14 @EngageUG #engageug 4 Why Linux Matters in Business: And Now Then in 2012, Microsoft became a Top 20 corporate Linux kernel contributor “...a sign of just how thoroughly Linux has conquered the enterprise.” Source: “How Linux Conquered the Fortune 500”, Fortune Magazine, 2013; http://money.cnn.com/2013/05/06/technology/linux-500.pr @FortuneMagazine
  • 5. 3/14/14 @EngageUG #engageug 5 Microsoft’s Linux Kernel Contributions — 2013 Update • Microsoft contributions are now non-existent • Same is true for Nokia, whereas Google and Samsung along with Nvidia climbed quickly • To contrast - Red Hat, Intel, Suse, and IBM contributed 25.6% of all kernel code in 2013 • Get the full report here, via Linux Foundation http://www.linuxfoundation.org/publications/linux-foundatio
  • 6. 3/14/14 @EngageUG #engageug 6 Ubiquity of the Linux Kernel — [Attribution: Shmuel Csaba Otto Traian]
  • 7. 3/14/14 @EngageUG #engageug IBM Connections Install Base Trending “Linux is the market. You end up paying for too many licenses with Windows.” – Susan Bulloch, IBM Connections Level 2 Support Engineer; @notesgoddess
  • 8. 3/14/14 @EngageUG #engageug 8 What We’ll Cover … The Linux Growth Paradigm Accelerated Partitioning Primer Time-saving Command Exploits IBM Domino and Traveler — Better on Linux Research Wrap-up Appendix — ● Cygwin Tips ● Linux Growth Analysis
  • 9. 3/14/14 @EngageUG #engageug Mind This Section... Or you are building your server applications on here
  • 10. 3/14/14 @EngageUG #engageug 10 Partition Considerations • Plan your usage before dissecting the drives • /boot = 250MB • Create an LVM or two for the rest • Use multiple swap partitions • Tip: Always keep the filesystems >=10% free space to avoid fragmentation, else drive performance degrades
  • 12. 3/14/14 @EngageUG #engageug 12 Partition Considerations – Keeping Filesystem Utilization Optimal
  • 13. 3/14/14 @EngageUG #engageug 13 Partition Considerations – Descriptive LVM Logical Volumes Names Are Critical
  • 14. 3/14/14 @EngageUG #engageug 14 Use Bl(oc)kID to Learn Filesystem Attributes What filesystem is each mount point using? Provides ext3 labels as well
  • 15. 3/14/14 @EngageUG #engageug 15 What We’ll Cover … The Linux Growth Paradigm Accelerated Partitioning Primer Time-saving Command Exploits IBM Domino and Traveler — Better on Linux Research Wrap-up Appendix — ● Cygwin Tips ● Linux Growth Analysis
  • 16. 3/14/14 @EngageUG #engageug 16 Quick Discussion on Securing Your Edge Servers A few points on what I do to secure my public facing boxes
  • 17. 3/14/14 @EngageUG #engageug 17 Time-saving Command Exploits Network Analysis and Troubleshooting
  • 18. 3/14/14 @EngageUG #engageug 18 Network Tools ● #iptraf → real-time network statistics ● Installation command options: ● 1. $sudo apt-get install iptraf -or- ● 2. $yum install iptraf ● Many options, colorful TUI program ● #nagios → LAN monitoring application ● #cacti → GUI LAN monitoring N.B.: Make certain you choose the correct web server during install 47
  • 19. 3/14/14 @EngageUG #engageug 3/14/14 @EngageUG #engageug 19 Key Troubleshooting Tools Scanning ports -$ lsof for seeing who/what has a file open -# netstat |grep 10000 • Does not appear if in listen mode -# netstat -ln • Display listen only ports -$ ss -ln
  • 20. 3/14/14 @EngageUG #engageug 3/14/14 @EngageUG #engageug 20 SS -ln Output Example [bill@localhost Desktop]$ ss -ln State Recv-Q Send-Q Local Address:Port Peer Address:Port LISTEN 0 128 *:10000 *:* LISTEN 0 128 :::22 :::* LISTEN 0 128 *:22 *:* LISTEN 0 128 127.0.0.1:631 *:* LISTEN 0 128 ::1:631 :::* LISTEN 0 100 ::1:25 :::* LISTEN 0 100 127.0.0.1:25 *:*
  • 21. 3/14/14 @EngageUG #engageug 3/14/14 @EngageUG #engageug 21 Key Troubleshooting Tools •Dump LAN traffic -$ tcpdump -i eth0 ‘udp port 53’ -v •Measuring CPU Load -$ mpstat -P ALL
  • 22. 3/14/14 @EngageUG #engageug DNS Tools – Dig is heavily preferred for its powerful capabilities ● Batch mode – reads from input file • $ {home}/.digrc – stores user specific defaults ● Basic syntax: $dig <domain> <type> ● Uses /etc/resolv.conf for NS, unless supplied: ● $dig @<server> <domain> <type> ● Reverse lookup • $dig +short -x <ip address>
  • 23. 3/14/14 @EngageUG #engageug 23 Tools to Troubleshoot Domino • What library files Notes or Domino are missing #strace -ff -o /tmp/strace /opt/ibm/lotus/notes/notes • $pstree – prints process tree • $vmstat – display memory, paging, block IO, cpu activity • $iostat – display CPU stats; process bottleneck N.B.: put the last two in cron jobs for frequent updates dumped to disk 48
  • 25. 3/14/14 @EngageUG #engageug 25 Manually Forcing an NTP Update in a VM Come out of hibernation/suspend mode with your VM, or extended network outage and you observe the time is incorrect. How do you fix it fast?
  • 26. 3/14/14 @EngageUG #engageug 26 Command Line Parsing with Surgical Precision Wildcards work in Linux and are very powerful, particularly when moving or removing files within a terminal window
  • 27. 3/14/14 @EngageUG #engageug 3/14/14 @EngageUG #engageug 27 Linux Service Manager Debate •Init.d, Upstart, and systemd •Use Init.d for now (except on Ubuntu) •Next major release of non-Ubuntu Linux distros will utilize systemd over Init.d -e.g. RHEL 7 -Further details: http://www.freedesktop.org/wiki/Software/systemd/ See also: http://www.billmal.com/billmal/billmal.nsf/dx/vmware-tools-part-I.htm
  • 28. 3/14/14 @EngageUG #engageug 3/14/14 @EngageUG #engageug 28 After OS Installed • Download and install Webmin - http://webmin.com - Use to lockdown SSH, setup virtual NICs, adjust firewall if needed, plus verify NTP, DHCP, DNS setup • Remove afterwards if disallowed in production Try it live: http://webmin-demo.virtualmin.com/
  • 29. 3/14/14 @EngageUG #engageug 3/14/14 @EngageUG #engageug 29 RHEL 6 – Setup Firewall Rule to Open Port 10000 to Run Webmin Two options to work with this security barrier: •Desktop firewall admin tool •Command line – run this sequence •# iptables -I INPUT 4 -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT •# service iptables save •# service iptables restart •# iptables -S N.B. last command lists all rules for all chains in the firewall table
  • 30. 3/14/14 @EngageUG #engageug 3/14/14 @EngageUG #engageug 30 Remote Access Tools • SSH X redirect – needs local X server - Xming, Cygwin/X (freeware examples) - SSH Clients available on key systems •Linux desktop native •Mac OS X native •Windows via third-party: Cygwin, Putty • Remmina - Handles: SSH, SFTP, VNC, RDP - Highly recommended! • VNC
  • 31. 3/14/14 @EngageUG #engageug 31 X Redirect Through Two Linux Accounts ● There are several ways to accomplish this task... ● Method below simplifies it for 80+% of use cases ● On SSH Server ● # vi /etc/ssh/sshd_config -> X11Forwarding yes ● Local machine ● ssh -XYC <user1>@<IP_Address> [-p port] ● $ssh -XYC foo@192.168.90.123 ● Remote Machine ● ssh -XYC <user2>@localhost ● $ssh -XYC root@localhost --OR-- ● $ssh -XYC john_walker@localhost N.B. The “-C” parameter is optional on fast LANs
  • 32. 3/14/14 @EngageUG #engageug 34 • Linux reads, writes NTFS, FAT32, and FAT16 • ntfs-3g driver, invoke natively or as a mount type • Basic Usage Examples: • ntfs-3g /dev/sda1 /mnt/windows • mount -t ntfs-3g /dev/sda1 /mnt/windows NTFS Support Is Available in Linux – 1 of 2
  • 33. 3/14/14 @EngageUG #engageug 35 • Mount while mapping ownership to all files on target • ntfs-3g /dev/sda5 /home/user/mnt -o ro,uid=1000 • Modify /etc/fstab to mount at boot • eg /dev/sda5 /home/user/mnt ntfs-3g ro,uid=1000 0 0 • Set last two values to zero, or boot-up system check • When set, dump and fsck will then ignore this filesystem NTFS Support Is Available in Linux – 2 of 2
  • 34. 3/14/14 @EngageUG #engageug 36 • Linux filenames can contain many characters – even ones that Windows dislikes 51 • If you have them, you can not open the file in Windows 7 ...and you can not rename/delete them in Windows 7, as it will tell you the original filename is invalid NTFS Support Tip – Moving Files From Linux to Windows
  • 35. 3/14/14 @EngageUG #engageug NTFS Support Tip – Moving Files From Linux to Windows Additionally, Cygwin can not read them as the Windows file system does not know how to store them Solution: save time and frustration by ensuring Windows friendly filenames before moving files
  • 36. 3/14/14 @EngageUG #engageug 38 What We’ll Cover … The Linux Growth Paradigm Accelerated Partitioning Primer Time-saving Command Exploits IBM Domino and Traveler — Better on Linux Research Wrap-up Appendix — ● Cygwin Tips ● Linux Growth Analysis
  • 37. 3/14/14 @EngageUG #engageug 39 Why I Use and Recommend Linux For IBM Software Stability
  • 38. 3/14/14 @EngageUG #engageug 40 What about the underlying Linux Operating System? Verified just before I left for Engage…
  • 39. 3/14/14 @EngageUG #engageug System Requirements – Domino: Faster Than Aggregating From The Wiki What Linux flavors are you allowed to run with Domino 9 and still receive support? NOTE: Solaris is unsupported with Domino 9 Technote #7037859 - http://www-01.ibm.com/support/docview.wss?uid=swg27037859 Intel System z x64 i386 x64 RHEL 6 - Update 3 & 4+ SLES 11 - SP1 & SP2+ Notations: 1. Notes Traveler Linux server support -- Intel; System z remains unsupported 2. XGL and SELinux must be disabled for all Domino and related installs
  • 40. 3/14/14 @EngageUG #engageug Hypervisor Requirements - Domino Domino works with hypervisors, but matching your OS is important to receive support Product Guest OS IBM PR/SM (all versions)1 z/VM 6.11 RHEL 6 Update 3 System z SLES 11 SP1 System z KVM3 RHEL 6 default version, plus RHEV SLES 11 installed default Microsoft Hyper-V Server 20122,3 RHEL 6 Update 3; SLES 11 SP2 VMware ESXi 4, 5 RHEL 6 Update 3 i386, x64 SLES 11 SP1 i386, x64 Notations: 1. IBM PR/SM and z/VM are for System Z 2. Microsoft Hyper-V Server 2012 Linux Integration Services - 3. Windows is supported as a guest OS on KVM and Hyper-V
  • 41. 3/14/14 @EngageUG #engageug System Requirements - Traveler HA Want support with Traveler HA? Mind the chart. Getting Your Supported RDBMS Fit Product DB2 Enterprise Server Edition DB2 Workgroup Server Edition Microsoft SQL Server Enterprise Edition Version 9.7, 10.1 9.7, 10.1 2008, 2008 R2 Fix Packs 9.7.0.5 to 9.7.0.8+ 10.1: Any 9.7.0.5 to 9.7.0.8+ 10.1: Any 2008 SP1+ 2008 R2: Any Notations: 1. ND9 provides a limited use IBM DB2 10.1 Workgroup Server Edition license specifically for IBM Notes Traveler HA use ONLY 2. If utilized, DB2 must be the chosen Traveler HA RDBMS solution 3. Notes Traveler is supported on RHEL and SLES; System z remains an unsupported platform
  • 42. 3/14/14 @EngageUG #engageug Unsupported Options - Domino Just in-case... Avoid these Linux installation permutations - 128 bit installations - Notes Traveler (server) on mobile devices - RHEL 6: Base to Update 2 - SLES 11: Base - Ubuntu Server
  • 43. 3/14/14 @EngageUG #engageug Be Certain To Register Your Server •After installing your new Red Hat server, run -# rhn_register •Then utilizing yum on your new server works -# yum update -Always initiate after installing your server; before Domino -# yum install libXtst.i686
  • 44. 3/14/14 @EngageUG #engageug 46 Prerequisites are Critical to Success • Each application has specific Linux setup requirements • Domino has three key components for Red Hat – Install non-standard issue library files – Disable SELinux and XGL (SUSE too) – Set ulimits to unlimited
  • 45. 3/14/14 @EngageUG #engageug 47 Prerequisites are Critical to Success • Always RTFM – Know you may need to go back a few versions to get the full story • Bonus – Install gdb before you need it • Critical tool for any server crashes
  • 46. 3/14/14 @EngageUG #engageug 48 Stay Informed Each report contains the latest on IBM Domino 9 OS requirements, patch levels, and support notations ● 9.0 - http://tinyurl.com/d73zoqs ● 9.0.1 - http://tinyurl.com/p7sc758
  • 47. 3/14/14 @EngageUG #engageug 49 Installing Missing Files – checkOS Domino 9 provides an excellent OS check tool – Indicates which library files you need – Prevents Domino from installing until satisfied – Can run manually too – # perl checkos.pl -f checkos.dat
  • 49. 3/14/14 @EngageUG #engageug 51 Installing Missing Files – checkOS Results of a manual checkOS operation
  • 50. 3/14/14 @EngageUG #engageug 52 Installing Missing Files – Tools • Utilizing package management software • Yum on Red Hat makes it simple • Powerful command sequence • #yum install libXtst.i686 • #yum install libXmu.i686 • #yum install libXft.i686 • #yum install libXi.i686 • #yum install libstdc++.i686 • #yum install libXp-1.0.0-15.1.el6.i686
  • 52. 3/14/14 @EngageUG #engageug Resetting SELinux – The Docs Tell You To Disable IT, But Omit How •Easy to do in three simple steps - #vi /etc/sysconfig/selinux - Edit SELINUX= line to “disabled” - #init 6
  • 54. 3/14/14 @EngageUG #engageug Setting ulimits for Domino – Part I •Edit this file • # vi /etc/security/limits.conf •Syntax: <notes_OS_user_name> [soft|hard] nofile <value> - usenotesmail soft nofile 60000 - usenotesmail hard nofile 80000 •Repeat for each server's Linux user account Note: IBM updated Technote (2)1221870 to indicate higher nolim value recommendations
  • 55. 3/14/14 @EngageUG #engageug Setting ulimits for Domino – Part II Memory Address Space Value i386 Session required /lib/security/pam_limits.so x64 Session required pam_limits.so Note: If you put “/lib/security/pam_limits.so” into the pam.d file on an x64 system, you will lock yourself out – all accounts To use the ulimits values when you login next # vi /etc/pam.d/sshd N.B. Writing a start/stop init.d script? Ensure that you include “ulimit -n 60000” in the “start” area
  • 56. 3/14/14 @EngageUG #engageug Traveler Installation Error Trapping ● Errors written in local execution directory via InstallError.Log ● Warnings and Success are strategically located DOMINO_DATA_DIRECTORY_1/IBM_TECHNICAL_SUPPO RT/traveler/logs/TravelerInstall.log ● If file has old timestamp or non-existent Unrecoverable error occurred
  • 57. 3/14/14 @EngageUG #engageug 59 What We’ll Cover … The Linux Growth Paradigm Accelerated Partitioning Primer Time-saving Command Exploits IBM Domino and Traveler — Better on Linux Research Wrap-up Appendix — ● Cygwin Tips ● Linux Growth Analysis
  • 58. 3/14/14 @EngageUG #engageug 60 Resources 39 • Barrett, Daniel J.; Linux Pocket Guide – Essential Commands; O'Reilly & Associates • Linux Foundation – Free Linux Training Online •http://training.linuxfoundation.org/free-linux-training • IBM's Linux portal – http://ibm.com/linux • “Linux is certified on all IBM Systems. Choose the architecture that makes sense.”
  • 59. 3/14/14 @EngageUG #engageug 61 Resources 39 ● How Linux Is Built–Linux Foundation's YouTube channel ● http://www.youtube.com/user/TheLinuxFoundation ● The Open Virtualization Alliance ● http://www.openvirtualizationalliance.org/ ● Consortium founded by IBM, HP, Intel, Red Hat; 100's members
  • 60. 3/14/14 @EngageUG #engageug 62 Resources 39 My Blog – http://www.billmal.com - BillMal's Linux Sites & Domino 9 Install Tips •http://www.billmal.com/billmal/billmal.nsf/dx/linux-links.html •http://www.billmal.com/billmal/billmal.nsf/dx/domino9x64.ht - Linux Service Manager Insight •http://www.billmal.com/billmal/billmal.nsf/dx/vmware-tools-p
  • 61. 3/14/14 @EngageUG #engageug 63 Quick Background • Co-founder of Linuxfest at Lotusphere/Connect • Speaker at 20+ Lotus® related events/LUGs • Co-authored two IBM® Redbooks on Linux® • IBM Champion for Collaboration Solutions • 2011, 2012, 2013, 2014 • Linux aficionado
  • 62. 3/14/14 @EngageUG #engageug 64 42 Follow Up – Contact Information How to contact me: Bill Malchisky Jr. william.malchisky@effectivesoftware.com @billmalchisky Skype: FairTaxBill
  • 63. 3/14/14 @EngageUG #engageug 65 What We’ll Cover … The Linux Growth Paradigm Accelerated Partitioning Primer Time-saving Command Exploits IBM Domino and Traveler — Better on Linux Research Wrap-up Appendix — ● Cygwin Tips ● Linux Growth Analysis
  • 64. 3/14/14 @EngageUG #engageug 66 Appendix A – Linux Emulation on Windows Installation of Cygwin
  • 65. 3/14/14 @EngageUG #engageug 67 Cygwin Installation • Get the files: http://cygwin.net/ • Two-step installation process saves time: – 1. Base packages first – 2. Then go back to the same install server and select additional files – Timeouts are tricky; waste time otherwise • Next, add these useful programs: • Admin -> cron • Archive -> unzip, zip • Devel -> bashdb (optional; select to try BASH scripting, it helps with debugging)
  • 66. 3/14/14 @EngageUG #engageug 68 Cygwin Installation – Additional Applications, Continued • 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
  • 67. 3/14/14 @EngageUG #engageug 69 Cygwin Installation – Installation Process 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. • Installation program tip • Resolves program selection dependencies • Prompts you accordingly <see next slide> • Cygwin only installs newly selected files, with each successive installation iteration
  • 68. 3/14/14 @EngageUG #engageug Cygwin Installation – Dependency Resolution Warning Screen
  • 69. 3/14/14 @EngageUG #engageug 71 Cygwin Installation Progress Progresses Unlike Windows, these histograms are accurate
  • 71. 3/14/14 @EngageUG #engageug 73 Appendix B – Linux Growth Paradigm Trending Analysis
  • 72. 3/14/14 @EngageUG #engageug 74 Digging Deeper Into the Report, We Find A Compelling Justification — In Two Slides http://www.linuxfoundation.org/publications/linux-f Source: 2013 Enterprise End User Report. Linux Adoption: Third Annual Survey of World’s Largest Enterprise Linux Uses
  • 73. 3/14/14 @EngageUG #engageug 75 Digging Deeper Into the Report, We Find A Compelling Justification — Three Slides
  • 74. 3/14/14 @EngageUG #engageug 76 Digging Deeper Into the Report, We Find A Compelling Justification — Three Slides
  • 75. 3/14/14 @EngageUG #engageug 77 2013 Serverwatch Report is Damning For Windows Servers The following three slides contain key quotes from the 2013 report on Linux growth and utilization over Windows, plus server adoption insight on the concluding slide Article: http://www.serverwatch.com/server-news/linux-adoption-c Cited Report: http://www.linuxfoundation.org/publications/linux-foundati
  • 76. 3/14/14 @EngageUG #engageug 2013 Serverwatch Report Quotes: 1-3 “Some 39 percent of the survey respondents indicated that in response to Windows 8, they will now use more Linux.”
  • 77. 3/14/14 @EngageUG #engageug 2013 Serverwatch Report Quotes: 2-3 “In 2010, the same report found that 31 percent of respondents were migrating to Linux from Windows. In 2013 that number has increased to nearly 40 percent.”
  • 78. 3/14/14 @EngageUG #engageug Linux Server Usage Keeps Growing ● 73% of respondents use Linux for mission-critical work ● 76% of enterprise cloud solutions too “This has been increasing year-over- year.” – Amanda McPherson, VP Marketing and Developer Services, Linux Foundation