VirtualBox Virtual Machine Plan

Linux at Lunch - dial in only, shared screen viewing limited - discussing the links provided



VirtualBox Strategy, Plan and Goals

http://johnmeister.com/linux/Notes/VirtualBox-VM-Plan

  1. SuSE 13.2
  2. Linux Mint 17.2
  3. Oracle Unbreakable
  4. Centos 7.x
  5. XP / office 2003
  6. Win7 / office 2003 / turbo tax
  7. server versions


Session #42 - November 25, 2015 (Wednesday) - update on Performance Tests; VirtualBox: SuSE on SuSE

Main pages for #42 presentation: http://johnmeister.com/linux/Microsoft/LoadTest-MacOSx.sh.txt update on performance testing
http://johnmeister.com/linux/Microsoft/LOADTEST-OS-COMPARISON.html
http://johnmeister.com/linux/Notes/VM_setup_SuSE_13.2/ALL.html
 Step-by-step screen shots of install of SuSE 13.2 Linux on VirtualBox Virtual Machine on SuSE Linux
exercises:  (use VirtualBox with two VMs, or Cygwin, or a Linux system) (continuing Q and A and review)
        the goals:   
    1) work with the command line and SSH between systems – learn basic Linux functions and shell commands
    2) later, build VMs for Windows testing and interoperability - demonstrate the use of Linux as a SECURE and reliable host for Microsoft
        - will build Win7 VM's for testing browsers and java by test team - showing stability of Linux as VM host/cost saver
        - will build various NON-networked Windows Server versions for testing (w2k8r2, w2k12 and w2k16)
    3) networking between 2 VM's but isolated from local network - Allow active testing of unapproved Operating Systems (win and linux)
    4) remote access from Microsoft to Linux system running a Microsoft system to permit active development and testing
REFERENCE notes and exercises FOR VirtualBox:
  1. http://johnmeister.com/linux/Notes/VirtualBox-notes.html
  2. http://johnmeister.com/linux/Intro-to-Linux/Slides/ALL.html
  3. http://johnmeister.com/linux/Notes/bashrc-simple.html
  4. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-1.html
  5. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-2.html
  6. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-with-VM-servers.html
  7. http://johnmeister.com/linux/Scripts/chksys.sh.html
  8. http://johnmeister.com/linux/Scripts/while-loop.sh.html
  9. http://johnmeister.com/linux/Notes/VM_setup_CENTOS_7/ALL.html - coming soon
  10. http://johnmeister.com/linux/Notes/Networking-btwn-VBox-VMs.html - coming later

note: there was no session November 18, 2015

Session #41 - November 11, 2015 - SHORT SESSION: VirtualBox - discussion continues

Short session today... starting 11:15, ending before noon... Volunteered for a Veterans' Day activity...
  1. http://johnmeister.com/linux/Notes/VirtualBox-notes.html
  2. http://johnmeister.com/linux/Intro-to-Linux/Slides/ALL.html
  3. http://johnmeister.com/linux/Notes/bashrc-simple.html
  4. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-1.html
  5. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-2.html
  6. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-with-VM-servers.html
  7. http://johnmeister.com/linux/Scripts/chksys.sh.html
  8. http://johnmeister.com/linux/Scripts/while-loop.sh.html


Session #40 - November 4 2015 - Q and A - VirtualBox - lab exercise

QandA - VirtualBox - lab exercises - review and exercises: (using VirtualBox with two VMs, or Cygwin, or a Linux system)
(continuing QandA and review) working with the command line once you have a VirtualBox Linux shell.
Linux command review and exercises: (using VirtualBox with two VMs, or Cygwin, or a Linux system)
http://johnmeister.com/linux/Notes/zypper-update-ps.html
http://johnmeister.com/linux/Notes/apt-get-update-upgrade.html

  1. http://johnmeister.com/linux/Notes/VirtualBox-notes.html
  2. http://johnmeister.com/linux/Intro-to-Linux/Slides/ALL.html
  3. http://johnmeister.com/linux/Notes/bashrc-simple.html
  4. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-1.html
  5. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-2.html
  6. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-with-VM-servers.html
  7. http://johnmeister.com/linux/Scripts/chksys.sh.html
  8. http://johnmeister.com/linux/Scripts/while-loop.sh.html


