Welcome to ss-e AfNOG Nairobi, kenya

Slides:



Advertisements
Similar presentations
Presentation Heading – font Arial
Advertisements

AfNOG 2006 Workshop on Network Technology Track E2 Scalable Network Infrastructure Introduction, Logistics, Schedule, etc.
Introduction To The Course Network Architecture Hervey Allen Chris Evans Phil Regnauld September 3 - 4, 2009 Santiago, Chile.
CSCI 1411 FUNDAMENTALS OF COMPUTING LAB Lab Introduction 1 Shane Transue MSCS.
Chapter Apache Installation in Linux- Mandrake. Acknowledgment The following information has been obtained directly from
DVG-N5402SP.
SquirrelMail for Webmail AfNOG 2012 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Serrekunda, Gambia (Original Materials by Joelja)
AfNOG 2014 Track SI-E Scalable Network Infrastructure Introduction, Logistics, Schedule, etc.
AfNOG 2013 Track SI-E Scalable Network Infrastructure Introduction, Logistics, Schedule, etc.
SquirrelMail for Webmail AfNOG 2013 Scalable Internet Services (SS-E) Presented by Michuki Mwangi Lusaka, Zambia (Original Materials by Joelja)
A crash course in njit’s Afs
TAX-AIDE Network Router Setup Network Printer Setups July SMT/TCS Training - Dallas1.
Getting Connected to NGS while on the Road… Donna V. Shaw, NGS Convocation.
One to One instructions Installing and configuring samba on Ubuntu Linux to enable Linux to share files and documents with Windows XP.
Eucalyptus Virtual Machines Running Maven, Tomcat, and Mysql.
UNIX ™ /Linux Overview Unix/IP Preparation Course June 9, 2013 Lusaka, Zambia.
BIF713 Operating Systems & Project Management Instructor: Murray Saul
The Network Management Lab pc pc pc pc pc Virtual Servers Your Laptop.
CNIT 132 Intermediate HTML and CSS Publish Web Page.
bWAPP – Bee Bug – Installation
AfNOG 2012 Track SI-E Scalable Network Infrastructure Introduction, Logistics, Schedule, etc.
Geo CE-XM ch 4 Edited 10/14/05 1 The XM is the newest of the rovers, and unlike other units, it comes with software installed on the unit as well as using.
A few Linux basics Network Monitoring & Management.
AfNOG 2007 Workshop on Network Technology Track E2 Scalable Network Infrastructure Introduction, Logistics, Schedule, etc.
Booting Ubuntu Linux Live CSCI 130 – Fall 2008 Action Lab Dr. W. Jones.
AfNOG 2003 Workshop on Network Technology Track 2 Scalable Network Infrastructure Introduction, Logistics, Schedule, etc.
AfNOG 2009 Workshop on Network Technology Track SI-E Scalable Network Infrastructure Introduction, Logistics, Schedule, e.t.c.
AfNOG 2010 Track SI-E Scalable Network Infrastructure Introduction, Logistics, Schedule, e.t.c.
Linux Services Configuration
Accessing the Lab. Putty Available via links on course page Creates secure (SSH) command line session between your machine and SCS network Uses tunnelling.
Lab 8 Overview Apache Web Server. SCRIPTS Linux Tricks.
Integrity Check As You Well Know, It Is A Violation Of Academic Integrity To Fake The Results On Any.
INTERNET APPLICATIONS CPIT405 Install a web server and analyze packets.
CS 120 Extra: The CS1 Server Tarik Booker CS 120.
CACI Proprietary Information | Date 1 PD² SR13 Client Upgrade Name: Semarria Rosemond Title: Systems Analyst, Lead Date: December 8, 2011.
WELCOME TO SS-E AFNOG BOTSWANA Scalable Services – English.
PuTTY Introduction to Web Programming Kirkwood Continuing Education by Fred McClurg © Copyright 2016, All Rights Reserved ssh client.
WHAT ARE THE STEPS TO CONNECT MY HP DESKJET 3520 TO WI-FI?
Getting Connected to NGS while on the Road…
Configure the intercom IP
CS1010: Intro Workshop.
Welcome to Internet Services Track
Welcome: Hands-On Lab Plug in to the network.
Configuring ALSMS Remote Navigation
Web Programming Essentials:
NTP, Syslog & Secure Shell
Scalable Network Infrastructure
SquirrelMail for Webmail
Raspberry Pi in Headless Operation
XWN740 X-Windows Configuring and Using Remote Access
Scalable Network Infrastructure
Our chosen platform is:
Vulnerability Scanning With 'lynis'
Assignment Preliminaries
Arab Open University (AOU)
Bomgar Remote support software
Engineering Innovation Center
Welcome To : Group 1 VC Presentation
INSTALLING AND SETTING UP APACHE2 IN A LINUX ENVIRONMENT
Easy Tutorial Quick Installation Guide Create your 1st Playlist.
Lab 7 - Topics Establishing SSH Connection Install SSH Configure SSH
Web Programming Essentials:
Getting Connected to NGS while on the Road…
CGS 3175: Internet Applications Fall 2009
Remote Computing Services Cloud connection Distributed system
Chapter 10: Advanced Cisco Adaptive Security Appliance
Lecture9: Embedded Network Operating System: cisco IOS
Lecture9: Embedded Network Operating System: cisco IOS
EStarkState welcomes you to ANGEL Training!.
DIBBs Brown Dog Tutorial Setup
Presentation transcript:

