SlideShare a Scribd company logo
1 of 14
Download to read offline
This document is a result of work by the Network Startup Resource Center (NSRC at http://www.nsrc.org). This document may be freely
copied, modified, and otherwise re-used on the condition that any re-use acknowledge the NSRC as the original source.
DNS/DNSSEC Workshop
A few UNIX basics
Our chosen platform
•  FreeBSD 9.x 64 bit
– UNIX OS, BSD variant
– 30 year history
– no GUI, we administer using SSH
•  There are other platforms you could use:
– Ubuntu, Debian, CentOS/RedHat, …
•  This isn’t a UNIX admin course
– Worksheets are mostly step-by-step
– Please help each other or ask us for help
Some things we’ll need to do…
Be root when necessary: sudo <cmd>
Install packages:
pkg add <package_name>
Edit files:
sudo ee /etc/motd
sudo vi /etc/motd
Installed editors include ee, jed, joe and vi*
vi editor
•  The default editor for all
UNIX systems
•  Can be difficult to use
•  If you know it and prefer to
use vi please do
•  We provide a PDF
reference in the materials
on the workshop wiki
Other editors
•  ee
–  ESC brings up the editor menu
–  Cursors work as you expect
•  jed
–  F10 brings up the editor menu
–  Cursors work as you expect
•  joe
–  Ctrl-k-h brings up the editor menu
–  Ctrl-c aborts
–  Cursors work as you expect
Other tools
Terminate foreground program: CTRL+C
$ ping yahoo.com
PING yahoo.com (67.195.160.76): 56 data bytes
64 bytes from 67.195.160.76: icmp_seq=0 ttl=45 time=221.053 ms
64 bytes from 67.195.160.76: icmp_seq=1 ttl=45 time=224.145 ms
^C ç here press CTRL + C
Browse the filesystem:
cd /etc
ls
ls -l
Rename and delete files
mv file file.bak
rm file.bak
Starting and stopping services
•  Standard method
sudo service named [stop|start|
restart]
Check for a process by name
• ps auxwww | grep http
Viewing files
•  Sometimes files are viewed through a
pager program (“more”, “less”, “cat”).
•  Examples:
– cat /etc/motd
– less /usr/local/etc/nagios/nagios.cfg-sample
•  Space bar for next page
•  “b” to go backwards
•  “q” to quit
•  “/” and a pattern (/text) to search
Troubleshooting: Logfiles
•  Log files are critical to solve problems. They reside
(largely) in /var/log/
•  Some popular log files include:
/var/log/messages
/var/log/httpd-error.log
/var/log/maillog
/etc/namedb/log/* (this class only)
•  To view the last entry in a log file:
tail /var/log/messages
•  To view new entries as they happen:
tail –f /var/log/messages
Connecting via SSH to
machines
•  Login to your virtual machine using ssh
•  On Windows use putty.exe - download from:
http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe
or
http://noc.ws.nsrc.org/
•  Connect as user “adm” to:
auth1.grpX => 10.10.X.1
auth2.grpX => 10.10.X.2
resolv.grpX => 10.10.X.3
•  where “X” is your group number.
•  The password is given in class.
Logging in
•  Linux/MacOS
–  First, open a terminal, then:
•  ssh adm@auth1.grpX.dns.nsrc.org
•  Windows
–  Putty (or other SSH program) connect to:
•  auth1.grpX.dns.nsrc.org
1.  As user ”adm”
2.  Accept the key
3.  Repeat for resolv.grpX and auth2.grpX (if configured)
•  “X” is the number of your group
After you are logged in…
•  Experiment with the ee editor
– … or vi or joe or jed if you prefer
•  Edit the “message of the day” to identify
your virtual machine as yours:
– sudo ee /etc/motd
•  Log out and log in again to see your
changes. Repeat this for each virtual
machine…
Questions?
?

More Related Content

What's hot

Basic linux commands
Basic linux commands Basic linux commands
Basic linux commands Raghav Arora
 
The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems Ioanna Tsalouchidou
 
Hadoop HDFS Detailed Introduction
Hadoop HDFS Detailed IntroductionHadoop HDFS Detailed Introduction
Hadoop HDFS Detailed IntroductionHanborq Inc.
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic CommandsHanan Nmr
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command LineAnuchit Chalothorn
 
Basic command ppt
Basic command pptBasic command ppt
Basic command pptRohit Kumar
 
Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File Systemelliando dias
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commandsSagar Kumar
 
Important Linux Commands
Important Linux CommandsImportant Linux Commands
Important Linux CommandsArun Sharma
 
Introduction to-linux
Introduction to-linuxIntroduction to-linux
Introduction to-linuxkishore1986
 
Storage Systems for big data - HDFS, HBase, and intro to KV Store - Redis
Storage Systems for big data - HDFS, HBase, and intro to KV Store - RedisStorage Systems for big data - HDFS, HBase, and intro to KV Store - Redis
Storage Systems for big data - HDFS, HBase, and intro to KV Store - RedisSameer Tiwari
 
Samba power point presentation
Samba power point presentationSamba power point presentation
Samba power point presentationMd Maksudur Rahman
 
Distributed file systems (from Google)
Distributed file systems (from Google)Distributed file systems (from Google)
Distributed file systems (from Google)Sri Prasanna
 
Basic linux commands for bioinformatics
Basic linux commands for bioinformaticsBasic linux commands for bioinformatics
Basic linux commands for bioinformaticsBonnie Ng
 
[Perforce] Replication - Read Only Installs to Fully Filtered Forwarding
[Perforce] Replication - Read Only Installs to Fully Filtered Forwarding[Perforce] Replication - Read Only Installs to Fully Filtered Forwarding
[Perforce] Replication - Read Only Installs to Fully Filtered ForwardingPerforce
 

What's hot (20)

Basic linux commands
Basic linux commands Basic linux commands
Basic linux commands
 
Interacting with hdfs
Interacting with hdfsInteracting with hdfs
Interacting with hdfs
 
1 technical-dns-workshop-day1
1 technical-dns-workshop-day11 technical-dns-workshop-day1
1 technical-dns-workshop-day1
 
The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems The Chubby lock service for loosely- coupled distributed systems
The Chubby lock service for loosely- coupled distributed systems
 
Fluentd and WebHDFS
Fluentd and WebHDFSFluentd and WebHDFS
Fluentd and WebHDFS
 
Tinydns and dnscache
Tinydns and dnscacheTinydns and dnscache
Tinydns and dnscache
 
Hadoop HDFS Detailed Introduction
Hadoop HDFS Detailed IntroductionHadoop HDFS Detailed Introduction
Hadoop HDFS Detailed Introduction
 
Linux Basic Commands
Linux Basic CommandsLinux Basic Commands
Linux Basic Commands
 
Quick Guide with Linux Command Line
Quick Guide with Linux Command LineQuick Guide with Linux Command Line
Quick Guide with Linux Command Line
 
Linux Commands
Linux CommandsLinux Commands
Linux Commands
 
Basic command ppt
Basic command pptBasic command ppt
Basic command ppt
 
Hadoop Distributed File System
Hadoop Distributed File SystemHadoop Distributed File System
Hadoop Distributed File System
 
Linux basic commands
Linux basic commandsLinux basic commands
Linux basic commands
 
Important Linux Commands
Important Linux CommandsImportant Linux Commands
Important Linux Commands
 
Introduction to-linux
Introduction to-linuxIntroduction to-linux
Introduction to-linux
 
Storage Systems for big data - HDFS, HBase, and intro to KV Store - Redis
Storage Systems for big data - HDFS, HBase, and intro to KV Store - RedisStorage Systems for big data - HDFS, HBase, and intro to KV Store - Redis
Storage Systems for big data - HDFS, HBase, and intro to KV Store - Redis
 
Samba power point presentation
Samba power point presentationSamba power point presentation
Samba power point presentation
 
Distributed file systems (from Google)
Distributed file systems (from Google)Distributed file systems (from Google)
Distributed file systems (from Google)
 
Basic linux commands for bioinformatics
Basic linux commands for bioinformaticsBasic linux commands for bioinformatics
Basic linux commands for bioinformatics
 
[Perforce] Replication - Read Only Installs to Fully Filtered Forwarding
[Perforce] Replication - Read Only Installs to Fully Filtered Forwarding[Perforce] Replication - Read Only Installs to Fully Filtered Forwarding
[Perforce] Replication - Read Only Installs to Fully Filtered Forwarding
 

Similar to 3 technical-dns-workshop-day2

The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows AdminsThe Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows AdminsBill Malchisky Jr.
 
File system discovery
File system discovery File system discovery
File system discovery DevMix
 
Tips and Tricks for Increased Development Efficiency
Tips and Tricks for Increased Development EfficiencyTips and Tricks for Increased Development Efficiency
Tips and Tricks for Increased Development EfficiencyOlivier Bourgeois
 
Linux Getting Started
Linux Getting StartedLinux Getting Started
Linux Getting StartedAngus Li
 
Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-serviceRohit Sansiya
 
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012Jose L. Quiñones-Borrero
 
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Tushar B Kute
 
Linux week 2
Linux week 2Linux week 2
Linux week 2Vinoth Sn
 
Lamp ppt
Lamp pptLamp ppt
Lamp pptReka
 

Similar to 3 technical-dns-workshop-day2 (20)

Basic orientation to Linux
Basic orientation to LinuxBasic orientation to Linux
Basic orientation to Linux
 
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows AdminsThe Ultimate IBM and Lotus on Linux Workshop for Windows Admins
The Ultimate IBM and Lotus on Linux Workshop for Windows Admins
 
An Introduction To Linux
An Introduction To LinuxAn Introduction To Linux
An Introduction To Linux
 
Linux Internals - Part I
Linux Internals - Part ILinux Internals - Part I
Linux Internals - Part I
 
Adhocr T-dose 2012
Adhocr T-dose 2012Adhocr T-dose 2012
Adhocr T-dose 2012
 
File system discovery
File system discovery File system discovery
File system discovery
 
3. introduction of centos
3. introduction of centos3. introduction of centos
3. introduction of centos
 
Linux Presentation
Linux PresentationLinux Presentation
Linux Presentation
 
Linux
LinuxLinux
Linux
 
Tips and Tricks for Increased Development Efficiency
Tips and Tricks for Increased Development EfficiencyTips and Tricks for Increased Development Efficiency
Tips and Tricks for Increased Development Efficiency
 
Linux Getting Started
Linux Getting StartedLinux Getting Started
Linux Getting Started
 
CSA-lecture 6.pptx
CSA-lecture 6.pptxCSA-lecture 6.pptx
CSA-lecture 6.pptx
 
Linux: Everyting-as-a-service
Linux: Everyting-as-a-serviceLinux: Everyting-as-a-service
Linux: Everyting-as-a-service
 
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
Linux for Security Professionals (Tips and Tricks) - Init 6 10/2012
 
Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.Module 3 Using Linux Softwares.
Module 3 Using Linux Softwares.
 
Linux week 2
Linux week 2Linux week 2
Linux week 2
 
Lamp ppt
Lamp pptLamp ppt
Lamp ppt
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 
beginner.en.print
beginner.en.printbeginner.en.print
beginner.en.print
 

More from DNS Entrepreneurship Center

Domainnamesandtrademarkslegalissuesclarkewaltonppt2588
Domainnamesandtrademarkslegalissuesclarkewaltonppt2588Domainnamesandtrademarkslegalissuesclarkewaltonppt2588
Domainnamesandtrademarkslegalissuesclarkewaltonppt2588DNS Entrepreneurship Center
 
13. managed dns for registrars product overview and opportunity outline - f...
13. managed dns for registrars   product overview and opportunity outline - f...13. managed dns for registrars   product overview and opportunity outline - f...
13. managed dns for registrars product overview and opportunity outline - f...DNS Entrepreneurship Center
 
9. ries trout-brand-positioning-1231961903820264-3
9. ries trout-brand-positioning-1231961903820264-39. ries trout-brand-positioning-1231961903820264-3
9. ries trout-brand-positioning-1231961903820264-3DNS Entrepreneurship Center
 
8. azcibusinessplandevelopment pullingitalltogether2-2013final-130221112000-p...
8. azcibusinessplandevelopment pullingitalltogether2-2013final-130221112000-p...8. azcibusinessplandevelopment pullingitalltogether2-2013final-130221112000-p...
8. azcibusinessplandevelopment pullingitalltogether2-2013final-130221112000-p...DNS Entrepreneurship Center
 

More from DNS Entrepreneurship Center (20)

Inta useof tmsindomainnamespresentation
Inta useof tmsindomainnamespresentationInta useof tmsindomainnamespresentation
Inta useof tmsindomainnamespresentation
 
Final udrp webinar slidesv4
Final udrp webinar slidesv4Final udrp webinar slidesv4
Final udrp webinar slidesv4
 
Dot tba financial plans
Dot tba financial plansDot tba financial plans
Dot tba financial plans
 
Domainnamesandtrademarkslegalissuesclarkewaltonppt2588
Domainnamesandtrademarkslegalissuesclarkewaltonppt2588Domainnamesandtrademarkslegalissuesclarkewaltonppt2588
Domainnamesandtrademarkslegalissuesclarkewaltonppt2588
 
Centr presentation v4
Centr presentation v4Centr presentation v4
Centr presentation v4
 
Architelos gac domain abuse best practices feb 12
Architelos gac domain abuse best practices feb 12Architelos gac domain abuse best practices feb 12
Architelos gac domain abuse best practices feb 12
 
2013 july gac webinar for tom
2013 july gac webinar for tom2013 july gac webinar for tom
2013 july gac webinar for tom
 
Radix marketing final
Radix marketing finalRadix marketing final
Radix marketing final
 
Promotion &amp; sales guide 071114 club
Promotion &amp; sales guide 071114 clubPromotion &amp; sales guide 071114 club
Promotion &amp; sales guide 071114 club
 
Mktgplan dot tld_tmsunrise
Mktgplan dot tld_tmsunriseMktgplan dot tld_tmsunrise
Mktgplan dot tld_tmsunrise
 
Marketing plan 2015 public me
Marketing plan 2015 public  meMarketing plan 2015 public  me
Marketing plan 2015 public me
 
4psofmarketing nowata-130731093251-phpapp01
4psofmarketing nowata-130731093251-phpapp014psofmarketing nowata-130731093251-phpapp01
4psofmarketing nowata-130731093251-phpapp01
 
13. managed dns for registrars product overview and opportunity outline - f...
13. managed dns for registrars   product overview and opportunity outline - f...13. managed dns for registrars   product overview and opportunity outline - f...
13. managed dns for registrars product overview and opportunity outline - f...
 
11. open srs sales_material
11. open srs sales_material11. open srs sales_material
11. open srs sales_material
 
10. tmch prelaunch webinar_presentation
10. tmch prelaunch webinar_presentation10. tmch prelaunch webinar_presentation
10. tmch prelaunch webinar_presentation
 
9. tmch presentation
9. tmch presentation9. tmch presentation
9. tmch presentation
 
5. icann registrar accreditation
5. icann registrar accreditation5. icann registrar accreditation
5. icann registrar accreditation
 
11. tlds coexisting-in-new-environment
11. tlds coexisting-in-new-environment11. tlds coexisting-in-new-environment
11. tlds coexisting-in-new-environment
 
9. ries trout-brand-positioning-1231961903820264-3
9. ries trout-brand-positioning-1231961903820264-39. ries trout-brand-positioning-1231961903820264-3
9. ries trout-brand-positioning-1231961903820264-3
 
8. azcibusinessplandevelopment pullingitalltogether2-2013final-130221112000-p...
8. azcibusinessplandevelopment pullingitalltogether2-2013final-130221112000-p...8. azcibusinessplandevelopment pullingitalltogether2-2013final-130221112000-p...
8. azcibusinessplandevelopment pullingitalltogether2-2013final-130221112000-p...
 

Recently uploaded

Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersDamian Radcliffe
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607dollysharma2066
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Roomdivyansh0kumar0
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...aditipandeya
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceDelhi Call girls
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsstephieert
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...APNIC
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girlsstephieert
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts servicevipmodelshub1
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girladitipandeya
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$kojalkojal131
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Sheetaleventcompany
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝soniya singh
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024APNIC
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Delhi Call girls
 

Recently uploaded (20)

Moving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providersMoving Beyond Twitter/X and Facebook - Social Media for local news providers
Moving Beyond Twitter/X and Facebook - Social Media for local news providers
 
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
FULL ENJOY Call Girls In Mayur Vihar Delhi Contact Us 8377087607
 
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130  Available With RoomVIP Kolkata Call Girl Alambazar 👉 8250192130  Available With Room
VIP Kolkata Call Girl Alambazar 👉 8250192130 Available With Room
 
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With RoomVIP Kolkata Call Girl Dum Dum 👉 8250192130  Available With Room
VIP Kolkata Call Girl Dum Dum 👉 8250192130 Available With Room
 
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
VIP 7001035870 Find & Meet Hyderabad Call Girls Dilsukhnagar high-profile Cal...
 
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Sukhdev Vihar Delhi 💯Call Us 🔝8264348440🔝
 
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort ServiceEnjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
Enjoy Night⚡Call Girls Dlf City Phase 3 Gurgaon >༒8448380779 Escort Service
 
Radiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girlsRadiant Call girls in Dubai O56338O268 Dubai Call girls
Radiant Call girls in Dubai O56338O268 Dubai Call girls
 
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
'Future Evolution of the Internet' delivered by Geoff Huston at Everything Op...
 
Russian Call girls in Dubai +971563133746 Dubai Call girls
Russian  Call girls in Dubai +971563133746 Dubai  Call girlsRussian  Call girls in Dubai +971563133746 Dubai  Call girls
Russian Call girls in Dubai +971563133746 Dubai Call girls
 
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts serviceChennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
Chennai Call Girls Alwarpet Phone 🍆 8250192130 👅 celebrity escorts service
 
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call GirlVIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
VIP 7001035870 Find & Meet Hyderabad Call Girls LB Nagar high-profile Call Girl
 
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
Call Girls Dubai Prolapsed O525547819 Call Girls In Dubai Princes$
 
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
Dwarka Sector 26 Call Girls | Delhi | 9999965857 🫦 Vanshika Verma More Our Se...
 
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
Call Girls Service Chandigarh Lucky ❤️ 7710465962 Independent Call Girls In C...
 
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Saket Delhi 💯Call Us 🔝8264348440🔝
 
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No AdvanceRohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
Rohini Sector 22 Call Girls Delhi 9999965857 @Sabina Saikh No Advance
 
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
Call Girls In Defence Colony Delhi 💯Call Us 🔝8264348440🔝
 
On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024On Starlink, presented by Geoff Huston at NZNOG 2024
On Starlink, presented by Geoff Huston at NZNOG 2024
 
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
Best VIP Call Girls Noida Sector 75 Call Me: 8448380779
 

3 technical-dns-workshop-day2

  • 1. This document is a result of work by the Network Startup Resource Center (NSRC at http://www.nsrc.org). This document may be freely copied, modified, and otherwise re-used on the condition that any re-use acknowledge the NSRC as the original source. DNS/DNSSEC Workshop A few UNIX basics
  • 2. Our chosen platform •  FreeBSD 9.x 64 bit – UNIX OS, BSD variant – 30 year history – no GUI, we administer using SSH •  There are other platforms you could use: – Ubuntu, Debian, CentOS/RedHat, … •  This isn’t a UNIX admin course – Worksheets are mostly step-by-step – Please help each other or ask us for help
  • 3. Some things we’ll need to do… Be root when necessary: sudo <cmd> Install packages: pkg add <package_name> Edit files: sudo ee /etc/motd sudo vi /etc/motd Installed editors include ee, jed, joe and vi*
  • 4. vi editor •  The default editor for all UNIX systems •  Can be difficult to use •  If you know it and prefer to use vi please do •  We provide a PDF reference in the materials on the workshop wiki
  • 5. Other editors •  ee –  ESC brings up the editor menu –  Cursors work as you expect •  jed –  F10 brings up the editor menu –  Cursors work as you expect •  joe –  Ctrl-k-h brings up the editor menu –  Ctrl-c aborts –  Cursors work as you expect
  • 6. Other tools Terminate foreground program: CTRL+C $ ping yahoo.com PING yahoo.com (67.195.160.76): 56 data bytes 64 bytes from 67.195.160.76: icmp_seq=0 ttl=45 time=221.053 ms 64 bytes from 67.195.160.76: icmp_seq=1 ttl=45 time=224.145 ms ^C ç here press CTRL + C Browse the filesystem: cd /etc ls ls -l Rename and delete files mv file file.bak rm file.bak
  • 7. Starting and stopping services •  Standard method sudo service named [stop|start| restart]
  • 8. Check for a process by name • ps auxwww | grep http
  • 9. Viewing files •  Sometimes files are viewed through a pager program (“more”, “less”, “cat”). •  Examples: – cat /etc/motd – less /usr/local/etc/nagios/nagios.cfg-sample •  Space bar for next page •  “b” to go backwards •  “q” to quit •  “/” and a pattern (/text) to search
  • 10. Troubleshooting: Logfiles •  Log files are critical to solve problems. They reside (largely) in /var/log/ •  Some popular log files include: /var/log/messages /var/log/httpd-error.log /var/log/maillog /etc/namedb/log/* (this class only) •  To view the last entry in a log file: tail /var/log/messages •  To view new entries as they happen: tail –f /var/log/messages
  • 11. Connecting via SSH to machines •  Login to your virtual machine using ssh •  On Windows use putty.exe - download from: http://the.earth.li/~sgtatham/putty/latest/x86/putty.exe or http://noc.ws.nsrc.org/ •  Connect as user “adm” to: auth1.grpX => 10.10.X.1 auth2.grpX => 10.10.X.2 resolv.grpX => 10.10.X.3 •  where “X” is your group number. •  The password is given in class.
  • 12. Logging in •  Linux/MacOS –  First, open a terminal, then: •  ssh adm@auth1.grpX.dns.nsrc.org •  Windows –  Putty (or other SSH program) connect to: •  auth1.grpX.dns.nsrc.org 1.  As user ”adm” 2.  Accept the key 3.  Repeat for resolv.grpX and auth2.grpX (if configured) •  “X” is the number of your group
  • 13. After you are logged in… •  Experiment with the ee editor – … or vi or joe or jed if you prefer •  Edit the “message of the day” to identify your virtual machine as yours: – sudo ee /etc/motd •  Log out and log in again to see your changes. Repeat this for each virtual machine…