Session #39 - October 28, 2015 - using the VirtualBox - lab exercise

Linux command review and exercises: (using VirtualBox with two VMs, or Cygwin, or a Linux system)
  1. http://johnmeister.com/linux/Notes/VirtualBox-notes.html
  2. http://johnmeister.com/linux/Intro-to-Linux/Slides/ALL.html
  3. http://johnmeister.com/linux/Notes/bashrc-simple.html
  4. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-1.html
  5. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-2.html
  6. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-with-VM-servers.html
  7. http://johnmeister.com/linux/Scripts/chksys.sh.html
  8. http://johnmeister.com/linux/Scripts/while-loop.sh.html


Session #38 - October 21, 2015 - SSH One Command Setup, C programming Overview & CENTOS VirtualBox install

  1. ONE LINE SSH setup! http://johnmeister.com/linux/Notes/Setup-SSH-Key-on-ONE-line.html
  2. brief C programming overview: http://johnmeister.com/linux/Notes/C.html
  3. live SETUP CENTOS VM: http://johnmeister.com/linux/Notes/VirtualBox-notes.html


Session #37 - 14 October 2015 - Troubleshooting Overview

How do you solve system problems? What tools do you use? Is there a simple way of determining the problem?
http://johnmeister.com/linux/Notes/Systems-Adminstration-Overview.html

Session #36 - 7 October 2015 - VirtualBox Overview

VirtualBox basics - setup and uses http://johnmeister.com/linux/Notes/VirtualBox-notes.html

Session #35 - 30 September 2015 - Systems Administration Overview

so you think you want to be a Sys Admin? http://johnmeister.com/linux/Notes/Systems-Adminstration-Overview.html

Session #34 - 9 September 2015 - System Configuration Files

What files and directories are important? http://johnmeister.com/linux/Notes/System-Configuration-Details.html

Session #33 - 2 September 2015 - GRUB and Wrapper Scripts

  1. http://johnmeister.com/linux/Notes/date-suffix.html
  2. http://johnmeister.com/linux/Scripts/wrapper-script.html
  3. http://johnmeister.com/linux/Notes/grub.cfg-example.html
  4. http://johnmeister.com/linux/Notes/grub2-notes.html


Session #32 - 19 August 2015 - How to Dual Boot Microsoft Windows 10 and SUSE Linux 13.2

  1. http://johnmeister.com/linux/Microsoft/Dual-Boot-Win10-SUSE13.2/


Session #31 - 12 August 2015 - Security Basics

The vulnerabilities, exploits, attack vectors, actual risks and payoffs
  1. http://johnmeister.com/linux/Notes/SecurityOverview/


Session #30 August 5, 2015 - CSV, XML, Spreadsheets and the use of AWK to filter output

  1. https://tools.ietf.org/rfc/rfc4180.txt
  2. http://www.w3schools.com/xml/
  3. https://msdn.microsoft.com/en-us/library/bb387090.aspx
  4. http://johnmeister.com/linux/Commands/awk-example.html


Session #29 July 8, 2015 - performance analysis tools

http://johnmeister.com/linux/Notes/Tuning-Linux.html


Session #28 June 24, 2015 - as requested: REAL WORLD SCRIPTING

practical scripts: creating, dating, renaming, numbering and managing files
  1. http://johnmeister.com/linux/Scripts/Lab-exercise-create-text-man-pages-for-vi-practice/ - a basic loop to create man pages for plain text reading
  2. http://johnmeister.com/linux/Scripts/man-page-create-textfiles.sh.txt - the script for the exercise above
  3. http://johnmeister.com/linux/Scripts/replace-spaces-plus.txt - using tr, sed and mv to change case and/or remove spaces in file names
  4. http://johnmeister.com/linux/Scripts/removing-spaces-and-special-characters.html - expansion of prior script, includes dealing with special characters
  5. http://johnmeister.com/linux/Scripts/filedate.sh.html - using grep, sort, awk, sed to create a list of files to be "mv"'d (renamed) with a date PREFIX for sorting
  6. http://johnmeister.com/linux/Scripts/number-file-names.sh.html - create a number prefix for files to aid in sorting, used for mp3 files.
  7. http://johnmeister.com/linux/Scripts/mail-list.sh.html - use for loop to send mail/files to several friends one by one
  8. http://johnmeister.com/linux/Scripts/mk-webpage-2015-05-08.txt - create a web page in a directory of pictures
  9. http://johnmeister.com/linux/Scripts/mk-timelapse-avi-on-2-sites-2015-05-08.txt - one of the scripts to create time lapse videos from pictures
  10. http://johnmeister.com/linux/Scripts/chksys.sh.html - check on the health of your system, including disk usages (drives fill up fast with images)