Welcome to ss-e AfNOG - 2017 Nairobi, kenya Scalable Services – English

What is SS-E? Scalable Services – English is a track that teaches advanced topics on designing, configuring and managing large scale Internet Services run on UNIX/Linux servers It builds on Track Zero which covered introductory topics on UNIX/Linux and Internet Services What sort of services? DNS, Web, Email Monitoring, Authentication Many Others Basically any service that can be offered on a Linux/UNIX server over the Internet

Your instructors Ayitey A. Bulley - Ghana Frank Kuse – Ghana Isabella Odida – Uganda Joe Abley – Canada Kevin Chege – Kenya Michuki Mwangi – from Kenya

How about you….? Introduce yourself: Name Country Work Hobbies  How did you fly to get to Nairobi?

Course teaching style Theory explained first then followed by a practical session Each of you has been assigned a Virtual Machine running Debian 8.8 (Jessie) that you will access from your laptop Feel free to ask questions anytime If you need help during the practical labs, raise your hand so the instructors can assist Kindly mute your phones during classes  Please pay during theory sessions 

Timetable – please keep time  Breakfast at the hotel starts at 6am* First Session 09:00 to 11:00 Tea break 11:00 to 11:00 Second Session from 11:30 to 13:00 Lunch from 13:00 to 14:00 Third Session- from 14:00 to 16:00 Tea break – 16:00 to 16:30 Fourth Session – 16:30 to 18:00 Dinner Evening sessions – 20:00 – 22:00 Breakfast: At the Boma Hotel or Boma Inn Lunch and dinner: On the ground floor of the conference facility Tea break: In the corridor outside the lecture rooms Washrooms: To the right when you exit from KIFARU (close to the secretariat)

Inventory You should have received: Keep your name badge with you Name badges Folder with notepad, pen, information pack Keep your name badge with you At the end of the week you will receive: A USB stick with some O'Reilly eBooks Please share with your colleagues back at home.

Connectivity Hotel wifi is available in your rooms Use your own laptops for: Web browsing Control your virtual machines Virtualization exercises Wireless Internet Use the AIS or you course network SSID Password for both is "success!” Hotel wifi is available in your rooms

Access Your Virtual Machines Virtual servers (named pc1 – pc35) DNS names are pc1.sse.ws.afnog.org (etc) PC Assignment exercise Debian 8.8 OS installed Use SSH to access your server (e.g. Putty for Windows) Login with afnog/afnog Use sudo to execute commands as root Don't change passwords Don't "close security holes" Don't shutdown your server (there's no power button!) Your servers are accessible over the Internet

Windows Users Install putty from: http://www.ws.afnog.org/afnog2016/unix-intro/downloads/ After downloading you will see the above icon. Double click on it and you should see a window similar to the one on the right

Unix, Linux and OS X Users A default Secure Shell (SSH) client is already installed in Unix, Linux and OS X To access the default SSH Open: Terminal application From Terminal prompt type the following; ssh afnog@pcX.sse.ws.afnog.org where X is the pc number.

