IT Infrastructure I/II: Design and Practices
Helpful Web Pages
Here Some interesting testing articles and information:
- Linux
- Raspberry Pi
- dig
- vi/vim
- vi-vim cheatsheets
- vim game to help learn shortcuts
Security
- NPR: In Cyberwar, Software Flaws Are A Hot Commodity
- http://www.npr.org/2013/02/12/171737191/in-cyberwar-software-flaws-are-a-hot-commodity
- Hak5
- http://hak5.org/
- Hak5 Linux 101
- Wildcards, hard links and symbolic links
- Filenames, history and shortcuts
- Redirection of standard out
- Cat and standard input
- Grep and pipes
- Echo
- Expansions
- Quotes
- Favorite tips and tricks
- Resources
- Keyboard shortcuts
- History
- How to Use Permissions (~8:15)
- How to Change Your Identity
- Hak5 Bash Basics
- Bash Basics: Ping, Date, and While
- Bash Basics: Turn Long Commands into Scripts
- Bash Basics: Keep History Free from Passwords
- Bash History Tricks
- Bash Sub without SED
- Linux bash tricks:
- Hak5 SSH Info
- Hak5 Wireless 101
Note: the first link is to the original, the second link is to a file copy if the original link doesn't work
- The Six Modes of Wireless (~7:30)
- 802.11 Protocols (~9:30)
- Channels and Interference (~7:00)
- 802.11n (~6:30)
- 802.11 Frames (~9:00)
- Beacon Frames and Injection (~8:00)
- Frame Analyzing (~10:00)
- Probe Requests and Responses (~10:00)
- Hak5 Misc Wireless
- Packet Sniffing 101: Promiscuous Mode
- MAC 101:Fundamentals and Spoofing
- Hak5 NMap
- NMap 101: OS Detection
- NMap 101: Timing Options Part 1
- NMap 101: Timing Options Part 2
- HakTip 102 – NMap 101: Fun With Firewalls!
- HakTip 103 – NMap 101: How to Output to a File
- HakTip 104 – NMap 101: How to Troubleshoot Scans
- HakTip 105 – NMap 101: The Nmap Scripting Engine
- HakTip 106 – NMap 101: The Zenmap Interface
- Haktip 107 – NMap 101: How to Read a Zenmap Output
- Haktip 108 – NMap 101: NDiff and Your Tips!
- Hak5 Wireshark 101 Series
- Wireshark 101: How to Wireshark
- Wireshark 101: The OSI Model
- Wireshark 101:
- Articles
Note, these references pop a new page.
- Other
- vi-vim cheatsheets
- vim game to help learn shortcuts
- USB drive won't mount in VM
- In the VM:
- Check if there is a group member named plugdev
- Ensure each user needing USB is a member of that group
- If not add user(s) to plugdev
- Restart HAL (Hardware Abstraction Layer)
- /etc/init.d/hal restart
- Or restart the VM
- Adding a USB drive to your CLI only Debian
- Plug USB into the workstation
- Ensure it shows in the workstation's "File System"
- It should show in media as the USB device name
- Start your Debian VM
- At the top of VirturalBox click on Devices, then USB Devices, then check USB2. Flash Disk
- The USB device should disappear from the Workstation
- As root:
- Run fdisk: fdisk -l
- Look for a new device, it is usually /dev/sdb
- Note sda is usually your primary disk drive(s)
- There may or not be a number at the end
- Create a directory for it to mount to: mkdir /mnt/sdb1
- Edit /etc/fstab so it will automount:
- add: /dev/sdb /mnt/sdb1 msdos defaults 0 0
- where:
- dev/sdb is the device found with fdisk
- /mnt is the directory you created
- msdos is the FS reported by fdisk
- defaults and the 2 0s are standard options
- Mount the USB: mount -a
- that mounts all devices as listed if fstab\
- To do a one-time mount: mount /dev/sdb /mnt/sdb1
- Notes: if you remount the USB later the device may change, eg. sdb may be sdc or something else.
Always check.
- Fixing CentOS VM repository access
- Make a backup copy, then edit /etc/yum.repos.d/CentOS-Base.repo
- There are 4 sections with a variable called mirrorlist
- Those same sections have each have a commented out baseurl entry
- Make copies of each to back them up incase of error editing
- In nano <Ctrl>-k cuts, <Ctrl>-u pastes
- Uncomment each of the copies and edit the entry to read:
- baseurl=http://lab302-repo.hades.lab/centos/Packages
- Save the file and test with yum or the Software option in Applications --> System Tools
- It may take a few seconds to load the list of packages.
- The original yum.repos.d works on the internet, the one you modify will only work in the lab
- You might want to make a template of each to allow updates at home or in the lab
- An untested copy of yum.repos.d's CentOS-Base.repo
has been placed in http:/lab302-web
- Look in CentOS additional and get the file there
- Don't forget to back up your original
Last updated Friday, August 25, 2006