Session #27 June 17, 2015 - server name link changes, drive fail/system rescue

  1. http://johnmeister.com/linux/Notes/Update-amazon-ad-links.html
  2. http://johnmeister.com/linux/Notes/failing-drive-system-rescue.html


Session #26 June 10, 2015 - Networking basics, analysis/tools and differences

  1. http://johnmeister.com/linux/Notes/basic-networking.html
  2. http://johnmeister.com/linux/Notes/networking-analysis-and-tools.html
  3. http://johnmeister.com/linux/Notes/networking-differences-by-distros.html
    differences in network and basic commands between SuSE, MUD and RedCents) (MUD=Mint, Ubunutu, and Debian)


Session #25 June 3, 2015 - /var/log/messages - errors, fixing... attacks, stopping... good networks...

  1. http://johnmeister.com/linux/Notes/slapd-unsupported-operation.html
  2. http://johnmeister.com/linux/Notes/using-iptables-to-block-spammers-or-attackers.html
  3. http://johnmeister.com/linux/Notes/Network-Analysis-and-Observations.html


NOTE: NO CLASS on May 27, 2015

insomnia prevention classes resumes on 3 June 2015 with Session #25!

Session #24 May 20, 2015 - NOTE: (no class on the 27th)

conclusion: Detailed analysis of TimeLapse scripts, page creation and crontab

  1. http://johnmeister.com/linux/Notes/Setup-TimeLapse-Creation.html - what failed...
  2. describe the troubleshooting process used to learn why the cron job failed and how a "hunch" solved a "newly created" problem.
  3. http://johnmeister.com/linux/Notes/ManagingFiles-ssh-rsync.html setup of ssh, using rsync... or scp... and
  4. http://johnmeister.com/linux/Notes/wget-n-crontab.html when to use wget...
  5. http://johnmeister.com/linux/Notes/ftp-fixes-for-vsftp.conf.html and when to use ftp.
  6. http://johnmeister.com/linux/Microsoft/Setup-TaskManager-AutoReboot.html Comparing a Microsoft captive user interface (GUI) "cron job" to cron, at and nohup.
  7. in other news: headhunter emailed, looking for: Intermediate to Expert (command line heavy) knowledge of one or more of the following Unix operating systems:
    70%: AIX v.5.3 and/or 7.1 - 25%: SUSE (v.11 Enterprise) - 5%: Red Hat Enterprise Linux (v.11 (ed.???) Working with Core Technologies (Overall 10%):
    Working familiarity with: Apache Server and/or Tomcat - OpenSSH (Unix) and SSL (Windows + Unix; configuration + troubleshooting)
    - S/FTP (Unix-based configuration + troubleshooting) - Moderate shell scripting ability (Perl considered a plus)
  8. references: http://johnmeister.com/linux/Commands/MAN/man.chmod.txt, http://johnmeister.com/linux/Commands/MAN/man.at.txt, http://johnmeister.com/linux/Commands/MAN/man.nohup.txt,
    http://johnmeister.com/linux/Commands/MAN/man.ftp.txt, http://johnmeister.com/linux/Commands/MAN/man.ssh.txt, http://johnmeister.com/linux/Commands/MAN/man.scp.txt,
    http://johnmeister.com/linux/Commands/MAN/man.ssh.txt, http://johnmeister.com/linux/Commands/MAN/man.wget.txt, http://johnmeister.com/linux/Commands/MAN/man.rsync.txt,
    http://johnmeister.com/linux/Commands/MAN/man.bash.txt, etc...

Session #23 May 13, 2015 - Detailed analysis of TimeLapse scripts, page creation and crontab

http://johnmeister.com/linux/Notes/Setup-TimeLapse-Creation.html

Session #22 May 6, 2015 - follow up of LVM, discussion of scripts

http://johnmeister.com/linux/FileSystems/setup-LVM.html

Session #21 Apr 29, 2015 - resize2fs and LVM

http://johnmeister.com/linux/FileSystems/setup-LVM.html

Session #20 Apr 22, 2015 - LVM configuration

http://johnmeister.com/linux/FileSystems/setup-LVM.html

Session #19 Apr 15, 2015 - ftp, vsftp, scp, ssh


Session #18 - Apr 8, 2015 - Systemd

http://johnmeister.com/linux/Notes/systemd-info.html systemd and
the general boot up process of Linux systems. (comparing /etc/init.d/)
for additional reading: https://www.novell.com/docrep/2015/01/systemd_in_suse_linux_enterprise_12_white_paper.pdf

Session #17 - Apr 1, 2015 - proxy/vnc

http://johnmeister.com/linux/Notes/vnc-setup.html
http://johnmeister.com/linux/Notes/SSH-setup-and-details.html
http://johnmeister.com/linux/Scripts/run-now-on-all-hosts.sh.html

Session #16 - Mar 25, 2015 - ssh, scp, and rsync

use of ssh to examine, monitor and scp to copy files, create a script and use rsync
to manage several systems from one. Walk through the process and establish a wrapper script to make archive copies on each system.
http://johnmeister.com/linux/Notes/SSH-setup-and-details.html
http://johnmeister.com/linux/Scripts/run-now-on-all-hosts.sh.html

Session #15 - Mar 18, 2015 - systemd, tree, ssh and scp

discussion on systemd, tree command, use ssh to examine and scp to copy
files, create a script and use rsync to manage several systems from one.

Session #14 - Mar 11, 2015 - general discussion on Linux shells, commands - open discussion with group


Session #13 - Mar 4, 2015 - 1) general Linux info, 2) basics, and 3) advanced topics


Session #12 - Feb 25, 2015 - The power of the command line: grep

Discussion of GREP: example: grep -v ^[[:space:]]$ and grep -v [[:space:]]

Session #11 - Feb 18, 2015 -The basics of Apache2 configuration, sed examples and use.

1) http://johnmeister.com/linux/Notes/?C=M;O=D (general updates can be seen near the top of this page)
2) http://LinuxMeister/Notes/basic-Apache-setup.(basic install and config, and major config files)
3) http://LinuxMeister/Notes/apache-tricks.(virtual server configurations and settings)
4) http://johnmeister.com/linux/Notes/apache-tomcat-topic-list.(the list of modules used for development purposes)
5) http://johnmeister.com/linux/Notes/setup-LAMP-on-MINT.(adding apache to Ubuntu, Debian or Mint - not there by default)