Online Resources Web site: http://www.ws.afnog.org/afnog2017/ AfNOG Mailing List: Q&A on Internet operational and technical issues. No foul language or disrespect for other participants. No blatant product marketing. No political postings. Please subscribe while at the Workshop: So we can help you if you have problems subscribing. Please raise any questions related to the workshop content.

Safety Please be careful in class: trip on power cords pull cables out of sockets knock equipment off tables fall from leaning back too far in your chair

Core topics to be covered this week DNS Resolver Authoritative DNS Firewalls and Network Security Host security using IPtables Mail Services How to setup mail services Hosting Web services Web server using Apache RADIUS & LDAP For centralizing authentication Virtualization How to build virtual servers

Rough agenda for the week Monday: First Session: intro, nano bootcamp, Post-installation Best Practices Second Session: DNS (Intro) Third Session: Firewalls and Network Security Fourth Session: DNS (Resolver) Evening Session: General Tuesday: First Session: Security (Public Key, SSL, PGP, Crypto) Second : DNS (Authoritative) Third Session: Apache + PHP Fourth Session: Postfix Evening Session: DNSSEC Wednesday: First and Second Session: Postfix Third and Fourth Session: Open LDAP Directory Evening Session: Ansible

Rough agenda for the week … Thursday: First and Second Session: RADIUS Third Session: Dovecot IMAP Fourth Session: Squirrelmail Friday: First and Session: Load Balancing Third and Fourth : Virtualization Closing Survey

Any questions?

Nano bootcamp We will use an editor called “nano” on the Debian machines However, you should learn “vi” as it has way more features than most editors Install nano: afnog@pcX :~$sudo apt-get install nano For nano you can open a file by: afnog@pcX :~$nano /path/to/filename OR afnog@pcX :~$nano filename Save the changes by: ctrl X answer “y” Search the file for a specific word: ctrl W <then the search term>

Short nano exercise afnog@pcX :~$cd /home/afnog Go to your home directory afnog@pcX :~$cd /home/afnog Open a file: afnog@pcX :~$nano test-script.sh Type the following 4 lines in the file #!/bin/bash # SSE Test Script echo "Welcome $HOSTNAME to AfNOG SSE 2017!” echo “AfNOG!, Success!” Then Save and Exit Ctrl X and Then answer y. Maintain the same filename (press enter) Change the files permissions afnog@pcX :~$ chmod +x test-script.sh Run the file afnog@pcX :~$ ./test-script.sh

More commands Ctrl y – previous Page Ctrl v – next page Nano provides a menu at the bottom:

Post-Install best practices

Things to do post-install 1. Update the System afnog@pcX :~$sudo nano /etc/apt/sources.list Find deb http://httpredir.debian.org/debian jessie main deb http://security.debian.org/ jessie/updates main Add “contrib” and “non-free” repositories to look as follows (use tab key); deb http://httpredir.debian.org/debian jessie main contrib non-free deb http://security.debian.org/ jessie/updates main contrib non-free Save the file and exit

Things to do post-install 2. Update the System afnog@pcX:~$sudo apt-get update afnog@pcX:~$sudo apt-get upgrade 3. Install SSH (If it was not installed during system installation) afnog@pcX:~$sudo apt-get install openssh-server 4. Disable unwanted Services afnog@pcX :~$sudo service - - status-all afnog@pcX :~$sudo service exim4 stop 5. Check Listening Network Ports afnog@pcX :~$sudo netstat –tulpn

Things to do post-install 6. Disable Remote SSH Root User Login afnog@debian8:~$sudo nano /etc/ssh/sshd_config Change line or if missing Add the line (use PermitRootLogin without-password  PermitRootLogin no afnog@debian8:~$sudo service sshd restart 7. Configure NTP Server afnog@debian8:~$sudo apt-get install ntp (optional but necessary) Edit ntp servers and put local ones afnog@debian8:~$sudo nano /etc/ntp.conf Comment “server” sections or replace server with a local/internal one afnog@debian8:~$sudo service ntp start afnog@debian8:~$ntpdc –pn afnog@debian8:~$ntpq –pn More here: https://www.debian.org/doc/manuals/securing-debian-howto/

Thank you! Questions?