Session #10 - Feb 11, 2015 - Using Linux to Analyze Traffic

Session #10 - Feb 11, 2015 - Using Linux to Analyze Traffic- wget, crontab, ls , vi, mencoder, sed, grep, cat, tac, lsof, netstat.

1) http://johnmeister.com/linux/Notes/?C=M;O=D
2) http://johnmeister.com/tech/Traffic/TUES-PM/00_Tues-PM.html
3) http://johnmeister.com/linux/Notes/wget-n-crontab.html
4) http://johnmeister.com/tech/Traffic/
5) http://johnmeister.com/tech/Traffic/files.txt
6) http://johnmeister.com/tech/Traffic/Make-Commute-pages.txt
7) http://johnmeister.com/linux/Notes/setup-in-irfanview.jpg
8) http://johnmeister.com/linux/Notes/mencoder-info.html
9) http://johnmeister.com/linux/Notes/zypper-install-mencoder.html
10) http://johnmeister.com/linux/Notes/cat-tac-and-sed.html
11) http://johnmeister.com/linux/Notes/Network-Analysis-and-Observations.html

Session #9 - Feb 4, 2015 - SSH, rsync, interoperability, and wrapper scripts to manage data across several computers.

Session #9 - Feb 4, 2015 - SSH, rsync, interoperability, and wrapper scripts to manage data across several computers.

1) http://johnmeister.com/linux/Notes/SSH-setup-and-details.html
2) http://johnmeister.com/linux/Notes/RSYNC-cmd.html
3) http://LinuxMeister/Notes/ManagingFiles-ssh-rsync.html
Will discuss details on how to configure directory structure on Windows and Linux systems to synchronize a set of Files on several computers.
Will discuss setup of bi-directional ssh passwordless connection between two Linux systems, and RSYNC configuration.
Will discuss wrapper scripts to make backup copies for files that will be rotated and replaced, preventing redundant or corrupt files.
http://johnmeister.com/linux/Intro-to-Linux/FileMgtPlan.txt

If we have time we'll also discuss WinSCP and how it can be used from Microsoft systems. Emphasis will be on the Linux aspect of
ssh and rsync, but also on general file management and config mgt for end users.
If time, will discuss SSH tunneling through firewalls/VPNs/NATs: http://johnmeister.com/linux/Notes/ssh-tunnel.jpg

NOTE: updated Gparted page from last week: http://johnmeister.com/linux/Notes/Gparted-for-Recovery/ALL.html


Session #8 - 28 January 2015 - discuss the use of cal, grep, tee and the use of a simple loop in a shell

Work with cal, grep, and a do-while loop in a BASH script to determine if it there is truth to the internet claim that:
December 2012 having 5 Saturdays, 5 Sundays and 5 Mondays only happened once every 823 years!
Commands covered: cal, cat, man, more, ls, grep, tee and basic do while loops and tests in BASH
http://LinuxMeister/Intro-to-Linux/28jan2015/grep.help.txt
http://johnmeister.com/linux/Scripts/BUST-MYTHS-WITH-CAL-GREP/ http://johnmeister.com/linux/Commands/grep-awk-uniq.
http://johnmeister.com/linux/Overview/LinuxOverview.pdf
Brief discussion on recovery of /home on a failing or corrupted system:
http://johnmeister.com/linux/Notes/Gparted-for-Recovery/ALL.
http://LinuxMeister/Intro-to-Linux/28jan2015/how-to-preserve-home.txt
tar cvfz home.tar /home(note: will need to be root or use sudo, make sure you have enough space to create the file)

Session #7 - 21 January 2015

http://opensuse-guide.org/installation.php https://software.opensuse.org/132/en https://en.opensuse.org/Portal:Installation
https://activedoc.opensuse.org/book/opensuse-start-uphttps://activedoc.opensuse.org/book/opensuse-start-up/chapter-1-installation-quick-start
http://johnmeister.com/linux/http://johnmeister.com/linux/Overview/LinuxOverview.pdf
https://www.smashwords.com/profile/view/johnmeister https://www.smashwords.com/books/view/505731

Session #6 - 14 January 2015

http://LinuxMeister/Intro-to-Linux/ misc notes and screenshots found here… not organized.
Files created during session found here. In particular http://LinuxMeister/Intro-to-Linux/14jan2015/reg-exp-users.txt
demonstrated the use of “script� and the creation of the http://LinuxMeister/Intro-to-Linux/14jan2015/reg-exp-users.RAW file,
which was then filtered using cat {filename}.RAW | col -b > {filename}.txt
Regular Expressions and the power of the command line.Continued demonstrating filtering. http://LinuxMeister/Intro-to-Linux/
Demonstration of: grep, sed, awk, perl, wc -l, cat, strings, tee, head, tail, col -b, echo, man, --help, ifconfig, dmesg and which

Session #5 - 7 January 2015 http://LinuxMeister/Intro-to-Linux/

Demonstration of: grep, sed, awk, perl, wc -l, cat, strings, tee, head, tail, col -b, echo, man, --help, ifconfig, dmesg and which

SESSION #4 - December 17, 2014: pkg mgt, rsync, wine, mount

http://johnmeister.com/linux/PDF-info/PackageManagementCheatSheet.pdf
http://johnmeister.com/linux/FileSystems/newdisk-setup.txt http://johnmeister.com/linux/Notes/USB-live-Gparted-setup.txt
http://johnmeister.com/linux/Notes/Setup-SuSE-13.2-select-screens/ALL.
http://johnmeister.com/linux/Notes/zypper-installs. http://johnmeister.com/linux/FileSystems/setup-LVM.txt
http://johnmeister.com/linux/Commands/rsync-example-man. RSYNC basics
http://johnmeister.com/linux/FileSystems/mount-external-drive-rysnc.txt
http://johnmeister.com/linux/FileSystems/rsync-disks-cron.sh.txt
http://johnmeister.com/linux/Notes/Firefox-about-support-Tools. Firefox about features showing add-ons, in the URL type: about:support
http://johnmeister.com/linux/Notes/wine-examples-manpage. using wine - some examples and the man page

SESSION #3 - December 10, 2014 - basic commands

discuss ssh files, show how to use Gparted, exercise on real world Linux commands, discuss VNC setup
continue discussion on regularly used commands, e.g. grep, sed, awk, sort, uniq, file permissions and chmod, chown
exercise #2 - real world examples of commands and file permissions.
---------------------------------------------------------------------------- Links:
  1. http://johnmeister.com/linux/Overview/
  2. http://johnmeister.com/linux/Intro-to-Linux/Special-Characters.pdf
  3. http://johnmeister.com/linux/Notes/bashrc-the-dotfile.html
  4. http://johnmeister.com/linux/Notes/SSH-setup-and-details.html
  5. http://johnmeister.com/linux/Notes/ssh-authorized-keys-setup-example.html
  6. http://johnmeister.com/linux/Notes/Gparted-for-Setup-or-Rescue.html
  7. http://johnmeister.com/linux/Notes/vnc-setup.html
  8. http://johnmeister.com/linux/Notes/Real-world-Linux-Commands.html
  9. http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-2.html


SESSION #2 - December 3, 2014 - SAW:"simple always works"

provided link to exercise #1, discussed environment (.bashrc), path, chmod, discussed "SAW" -
SAW:"simple always works", History files viewed with sort, uniq, and how to create notes for reference: ls, sort, grep, uniq, wc -l
(after using a command, use history recall, add echo and quotes around it, and then append to ~/bin/cool-commands.txt e.g.
echo "ls *.jpg > ALL.html ; perl -pi -e 's/(.*)/<img src="$1"><BR>$1<HR>/g' ALL.html ; perl -pi -e 's/<img src=""><BR><HR>//g' ALL.html ; cat ALL.html" >> ~/bin/cool-commands.txt

----------------------------------------------------------------------------
Links: http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-1.html
(do this on your system, use "script exercise-1.raw",
when finished type exit, then cat exercise-1.raw | col -b > exercise-1.txt - then edit in vi and save)
http://johnmeister.com/linux/Scripts/chksys.sh.html (use the vi editor to create and run on your system)
http://johnmeister.com/linux/Scripts/man-page-create-textfiles.sh.txt (mkdir and cd LAB, then create this script in vi and run)
http://johnmeister.com/linux/Commands/grep-awk-uniq.html (the output of the script above is needed to use the commands, YMMV, counts may be different)


SESSION #1 - November 26, 2014 - OVERVIEW

	 provided overview of Linux using the pdf: http://johnmeister.com/linux/Overview/LinuxOverview.pdf  
	5 basic commands: man, ls (ls -al, ls -Al), cd, pwd, more 
	discussed .bashrc and showed a few script examples, talked about "script"
----------------------------------------------------------------------------
Links:	http://johnmeister.com/linux/Overview/LinuxOverview.pdf    (print out and use as a guide)
	http://johnmeister.com/linux/Intro-to-Linux/Special-Characters.pdf (print out and keep as a guide)
	http://johnmeister.com/linux/Notes/bashrc-the-dotfile.html  (copy and build your own .basrhc for Cygwin or Linux)
	http://johnmeister.com/linux/Scripts/chksys.sh.html  
	http://johnmeister.com/linux/Intro-to-Linux/lab-exercise-1.html  (use the commands and the vi editor)


THE CORE MATERIAL:The power of the command line - Simply Linux: Basics will work our way through the Linux book (Simply Linux: Basics) under construction based on http://johnmeister.com/linux/Overview/ http://johnmeister.com/linux/Overview/LinuxOverview.pdf (print out and use as a guide) http://johnmeister.com/linux/Overview/Linux-PowerPoint-2004-overview.pdf http://johnmeister.com/linux/Notes/Real-world-Linux-Commands. http://johnmeister.com/linux/Intro-to-Linux/Special-Characters.pdf (print out and use as a guide) http://johnmeister.com/linux/Notes/bashrc-the-dotfile. (copy and build your own .basrhc for Cygwin or Linux)

ONE HOUR Linux SESSIONS


ebooks by john:
  • https://www.smashwords.com/books/view/505731
  • https://www.smashwords.com/profile/view/johnmeister

  • the past 2014 and 2015 sessions: (not all links active, current or working, YMMV)
     
    ##########################################################################################################
    ##########################################################################################################
    SESSION 4: December 17, 2014
    	discuss file systems (fdisk, fsck, dd, rsync,, backup strategies, LVM, file naming conventions, 
    	installation of Linux, dual-booting and other practical ways of using Linux).  and some wine... 
    	exercise #3 - configuring a system at home - download Linux Mint MATE 17, SuSE 13.2, or Centos 7 and configure apps using apt-get, zypper or yum
    ----------------------------------------------------------------------------
    Links: 
    1. http://johnmeister.com/linux/FileSystems/newdisk-setup.txt
    2. http://johnmeister.com/linux/Notes/USB-live-Gparted-setup.txt
    3. http://johnmeister.com/linux/Notes/Setup-SuSE-13.2-select-screens/ALL.html
    4. http://johnmeister.com/linux/Notes/zypper-installs.html
    5. http://johnmeister.com/linux/FileSystems/setup-LVM.txt
    6. http://johnmeister.com/linux/Commands/rsync-example-man.html RSYNC basics
    7. http://johnmeister.com/linux/FileSystems/mount-external-drive-rysnc.txt
    8. http://johnmeister.com/linux/FileSystems/rsync-disks-cron.sh.txt
    9. Firefox about features showing add-ons, in the URL type: about:support
    10. using wine - some examples and the man page
    ########################################################################################################## Session #5 WEDNESDAY 7 January 2015 Regular Expressions and the power of the command line. Demonstration of: grep, sed, awk, perl, wc -l, cat, strings, tee, head, tail, col -b, echo, man, --help, ifconfig, dmesg and which ########################################################################################################## Session #6 WEDNESDAY 14 January 2015 class notes not on line, but used "script" to demonstrate regular expression, then filtered using cat {filename}.RAW | col -b > {filename}.txt Regular Expressions and the power of the command line. Continued demonstrating filtering. Demonstration of: grep, sed, awk, perl, wc -l, cat, strings, tee, head, tail, col -b, echo, man, --help, ifconfig, dmesg and which ##########################################################################################################
     ##########################################################################################################
    Session #7  Wednesday 21 January 2015 - discussed the installation process of Linux  
    Then worked with grep to filter various strings, covered the "grep -v " option to exclude a string, and also the -A # and -B # to included lines after or before.
    Commands covered:  cat, man, more, ls, grep and regular expression filtering.
    
    Context Line Control
           -A NUM, --after-context=NUM
                  Print NUM lines  of  trailing  context  after  matching  lines.   Places  a  line
                  containing a group separator (--) between contiguous groups of matches.  With the
                  -o or --only-matching option, this has no effect and a warning is given.
    
           -B NUM, --before-context=NUM
                  Print NUM lines  of  leading  context  before  matching  lines.   Places  a  line
                  containing a group separator (--) between contiguous groups of matches.  With the
                  -o or --only-matching option, this has no effect and a warning is given.
    
    WRAPPER SCRIPT:
    	--> more update-file.sh
    	cp file.html .TEST/`/bin/date +%Y%b%d-%H.%M`-file.html
    	vi file.html
    	cp file.html .TEST/`/bin/date +%Y%b%d-%H.%M`-file.html
    
    
    1. http://opensuse-guide.org/installation.php
    2. https://software.opensuse.org/132/en
    3. https://en.opensuse.org/Portal:Installation
    4. https://activedoc.opensuse.org/book/opensuse-start-up
    5. https://activedoc.opensuse.org/book/opensuse-start-up/chapter-1-installation-quick-start
    6. http://johnmeister.com/linux/
    7. http://johnmeister.com/linux/Overview/LinuxOverview.pdf
    8. https://www.smashwords.com/profile/view/johnmeister
    9. https://www.smashwords.com/books/view/505731
    Background needed: (remember special characters, reserved names and commands... configure environment first)
  • http://johnmeister.com/linux/Intro-to-Linux/Special-Characters.pdf
  • http://johnmeister.com/linux/Notes/bashrc-the-dotfile.html
  • http://johnmeister.com/linux/Notes/Real-world-Linux-Commands.html
  • http://johnmeister.com/linux/Commands/grep-awk-uniq.html ##########################################################################################################
  •  ##########################################################################################################
    Session #8  Wednesday 28 January 2015 - discuss the use of cal, grep, tee and the use of a simple loop in a shell 
    Worked with cal and grep to determine if it is true that December 2012 having 5 Saturdays, 5 Sundays and 5 Mondays only happened once every 823 years!
    Commands covered:  cal, cat, man, more, ls, grep, tee and basic do while loops and tests in BASH
    
    
    1. http://johnmeister.com/linux/Notes/Gparted-for-Setup-or-Rescue.html
    2. Brief discussion on recovery of /home on a failing or corrupted system: tar cvfz home.tar /home (note: will need to be root or use sudo, make sure you have enough space to create the file)
    3. http://johnmeister.com/linux/Commands/use-of-grep.html
    4. http://johnmeister.com/linux/Scripts/BUST-MYTHS-WITH-CAL-GREP/
    5. http://johnmeister.com/linux/Overview/LinuxOverview.pdf
    ##########################################################################################################
    
    ##########################################################################################################
    
    Background needed: (special characters, keywords, reserved names and commands... configure environment first)
  • http://johnmeister.com/linux/Intro-to-Linux/Special-Characters.pdf
  • http://johnmeister.com/linux/Notes/bashrc-the-dotfile.html
  • http://johnmeister.com/linux/Notes/Real-world-Linux-Commands.html
  • http://johnmeister.com/linux/Commands/grep-awk-uniq.html To cover in future sessions: vi editor, file management, regular expressions, scripting, file systems, user management, samba (nfs), ssh tunnels, proxies and nats, installation, dual booting, backup, recovery, rsync, tar files, updates, upgrades and patches, interoperability, web server, mail server, X-windows and desktops, firewalls, hackers, forensic analysis and log files, printers, networking, wireless networks, WINE, thunderbird, mozilla firefox, OpenOffice, NX Nomachine ##########################################################################################################

  • -- Linux commands, scripts, tools and systems administration --

    SEARCH and Navigation TOOL
    Google     select a domain to search or visit.
    (use back key to return )

    johnmeister.com/jeep/sj
    JeepMeister
    "Jeep is America's
    only real sports car."
    -Enzo Ferrari
    JohnMeister.com LinuxMeister
    MeisterTech FotoMeister.us
    BibleTech the rest of the web

    For the best synthetic lubricants, filters, and other
    automotive products use the free AMSOIL product guide,
    simply click and enter your year, make and model.
    visit AMSOIL's site, or call 1-800-956-5695, please use customer #283461
    shop amazon with these links, support this website... thanx! CAMERAS: Nikon Lumix Canon Digital SLRs Camera Lenses
    Computers: Toshiba Panasonic Toughbook Apple Dell
    Diesel Engines --- BioDiesel info
    Grand Wagoneer parts Jeep J10 accessories Automotive Repair Books

    books by john:
    For the best synthetic lubricants, filters, and other
    automotive products use the free AMSOIL product guide,
    simply click and enter your year, make and model.
    Buy AMSOIL at Northland Diesel in Bellingham, WA
    assorted links
    Everett weather -- traffic --- News -- Middle East
    NASB/KJV-- South East Asian Missions -- BibleTech -- Voice of the Martyrs

    SJ - 1962-1991

    XJ - 1984-2001

    WJ - 1999-2004

    KJ - 2002-2007

    WK - 2005-2010

    Find the recommended
    AMSOIL synthetics
    for your Jeep

    CJ-10A - 1984-1986

    Jeepsters

    MJ - 1984-1992

    Willys - 1946-1965

    Other Jeeps (FC-170)